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

body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.content {
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    animation: scaleUp 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.header-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0; 
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(218, 255, 123, 0.3));
    margin-right: -1.2rem; 
}

.title-image {
    height: 180px;
    filter: drop-shadow(0 0 15px rgba(218, 255, 123, 0.3));
    margin-left: -1.2rem; 
}

.subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    max-width: 600px;
    line-height: 1.6;
    margin: 2rem auto;
    opacity: 0;
    animation: textReveal 0.6s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.button-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.join-button,
.secondary-button {
    background: rgba(218, 255, 123, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: #DCFF7B;
    border: 1px solid rgba(218, 255, 123, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.join-button:hover,
.secondary-button:hover {
    background: rgba(218, 255, 123, 0.15);
    border-color: rgba(218, 255, 123, 0.5);
}

.btn-icon {
    width: 28px;
    height: 28px;
    filter: brightness(1) saturate(100%);
    transition: inherit;
}

.join-button:hover .btn-icon {
    transform: rotate(-8deg) scale(1.15);
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        width: 100px;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .join-button,
    .secondary-button {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
    }

    .btn-icon {
        width: 24px;
        height: 24px;
    }

    .podium {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .podium-item {
        min-height: auto;
        height: 250px !important;
    }
    
    .leader-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.8rem;
        padding: 1.5rem;
    }
    
    .nickname {
        text-align: center;
        padding: 0;
    }
    
    .badge {
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 3.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .join-button {
        flex-direction: column;
        gap: 8px;
        padding: 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

.logo {
    width: clamp(110px, 25vw, 180px);
    margin-right: clamp(-1.2rem, -3vw, 0);
}

.title-image {
    height: clamp(110px, 25vw, 180px);
    margin-left: clamp(-1.2rem, -3vw, 0);
}

@media (max-width: 768px) {
    .logo {
        margin-right: 0;
        margin-bottom: -0.8rem;
    }
    
    .title-image {
        margin-left: 0;
        margin-top: -0.8rem;
    }
}
