/* Unique Golden Imperial Theme Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    background: radial-gradient(ellipse at center right, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
}

.hero-split {
    display: flex;
    align-items: center;
    flex-direction: row-reverse; /* Reversing the order here */
    gap: 5rem;
}

.hero-text-content {
    flex: 1.2;
    text-align: right;
}
.hero-text-content p {
    margin-left: auto;
    max-width: 600px;
    color: var(--text-muted);
}

.hero-visual {
    flex: 0.8;
    position: relative;
}

.floating-glass-card {
    background: rgba(10, 5, 15, 0.9);
    border: 1px solid var(--primary-color);
    box-shadow: 10px 10px 0 rgba(212, 175, 55, 0.2);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.floating-glass-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
}
@keyframes shine { 0% { left: -50%; } 100% { left: 100%; } }

.gradient-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.jackpot-amount {
    font-size: 3.5rem;
    white-space: nowrap;
}

.badge {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}
.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 25px #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 1rem 2.5rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}
.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

.hero-stats {
    display: flex;
    justify-content: flex-end;
    gap: 3rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}
.stat-item h4 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0;
}
.stat-item p {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Sections shared */
.content-section {
    padding: 6rem 0;
    position: relative;
}
.section-prefix {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* VIP Section - Grid to Row */
.vip-tiers-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.vip-tier-horizontal {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}
.vip-tier-horizontal:hover {
    border-color: var(--primary-color);
    background: rgba(40, 30, 50, 0.8);
    transform: translateX(10px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}
.vip-tier-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    flex: 0 0 100px;
    text-align: center;
}
.vip-tier-info {
    flex: 1;
}
.vip-tier-info h3 {
    font-size: 2rem;
    color: #fff;
}
.vip-tier-info p {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.vip-perks {
    display: flex;
    gap: 2rem;
    margin: 1rem 0 0 0;
}
.vip-perks li {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vip-perks li i {
    color: var(--accent-color);
}
.vip-action {
    flex: 0 0 200px;
    text-align: right;
}

/* Game Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}
.game-card-angular {
    background: #000;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}
.game-card-angular:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
.game-card-angular:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.game-card-angular:nth-child(4) { grid-column: span 2; }
.game-card-angular:nth-child(7) { grid-row: span 2; }

.game-card-img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: 0.8s;
}
.game-card-angular:hover .game-card-img { opacity: 1; transform: scale(1.1); }
.game-card-content {
    position: absolute; bottom: 0; left: 0; padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    width: 100%;
    transform: translateY(20px);
    transition: 0.4s;
}
.game-card-angular:hover .game-card-content {
    transform: translateY(0);
}
.game-card-title { color: var(--text-main); font-family: 'Inter', sans-serif; font-size: 1.5rem; }
.game-card-desc { font-size: 0.85rem; color: #ccc; margin-top: 5px; opacity: 0; transition: 0.4s;}
.game-card-angular:hover .game-card-desc { opacity: 1; }
.game-card-play { margin-top: 15px; }

/* How to Play - Vertical Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.timeline::before {
    content:''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: var(--border-color);
}
.timeline-item {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 4rem;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.timeline-content {
    width: 45%; background: var(--bg-card); padding: 2.5rem; border-left: 3px solid var(--primary-color);
    box-shadow: 5px 5px 0 rgba(212, 175, 55, 0.1);
}
.timeline-item:nth-child(even) .timeline-content {
    border-left: none; border-right: 3px solid var(--primary-color);
    box-shadow: -5px 5px 0 rgba(212, 175, 55, 0.1);
}
.timeline-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--text-main); }
.timeline-content p { color: var(--text-muted); font-size: 0.95rem; }

.timeline-num {
    width: 60px; height: 60px; background: var(--bg-dark); border: 2px solid var(--primary-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; font-weight: bold; color: var(--primary-color); font-size: 1.5rem;
    position: absolute; left: 50%; transform: translateX(-50%); z-index: 2;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Live Wins Feed */
.live-wins-bar {
    background: rgba(212, 175, 55, 0.05);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 2rem;
}
.live-wins-label {
    background: var(--primary-color);
    color: #000;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    left: 0;
    z-index: 10;
}
.wins-track-container {
    padding-left: 200px;
    width: 100%;
    overflow: hidden;
}
.wins-track {
    display: flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}
.win-ticket {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    background: rgba(0,0,0,0.5);
    padding: 5px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
}
.win-user { color: var(--text-muted); }
.win-amount { color: var(--primary-color); font-weight: bold; font-family: 'Inter', sans-serif; font-size: 1.1rem;}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* News Section - Different grid */
.news-split-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
.news-featured {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
}
.news-featured img { width: 100%; height: 350px; object-fit: cover; }
.news-featured-content { padding: 2.5rem; }
.news-featured-content h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.news-featured-content p { color: var(--text-muted); margin-bottom: 1.5rem; }

.news-list { display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; }
.news-list-item {
    display: flex; gap: 1.5rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 1.5rem;
}
.news-list-item img { width: 140px; height: 100px; object-fit: cover; border: 1px solid var(--border-color); }
.news-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.news-content p { color: var(--text-muted); font-size: 0.85rem; }

/* Why Choose & Features */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: left;
    margin-top: 4rem;
}
.why-card {
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.countdown-flex {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
}
.countdown-item {
    border: 1px solid var(--primary-color);
    padding: 15px 25px;
    background: #000;
}
.countdown-num {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: block;
}
.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.features-grid-modern {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.feature-box {
    background: rgba(10,5,15,0.6);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.feature-box::before {
    content:''; position: absolute; top:0; left:0; width: 2px; height: 100%; background: var(--primary-color);
    transition: 0.4s; transform: scaleY(0); transform-origin: top;
}
.feature-box:hover::before { transform: scaleY(1); }
.feature-box:hover { background: rgba(30,20,40,0.8); }
.feature-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.feature-box h3 { font-size: 1.3rem; margin-bottom: 1rem; color: #fff;}
.feature-box p { color: var(--text-muted); font-size: 0.9rem;}

/* Footer Banner */
.footer-register-banner {
    background: linear-gradient(90deg, #110b20, #221430);
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    padding: 40px 0;
    margin-top: 5rem;
}
.footer-register-banner .container {
    display: flex; justify-content: space-between; align-items: center;
}
.footer-register-banner h3 { font-size: 1.8rem; margin: 0; color: var(--primary-color);}

/* Providers Track */
.providers-track-container { width: 100%; overflow: hidden; white-space: nowrap; margin-bottom: -10px; }
.providers-track { display: flex; gap: 4rem; animation: marquee 30s linear infinite; align-items: center; }
.provider-logo { color: var(--text-muted); font-size: 1.5rem; font-weight: bold; text-transform: uppercase; font-family: 'Inter', sans-serif; display: flex; align-items: center; gap: 10px; opacity: 0.5; transition: 0.4s; }
.provider-logo i { color: var(--primary-color); }
.provider-logo:hover { opacity: 1; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* App Section */
.app-split-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.phone-mockup { position: relative; text-align: center; }
.floating-badge { position: absolute; background: var(--bg-dark); color: var(--primary-color); padding: 10px 20px; border: 1px solid var(--primary-color); box-shadow: 0 0 15px rgba(212,175,55,0.2); font-weight: bold; border-radius: 5px; z-index: 5; }
.floating-badge.badge-1 { top: 20%; left: 0; animation: bounce 3s ease-in-out infinite; }
.floating-badge.badge-2 { bottom: 20%; right: 0; animation: bounce 3s ease-in-out infinite 1.5s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* FAQ Section */
.faq-grid { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: rgba(0,0,0,0.5); border: 1px solid var(--border-color); }
.faq-question { padding: 1.5rem; color: #fff; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: bold; transition: 0.3s; }
.faq-question:hover { color: var(--primary-color); background: rgba(212,175,55,0.05); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: var(--text-muted); }
.faq-item.active .faq-question { color: var(--primary-color); border-bottom: 1px solid rgba(255,255,255,0.05); }
.faq-item.active .faq-answer { padding: 1.5rem; max-height: 500px; }
.faq-item.active .faq-question i { transform: rotate(45deg); color: var(--accent-color); transition: 0.3s; }

/* Mobile adaptations */
@media(max-width: 992px) {
    .hero { padding-top: 120px; }
    .hero-split { flex-direction: column; text-align: center; gap: 3rem; }
    .hero-text-content { text-align: center; }
    .hero-text-content p { margin: 0 auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    
    .floating-glass-card { padding: 2rem; margin: 0 auto; max-width: 100%; }
    .floating-glass-card h2.jackpot-amount { font-size: 2.5rem; }

    .masonry-grid { grid-template-columns: 1fr 1fr; }
    .game-card-angular:nth-child(1), .game-card-angular:nth-child(4), .game-card-angular:nth-child(7) { grid-column: span 1; grid-row: span 1; }
    
    .timeline::before { left: 0; }
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; text-align: left; align-items: flex-start; padding-left: 45px; margin-bottom: 3rem; }
    .timeline-content { width: 100%; border-left: 3px solid var(--primary-color); border-right: none !important; padding: 1.5rem; }
    .timeline-num { left: 0; transform: translateX(-50%); width: 40px; height: 40px; font-size: 1.2rem; }
    
    .vip-tier-horizontal { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .vip-perks { flex-direction: column; gap: 0.5rem; }
    
    .news-split-grid { grid-template-columns: 1fr; gap: 2rem; }
    .features-grid-modern { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .footer-register-banner .container { flex-direction: column; text-align: center; gap: 2rem; }
    
    .live-wins-label { position: relative; display: block; text-align: center; z-index: 10; padding: 10px; width: 100%; border-bottom: 2px solid var(--border-color); }
    .wins-track-container { padding-left: 0; padding-top: 10px; width: 100%; }
    .live-wins-bar { flex-direction: column; padding: 0; }
    .wins-track { gap: 1.5rem; animation: marquee 15s linear infinite; }
}

@media(max-width: 768px) {
    .content-section { padding: 4rem 0; }
    .why-choose-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
    .why-card { padding: 2rem; }
    
    .countdown-flex { flex-wrap: wrap; gap: 1rem; }
    .countdown-item { flex: 1; min-width: 40%; }
    
    .hero-stats { flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; }
    .stat-item h4 { font-size: 1.5rem; }
    .hero h1 { font-size: 2.8rem; }
    
    .news-featured img { height: 250px; }
    .news-list-item { flex-direction: column; text-align: center; }
    .news-list-item img { width: 100%; height: 180px; }
    
    .app-split-layout { grid-template-columns: 1fr; text-align: center; }
    .app-text h2, .app-text p { text-align: center !important; }
    .app-buttons { justify-content: center; flex-wrap: wrap; }
    .phone-mockup i { font-size: 10rem; }
}

@media(max-width: 576px) {
    .floating-glass-card h2.jackpot-amount { font-size: 2rem; white-space: normal; }
    .hero h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    
    .masonry-grid { grid-template-columns: 1fr; }
    .vip-action { width: 100%; }
    .vip-action .btn-primary, .vip-action .btn-secondary { width: 100%; display: block; }
    
    .countdown-item span.countdown-num { font-size: 1.8rem !important; }
    .footer-register-banner h3 { font-size: 1.4rem; }
    .section-title { font-size: 1.8rem !important; }
}