/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --color-primary: #0E21A0;
    --color-secondary: #4D2FB2;
    --color-accent: #B153D7;
    --color-highlight: #F375C2;
    
    --color-primary-rgb: 14, 33, 160;
    --color-secondary-rgb: 77, 47, 178;
    --color-accent-rgb: 177, 83, 215;
    --color-highlight-rgb: 243, 117, 194;
    
    --color-bg: #0a0f2e;
    --color-bg-light: #1a1f4a;
    --color-bg-card: #151a42;
    --color-text: #ffffff;
    --color-text-muted: #a0a8c8;
    --color-border: rgba(255, 255, 255, 0.1);
    
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(2rem, 1.6rem + 2vw, 3rem);
    
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    --transition: 250ms ease;
    --transition-fast: 150ms ease;
    
    --container-max: 1200px;
    --header-height: 70px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a {
    color: var(--color-highlight);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent);
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    flex: 1;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    display: none;
}

.main-nav.is-open {
    display: block;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-primary);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

/* Menu overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-list > li > a {
    display: block;
    padding: 15px 0;
    color: var(--color-text);
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
}

.nav-list > li:last-child > a {
    border-bottom: none;
}

.dropdown {
    display: none;
    padding-left: 20px;
    background: rgba(0, 0, 0, 0.1);
}

.dropdown-open .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 10px 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* Active menu states */
.nav-list > li > a.active {
    color: var(--color-highlight);
}

.nav-list > li.active-parent > a {
    color: var(--color-accent);
}

.dropdown a.active {
    color: var(--color-highlight);
    font-weight: 600;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
    border-bottom: 1px solid var(--color-border);
}

.hero h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--color-highlight) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
}

/* ==========================================================================
   Keywords Carousel
   ========================================================================== */
.keywords-section {
    padding: 40px 0;
    background: var(--color-bg-light);
    overflow: hidden;
}

.keywords-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: var(--text-xl);
}

.kw-static {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.kw-carousel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kw-track {
    display: flex;
    gap: 12px;
    width: max-content;
}

.kw-track-1 {
    animation: scroll-left 240s linear infinite;
}

.kw-track-2 {
    animation: scroll-right 250s linear infinite;
}

.kw-track-3 {
    animation: scroll-left 260s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.kw-pill {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-text);
    border-radius: 50px;
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    min-height: 44px;
}

.kw-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.5);
}

/* ==========================================================================
   Categories Section
   ========================================================================== */
.categories-section {
    padding: 60px 0;
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: var(--text-2xl);
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.category-card,
.subcategory-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    transition: var(--transition);
}

.category-card:hover,
.subcategory-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(var(--color-accent-rgb), 0.2);
}

.category-card h3,
.subcategory-card h2 {
    font-size: var(--text-lg);
    margin-bottom: 5px;
}

.article-count {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.category-arrow,
.subcategory-arrow {
    color: var(--color-accent);
    transition: var(--transition);
}

.category-card:hover .category-arrow,
.subcategory-card:hover .subcategory-arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.intro-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    margin-bottom: 30px;
    font-size: var(--text-2xl);
    text-align: center;
    color: var(--color-highlight);
}

.intro-content h3 {
    margin: 35px 0 15px;
    font-size: var(--text-xl);
    color: var(--color-text);
}

.intro-content p {
    color: var(--color-text-muted);
    margin-bottom: 18px;
    line-height: 1.8;
    text-align: justify;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

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

.breadcrumb a:hover {
    color: var(--color-highlight);
}

.page-header h1 {
    font-size: var(--text-2xl);
    margin-bottom: 10px;
}

.results-count {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* ==========================================================================
   Subcategories Section
   ========================================================================== */
.subcategories-section {
    padding: 40px 0;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* ==========================================================================
   Articles Section
   ========================================================================== */
.articles-section {
    padding: 40px 0;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.article-card {
    display: block;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
}

.article-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 20px;
}

.article-card h2 {
    font-size: var(--text-lg);
    margin-bottom: 10px;
    line-height: 1.4;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-accent);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.pagination-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-text);
    border-radius: var(--radius);
    font-weight: 500;
    min-height: 44px;
}

.pagination-btn:hover {
    color: var(--color-text);
    opacity: 0.9;
}

.pagination-info {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* ==========================================================================
   Article Page
   ========================================================================== */
.article-page {
    padding: 40px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Full-width article content (no sidebar) */
.article-content-full {
    max-width: 1100px;
    margin: 0 auto;
}

.article-page .container {
    max-width: 1100px;
}

.article-page {
    background: var(--color-bg);
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: var(--text-2xl);
    margin-bottom: 15px;
    line-height: 1.3;
    color: #fff;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.article-body {
    color: #fff;
    line-height: 1.8;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: #fff !important;
}

.article-body h2 {
    font-size: var(--text-xl);
    margin: 30px 0 15px;
    color: var(--color-highlight) !important;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(177, 83, 215, 0.3);
}

.article-body h3 {
    font-size: var(--text-lg);
    margin: 25px 0 10px;
}

.article-body p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.88) !important;
}

.article-body span,
.article-body div {
    color: inherit !important;
}

.article-body a {
    color: var(--color-highlight) !important;
}

.article-body a:hover {
    color: var(--color-accent) !important;
}

.article-body ul,
.article-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.88) !important;
}

.article-body strong,
.article-body b {
    color: #fff !important;
}

.article-body em,
.article-body i {
    color: rgba(255, 255, 255, 0.9) !important;
}

.article-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 16px 24px;
    margin: 20px 0;
    background: rgba(177, 83, 215, 0.08);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: rgba(255, 255, 255, 0.85) !important;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.article-body th {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff !important;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.article-body td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    color: rgba(255, 255, 255, 0.85) !important;
}

.article-body tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.article-body figure {
    margin: 20px 0;
}

.article-body img {
    border-radius: var(--radius);
}

.article-body figcaption {
    font-size: var(--text-sm);
    color: var(--color-text-muted) !important;
    text-align: center;
    margin-top: 10px;
}

.article-body [style*="color"] {
    color: inherit !important;
}

.article-body [style*="background"] {
    background: transparent !important;
}

/* Article tags */
.article-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.article-tags h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: var(--text-base);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 6px 15px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: var(--transition);
}

.tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Sidebar */
.article-sidebar {
    order: -1;
}

.sidebar-box {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 25px;
    border: 1px solid var(--color-border);
}

.sidebar-box h3 {
    margin-bottom: 20px;
    font-size: var(--text-lg);
}

.casino-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.casino-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.casino-card:hover {
    background: rgba(var(--color-accent-rgb), 0.1);
}

.casino-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.casino-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.casino-name {
    font-weight: 600;
    font-size: var(--text-sm);
}

.casino-bonus {
    font-size: var(--text-xs);
    color: var(--color-accent);
}

/* Related articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.related-articles h2 {
    margin-bottom: 25px;
    font-size: var(--text-xl);
    color: #fff;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-card {
    display: block;
    color: var(--color-text);
    transition: var(--transition);
}

.related-card:hover {
    color: var(--color-highlight);
}

.related-card img {
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.related-card h3 {
    font-size: var(--text-sm);
    line-height: 1.4;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-section {
    padding: 40px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-form-wrapper {
    background: var(--color-bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: inherit;
    font-size: var(--text-base);
    transition: var(--transition);
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    min-height: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-text);
}

.btn-primary:hover {
    opacity: 0.9;
    color: var(--color-text);
}

.form-message {
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.contact-info h2 {
    margin-bottom: 15px;
    font-size: var(--text-xl);
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

/* ==========================================================================
   Error Page
   ========================================================================== */
.error-page {
    padding: 80px 0;
    text-align: center;
}

.error-content h1 {
    font-size: 120px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-highlight) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: var(--text-2xl);
    margin-bottom: 15px;
}

.error-content p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 20px;
}

.modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    overflow-y: auto;
    border: 1px solid var(--color-border);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-title {
    font-size: var(--text-xl);
    margin-bottom: 20px;
    padding-right: 40px;
}

.modal-body {
    color: var(--color-text);
    line-height: 1.7;
}

.modal-body p {
    margin-bottom: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-bg-light);
    padding: 60px 0 30px;
    margin-top: auto;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: var(--text-lg);
    margin-bottom: 15px;
    color: var(--color-highlight);
}

.footer-col p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.age-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background: #dc2626;
    color: white;
    font-weight: 700;
    border-radius: var(--radius);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* ==========================================================================
   Responsive - Tablet and up
   ========================================================================== */
@media (min-width: 768px) {
    .main-nav {
        display: block;
        position: static;
        background: none;
        padding: 0;
        box-shadow: none;
        max-height: none;
        overflow: visible;
    }

    .menu-overlay {
        display: none !important;
    }

    body.menu-open {
        overflow: auto;
        position: static;
    }

    .nav-list {
        flex-direction: row;
        gap: 5px;
    }
    
    .nav-list > li > a {
        padding: 10px 15px;
        border-bottom: none;
    }
    
    .nav-list > li > a:hover {
        color: var(--color-highlight);
    }
    
    .has-dropdown {
        position: relative;
    }
    
    .has-dropdown .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: var(--color-primary);
        border-radius: var(--radius);
        padding: 10px 0;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: var(--transition);
    }
    
    .has-dropdown:hover .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown a {
        padding: 10px 20px;
    }
    
    .dropdown a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--color-text);
    }

    /* Desktop active states */
    .nav-list > li > a.active {
        color: var(--color-highlight);
        position: relative;
    }

    .nav-list > li > a.active::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 15px;
        right: 15px;
        height: 2px;
        background: var(--color-highlight);
        border-radius: 1px;
    }

    .nav-list > li.active-parent > a {
        color: var(--color-accent);
    }

    .dropdown a.active {
        background: rgba(var(--color-highlight-rgb), 0.15);
        color: var(--color-highlight);
    }

    .mobile-menu-btn {
        display: none;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Responsive - Desktop
   ========================================================================== */
@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .article-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

/* ==========================================================================
   Casino Cards Section
   ========================================================================== */
.casino-cards-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.casino-cards-section h2 {
    margin-bottom: 25px;
    font-size: var(--text-xl);
    text-align: center;
    color: var(--color-highlight);
}

.casino-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.casino-card-full {
    display: grid;
    grid-template-columns: auto 80px 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.casino-card-full:hover {
    border-color: var(--color-accent);
    box-shadow: 0 5px 20px rgba(var(--color-accent-rgb), 0.2);
}

.casino-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: white;
    font-weight: 700;
    font-size: var(--text-sm);
    border-radius: 50%;
}

.casino-card-image {
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.casino-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.casino-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.casino-card-name {
    font-size: var(--text-base);
    font-weight: 600;
    margin: 0;
    color: var(--color-text);
}

.casino-card-bonus {
    font-size: var(--text-sm);
    color: var(--color-highlight);
    font-weight: 500;
}

.casino-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.casino-card-rating svg {
    color: #fbbf24;
}

.casino-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-play,
.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    min-width: 120px;
    min-height: 40px;
}

.btn-play {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.btn-play:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: white;
}

.btn-register:hover {
    opacity: 0.9;
    color: white;
    transform: translateY(-2px);
}

/* Mobile: Stack casino cards vertically */
@media (max-width: 767px) {
    .casino-card-full {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }

    .casino-card-number {
        margin: 0 auto;
    }

    .casino-card-image {
        width: 120px;
        height: 90px;
        margin: 0 auto;
    }

    .casino-card-info {
        align-items: center;
    }

    .casino-card-buttons {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }

    .btn-play,
    .btn-register {
        flex: 1;
        max-width: 150px;
    }
}

/* Tablet: 2 columns layout */
@media (min-width: 768px) {
    .casino-cards-grid {
        grid-template-columns: 1fr;
    }

    .casino-card-buttons {
        flex-direction: row;
    }
}

/* ==========================================================================
   Sidebar Articles
   ========================================================================== */
.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-article-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    color: var(--color-text);
    transition: var(--transition);
    text-decoration: none;
}

.sidebar-article-link:hover {
    background: rgba(var(--color-accent-rgb), 0.15);
    color: var(--color-highlight);
}

.sidebar-article-link img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.sidebar-article-link span {
    font-size: var(--text-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Hero Modern Section
   ========================================================================== */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 120px;
    background: var(--color-bg);
}

/* Background layers */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(77, 47, 178, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(177, 83, 215, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 0% 80%, rgba(243, 117, 194, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
}

/* City skyline silhouette */
.hero-light-rays {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='skyGrad' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%234D2FB2' stop-opacity='0.3'/%3E%3Cstop offset='100%25' stop-color='%230E21A0' stop-opacity='0.6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23skyGrad)' d='M0,400 L0,280 L40,280 L40,200 L60,200 L60,180 L80,180 L80,200 L100,200 L100,280 L120,280 L120,220 L140,220 L140,160 L160,160 L160,140 L180,140 L180,160 L200,160 L200,220 L220,220 L220,280 L260,280 L260,180 L280,180 L280,120 L300,120 L300,100 L320,100 L320,80 L340,80 L340,100 L360,100 L360,120 L380,120 L380,180 L400,180 L400,280 L440,280 L440,240 L460,240 L460,200 L480,200 L480,240 L500,240 L500,280 L540,280 L540,160 L560,160 L560,100 L580,100 L580,60 L620,60 L620,100 L640,100 L640,160 L660,160 L660,280 L700,280 L700,200 L720,200 L720,140 L760,140 L760,200 L780,200 L780,280 L820,280 L820,180 L840,180 L840,120 L860,120 L860,80 L880,80 L880,40 L920,40 L920,80 L940,80 L940,120 L960,120 L960,180 L980,180 L980,280 L1020,280 L1020,220 L1040,220 L1040,180 L1060,180 L1060,220 L1080,220 L1080,280 L1120,280 L1120,160 L1140,160 L1140,100 L1180,100 L1180,160 L1200,160 L1200,280 L1240,280 L1240,200 L1260,200 L1260,160 L1280,160 L1280,200 L1300,200 L1300,280 L1340,280 L1340,240 L1360,240 L1360,200 L1400,200 L1400,240 L1440,240 L1440,400 Z'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom center;
    opacity: 0.8;
}

/* Floating casino elements */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

/* Poker chips and cards decorations via CSS */
.hero-particles {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='38' fill='%231a1f4a' stroke='%23B153D7' stroke-width='4'/%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='%23B153D7' stroke-width='2' stroke-dasharray='10 5'/%3E%3Ccircle cx='40' cy='40' r='15' fill='%23B153D7'/%3E%3Ctext x='40' y='46' text-anchor='middle' fill='white' font-size='16' font-weight='bold'%3E$%3C/text%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='38' fill='%231a1f4a' stroke='%23F375C2' stroke-width='4'/%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='%23F375C2' stroke-width='2' stroke-dasharray='10 5'/%3E%3Ccircle cx='40' cy='40' r='15' fill='%23F375C2'/%3E%3Ctext x='40' y='46' text-anchor='middle' fill='white' font-size='16' font-weight='bold'%3E$%3C/text%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 84'%3E%3Crect x='2' y='2' width='56' height='80' rx='6' fill='%23151a42' stroke='%23B153D7' stroke-width='2'/%3E%3Ctext x='10' y='24' fill='%23B153D7' font-size='18' font-weight='bold'%3EA%3C/text%3E%3Cpath d='M30,35 C30,25 40,15 40,15 C40,15 50,25 50,35 C50,42 45,48 40,50 L40,58 L39,58 L39,50 C34,48 30,42 30,35Z' fill='%23B153D7'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 84'%3E%3Crect x='2' y='2' width='56' height='80' rx='6' fill='%23151a42' stroke='%23F375C2' stroke-width='2'/%3E%3Ctext x='10' y='24' fill='%23F375C2' font-size='18' font-weight='bold'%3EK%3C/text%3E%3Cpath d='M30,40 C34,36 40,36 44,40 C48,44 48,50 44,54 L30,70 L16,54 C12,50 12,44 16,40 C20,36 26,36 30,40Z' fill='%23F375C2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='38' fill='%231a1f4a' stroke='%234D2FB2' stroke-width='4'/%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='%234D2FB2' stroke-width='2' stroke-dasharray='10 5'/%3E%3Ccircle cx='40' cy='40' r='15' fill='%234D2FB2'/%3E%3Ctext x='40' y='46' text-anchor='middle' fill='white' font-size='16' font-weight='bold'%3E$%3C/text%3E%3C/svg%3E");
    background-size: 70px 70px, 55px 55px, 50px 70px, 45px 63px, 60px 60px;
    background-position: 5% 20%, 92% 65%, 88% 15%, 8% 70%, 75% 85%;
    background-repeat: no-repeat;
    animation: floatElements 8s ease-in-out infinite;
}

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

/* Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.badge-diamond {
    font-size: 1.2em;
    color: var(--color-highlight);
}

.hero-title {
    margin-bottom: 25px;
}

.title-sub {
    display: block;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.title-main {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-highlight) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.title-accent {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: var(--color-text);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 10px;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-highlight);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: white;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(177, 83, 215, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(177, 83, 215, 0.4);
    color: white;
}

.btn-hero-primary svg {
    transition: var(--transition);
}

.btn-hero-primary:hover svg {
    transform: translateX(5px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--color-text);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-text);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-accent) 0%, transparent 100%);
}

/* Responsive */
@media (max-width: 767px) {
    .hero-modern {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .title-sub {
        font-size: 0.8rem;
    }

    .title-main {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .title-accent {
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        min-width: 80px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }

    .hero-scroll {
        display: none;
    }

    .hero-particles {
        opacity: 0.4;
    }

    .hero-light-rays {
        display: none;
    }
}

@media (min-width: 768px) {
    .hero-modern {
        min-height: 100vh;
    }
}

/* ==========================================================================
   Modern Casino Cards (5 per row)
   ========================================================================== */
.casino-cards-section-modern {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-light) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.casino-cards-section-modern h2 {
    margin-bottom: 25px;
    font-size: var(--text-xl);
    text-align: center;
    color: var(--color-highlight);
}

.casino-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.casino-card-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.casino-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent), var(--color-highlight));
}

.casino-card-modern:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(var(--color-accent-rgb), 0.2);
}

.casino-card-icon {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--color-secondary-rgb), 0.2) 0%, rgba(var(--color-accent-rgb), 0.2) 100%);
    border-radius: 50%;
    margin-bottom: 12px;
}

.casino-icon {
    font-size: 32px;
    line-height: 1;
}

.casino-rank {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.casino-card-modern .casino-name {
    font-size: var(--text-base);
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--color-text);
}

.casino-card-modern .casino-bonus {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
}

.bonus-amount {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-highlight);
}

.bonus-spins {
    font-size: var(--text-xs);
    color: var(--color-accent);
    font-weight: 500;
}

.bonus-text {
    font-size: var(--text-sm);
    color: var(--color-highlight);
}

.casino-card-modern .casino-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.casino-rating .stars {
    font-size: 12px;
    color: #fbbf24;
    letter-spacing: -1px;
}

.casino-rating .rating-value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-muted);
}

.casino-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.btn-casino-play,
.btn-casino-register {
    display: block;
    width: 100%;
    padding: 10px 8px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
}

.btn-casino-play {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.btn-casino-play:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    transform: scale(1.02);
}

.btn-casino-register {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: white;
}

.btn-casino-register:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-highlight) 100%);
    color: white;
    transform: scale(1.02);
}

/* Responsive: 3 columns on tablet */
@media (min-width: 576px) {
    .casino-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive: 5 columns on desktop */
@media (min-width: 992px) {
    .casino-grid-modern {
        grid-template-columns: repeat(5, 1fr);
    }

    .casino-card-modern {
        padding: 25px 15px;
        min-height: 340px;
    }

    .casino-card-icon {
        width: 80px;
        height: 80px;
    }

    .casino-icon {
        font-size: 36px;
    }
}

/* ==========================================================================
   Sidebar Categories
   ========================================================================== */
.sidebar-categories {
    max-height: 600px;
    overflow-y: auto;
}

.sidebar-categories::-webkit-scrollbar {
    width: 6px;
}

.sidebar-categories::-webkit-scrollbar-track {
    background: var(--color-bg);
    border-radius: 3px;
}

.sidebar-categories::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 3px;
}

.sidebar-cats-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-cat-group {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.sidebar-cat-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-cat-parent {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-highlight);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-subcats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-subcats li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-subcats li a:hover {
    background: rgba(var(--color-accent-rgb), 0.15);
    color: var(--color-text);
}

.subcat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    background: var(--color-bg-light);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.sidebar-subcats li a:hover .subcat-count {
    background: var(--color-accent);
    color: white;
}
