/* Main Styles for $20 Deposit Casino - v2.0 */
/* Core Variables and Reset */
:root {
    --primary-red: #DC2626;
    --primary-gold: #F59E0B;
    --dark-bg: #111827;
    --card-bg: #1F2937;
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --accent-green: #10B981;
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Typography Scale */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 { font-size: clamp(2rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.25rem); }

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles Enhanced */
header {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

header.scrolled {
    background: rgba(17, 24, 39, 0.98);
    box-shadow: var(--shadow-md);
}

/* Navigation Enhanced */
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Casino Card Animations */
.casino-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

.casino-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

/* Rank Badge Animation */
.casino-rank {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Button Styles Enhanced */
.play-button {
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.play-button:hover::before {
    width: 300px;
    height: 300px;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

/* Hero Section Enhanced */
.hero {
    margin-top: 80px;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Table Styles Enhanced */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--card-bg);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

th {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-gold);
    border-bottom: 2px solid var(--border-color);
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: background var(--transition-fast);
}

tr:hover td {
    background: rgba(245, 158, 11, 0.05);
}

/* FAQ Styles Enhanced */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background var(--transition-base);
}

.faq-question svg {
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

/* Social Share Enhanced */
.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.share-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition-base);
}

.share-button:hover::before {
    left: 100%;
}

/* EEAT Section Enhanced */
.eeat-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    padding: 2rem;
    border-radius: 1rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.eeat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-gold { color: var(--primary-gold); }
.text-red { color: var(--primary-red); }
.text-green { color: var(--accent-green); }
.bg-gold { background-color: var(--primary-gold); }
.bg-red { background-color: var(--primary-red); }
.bg-green { background-color: var(--accent-green); }

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header, footer, .social-share, .play-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

ul li {
    position: relative;
    padding-left: 1.5rem;
}

ul li::before {
    position: absolute;
    left: 0;
}

/* Стилі для різних секцій */
#why-choose ul li::before {
    content: "▸";
    color: var(--primary-gold);
    font-weight: bold;
}

#games ul li::before {
    content: "♦";
    color: var(--primary-red);
    font-weight: bold;
}

#games h3 + ul li::before {
    content: "♠";
    color: var(--primary-gold);
}

#games h3:nth-of-type(3) + ul li::before {
    content: "♣";
    color: var(--accent-green);
}

#games h3:last-of-type + ul li::before {
    content: "★";
    color: var(--primary-red);
}

/* Bonus list styles */
.content-section ul li:has(strong:contains("Welcome Bonus")) ::before {
    content: "◆";
    color: var(--accent-green);
    font-size: 1.25rem;
}

/* Mobile styles */
#mobile ul li::before {
    content: "●";
    color: var(--primary-gold);
}

#mobile h3:nth-of-type(2) + ul li::before {
    content: "▪";
    color: var(--accent-green);
}

#mobile h3:last-of-type + ul li::before {
    content: "→";
    color: var(--primary-red);
}

/* Step numbers */
.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-number {
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.bonus-code {
    background: rgba(245, 158, 11, 0.2);
    color: var(--primary-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-block;
}

.bonus-code:hover {
    background: rgba(245, 158, 11, 0.3);
    transform: scale(1.05);
}

/* Stat numbers */
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

/* Steps container */
.steps-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-content h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}
/* FAQ Accordion Styles - Fixed */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(245, 158, 11, 0.05);
}

.faq-question svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

/* FAQ Answer - Critical styles */
.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Large enough for content */
    padding-bottom: 1.25rem;
}