/* Atom Casino - Темная фиолетовая цветовая схема */

:root {
    --primary-purple: #8b5cf6;
    --secondary-purple: #a78bfa;
    --dark-bg: #0f0a1f;
    --darker-bg: #0a0614;
    --card-bg: #1a1330;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --border-color: rgba(139, 92, 246, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(10, 6, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-emoji {
    font-size: 1.3em;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--secondary-purple);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--accent-glow);
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px var(--accent-glow);
}

.cta-button-large {
    font-size: 1.2em;
    padding: 18px 40px;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-emoji {
    font-size: 5em;
    display: block;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features {
    padding: 80px 0;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    -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: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-glow), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-emoji {
    font-size: 3.5em;
    display: block;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-purple);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Article Section */
.article {
    padding: 80px 0;
    background: var(--darker-bg);
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.article h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: var(--primary-purple);
}

.article h3 {
    font-size: 1.7em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--secondary-purple);
}

.article p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1.05em;
}

.article ul {
    margin: 20px 0 20px 30px;
    color: var(--text-secondary);
}

.article li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.article strong {
    color: var(--text-primary);
}

/* Info Boxes */
.info-box {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--primary-purple);
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
}

.info-box p {
    margin: 0;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--dark-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
}

.stat-emoji {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-purple);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1em;
}

/* Footer */
footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.page-header h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-emoji {
    font-size: 4em;
    display: block;
    margin-bottom: 20px;
}

/* Content Section */
.content-section {
    padding: 60px 0;
    background: var(--dark-bg);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.content-block h2 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 2em;
}

.content-block h3 {
    color: var(--secondary-purple);
    margin: 30px 0 15px;
    font-size: 1.5em;
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-block ul, .content-block ol {
    margin: 20px 0 20px 30px;
    color: var(--text-secondary);
}

.content-block li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1.1em;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .article-content {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 2em;
    }
}

/* Performance Optimization */
img {
    max-width: 100%;
    height: auto;
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}
