/* Shadow Casino - Dark Knight Style CSS */

:root {
    /* Dark Knight Color Palette */
    --primary-color: #ffd700; /* Gold */
    --secondary-color: #2c2c2c; /* Dark Gray */
    --background-dark: #0a0a0a; /* Almost Black */
    --background-secondary: #1a1a1a; /* Dark Gray */
    --text-light: #e0e0e0; /* Light Gray */
    --text-gold: #ffd700; /* Gold Text */
    --accent-yellow: #ffff00; /* Bright Yellow */
    --border-color: #333333; /* Border Gray */
    --success-color: #28a745; /* Green for FREE badges */
    --danger-color: #dc3545; /* Red for warnings */
    --glow-color: #ffd700; /* Gold Glow */
    --shadow-color: rgba(0, 0, 0, 0.8); /* Deep Shadow */
}

/* Reset and Base Styles */
* {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    word-wrap: break-word;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    border-bottom: 2px solid var(--primary-color);
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.free-badge {
    background: var(--success-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Mobile Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-secondary);
    border-top: 1px solid var(--border-color);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-menu {
    list-style: none;
    padding: 1rem 0;
}

.mobile-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.mobile-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    background-attachment: scroll;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--glow-color);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px var(--glow-color); }
    to { text-shadow: 0 0 30px var(--glow-color), 0 0 40px var(--glow-color); }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-yellow) 100%);
    color: var(--background-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-game {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--border-color) 100%);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-game:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Section Styles */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px var(--glow-color);
}

section {
    padding: 4rem 0;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.feature-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.feature-card a:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 5px var(--glow-color);
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.game-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.game-info a:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 5px var(--glow-color);
}

.game-rating {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.games-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.games-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.games-cta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.games-cta a:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 5px var(--glow-color);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.1);
}

.review-stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.review-card a:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 5px var(--glow-color);
}

.reviewer {
    color: var(--primary-color);
    font-weight: bold;
    text-align: right;
}

/* Leaderboard Section */
.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.leader-card {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    position: relative;
}

.leader-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.1);
}

.rank-1 {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.rank-badge {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.leader-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.leader-info p {
    color: var(--text-light);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.leader-info small {
    color: var(--text-light);
    opacity: 0.8;
}

.leader-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.leader-info a:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 5px var(--glow-color);
}

.leaderboard-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.leaderboard-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.leaderboard-cta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.leaderboard-cta a:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 5px var(--glow-color);
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-color) 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
    background: rgba(255, 215, 0, 0.05);
}

.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 {
    display: none;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.faq-answer a:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 5px var(--glow-color);
}

/* Disclaimer Section */
.disclaimer-section {
    background: linear-gradient(135deg, var(--danger-color) 0%, #a71e2a 100%);
    padding: 3rem 0;
    text-align: center;
}

.disclaimer-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer-content p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.disclaimer-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.badge {
    background: white;
    color: var(--danger-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.help-links {
    margin-top: 1.5rem;
}

.help-links a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.help-links a:hover {
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background: var(--background-dark);
    border-top: 2px solid var(--primary-color);
    padding: 3rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-nav {
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-compliance {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.compliance-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.compliance-logo {
    display: inline-block;
    transition: all 0.3s ease;
}

.compliance-logo img {
    height: 35px !important;
    width: auto !important;
    background: white;
    padding: 8px;
    border-radius: 8px;
    opacity: 0.9;
    border: 1px solid var(--border-color);
}

.compliance-logo:hover img {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.age-badge {
    background: var(--primary-color);
    color: var(--background-dark);
    padding: 8px 16px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-text p {
    margin-bottom: 0.5rem;
}

.footer-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-text a:hover {
    color: var(--accent-yellow);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--secondary-color) 100%);
    margin: 10% auto;
    padding: 3rem;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.cookie-content a:hover {
    color: var(--accent-yellow);
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-section {
        margin-top: 60px !important;
        min-height: calc(100vh - 60px) !important;
        padding: 20px 10px !important;
    }
    
    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    .nav-wrapper {
        padding: 1rem;
    }
    
    .games-grid,
    .features-grid,
    .reviews-grid,
    .leaderboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card,
    .feature-card,
    .review-card,
    .leader-card {
        margin-bottom: 15px !important;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .compliance-logos {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 2rem;
        width: 95%;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .disclaimer-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.free-tag {
    background: var(--success-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    animation: bounce 3s infinite;
}

.no-money-tag {
    background: var(--danger-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    animation: bounce 3s infinite 0.5s;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Focus and Accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .main-header,
    .cookie-banner,
    .modal,
    .burger-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
