/* Clean Visage - Технологічний Стиль з Неоновими Акцентами */

:root {
    /* Colors - Кібер-Технологічна Палітра */
    --primary-color: #00f0ff;
    --secondary-color: #ff00f5;
    --accent-color: #7000ff;
    --success-color: #00ff88;
    --danger-color: #ff3366;
    
    --background-dark: #0a0e1a;
    --background-secondary: #151b2d;
    --background-card: #1a2134;
    --text-light: #e8e9f0;
    --text-muted: #9ca3af;
    --border-color: #2d3748;
    
    /* Neon Glows */
    --glow-primary: 0 0 20px rgba(0, 240, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 0, 245, 0.5);
    --glow-accent: 0 0 20px rgba(112, 0, 255, 0.5);
    
    /* Layout */
    --header-height: 70px;
    --container-max: 1200px;
    
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

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

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    border-bottom: 2px solid var(--primary-color);
    z-index: 1000;
    box-shadow: var(--glow-primary);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background-dark);
    box-shadow: var(--glow-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: var(--glow-primary);
}

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

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

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        background: var(--background-dark);
        padding: var(--spacing-lg);
        transition: left 0.3s ease;
        overflow-y: auto;
        border-right: 2px solid var(--primary-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
}

/* Hero Section */
.hero {
    min-height: calc(100vh - var(--header-height));
    padding-top: calc(var(--header-height) + 60px);
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 50%, var(--background-dark) 100%);
    background-attachment: scroll;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 245, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(255, 0, 245, 0.05));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px var(--primary-color));
    }
    to {
        filter: drop-shadow(0 0 20px var(--secondary-color));
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-casino {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--background-dark);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-dark);
}

/* Features Section */
.features-section {
    padding: var(--spacing-xl) 0;
    background: var(--background-secondary);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--background-card);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Casinos Section */
.casinos-section {
    padding: var(--spacing-xl) 0;
}

.casinos-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.casino-card {
    background: var(--background-card);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.casino-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
    transform: translateY(-5px);
}

.casino-rank {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rank-badge {
    font-weight: bold;
    color: var(--background-dark);
}

.rating {
    color: var(--background-dark);
    font-weight: 600;
}

.casino-logo {
    padding: var(--spacing-lg);
    background: white;
    text-align: center;
}

.casino-logo img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    filter: brightness(1.2);
}

.casino-info {
    padding: var(--spacing-lg);
}

.casino-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.bonus-text {
    color: var(--success-color);
    font-weight: 600;
    margin: var(--spacing-md) 0;
}

.casino-features {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.casino-features li {
    padding: 0.25rem 0;
    color: var(--text-muted);
}

.btn-casino {
    width: 100%;
    margin-top: var(--spacing-md);
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    box-shadow: var(--glow-accent);
}

.btn-casino:hover {
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.8);
    transform: translateY(-2px);
}

/* Blog Preview Section */
.blog-preview-section {
    padding: var(--spacing-xl) 0;
    background: var(--background-secondary);
}

.blog-preview-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.blog-preview-card {
    background: var(--background-card);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.blog-preview-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
    transform: translateY(-5px);
}

.blog-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
}

.blog-preview-card h3 a {
    color: var(--text-light);
}

.blog-preview-card h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: var(--spacing-sm);
}

.blog-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.faq-item {
    background: var(--background-card);
    margin-bottom: var(--spacing-md);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    color: var(--text-muted);
}

/* Disclaimer Section */
.disclaimer-section {
    background: linear-gradient(135deg, var(--danger-color) 0%, #ff1744 100%);
    color: white;
    padding: var(--spacing-lg) 0;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-content p {
    margin-bottom: var(--spacing-sm);
}

.disclaimer-content a {
    color: white;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--background-dark);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    display: block;
    padding: 0.25rem 0;
}

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

.compliance-logos {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.age-restriction {
    display: inline-block;
    background: var(--danger-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
}

.compliance-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: var(--spacing-md);
}

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

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

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

/* Popups */
.age-popup,
.cookie-banner,
.success-popup {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-popup {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.age-popup-content,
.success-content {
    background: linear-gradient(135deg, var(--background-dark), var(--background-secondary));
    padding: var(--spacing-xl);
    border-radius: 16px;
    max-width: 500px;
    text-align: center;
    border: 2px solid var(--primary-color);
    box-shadow: var(--glow-primary);
}

.age-popup-content h2,
.success-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.age-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.btn-confirm,
.btn-deny {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: var(--success-color);
    color: var(--background-dark);
}

.btn-confirm:hover {
    box-shadow: 0 0 20px var(--success-color);
}

.btn-deny {
    background: var(--danger-color);
    color: white;
}

.btn-deny:hover {
    box-shadow: 0 0 20px var(--danger-color);
}

/* Cookie Banner */
.cookie-banner {
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: linear-gradient(135deg, var(--background-dark), var(--background-secondary));
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--glow-primary);
}

.cookie-content p {
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.btn-accept {
    width: 100%;
    padding: 0.75rem;
    background: var(--success-color);
    color: var(--background-dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    box-shadow: 0 0 20px var(--success-color);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 15px 15px 0 0;
    }
}

/* Page Sections */
.page-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--background-dark), var(--background-secondary));
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .features-grid,
    .casinos-grid,
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
}

