/* 879bet Joker Theme - 2026 Edition */
/* Custom Joker Slot Machine Style */

:root {
    --joker-purple: #6B21A8;
    --joker-purple-dark: #4C1D95;
    --joker-purple-light: #9333EA;
    --joker-gold: #F59E0B;
    --joker-gold-light: #FBBF24;
    --joker-gold-dark: #D97706;
    --joker-black: #1A0A2E;
    --joker-white: #FAF5FF;
    --joker-red: #DC2626;
    --joker-green: #10B981;
    --gradient-main: linear-gradient(135deg, var(--joker-purple-dark) 0%, var(--joker-purple) 50%, var(--joker-purple-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--joker-gold-dark) 0%, var(--joker-gold) 50%, var(--joker-gold-light) 100%);
    --shadow-gold: 0 4px 20px rgba(245, 158, 11, 0.4);
    --shadow-purple: 0 4px 20px rgba(107, 33, 168, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--joker-black);
    color: var(--joker-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: rgba(250, 245, 255, 0.9);
}

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

a:hover {
    color: var(--joker-gold-light);
}

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

/* Header Navigation - Non-sticky */
.site-header {
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.98) 0%, rgba(76, 29, 149, 0.95) 100%);
    padding: 15px 0;
    border-bottom: 2px solid var(--joker-gold);
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.logo-area span {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.main-nav a {
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--joker-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--joker-gold);
    color: var(--joker-gold);
}

.cta-play {
    background: var(--gradient-gold) !important;
    color: var(--joker-black) !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-gold);
    animation: pulse-gold 2s infinite;
}

.cta-play:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6);
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(245, 158, 11, 0.7); }
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: var(--gradient-gold);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 15px;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav a {
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.7) 0%, rgba(76, 29, 149, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: inline-block;
    padding: 18px 50px;
    background: var(--gradient-gold);
    color: var(--joker-black);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(245, 158, 11, 0.6);
    color: var(--joker-black);
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: rgba(76, 29, 149, 0.3);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.breadcrumb-list {
    display: flex;
    gap: 10px;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-list li::after {
    content: '›';
    margin-left: 10px;
    color: var(--joker-gold);
}

.breadcrumb-list li:last-child::after {
    content: '';
}

.breadcrumb-list a {
    color: var(--joker-gold);
}

.breadcrumb-list span {
    color: rgba(255, 255, 255, 0.7);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(76, 29, 149, 0.2) 0%, rgba(26, 10, 46, 0.9) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title h2 span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Game Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.4) 0%, rgba(26, 10, 46, 0.8) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.3);
    transition: all 0.4s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--joker-gold);
    box-shadow: var(--shadow-gold);
}

.game-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.1);
}

.game-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-gold);
    color: var(--joker-black);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.game-card-content {
    padding: 25px;
}

.game-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--joker-gold);
}

.game-card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.game-card-link {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-gold);
    color: var(--joker-black);
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.game-card-link:hover {
    transform: scale(1.05);
    color: var(--joker-black);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.about-image img {
    width: 100%;
    border-radius: 20px;
    border: 3px solid var(--joker-gold);
    box-shadow: var(--shadow-gold);
}

.about-content h2 {
    color: var(--joker-gold);
    margin-bottom: 20px;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.4) 0%, rgba(26, 10, 46, 0.8) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin: 30px 0;
}

.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--joker-gold);
}

.author-info h4 {
    color: var(--joker-gold);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Payment Methods */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.payment-card {
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.3) 0%, rgba(26, 10, 46, 0.7) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.payment-card:hover {
    border-color: var(--joker-gold);
    transform: translateY(-5px);
}

.payment-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.payment-card h4 {
    color: var(--joker-gold);
    margin-bottom: 10px;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.4) 0%, rgba(26, 10, 46, 0.8) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-author {
    font-weight: 700;
    color: var(--joker-gold);
}

.review-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.review-stars {
    color: var(--joker-gold);
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.review-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.3) 0%, rgba(26, 10, 46, 0.7) 100%);
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--joker-gold);
    transition: background 0.3s ease;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--joker-gold);
}

.faq-item.active .faq-question::after {
    content: '−';
}

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

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* License Section */
.license-box {
    display: flex;
    gap: 30px;
    align-items: center;
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.4) 0%, rgba(26, 10, 46, 0.8) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--joker-gold);
    max-width: 800px;
    margin: 0 auto;
}

.license-box img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
}

.license-info h3 {
    color: var(--joker-gold);
    margin-bottom: 15px;
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    text-align: center;
}

.support-item {
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.3) 0%, rgba(26, 10, 46, 0.7) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.support-item:hover {
    border-color: var(--joker-gold);
    transform: translateY(-5px);
}

.support-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.support-item h4 {
    color: var(--joker-gold);
    margin-bottom: 10px;
}

/* Responsible Gaming */
.responsible-box {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.1) 0%, rgba(26, 10, 46, 0.8) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--joker-green);
    max-width: 900px;
    margin: 0 auto;
}

.responsible-box h3 {
    color: var(--joker-green);
    margin-bottom: 20px;
}

.responsible-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.responsible-links a {
    color: var(--joker-green);
    border: 1px solid var(--joker-green);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.responsible-links a:hover {
    background: var(--joker-green);
    color: var(--joker-black);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.95) 0%, #0D0415 100%);
    padding: 60px 0 30px;
    border-top: 2px solid var(--joker-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--joker-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--joker-gold);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    color: var(--joker-gold);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--joker-gold);
    color: var(--joker-black);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-badges {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-badges img {
    height: 50px;
    border-radius: 8px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Inner Page Styles */
.page-header {
    background: var(--gradient-main);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header h1 span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content {
    padding: 60px 0;
}

.content-box {
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.2) 0%, rgba(26, 10, 46, 0.6) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 30px;
}

.content-box h2 {
    color: var(--joker-gold);
    margin-bottom: 20px;
}

.content-box h3 {
    color: var(--joker-gold-light);
    margin: 25px 0 15px;
}

.content-box ul, .content-box ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-box li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

/* Game Page Specific */
.game-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .game-hero {
        grid-template-columns: 1fr;
    }
}

.game-hero-image img {
    width: 100%;
    border-radius: 20px;
    border: 3px solid var(--joker-gold);
}

.game-hero-content h2 {
    color: var(--joker-gold);
    font-size: 2rem;
    margin-bottom: 20px;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.stat-item {
    background: rgba(245, 158, 11, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.stat-item span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-item strong {
    display: block;
    font-size: 1.3rem;
    color: var(--joker-gold);
}

/* Sitemap Page */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sitemap-section {
    background: linear-gradient(145deg, rgba(76, 29, 149, 0.3) 0%, rgba(26, 10, 46, 0.7) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.sitemap-section h3 {
    color: var(--joker-gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

.sitemap-section ul {
    list-style: none;
}

.sitemap-section li {
    margin-bottom: 12px;
}

.sitemap-section a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-section a::before {
    content: '→';
    color: var(--joker-gold);
}

.sitemap-section a:hover {
    color: var(--joker-gold);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--joker-gold); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-section {
        min-height: 500px;
        padding: 40px 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .license-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .site-header, .site-footer, .cta-play {
        display: none;
    }
}
