/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff006e;
    --secondary-color: #00d4ff;
    --accent-color: #ffd60a;
    --success-color: #00ff00;
    --warn-color: #ffaa00;
    --error-color: #ff6666;
    --dark-bg: #0f1419;
    --dark-card: #1a1f2e;
    --dark-border: #2a3044;
    --text-primary: #ffffff;
    --text-secondary: #b0b8d4;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn--spin {
    background: linear-gradient(135deg, #ff006e 0%, #ffd60a 100%);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(255, 0, 110, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--play-card {
    background: linear-gradient(135deg, #ff006e 0%, #ffd60a 100%);
    color: #000;
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(255, 0, 110, 0.4);
    margin-top: 1.5rem;
}

.btn--spin:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 0, 110, 0.6);
}

.btn--spin:active:not(:disabled) {
    transform: translateY(-2px);
}

/* ============================================
   HEADER / HERO SECTION
   ============================================ */

.header-hero {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-bottom: 2px solid var(--dark-border);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.header-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.header-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.header-hero__container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.header-hero__nav {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ff006e 0%, #ffd60a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.main-menu__item {
    display: inline-block;
}

.main-menu__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
}

.main-menu__link:hover {
    color: var(--primary-color);
    background: rgba(255, 0, 110, 0.1);
}

.main-menu__link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .header-hero__nav {
        flex-wrap: wrap;
    }

    .main-menu {
        flex-basis: 100%;
        order: 3;
        gap: 0.5rem;
    }

    .main-menu__link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

.header-hero__content {
    text-align: center;
}

.header-hero__title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
}

.header-hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.disclaimer-box {
    background: rgba(255, 0, 110, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-box__text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.disclaimer-box__text strong {
    color: var(--primary-color);
}

/* ============================================
   FEATURED GAMES SECTION
   ============================================ */

.featured-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(26, 31, 46, 0.8) 100%);
    border-bottom: 1px solid var(--dark-border);
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.featured-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-card--stat {
    border: 2px solid var(--dark-border);
}

.featured-card--play {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    transform: scale(1.05);
    padding: 3rem 2rem;
}

.featured-card--play:hover {
    border-color: var(--accent-color);
    box-shadow: 0 16px 40px rgba(255, 0, 110, 0.3);
}

.featured-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.featured-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.featured-card__sub-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.featured-card__big-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff006e 0%, #ffd60a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-card__note {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-stats {
    width: 100%;
}

.card-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.card-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff006e 0%, #ffd60a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   GAME SECTION
   ============================================ */

.game-section {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.game-section__container {
    max-width: 900px;
    margin: 0 auto;
}

.game-wrapper {
    text-align: center;
}

.game-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.game-container {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 2px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

/* ============================================
   SLOTS MACHINE
   ============================================ */

.slots-machine {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    perspective: 1000px;
}

.slot-reel {
    width: 120px;
    height: 150px;
    background: linear-gradient(135deg, #2a3044 0%, #1a1f2e 100%);
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(255, 0, 110, 0.2), 0 8px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.slot-symbol {
    display: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.slot-symbol:nth-child(1) { top: 0%; }
.slot-symbol:nth-child(2) { top: 100%; }
.slot-symbol:nth-child(3) { top: 200%; }
.slot-symbol:nth-child(4) { top: 300%; }
.slot-symbol:nth-child(5) { top: 400%; }

.game-controls {
    margin: 2rem 0;
}

.game-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    min-height: 24px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
}

.stat-box {
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
}

/* ============================================
   HOW TO PLAY SECTION
   ============================================ */

.how-to-play {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(26, 31, 46, 0.8) 100%);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.how-to-play__container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.instruction-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.instruction-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 0, 110, 0.2);
}

.instruction-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff006e 0%, #ffd60a 100%);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 1rem;
}

.instruction-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.instruction-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   WELCOME SECTION
   ============================================ */

.welcome-section {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.welcome-section__container {
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-content {
    text-align: center;
}

.welcome-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.feature-circle {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 2px solid var(--dark-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.feature-circle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.welcome-conclusion {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 2rem;
    font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: rgba(10, 14, 25, 0.95);
    border-top: 2px solid var(--dark-border);
    padding: 3rem 2rem 1rem;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__brand {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-border);
}

.footer__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ff006e 0%, #ffd60a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__badge {
    display: inline-block;
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__disclaimer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

.footer__support,
.footer__links {
    margin-bottom: 2rem;
}

.footer__heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer__support-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer__support-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer__support-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.support-icon {
    font-size: 1.2rem;
}

.footer__menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer__menu li a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer__menu li a:hover {
    color: var(--primary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header-hero {
        padding: 2rem 1rem;
    }

    .header-hero__title {
        font-size: 2rem;
    }

    .header-hero__subtitle {
        font-size: 1rem;
    }

    .featured-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-card--play {
        transform: scale(1);
    }

    .game-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .game-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .welcome-features {
        grid-template-columns: 1fr 1fr;
    }

    .footer__support-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer__menu {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header-hero__title {
        font-size: 1.5rem;
    }

    .logo__title {
        font-size: 1.8rem;
    }

    .featured-cards {
        grid-template-columns: 1fr;
    }

    .featured-card {
        padding: 2rem 1.5rem;
    }

    .featured-card--play {
        padding: 2rem 1.5rem;
    }

    .featured-card__big-title {
        font-size: 2rem;
    }

    .game-title {
        font-size: 1.5rem;
    }

    .slots-machine {
        gap: 0.5rem;
    }

    .slot-reel {
        width: 100px;
        height: 120px;
        font-size: 2rem;
    }

    .btn--spin {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .welcome-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .instruction-card {
        padding: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}
