/* CyberCasino - Technologic Style */
:root {
    /* Cyber Color Palette */
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #00ff00;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --text-cyber: #00ffff;
    --border-color: #333333;
    --glow-color: #00ffff;
    --gradient-cyber: linear-gradient(135deg, #00ffff, #ff00ff, #00ff00);
    --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    
    /* Layout */
    --header-height: 70px;
    --container-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 600px) {
    :root {
        --header-height: 60px;
    }
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    font-family: 'Arial', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

body {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
    background-attachment: scroll;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 10px;
    height: calc(100% - 10px);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.cyber-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.casino-text {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    box-shadow: 0 0 5px var(--primary-color);
}

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

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        border-right: 1px solid var(--border-color);
    }

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

    .nav-link {
        font-size: 18px;
        padding: 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .burger {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-dark);
    background-image: url('../images/hero_desktop_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 20px;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-cyber);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-cyber);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: bold;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 255, 255, 0.6);
}

.cyber-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@media (max-width: 600px) {
    .hero {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
        background-position: center top;
    }
    
    .cyber-grid {
        display: none;
    }
}

/* Sections */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Advantages */
.advantages {
    padding: 100px 0;
    background: var(--bg-darker);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.advantage-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* Casino Rating */
.rating {
    padding: 100px 0;
    background: var(--bg-dark);
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.casino-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.casino-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

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

.casino-rank {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-cyber);
    color: var(--bg-dark);
    padding: 10px 15px;
    border-radius: 0 0 10px 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

.casino-logo {
    width: 120px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 20px;
    padding: 8px;
    border-radius: 8px;
}

.casino-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rating-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.casino-score {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.bonus-info {
    background: var(--gradient-cyber);
    color: var(--bg-dark);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
}

.bonus-label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.bonus-amount {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
}

.casino-features {
    list-style: none;
    margin-bottom: 25px;
}

.casino-features li {
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.casino-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.casino-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--gradient-cyber);
    color: var(--bg-dark);
    text-decoration: none;
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition);
}

.casino-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

@media (max-width: 900px) {
    .casino-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--bg-darker);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 255, 255, 0.05);
}

.faq-question h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Latest Articles */
.latest-articles {
    padding: 100px 0;
    background: var(--bg-dark);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    background: var(--gradient-cyber);
    color: var(--bg-dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.article-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.article-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.article-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color);
}

.articles-cta {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Disclaimer */
.disclaimer {
    padding: 60px 0;
    background: var(--bg-darker);
    border-top: 2px solid var(--border-color);
}

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

.disclaimer-content h3 {
    color: #ff6b6b;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.disclaimer-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.help-contacts {
    margin: 20px 0;
}

.help-contacts a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.help-contacts a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color);
}

.disclaimer-text {
    font-size: 0.9rem;
    color: #999;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 50px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.compliance-logo {
    height: 40px !important;
    width: auto !important;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    opacity: 0.9;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.compliance-logo:hover {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.footer-logos img[src$=".svg"] {
    background: none !important;
    filter: brightness(1.5) contrast(1.2);
}

.age-badge {
    background: var(--gradient-cyber);
    color: var(--bg-dark);
    padding: 10px 15px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-logos {
        gap: 15px;
    }
    
    .compliance-logo {
        height: 35px !important;
    }
}

/* Popups */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.age-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.age-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-confirm, .btn-deny {
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.btn-confirm {
    background: var(--gradient-cyber);
    color: var(--bg-dark);
}

.btn-confirm:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.btn-deny {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-deny:hover {
    background: var(--border-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    max-width: 350px;
    border: 1px solid var(--border-color);
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
}

.cookie-accept {
    background: var(--gradient-cyber);
    color: var(--bg-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept:hover {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    
    .age-content {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .age-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-confirm, .btn-deny {
        width: 100%;
    }
}

/* Hidden class for popups */
.hidden {
    display: none !important;
}
