* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    min-height: 100vh;
    font-family: 'Cinzel', serif;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(74, 157, 92, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding-top: 5vh;
    transform: translateY(-5vh);
}

.logo-container {
    text-align: center;
    animation: fadeInUp 2s ease-out;
}

.logo {
    font-size: 4.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #4a9d5c 0%, #5ebf73 50%, #4a9d5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(74, 157, 92, 0.3);
    letter-spacing: 0.25em;
    margin-bottom: 1rem;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(74, 157, 92, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(74, 157, 92, 0.6));
    }
}

.mystical-line {
    width: 250px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a9d5c, transparent);
    margin: 0 auto 1rem;
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(74, 157, 92, 0.5);
}

.tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 2s ease-out 0.3s both;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #4a9d5c;
    border-radius: 50%;
    animation: float 8s infinite linear;
    opacity: 0.6;
}

.particle:nth-child(1) {
    left: 5%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 15%;
    animation-delay: 1s;
    animation-duration: 6s;
}

.particle:nth-child(3) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 35%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 45%;
    animation-delay: 4s;
    animation-duration: 5s;
}

.particle:nth-child(6) {
    left: 55%;
    animation-delay: 0.5s;
    animation-duration: 8.5s;
}

.particle:nth-child(7) {
    left: 65%;
    animation-delay: 1.5s;
    animation-duration: 6.5s;
}

.particle:nth-child(8) {
    left: 75%;
    animation-delay: 2.5s;
    animation-duration: 7.5s;
}

.particle:nth-child(9) {
    left: 85%;
    animation-delay: 3.5s;
    animation-duration: 9.5s;
}

.particle:nth-child(10) {
    left: 95%;
    animation-delay: 4.5s;
    animation-duration: 5.5s;
}

.particle:nth-child(11) {
    left: 12%;
    animation-delay: 0.8s;
    animation-duration: 7.2s;
}

.particle:nth-child(12) {
    left: 88%;
    animation-delay: 1.8s;
    animation-duration: 6.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
        letter-spacing: 0.15em;
    }
    
    .mystical-line {
        width: 200px;
    }
    
    .tagline {
        font-size: 0.85rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.2rem;
        letter-spacing: 0.1em;
    }
    
    .mystical-line {
        width: 150px;
    }
    
    .tagline {
        font-size: 0.7rem;
        margin-bottom: 2rem;
    }
}

.legal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    z-index: 3;
    font-family: 'Cinzel', serif;
    line-height: 1.4;
}

.legal-footer p {
    margin: 0.2rem 0;
}

@media (max-width: 768px) {
    .legal-footer {
        font-size: 0.65rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .legal-footer {
        font-size: 0.6rem;
        padding: 0.6rem;
    }
}

.game-showcase {
    animation: fadeInUp 2s ease-out 0.6s both;
}

.showcase-title {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    font-weight: 400;
    text-transform: uppercase;
}

.gemworld-card {
    position: relative;
    background-image: url('https://app.gemworld-thegame.com/images/hello.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid rgba(94, 191, 115, 0.3);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(74, 157, 92, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.gemworld-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.85) 0%, 
                rgba(255, 255, 255, 0.75) 50%,
                rgba(255, 255, 255, 0.85) 100%);
    z-index: 0;
    transition: all 0.4s ease;
}

.gemworld-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(94, 191, 115, 0.15) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 1;
}

.gemworld-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.gemworld-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(94, 191, 115, 0.6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(74, 157, 92, 0.3);
}

.gemworld-card:hover::after {
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.75) 0%, 
                rgba(255, 255, 255, 0.65) 50%,
                rgba(255, 255, 255, 0.75) 100%);
}

.gemworld-logo-container {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.gemworld-logo {
    width: 140%;
    height: 140%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transition: all 0.4s ease;
}

.gemworld-card:hover .gemworld-logo {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 10px 25px rgba(74, 157, 92, 0.4));
}

.gemworld-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.gemworld-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2a2a2a;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gemworld-card:hover .gemworld-title {
    color: #3a7d47;
    text-shadow: 0 2px 8px rgba(58, 125, 71, 0.3);
}

.gemworld-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.gemworld-card:hover .gemworld-subtitle {
    color: rgba(58, 125, 71, 0.8);
}

@media (max-width: 768px) {
    .showcase-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .gemworld-card {
        padding: 2rem 2.5rem;
    }
    
    .gemworld-logo-container {
        width: 180px;
        height: 180px;
    }
    
    .gemworld-title {
        font-size: 1.5rem;
    }
    
    .gemworld-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .showcase-title {
        font-size: 1rem;
    }
    
    .gemworld-card {
        padding: 1.5rem 2rem;
        border-radius: 15px;
    }
    
    .gemworld-logo-container {
        width: 140px;
        height: 140px;
    }
    
    .gemworld-title {
        font-size: 1.3rem;
    }
    
    .gemworld-subtitle {
        font-size: 0.7rem;
    }
}
