/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a1f2e;
    --bg-card-hover: #232a3d;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --accent-glow: rgba(99, 102, 241, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo img {
    height: 36px;
    width: auto;
    transition: transform var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Casino Cards Section ===== */
.casinos {
    padding: 40px 0 80px;
}

.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all var(--transition-normal);
    animation: fadeInUp 0.6s ease-out both;
}

.casino-card:nth-child(1) { animation-delay: 0.1s; }
.casino-card:nth-child(2) { animation-delay: 0.2s; }
.casino-card:nth-child(3) { animation-delay: 0.3s; }

.casino-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-glow);
}

.casino-card-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 24px;
    position: relative;
}

.casino-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-gradient);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 20px;
    animation: badgePulse 2s ease-in-out infinite;
}

.casino-badge.hot {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.casino-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 20px 4px var(--accent-glow); }
}

.casino-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.casino-logo.rounded {
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.casino-logo.rounded img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.casino-logo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
}

.casino-info {
    min-width: 0;
}

.casino-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.casino-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.casino-rating {
    text-align: center;
    padding: 0 20px;
}

.rating-score {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.rating-stars {
    font-size: 14px;
    color: #fbbf24;
    margin-top: 4px;
    letter-spacing: 2px;
}

.casino-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 14px 28px;
    background: var(--accent-gradient);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.casino-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--accent-glow);
}

.casino-cta.secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.casino-cta.secondary:hover {
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

.casino-details {
    padding: 0 24px 24px;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    padding-top: 16px;
}

.casino-details p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-md);
}

.about-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.about-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.2);
}

.faq-item.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Disclaimer Section ===== */
.disclaimer-section {
    padding: 24px 0;
    background: var(--bg-secondary);
}

.disclaimer-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
}

.disclaimer-badge {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.disclaimer-divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
}

.disclaimer-banner p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.disclaimer-banner a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.disclaimer-banner a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .disclaimer-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .disclaimer-divider {
        width: 40px;
        height: 1px;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.footer-badges img {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    filter: grayscale(0.3);
}

.footer-badges img:hover {
    opacity: 1;
    filter: grayscale(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.disclaimer {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Animations ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .casino-card-inner {
        grid-template-columns: auto 1fr auto;
    }
    
    .casino-cta {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .casino-card-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .casino-badge {
        position: static;
        display: inline-block;
        margin-bottom: 16px;
    }
    
    .casino-logo {
        margin: 0 auto;
    }
    
    .casino-features {
        justify-content: center;
    }
    
    .casino-rating {
        padding: 16px 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-badges {
        gap: 20px;
    }
    
    .footer-badges img {
        height: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .casino-name {
        font-size: 16px;
    }
    
    .about-card {
        padding: 24px;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ===== Selection ===== */
::selection {
    background: var(--accent-primary);
    color: white;
}
