/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-meteorite-dark: #2f1c6a;
    --color-meteorite-dark-2: #1F1346;
    --color-meteorite: #8c85ff;
    --color-meteorite-light: #d5dfff;
    --color-primary-dark: #5025d1;
    --color-primary: #673de6;
    --color-primary-light: #ebe4ff;
    --color-danger-dark: #d63163;
    --color-danger: #fc5185;
    --color-warning-dark: #fea419;
    --color-warning: #ffcd35;
    --color-success-dark: #008361;
    --color-success: #00b090;
    --color-dark: #1d1e20;
    --color-gray-dark: #36344d;
    --color-gray: #727586;
    --color-gray-light: #f2f3f6;
    --color-light: #fff;
    --color-bg-dark: #2D2A32;
    --color-bg-purple: #6E5D8E;
    --color-accent-green: rgb(94, 255, 0);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 798px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(110, 93, 142, 0.82) 0%, rgba(143, 17, 168, 0.82) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-light);
    max-width: 1224px;
    width: 100%;
    padding: 40px 20px;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    max-width: 476px;
    height: auto;
    margin: 0 auto;
}

.hero-title {
    font-size: 46px;
    color: var(--color-light);
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: normal;
}

.hero-subtitle {
    font-size: 36px;
    color: rgb(240, 240, 240);
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: normal;
}

.hero-text {
    font-size: 32px;
    color: var(--color-light);
    margin-bottom: 10px;
}

.hero-arrow {
    font-size: 32px;
    color: var(--color-light);
    margin-bottom: 20px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent-green);
    color: var(--color-dark);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 41px;
    font-weight: 400;
    padding: 16px 40px;
    border: 5px solid var(--color-light);
    border-radius: 999px;
    margin: 20px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    min-width: fit-content;
    box-sizing: border-box;
    text-decoration: none;
}

.btn-text {
    display: inline-block;
    white-space: nowrap;
    line-height: 1;
    color: var(--color-dark);
}

.btn-contact:hover {
    background-color: var(--color-accent-green);
    transform: scale(1.05);
}

.hero-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    font-size: 30px;
    font-family: 'Bebas Neue', sans-serif;
}

.feature-icon {
    font-size: 1.2em;
}

.feature-text {
    color: var(--color-light);
}

.online-players {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.online-indicator {
    width: 22px;
    height: 20px;
    background-color: var(--color-accent-green);
    border-radius: 50%;
    display: inline-block;
}

.players-count {
    font-size: 18px;
    color: var(--color-light);
    margin: 0;
}

.user-experience {
    font-size: 14px;
    color: var(--color-light);
    text-transform: uppercase;
    margin: 20px 0 10px;
}

.rating {
    font-size: 27px;
    color: var(--color-light);
    margin: 0;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, rgba(143, 17, 168, 0.9) 100%);
    background-attachment: fixed;
    padding: 80px 16px;
    position: relative;
    min-height: 948px;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 42, 50, 0.9);
    z-index: 1;
}

.benefits-container {
    position: relative;
    z-index: 2;
    max-width: 1224px;
    margin: 0 auto;
}

.benefits-title {
    font-size: 48px;
    color: var(--color-light);
    text-align: center;
    margin-bottom: 20px;
}

.benefits-subtitle {
    font-size: 16px;
    color: var(--color-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.benefit-card {
    background-color: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image {
    width: 100%;
    height: 304px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 18px;
    color: var(--color-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.card-text {
    font-size: 16px;
    color: rgb(86, 88, 94);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */
.testimonial-section {
    background-color: var(--color-bg-purple);
    padding: 56px 16px;
    min-height: 402px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-container {
    max-width: 1224px;
    width: 100%;
}

.testimonial-content {
    text-align: center;
    color: var(--color-light);
}

.testimonial-rating {
    font-size: 22px;
    color: var(--color-light);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 20px;
    color: var(--color-light);
    line-height: 1.3;
    max-width: 606px;
    margin: 0 auto 30px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 16px;
    color: var(--color-light);
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-bg-dark);
    padding: 40px 16px;
    min-height: 262px;
}

.footer-container {
    max-width: 1224px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-section {
    max-width: 297px;
    text-align: center;
}

.footer-title {
    font-size: 26px;
    color: var(--color-light);
    margin-bottom: 20px;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    color: var(--color-light);
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

.footer-copyright {
    margin-top: 20px;
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    color: var(--color-light);
    margin: 0;
    text-align: center;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 920px) {
    .hero-section {
        min-height: 821px;
        padding: 16px;
    }

    .hero-logo img {
        max-width: 308px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 32px;
    }

    .hero-text {
        font-size: 32px;
    }

    .hero-arrow {
        font-size: 32px;
    }

    .btn-contact {
        font-size: 26px;
        padding: 14px 20px;
        min-width: 212px;
        max-width: 280px;
        height: 76px;
        white-space: nowrap;
    }
    
    .btn-text {
        font-size: inherit;
        white-space: nowrap;
    }

    .feature-item {
        font-size: 26px;
    }

    .online-indicator {
        width: 27px;
        height: 24px;
    }

    .players-count {
        font-size: 18px;
    }

    .benefits-section {
        padding: 40px 16px;
        min-height: 1701px;
        background-attachment: scroll;
    }

    .benefits-title {
        font-size: 32px;
    }

    .benefits-subtitle {
        font-size: 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-image {
        height: 264px;
    }

    .testimonial-section {
        padding: 56px 16px;
        min-height: 336px;
    }

    .testimonial-rating {
        font-size: 22px;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .author-avatar {
        width: 54px;
        height: 53px;
    }

    .footer {
        padding: 40px 16px;
        min-height: 263px;
    }
}

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

    .hero-subtitle {
        font-size: 28px;
    }

    .btn-contact {
        font-size: 20px;
        padding: 12px 16px;
        width: calc(100% - 32px);
        max-width: 280px;
        min-width: 200px;
        white-space: nowrap;
    }
    
    .btn-text {
        font-size: inherit;
        white-space: nowrap;
    }

    .benefits-title {
        font-size: 28px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-text {
        font-size: 14px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: slide 0.6s ease-out;
}

.benefit-card {
    animation: slide 0.6s ease-out;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}
