/**
 * Components CSS - Zeus138 Dark Fuchsia Theme
 */

/* ==========================================================================
   BRAND BAR (Top tier)
   ========================================================================== */

.brand-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: var(--z-fixed);
    border-bottom: 1px solid rgba(192, 38, 211, 0.15);
    transition: all 0.3s ease;
}

.brand-bar.scrolled {
    background: rgba(10, 10, 18, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.brand-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.brand-logo img {
    height: 36px;
    width: auto;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.brand-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.brand-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
    box-shadow: 0 0 15px rgba(192, 38, 211, 0.3);
}

.brand-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(192, 38, 211, 0.5);
}

/* ==========================================================================
   GLASS NAV (Second tier - floating)
   ========================================================================== */

.glass-nav {
    position: fixed;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%);
    z-index: calc(var(--z-fixed) - 1);
    background: rgba(22, 22, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border: 1px solid rgba(192, 38, 211, 0.1);
    border-top: none;
    padding: 0 var(--space-md);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    top: var(--header-height);
    background: rgba(22, 22, 42, 0.95);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.glass-nav-inner {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    height: 48px;
}

.gnav-item {
    position: relative;
}

.gnav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    color: var(--color-text-light);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gnav-link:hover,
.gnav-link.active {
    color: #fff;
    background: rgba(192, 38, 211, 0.2);
}

.gnav-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.gnav-item:hover .gnav-link svg {
    transform: rotate(180deg);
}

/* Dropdown */
.gnav-dropdown {
    position: absolute;
    top: 100%;
    padding-top: 8px;
    left: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.2s ease;
    z-index: var(--z-dropdown);
}

.gnav-dropdown::before {
    content: '';
    display: block;
}

.gnav-item:hover .gnav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gnav-dropdown-link,
.gnav-dropdown .gnav-dropdown-sub {
    display: block;
    padding: 8px 16px;
    color: var(--color-text-light);
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
    background: var(--color-bg-card);
}

.gnav-dropdown-link:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.gnav-dropdown-link:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }

.gnav-dropdown-link:hover {
    background: rgba(192, 38, 211, 0.15);
    color: var(--color-primary-light);
}

.gnav-dropdown-link.active {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
}

.gnav-dropdown-link small {
    opacity: 0.6;
    margin-left: 4px;
}

/* Grouped dropdown for "More" */
.gnav-dropdown-grouped {
    min-width: 260px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: var(--space-sm);
}

.gnav-group { margin-bottom: var(--space-sm); }
.gnav-group:last-child { margin-bottom: 0; }

.gnav-group-title {
    display: block;
    padding: 8px 12px;
    font-weight: 700;
    color: var(--color-primary-light);
    font-size: var(--text-sm);
}

.gnav-dropdown-sub {
    padding-left: 24px !important;
    font-size: var(--text-xs) !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* ==========================================================================
   HERO — LAYERED WAVES (Type 29)
   ========================================================================== */

.hero-waves {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-waves-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-waves-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-waves-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 10, 18, 0.75) 0%,
        rgba(10, 10, 18, 0.6) 40%,
        rgba(10, 10, 18, 0.85) 100%);
}

.hero-waves-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: calc(var(--total-header-height) + 48px + var(--space-2xl));
    padding-bottom: 140px;
    text-align: center;
}

.hero-waves-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(192, 38, 211, 0.2);
    border: 1px solid rgba(192, 38, 211, 0.4);
    border-radius: var(--radius-full);
    color: var(--color-primary-light);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.hero-waves-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-waves-title span {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-waves-subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.75);
    max-width: 580px;
    margin: 0 auto var(--space-xl);
    line-height: var(--leading-relaxed);
}

.hero-waves-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #A020C0 100%);
    color: #fff;
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 0 30px rgba(192, 38, 211, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary svg {
    width: 20px;
    height: 20px;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-hero-primary:hover::before {
    transform: translateX(100%);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(192, 38, 211, 0.6);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    color: rgba(255,255,255,0.85);
    font-size: var(--text-base);
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
}

.btn-hero-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.hero-waves-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.7);
    font-size: var(--text-xs);
    border: 1px solid rgba(255,255,255,0.08);
}

.trust-chip svg {
    width: 14px;
    height: 14px;
    fill: var(--color-accent-light);
}

/* Wave layers */
.hero-wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    z-index: 3;
    line-height: 0;
}

.hero-wave-layer svg {
    width: 50%;
    height: 120px;
    display: inline-block;
    vertical-align: bottom;
}

.hero-wave-1 {
    z-index: 5;
}

.hero-wave-2 {
    z-index: 4;
    bottom: 10px;
    animation: waveSlide 18s linear infinite;
}

.hero-wave-3 {
    z-index: 3;
    bottom: 20px;
    animation: waveSlide 25s linear infinite reverse;
}

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

/* ==========================================================================
   STATS ROW
   ========================================================================== */

.stats-row {
    background: var(--color-bg-light);
    border-bottom: 1px solid rgba(192, 38, 211, 0.1);
    padding: var(--space-xl) 0;
}

.stats-row-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
}

.stat-block {
    text-align: center;
}

.stat-big {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: 4px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(192, 38, 211, 0.2);
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */

.sec-heading {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: var(--space-sm);
}

.sec-heading span {
    color: var(--color-primary-light);
}

.sec-subheading {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-base);
    margin-bottom: var(--space-2xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.section-features {
    padding: var(--space-4xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid rgba(192, 38, 211, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(192, 38, 211, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(192, 38, 211, 0.12);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: rgba(192, 38, 211, 0.12);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrap svg {
    width: 28px;
    height: 28px;
    fill: var(--color-primary-light);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: #fff;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */

.section-categories {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-light);
}

.cat-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.cat-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    transition: all 0.3s ease;
}

.cat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.cat-item-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.cat-item:hover .cat-item-bg {
    transform: scale(1.08);
}

.cat-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,18,0.3) 0%, rgba(10,10,18,0.85) 100%);
}

.cat-item-content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl);
    width: 100%;
}

.cat-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(192, 38, 211, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.cat-item-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--color-primary-light);
}

.cat-item h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: #fff;
    margin-bottom: 4px;
}

.cat-item-count {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* ==========================================================================
   TAGS SECTION
   ========================================================================== */

.section-tags {
    padding: var(--space-3xl) 0;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--color-bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
    color: var(--color-text-light);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all 0.2s ease;
}

.tag-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    background: rgba(192, 38, 211, 0.1);
    transform: translateY(-2px);
}

.tag-pill-hot {
    background: rgba(192, 38, 211, 0.12);
    border-color: rgba(192, 38, 211, 0.3);
    color: var(--color-primary-light);
}

.tag-pill-count {
    background: rgba(255,255,255,0.08);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-banner {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
    text-align: center;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,18,0.88) 0%, rgba(192,38,211,0.2) 100%);
}

.cta-banner-content {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: #fff;
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.cta-banner p {
    color: rgba(255,255,255,0.7);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   BUTTONS (global)
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-primary);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #fff;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-accent);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary-light);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    min-height: 36px;
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-lg);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(255,255,255,0.04);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(192, 38, 211, 0.2);
}

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

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

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

.card-body {
    padding: var(--space-lg);
}

.card-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    color: #fff;
}

.card-title a:hover {
    color: var(--color-primary-light);
}

.card-text {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* Category Card */
.category-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    border: 1px solid rgba(255,255,255,0.04);
}

.category-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.category-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background: rgba(192, 38, 211, 0.12);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-primary-light);
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: #fff;
    margin-bottom: var(--space-xs);
}

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

/* ==========================================================================
   CASINO CARDS (article page)
   ========================================================================== */

.casino-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.casino-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md) var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
    border: 1px solid rgba(192, 38, 211, 0.1);
    transition: all var(--transition-base);
    overflow: hidden;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(192, 38, 211, 0.2);
    border-color: rgba(192, 38, 211, 0.3);
}

.casino-card-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-card:nth-child(1) .casino-card-rank { background: linear-gradient(135deg, #FFD700, #FFA500); }
.casino-card:nth-child(2) .casino-card-rank { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); }
.casino-card:nth-child(3) .casino-card-rank { background: linear-gradient(135deg, #CD7F32, #B87333); }

.casino-card-logo { height: 50px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-sm); }
.casino-card-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.casino-card-name { font-size: var(--text-base); font-weight: 700; color: #fff; margin-bottom: var(--space-xs); margin-top: var(--space-md); }
.casino-card-bonus { font-size: var(--text-sm); color: var(--color-text-light); font-weight: 500; margin-bottom: var(--space-sm); padding: 4px 8px; background: rgba(192,38,211,0.1); border-radius: var(--radius-md); border: 1px dashed rgba(192,38,211,0.3); }
.casino-card-rating { display: flex; justify-content: center; gap: 3px; margin-bottom: var(--space-md); }
.casino-card-rating svg { width: 16px; height: 16px; fill: var(--color-warning); }
.casino-card .btn { width: 100%; font-size: var(--text-sm); padding: var(--space-sm); background: var(--gradient-primary); border-radius: var(--radius-md); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.casino-card .btn:hover { box-shadow: var(--shadow-glow-primary); }

/* NEW Casino Cards */
.casino-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 24px;
    margin-bottom: var(--space-2xl);
    padding-top: 44px;
}

.casino-card-new {
    background: var(--color-bg-card);
    border-radius: 16px;
    padding: 54px 0 0;
    position: relative;
    overflow: visible;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(192, 38, 211, 0.08);
}

.casino-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(192, 38, 211, 0.2);
    border-color: rgba(192, 38, 211, 0.25);
}

.casino-card-new-badge {
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(192, 38, 211, 0.4);
}

.casino-card-new-badge svg { width: 46px; height: 46px; fill: #fff; }

.casino-card-new:nth-child(2n) .casino-card-new-badge { background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)); box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4); }
.casino-card-new:nth-child(3n) .casino-card-new-badge { background: linear-gradient(135deg, #8B5CF6, #7C3AED); box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4); }
.casino-card-new:nth-child(5n) .casino-card-new-badge { background: linear-gradient(135deg, #10B981, #059669); box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4); }

.casino-card-new-name { font-size: var(--text-base); font-weight: 700; color: #fff; padding: 0 var(--space-md); margin-bottom: var(--space-sm); }

.casino-card-new-rating { display: flex; align-items: center; justify-content: center; gap: 3px; padding: var(--space-sm) var(--space-md) var(--space-lg); }
.casino-card-new-rating svg { width: 16px; height: 16px; fill: #F59E0B; }
.casino-card-new-rating .rating-value { margin-left: var(--space-sm); font-size: var(--text-sm); font-weight: 700; color: var(--color-text); background: rgba(245, 158, 11, 0.15); padding: 3px 8px; border-radius: var(--radius-sm); }

.casino-card-new-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-lg);
    background: var(--gradient-primary);
    color: #fff;
    font-size: var(--text-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 0 16px 16px;
    transition: all 0.3s ease;
}

.casino-card-new-btn svg { width: 18px; height: 18px; fill: currentColor; transition: transform 0.3s ease; }
.casino-card-new-btn:hover { background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)); }
.casino-card-new-btn:hover svg { transform: translateX(4px); }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) 0;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: var(--space-sm);
    opacity: 0.4;
}

.breadcrumb-item a {
    color: var(--color-text-light);
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--color-primary-light);
}

/* ==========================================================================
   ARTICLE CONTENT
   ========================================================================== */

.article-content {
    line-height: var(--leading-relaxed);
    color: var(--color-text);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: #fff;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(192, 38, 211, 0.2);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: #fff;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.article-content h4 {
    font-size: var(--text-lg);
    color: #fff;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.article-content p { margin-bottom: var(--space-md); }
.article-content a { color: var(--color-primary-light); border-bottom: 1px solid rgba(192, 38, 211, 0.3); transition: all 0.2s ease; }
.article-content a:hover { color: var(--color-accent-light); border-color: var(--color-accent-light); }

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.article-content li { margin-bottom: var(--space-sm); }
.article-content ul li { list-style-type: disc; }
.article-content ol li { list-style-type: decimal; }

.article-content img {
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
}

.article-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    background: rgba(192, 38, 211, 0.06);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--color-text-light);
}

.article-content table {
    margin: var(--space-lg) 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-content th { background: var(--color-bg-light); font-weight: 600; color: #fff; }
.article-content th, .article-content td { padding: var(--space-sm) var(--space-md); border-bottom: 1px solid rgba(255,255,255,0.06); text-align: left; }

/* Tags in article */
.article-tags-section {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.04);
}

.article-tags-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.article-tags-icon { width: 32px; height: 32px; background: rgba(192, 38, 211, 0.12); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.article-tags-icon svg { width: 18px; height: 18px; fill: var(--color-primary-light); }
.article-tags-title { font-size: var(--text-lg); color: #fff; }

.article-tags-list { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.article-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
    color: var(--color-text-light);
    font-size: var(--text-sm);
    transition: all 0.2s ease;
}

.article-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(192, 38, 211, 0.12);
    border-radius: var(--radius-full);
    color: var(--color-primary-light);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* Related articles */
.related-articles { margin-top: var(--space-2xl); }
.related-title { font-family: var(--font-heading); font-size: var(--text-xl); color: #fff; margin-bottom: var(--space-lg); }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.sidebar-widget {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid rgba(255,255,255,0.04);
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: #fff;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(192, 38, 211, 0.2);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
}

.pagination-list {
    display: flex;
    gap: var(--space-xs);
}

.pagination-list li a,
.pagination-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s ease;
    background: var(--color-bg-card);
    color: var(--color-text-light);
    border: 1px solid rgba(255,255,255,0.06);
}

.pagination-list li a:hover {
    background: rgba(192, 38, 211, 0.15);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.pagination-current {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--color-bg-footer);
    border-top: 1px solid rgba(192, 38, 211, 0.1);
    padding-top: var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-md);
    line-height: var(--leading-relaxed);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    color: #fff;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: var(--space-lg) 0;
    text-align: center;
}

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

.footer-disclaimer {
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   MOBILE NAV
   ========================================================================== */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: calc(var(--z-modal-backdrop) + 10);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--color-bg-light);
    z-index: calc(var(--z-modal) + 10);
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid rgba(192, 38, 211, 0.15);
}

.mobile-nav.active { right: 0; }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

.mobile-nav-close svg { width: 20px; height: 20px; }

.mobile-nav-links {
    padding: var(--space-md);
}

.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,0.04); }

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-sm);
    color: var(--color-text);
    font-weight: 500;
}

.mobile-nav-link.active { color: var(--color-primary-light); }
.mobile-nav-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.mobile-nav-item.open .mobile-nav-link svg { transform: rotate(180deg); }

.mobile-nav-dropdown {
    display: none;
    padding: 0 0 var(--space-md) var(--space-lg);
}

.mobile-nav-item.open .mobile-nav-dropdown { display: block; }

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

.mobile-nav-dropdown a:hover,
.mobile-nav-dropdown a.active { color: var(--color-primary-light); }

.mobile-nav-all { font-weight: 600; color: var(--color-text-light) !important; }

.mobile-cta-btn {
    display: block;
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    font-weight: 700;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-weight: 500; color: #fff; margin-bottom: var(--space-sm); font-size: var(--text-sm); }

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: var(--text-base);
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.15);
}

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

/* ==========================================================================
   SEO CONTENT
   ========================================================================== */

.seo-content {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    border: 1px solid rgba(255,255,255,0.04);
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
}

.seo-content h2 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: var(--space-md);
}

/* ==========================================================================
   ERROR PAGE
   ========================================================================== */

.error-page {
    text-align: center;
    padding: var(--space-4xl) 0;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.error-message {
    color: var(--color-text-light);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

.toast-notification {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: var(--z-tooltip);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: toastIn 0.3s ease;
    max-width: 400px;
}

.toast-success { background: var(--color-success); color: #fff; }
.toast-error { background: var(--color-error); color: #fff; }

.toast-icon svg { width: 24px; height: 24px; }
.toast-content { flex: 1; }
.toast-content strong { display: block; margin-bottom: 2px; }
.toast-content span { font-size: var(--text-sm); opacity: 0.9; }
.toast-close { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.7; }
.toast-close:hover { opacity: 1; }
.toast-hiding { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */

.reveal-section .sec-heading,
.reveal-section .sec-subheading,
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-section.visible .sec-heading,
.reveal-section.visible .sec-subheading,
.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item:nth-child(2) { transition-delay: 0.1s; }
.reveal-item:nth-child(3) { transition-delay: 0.2s; }
.reveal-item:nth-child(4) { transition-delay: 0.3s; }
.reveal-item:nth-child(5) { transition-delay: 0.35s; }
.reveal-item:nth-child(6) { transition-delay: 0.4s; }

/* ==========================================================================
   PAGE BANNER (internal pages)
   ========================================================================== */

.page-banner {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, rgba(192, 38, 211, 0.08) 100%);
    padding: calc(var(--total-header-height) + 48px + var(--space-xl)) 0 var(--space-xl);
    border-bottom: 1px solid rgba(192, 38, 211, 0.1);
}

.page-banner .section-header {
    text-align: left;
    margin-bottom: 0;
}

.page-banner .section-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: #fff;
}

.page-banner .section-subtitle {
    color: var(--color-text-muted);
    font-size: var(--text-base);
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    overflow: hidden;
}

.modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-lg); border-bottom: 1px solid rgba(255,255,255,0.06); }
.modal-title { font-size: var(--text-xl); color: #fff; }
.modal-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); color: var(--color-text-muted); transition: all 0.2s ease; }
.modal-close:hover { background: rgba(255,255,255,0.05); color: #fff; }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: var(--space-lg); overflow-y: auto; max-height: calc(85vh - 70px); }
