/* 939bet - Royal Purple & Silver Theme */
/* Unique CSS Design - Different from all previous templates */

:root {
    --primary-purple: #5B2C6F;
    --secondary-purple: #8E44AD;
    --accent-silver: #BDC3C7;
    --gold-highlight: #F1C40F;
    --dark-bg: #1A1A2E;
    --darker-bg: #0F0F1A;
    --text-light: #ECF0F1;
    --text-muted: #95A5A6;
    --success-green: #27AE60;
    --danger-red: #E74C3C;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
}

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; color: var(--gold-highlight); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

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

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

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

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

/* Header - Non-sticky */
.site-header {
    background: linear-gradient(180deg, var(--darker-bg) 0%, transparent 100%);
    padding: 1.5rem 0;
    position: relative;
    z-index: 100;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-area img {
    height: 50px;
    width: auto;
}

.logo-area span {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--gold-highlight), var(--accent-silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-highlight);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* CTA Button */
.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-purple));
    color: var(--text-light) !important;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(142, 68, 173, 0.4);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(142, 68, 173, 0.6);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0;
}

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

.hero-content {
    max-width: 650px;
}

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

.hero-content h1 span {
    color: var(--gold-highlight);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
}

.hero-badge img {
    width: 24px;
    height: 24px;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

/* Game Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.game-card {
    background: linear-gradient(145deg, rgba(91,44,111,0.3), rgba(26,26,46,0.8));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(189,195,199,0.1);
    transition: all 0.4s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-highlight);
    box-shadow: 0 20px 40px rgba(241,196,15,0.2);
}

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

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

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

.game-card-body {
    padding: 1.5rem;
}

.game-card-body h3 {
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.game-card-body p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.game-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-highlight);
    font-weight: 600;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(91,44,111,0.2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(189,195,199,0.1);
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(91,44,111,0.4);
    border-color: var(--secondary-purple);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

/* Payment Section */
.payment-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--darker-bg) 100%);
    padding: 4rem 0;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
}

.payment-info h2 {
    margin-bottom: 1.5rem;
}

.payment-methods-img {
    max-width: 400px;
    margin: 0 auto;
}

/* Reviews Section */
.reviews-section {
    background: rgba(0,0,0,0.2);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: linear-gradient(145deg, rgba(91,44,111,0.2), rgba(26,26,46,0.6));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(189,195,199,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-highlight);
}

.review-info h4 {
    margin-bottom: 0.2rem;
    color: var(--text-light);
}

.review-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--gold-highlight);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
}

.review-date {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

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

.faq-item {
    background: rgba(91,44,111,0.2);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(189,195,199,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold-highlight);
    transition: transform 0.3s ease;
}

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

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

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

/* Author Section */
.author-section {
    background: linear-gradient(135deg, rgba(91,44,111,0.3), rgba(26,26,46,0.8));
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
}

.author-box {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.author-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold-highlight);
}

.author-info {
    flex: 1;
    min-width: 280px;
}

.author-info h3 {
    color: var(--gold-highlight);
    margin-bottom: 0.5rem;
}

.author-title {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.author-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.credential-badge {
    background: rgba(241,196,15,0.2);
    color: var(--gold-highlight);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Responsible Gaming */
.responsible-section {
    background: rgba(231,76,60,0.1);
    border: 1px solid rgba(231,76,60,0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
}

.responsible-section h3 {
    color: var(--danger-red);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.responsible-section img {
    width: 40px;
}

/* Footer */
.site-footer {
    background: var(--darker-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(189,195,199,0.1);
}

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

.footer-col h4 {
    color: var(--gold-highlight);
    margin-bottom: 1.5rem;
}

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

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--gold-highlight);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(91,44,111,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(189,195,199,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

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

.footer-payments {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-payments img {
    height: 30px;
    opacity: 0.8;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb span {
    color: var(--gold-highlight);
}

/* Article Page Styles */
.article-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--darker-bg) 100%);
}

.article-content {
    padding: 3rem 0;
}

.article-content h2 {
    margin-top: 2rem;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.article-img {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(91,44,111,0.2);
    border-radius: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--darker-bg);
        padding: 1rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-section {
        min-height: 500px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

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

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

/* License Badge */
.license-section {
    background: rgba(39,174,96,0.1);
    border: 1px solid rgba(39,174,96,0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.license-section img {
    width: 100px;
}

.license-info h4 {
    color: var(--success-green);
}

/* About Section */
.about-section {
    background: linear-gradient(145deg, rgba(91,44,111,0.2), rgba(26,26,46,0.6));
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.support-item {
    background: rgba(91,44,111,0.3);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-item:hover {
    background: rgba(91,44,111,0.5);
}

.support-item img {
    width: 50px;
    margin-bottom: 1rem;
}
