/* ============================================
   CLUB-PHP.PH - Casino Website Styles
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6a1b9a;
    --secondary-color: #4caf50;
    --accent-color: #ffd700;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --light-bg: #ffffff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #cccccc;
    --border-color: #333333;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-register {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-register:hover {
    background-color: #5a1580;
    transform: translateY(-2px);
}

.btn-login {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-login:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #5a1580;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 27, 154, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.btn-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Header */
.site-header {
    background-color: var(--darker-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-top {
    background-color: var(--dark-bg);
    padding: 10px 0;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.main-nav {
    background-color: var(--darker-bg);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    line-height: 1;
}

.logo a:hover {
    color: var(--accent-color);
}

.logo img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    vertical-align: middle;
}

/* Utility */
.btn-spaced {
    margin-top: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
    background-color: rgba(255, 215, 0, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 10px 0;
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-image {
    margin: 30px 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Sections */
section {
    padding: 10px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 20px auto;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.section-icon {
    color: var(--accent-color);
    font-size: 2rem;
}

/* Join Section */
.join-section {
    background-color: var(--light-bg);
}

.join-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.join-logo {
    flex: 0 0 200px;
}

.join-logo img {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.join-text {
    flex: 1;
    min-width: 300px;
}

.join-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Steps Section */
.steps-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Legality Section */
.legality-section {
    background-color: var(--light-bg);
}

.legality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.legality-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.legality-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.info-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
}

.trust-section .section-title {
    color: var(--accent-color);
}

.trust-image {
    margin-bottom: 50px;
}

.trust-image img {
    width: 100%;
    border-radius: 10px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trust-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.trust-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.trust-icon {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.trust-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Promotions Section */
.promotions-section { /* existing rules continue... */

/* === single article enhancements === */
.article-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 120px 0 80px;
}
.article-hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
.article-hero .article-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.article-hero .article-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.article-hero .article-meta {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.article-hero .article-meta span:not(:last-child)::after {
    content: "|";
    margin: 0 8px;
    color: var(--text-light);
}
.article-hero .article-category a {
    color: var(--accent-color);
    text-decoration: underline;
    text-transform: uppercase;
    font-weight: 600;
}

.article-container {
    padding: 80px 0;
}
.article-content {
    max-width: 840px;
    margin: 0 auto;
    line-height: 1.8;
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.article-content p {
    margin-bottom: 1.75rem;
    font-size: 1rem;
    color: var(--text-dark);
}
.article-content p:first-of-type:first-letter {
    float: left;
    font-size: 4.5rem;
    line-height: 1;
    padding-right: 10px;
    color: var(--primary-color);
}
.article-content img {
    display: block;
    margin: 2.5rem auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.article-content h2,
.article-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.article-content h2 {
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

/* extra typographic details */
.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}
.article-content blockquote {
    border-left: 4px solid var(--accent-color);
    margin: 1.5rem 0;
    padding: 0.5rem 1rem;
    color: var(--text-gray);
    font-style: italic;
    background: #f9f9f9;
}
.article-content code,
.article-content pre {
    background: #f5f5f5;
    padding: 0.5rem;
    border-radius: 4px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9rem;
}
.article-content figure {
    margin: 2.5rem 0;
    text-align: center;
}
.article-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.article-content figcaption {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.article-content hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 3rem 0;
}

/* mid-cta card style */
.article-mid-cta {
    margin: 3rem 0;
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-no-post {
    text-align: center;
    padding: 80px 20px;
}
.article-no-post h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.article-mid-cta img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* responsive tweak update */
@media (max-width:768px){
    .article-content {padding:30px 20px;}
    .article-content p:first-of-type:first-letter{font-size:3.5rem;}
}

.article-mid-cta {
    margin: 2rem 0;
    text-align: center;
}
.article-mid-cta .btn {
    margin-top: 1rem;
}

.article-related {
    margin: 4rem 0;
}
.article-related h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}
.related-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.related-grid .card {
    background: var(--light-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    flex: 1 1 280px;
    text-align: center;
    transition: var(--transition);
}
.related-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.related-grid .card img {
    width: 100%;
    height: auto;
    display: block;
}
.related-grid .card h4 {
    padding: 15px;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
    height: 3.9rem; /* approx two lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-tags {
    margin: 3rem 0;
}
.article-tags .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.article-tags .tag {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 4rem 0; /* increase vertical spacing */
    gap: 40px; /* larger gap between prev/next */
    align-items: center;
}
.article-navigation .nav-previous a,
.article-navigation .nav-next a {
    color: var(--primary-color);
    font-weight: 700; /* make title bold */
    padding: 12px 18px; /* enlarge clickable area */
    border-radius: 6px;
    transition: var(--transition);
    display: inline-block;
    font-size: 1rem;
}
.article-navigation .nav-previous a { margin-right: 20px; }
.article-navigation .nav-next a { margin-left: 20px; }
.article-navigation .nav-previous a:hover,
.article-navigation .nav-next a:hover {
    background: rgba(106,27,154,0.08);
}

.article-no-post {
    text-align: center;
    padding: 80px 0;
    color: var(--text-gray);
}
    }
    .article-hero {
        padding: 80px 0 40px;
    }
    .article-hero .article-title {
        font-size: 2rem;
    }
}

/* Promotions Section */
.promotions-section {
    background-color: var(--light-bg);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.promo-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.promo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.promo-content {
    padding: 25px;
    background-color: var(--light-bg);
    text-align: center;
}

.promo-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Games Section */
.games-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.game-card {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-icon {
    margin-bottom: 20px;
}

.game-icon img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.game-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* License Section */
.license-section {
    background-color: var(--light-bg);
    text-align: center;
}

.license-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.license-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.license-logos img {
    height: 80px;
    object-fit: contain;
}

/* Payment Section */
.payment-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
    text-align: center;
}

.payment-section .section-title {
    color: var(--accent-color);
}

.payment-section p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card:nth-child(1) {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: var(--text-light);
}

.testimonial-card:nth-child(2) {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 700;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.faq-question:hover {
    background-color: #5a1580;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    background-color: #f9f9f9;
}

/* Footer */
.site-footer {
    background-color: var(--darker-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-tagline {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-column p {
    margin-bottom: 10px;
    color: var(--text-gray);
}

.footer-column a {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 30px;
}

.footer-licenses {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.license-group {
    text-align: center;
}

.license-group h5 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1rem;
}

.license-group .license-logos,
.license-group .payment-logos {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.license-group img {
    height: 60px;
    object-fit: contain;
}

.footer-legal {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-legal p {
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--accent-color);
}

.copyright {
    margin-top: 20px;
    font-size: 0.85rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top:hover {
    background-color: #5a1580;
    transform: translateY(-5px);
}

.scroll-to-top.visible {
    display: flex;
}

/* Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
}

.page-title {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.page-content {
    background-color: var(--light-bg);
    padding: 10px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.game-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.game-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.game-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--text-light);
    padding: 15px;
    font-weight: 600;
    text-align: center;
}

/* Table of Contents */
.table-of-contents {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid var(--primary-color);
}

.table-of-contents h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-of-contents ol {
    margin-left: 20px;
}

.table-of-contents li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.table-of-contents a {
    color: var(--text-dark);
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

/* Accordion Sections */
.accordion-section {
    margin: 30px 0;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #5a1580;
}

.accordion-header::after {
    content: '▼';
    transition: var(--transition);
}

.accordion-header.active::after {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 2000px;
}

.accordion-body {
    padding: 30px;
    background-color: var(--light-bg);
}

/* Author Box */
.author-box {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-title {
    color: var(--text-gray);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.author-bio {
    color: var(--text-dark);
    line-height: 1.6;
}

/* News/Article Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.article-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.article-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-link {
    color: var(--primary-color);
    font-weight: 600;
}

.article-link:hover {
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.sidebar-item-title {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.sidebar-item-title:hover {
    color: var(--primary-color);
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        height: 50px;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--darker-bg);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .legality-content,
    .join-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .steps-grid,
    .trust-grid,
    .promotions-grid,
    .games-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-licenses {
        flex-direction: column;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .hero-title {
        font-size: 1.5rem;

/* layout: content + aside */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}
.article-main { }
.article-aside {
    position: relative;
}
.related-list {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.related-list h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}
.related-list .related-list-header{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.related-list .related-more{ font-size:0.85rem; padding:6px 10px; }
.related-list .related-items{ display:flex; flex-direction:column; gap:12px; }
.related-list .article-card.small{ display:flex; gap:12px; align-items:flex-start; padding:8px 0; border-bottom:1px solid rgba(0,0,0,0.04); }
.related-list .article-card.small:last-child{ border-bottom:0; }
.related-list .article-card.small .article-image{ width:100px; height:72px; object-fit:cover; border-radius:6px; flex:0 0 100px; }
.related-list .article-card.small .article-content{ flex:1; }
.related-list .article-card.small .article-title{ font-size:0.95rem; margin:0; color:var(--text-dark); }

@media (max-width: 992px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { order: 2; }
}
    }

    .page-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Hide broken images */
img {
    object-fit: cover;
}

img[src=""],
img:not([src]) {
    display: none;
}

/* Hide broken image icon */
img[alt]:not([src*="data:"]) {
    min-height: 1px;
}
