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

:root {
    --gold: #FFD700;
    --gold-alt: #FFA500;
    --purple: #1a0033;
    --purple-deep: #0d0015;
    --purple-mid: #2d0052;
    --red: #ff3366;
    --white: #ffffff;
    --gray: #cccccc;
    --dark-gray: #666666;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(180deg, var(--purple-deep) 0%, var(--purple) 100%);
    color: var(--white);
    line-height: 1.6;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(13, 0, 21, 0.96);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 14px 0;
    box-shadow: 0 2px 18px rgba(255, 215, 0, 0.12);
    border-bottom: 2px solid var(--gold);
}

.header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.menu-btn span {
    width: 26px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.brand-logo img {
    height: 45px;
    width: auto;
}

.desktop-nav {
    display: flex;
    gap: 28px;
}

.desktop-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.desktop-nav a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.desktop-nav a:hover {
    color: var(--gold);
}

.desktop-nav a:hover::before {
    width: 100%;
}

.auth-group {
    display: flex;
    gap: 12px;
}

.auth-link {
    padding: 10px 24px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.login-link {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.login-link:hover {
    background: var(--gold);
    color: var(--purple);
}

.signup-link {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-alt) 100%);
    color: var(--purple);
    border: 2px solid transparent;
}

.signup-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(255, 215, 0, 0.4);
}

/* Sidebar Menu */
.side-menu {
    position: fixed;
    top: 72px;
    left: -300px;
    width: 280px;
    height: calc(100vh - 72px);
    background: rgba(13, 0, 21, 0.98);
    backdrop-filter: blur(12px);
    z-index: 999;
    transition: left 0.3s;
    overflow-y: auto;
    border-right: 2px solid var(--gold);
}

.side-menu.active {
    left: 0;
}

.menu-items {
    padding: 20px 0;
}

.menu-item {
    display: block;
    padding: 15px 25px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    position: relative;
}

.menu-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--gold);
    padding-left: 35px;
}

.menu-item::after {
    content: "\203A";
    position: absolute;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover::after {
    opacity: 1;
}

/* Hero Area */
.hero-area {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.7) 0%, rgba(13, 0, 21, 0.7) 100%);
    position: relative;
    overflow: hidden;
}

.hero-area::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    animation: pulse-bg 5s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-headline {
    font-size: 54px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.promo-box {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-alt) 100%);
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.3);
}

.promo-top {
    font-size: 16px;
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 8px;
}

.promo-mid {
    font-size: 70px;
    font-weight: 900;
    color: var(--purple);
    line-height: 1;
    margin-bottom: 8px;
}

.promo-bot {
    font-size: 16px;
    color: var(--purple);
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-btn {
    padding: 15px 36px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.primary-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-alt) 100%);
    color: var(--purple);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
}

.outline-btn {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.outline-btn:hover {
    background: var(--gold);
    color: var(--purple);
}

.hero-visual {
    position: relative;
    height: 400px;
}

.visual-items {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-item {
    position: absolute;
    font-size: 72px;
    animation: float-motion 3s ease-in-out infinite;
}

.item-1 {
    top: 5%;
    left: 15%;
    animation-delay: 0s;
}

.item-2 {
    top: 15%;
    right: 15%;
    animation-delay: 0.7s;
}

.item-3 {
    bottom: 15%;
    left: 25%;
    animation-delay: 1.4s;
}

.item-4 {
    bottom: 5%;
    right: 25%;
    animation-delay: 2.1s;
}

@keyframes float-motion {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(4deg); }
}

/* Features Area */
.features-area {
    padding: 60px 0;
    background: rgba(26, 0, 51, 0.4);
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-box {
    background: rgba(255, 215, 0, 0.05);
    padding: 36px 28px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-box:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 10px 28px rgba(255, 215, 0, 0.2);
}

.feature-emoji {
    font-size: 52px;
    margin-bottom: 16px;
}

.feature-box h3 {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 10px;
}

.feature-box h3::before {
    content: "\2713";
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover h3::before {
    opacity: 1;
}

.feature-box p {
    color: var(--gray);
    font-size: 14px;
}

/* Info Table Area */
.info-table-area {
    padding: 80px 0;
}

.area-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 16px;
    padding: 28px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-label {
    padding: 18px;
    color: var(--gold);
    font-weight: 700;
    width: 40%;
    position: relative;
    padding-left: 28px;
}

.info-label::before {
    content: "\2022";
    position: absolute;
    left: 18px;
    font-size: 20px;
}

.info-data {
    padding: 18px;
    color: var(--white);
}

/* Games Area */
.games-area {
    padding: 80px 0;
    background: rgba(26, 0, 51, 0.4);
}

.games-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.game-tile {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.game-tile:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 10px 28px rgba(255, 215, 0, 0.3);
}

.game-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 0, 21, 0.95) 0%, transparent 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-overlay h3 {
    color: var(--gold);
    font-size: 18px;
}

.play-link {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-alt) 100%);
    color: var(--purple);
    text-decoration: none;
    border-radius: 18px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.play-link::before {
    content: "\25B6";
    margin-right: 6px;
    font-size: 10px;
}

.play-link:hover {
    transform: scale(1.08);
}

.center-content {
    text-align: center;
}

.all-games-btn {
    display: inline-block;
    padding: 15px 38px;
    background: transparent;
    color: var(--gold);
    text-decoration: none;
    border-radius: 28px;
    font-weight: 700;
    border: 2px solid var(--gold);
    transition: all 0.3s;
}

.all-games-btn:hover {
    background: var(--gold);
    color: var(--purple);
}

/* FAQ Area */
.faq-area {
    padding: 80px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-block {
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.faq-block:hover {
    border-color: var(--gold);
}

.faq-btn {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 17px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-plus {
    color: var(--gold);
    font-size: 28px;
    transition: transform 0.3s;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-plus::before {
    content: "\002B";
    font-weight: 300;
}

.faq-block.active .faq-plus::before {
    content: "\2212";
}

.faq-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-block.active .faq-text {
    max-height: 350px;
}

.faq-text p {
    padding: 0 20px 20px;
    color: var(--gray);
    line-height: 1.8;
}

/* About Area */
.about-area {
    padding: 80px 0;
    background: rgba(26, 0, 51, 0.4);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 22px;
}

/* Games Comparison Section */
.games-comparison {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
}

.games-comparison .area-title {
    text-align: center;
    margin-bottom: 15px;
}

.games-comparison .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.games-comparison .comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.games-comparison .comparison-table thead {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-deep) 100%);
    color: #fff;
}

.games-comparison .comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: bold;
    font-size: 1.1rem;
}

.games-comparison .comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.games-comparison .comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.games-comparison .comparison-table .highlight-row {
    background: linear-gradient(to right, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
}

.games-comparison .comparison-table .highlight-row:hover {
    background: linear-gradient(to right, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-deep) 100%);
    position: relative;
}

.timeline-section .area-title {
    text-align: center;
    color: var(--gold);
    margin-bottom: 15px;
}

.timeline-section .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.timeline-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.timeline-content h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border: 4px solid var(--purple-deep);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item.left::before {
    right: -10px;
}

.timeline-item.right::before {
    left: -10px;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left !important;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::before {
        left: 20px !important;
    }
    
    .games-comparison .comparison-table {
        font-size: 0.85rem;
    }
    
    .games-comparison .comparison-table th,
    .games-comparison .comparison-table td {
        padding: 12px 8px;
    }
}

/* Footer */
.site-footer {
    background: var(--purple-deep);
    padding: 60px 0 30px;
    border-top: 3px solid var(--gold);
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-pay {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.footer-pay img {
    height: 40px;
    width: auto;
}

.footer-info {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-info p {
    color: var(--gray);
    margin-bottom: 10px;
}

.age-notice {
    color: var(--red);
    font-weight: 700;
}

/* Mobile Float */
.mobile-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
}

.float-btn {
    padding: 12px 26px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
}

.float-login {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.float-signup {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-alt) 100%);
    color: var(--purple);
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .features-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .auth-group {
        display: none;
    }

    .mobile-float {
        display: flex;
    }

    .hero-headline {
        font-size: 38px;
    }

    .promo-mid {
        font-size: 58px;
    }

    .area-title {
        font-size: 34px;
    }

    .features-layout {
        grid-template-columns: 1fr;
    }

    .games-layout {
        grid-template-columns: 1fr;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .info-label,
    .info-data {
        padding: 15px;
        font-size: 14px;
    }
}

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

    .promo-mid {
        font-size: 50px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }
}