/**
 * PlayCasino Template Theme for turvallinennettikasino.net
 * Deep navy casino design matching PlayCasino template
 * Colors: bg #030515, surface #0E1647, card #1D2766, accent #1769FF
 * Font: Orbitron (headings) + Inter (body)
 */

/* ==========================================================================
   GLOBAL BODY — Deep dark background with starfield
   ========================================================================== */

body {
    background: #030515;
    color: var(--color-text);
    font-family: var(--font-body);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 40% 10%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 85% 55%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 70%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 85%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 65%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 65% 80%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 40%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 92% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 45% 90%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 5%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 95% 30%, rgba(255,255,255,0.4) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.page-wrapper {
    position: relative;
    z-index: 1;
}

/* Headings use Orbitron */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* ==========================================================================
   HEADER — Dark navy transparent with blur
   ========================================================================== */

.header {
    background: rgba(14, 22, 71, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(23, 105, 255, 0.12);
}

.header-logo-text {
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 700;
}

.nav-link:hover, .nav-link.active {
    background: rgba(23, 105, 255, 0.2);
    color: #fff;
}

.nav-dropdown {
    background: #1D2766;
    border: 1px solid rgba(23, 105, 255, 0.15);
}

.nav-dropdown-link {
    color: var(--color-text);
}

.nav-dropdown-link:hover {
    background: rgba(23, 105, 255, 0.15);
    color: #fff;
}

.nav-dropdown-link.active {
    background: var(--color-primary);
    color: #fff;
}

/* ==========================================================================
   HERO BANNER — PlayCasino template style (left text + right image)
   ========================================================================== */

.hero-banner {
    background-color: #0E1647;
    padding-top: 30px;
    margin-top: calc(var(--header-height) * -1);
    position: relative;
    z-index: 9;
    overflow: hidden;
    min-height: 580px;
}

.hero-banner-content {
    padding-top: 180px;
    padding-bottom: 165px;
    position: relative;
    z-index: 999;
    max-width: 50%;
}

.hero-banner-welcome {
    font-size: 25px;
    line-height: 30px;
    padding-bottom: 20px;
    font-weight: bold;
    color: #fff;
    font-family: var(--font-heading);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.5);
}

.hero-banner-title {
    font-size: 49px;
    line-height: 58.8px;
    padding-bottom: 20px;
    font-weight: bold;
    color: #fff;
    font-family: var(--font-heading);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.5);
}

.hero-banner-title span {
    color: #1769FF;
    text-shadow:
        0 0 30px rgba(23, 105, 255, 0.6),
        0 0 60px rgba(23, 105, 255, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-banner-subtitle {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.5);
}

.hero-banner-btn {
    display: inline-block;
    font-size: 18px;
    line-height: 19.2px;
    font-weight: 400;
    padding: 14px 30px;
    margin-top: 36px;
    border-radius: 8px;
    background-color: rgba(23, 105, 255, 0.44);
    color: #fff;
    border: none;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
    font-family: var(--font-heading);
}

.hero-banner-btn:hover {
    background-color: #25388f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Right banner image — animated */
.hero-banner-right img {
    position: absolute;
    right: 0;
    bottom: 220px;
    max-width: 56%;
    z-index: 99;
    animation: hero-float-right 4s infinite alternate;
}

@keyframes hero-float-right {
    0%   { transform: translateX(-40px); }
    100% { transform: translateX(0px); }
}

/* Left floating image — animated */
.hero-banner-left img {
    position: absolute;
    left: 0;
    top: 150px;
    z-index: 99;
    max-width: 9%;
    animation: hero-float-left 5s infinite alternate;
}

@keyframes hero-float-left {
    0%   { transform: translateX(40px); }
    100% { transform: translateX(0px); }
}

/* Hero banner responsive */
@media (max-width: 1199px) {
    .hero-banner-content {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media (max-width: 991px) {
    .hero-banner-content {
        max-width: 60%;
    }

    .hero-banner-title {
        font-size: 36px;
        line-height: 43px;
    }

    .hero-banner-right img {
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding-top: 60px;
        min-height: auto;
    }

    .hero-banner-content {
        max-width: 100%;
        padding-top: 80px;
        padding-bottom: 280px;
        text-align: center;
    }

    .hero-banner-title {
        font-size: 28px;
        line-height: 36px;
    }

    .hero-banner-welcome {
        font-size: 20px;
    }

    .hero-banner-right img {
        max-width: 80%;
        right: -10%;
        opacity: 0.4;
    }

    .hero-banner-left img {
        display: none;
    }
}

@media (max-width: 568px) {
    .hero-banner-left img {
        display: none;
    }

    .hero-banner-content {
        padding-bottom: 200px;
    }

    .hero-banner-title {
        font-size: 24px;
        line-height: 30px;
    }

    .hero-banner-right img {
        max-width: 90%;
        opacity: 0.3;
    }
}

/* ==========================================================================
   ARTICLES SECTION — Homepage article cards
   ========================================================================== */

.articles-section {
    padding: var(--space-2xl) 0;
}

.articles-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.articles-section-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: #fff;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
}

.articles-section-title svg {
    width: 24px;
    height: 24px;
    fill: #1769FF;
}

/* Article cards grid — 4 columns */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* Individual article card */
.article-card-home {
    display: flex;
    flex-direction: column;
    background: #1D2766;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(23, 105, 255, 0.12);
    transition: all 0.5s ease-in-out;
}

.article-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(23, 105, 255, 0.25);
    border-color: rgba(23, 105, 255, 0.35);
}

/* Card image */
.article-card-home-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.article-card-home-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
}

.article-card-home:hover .article-card-home-img img {
    transform: scale(1.08);
}

/* Card body */
.article-card-home-body {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-home-title {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: #fff;
    line-height: 1.4;
    margin-bottom: var(--space-md);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-home-link {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: #1769FF;
    transition: color 0.3s ease;
}

.article-card-home:hover .article-card-home-link {
    color: var(--color-primary-light);
}

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

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

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

/* ==========================================================================
   CATEGORY CARDS WITH IMAGES — for category pages
   ========================================================================== */

.category-card-img {
    display: flex;
    flex-direction: column;
    background: #1D2766;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(23, 105, 255, 0.12);
    transition: all 0.5s ease-in-out;
}

.category-card-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(23, 105, 255, 0.25);
    border-color: rgba(23, 105, 255, 0.35);
}

.category-card-img-pic {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.category-card-img-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
}

.category-card-img:hover .category-card-img-pic img {
    transform: scale(1.08);
}

.category-card-img-body {
    padding: var(--space-lg);
    text-align: center;
}

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

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

/* ==========================================================================
   PROMOTIONS — Dark card style
   ========================================================================== */

.promo-section {
    padding: var(--space-2xl) 0;
}

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

.promo-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #1D2766;
    border: 1px solid rgba(23, 105, 255, 0.15);
    padding: var(--space-xl);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease-in-out;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -17px;
    left: -100px;
    width: 65%;
    height: 118%;
    background: #0D1341;
    border-radius: 50%;
}

.promo-card > * {
    position: relative;
    z-index: 1;
}

.promo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 105, 255, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.promo-card-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: rgba(23, 105, 255, 0.2);
    border: 1px solid rgba(23, 105, 255, 0.3);
    border-radius: var(--radius-full);
    color: #1769FF;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
    width: fit-content;
}

.promo-card-value {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: #fff;
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
}

.promo-card-text {
    color: var(--color-text-light);
    font-size: var(--text-sm);
}

/* ==========================================================================
   SECTIONS — Dark theme overrides
   ========================================================================== */

.section {
    position: relative;
}

.section-title {
    color: #fff;
    font-family: var(--font-heading);
}

.section-subtitle {
    color: var(--color-text-light);
}

/* Category cards dark theme */
.category-card {
    background: #1D2766;
    border: 1px solid rgba(23, 105, 255, 0.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.category-card:hover {
    border-color: #1769FF;
    box-shadow: 0 8px 25px rgba(23, 105, 255, 0.25);
}

.category-card-icon {
    background: linear-gradient(135deg, #1769FF 0%, #25388f 100%);
}

.category-card-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: var(--text-base);
}

.category-card-count {
    color: var(--color-text-light);
}

/* Stats section */
.stats-section {
    background: linear-gradient(135deg, #0E1647 0%, #1D2766 100%);
    border-top: 1px solid rgba(23, 105, 255, 0.12);
    border-bottom: 1px solid rgba(23, 105, 255, 0.12);
}

.stat-number {
    color: #1769FF;
    font-family: var(--font-heading);
}

/* Carousel / Keywords */
.carousel-section {
    background: transparent;
}

.kw-pill {
    background: #1D2766;
    border-color: rgba(23, 105, 255, 0.15);
    color: var(--color-text);
}

.kw-pill:hover {
    border-color: #1769FF;
    background: rgba(23, 105, 255, 0.15);
    color: #1769FF;
}

/* Tags section dark */
.tags-section {
    background: linear-gradient(180deg, transparent 0%, rgba(14, 22, 71, 0.5) 50%, transparent 100%);
}

.tags-section::before,
.tags-section::after {
    background: linear-gradient(90deg, transparent, rgba(23, 105, 255, 0.15), transparent);
}

.tag-card {
    background: #1D2766;
    border-color: rgba(23, 105, 255, 0.12);
}

.tag-card:hover {
    box-shadow: 0 8px 25px rgba(23, 105, 255, 0.2);
    border-color: rgba(23, 105, 255, 0.3);
}

.tag-card::before {
    background: #1769FF;
}

.tag-card-featured {
    background: linear-gradient(135deg, #1769FF 0%, #25388f 100%);
    border-color: transparent;
}

.tag-card-icon {
    background: rgba(23, 105, 255, 0.2);
    color: #1769FF;
}

.tag-card-name {
    color: var(--color-text);
}

.tag-card-count {
    background: rgba(23, 105, 255, 0.2);
    color: #1769FF;
}

/* SEO content dark */
.seo-content {
    background: #1D2766;
    border: 1px solid rgba(23, 105, 255, 0.12);
}

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

.seo-content h3 {
    color: #1769FF;
    font-family: var(--font-heading);
}

.seo-content p {
    color: var(--color-text-light);
}

.seo-content ul {
    color: var(--color-text-light);
}

.seo-content li {
    color: var(--color-text-light);
}

/* ==========================================================================
   FOOTER — Dark navy matching template
   ========================================================================== */

.footer {
    background: #0E1647;
    border-top: 1px solid rgba(23, 105, 255, 0.12);
}

.footer-title {
    color: #1769FF;
    font-family: var(--font-heading);
}

/* ==========================================================================
   BUTTONS — Blue accent style matching template
   ========================================================================== */

.btn-primary {
    background: rgba(23, 105, 255, 0.44);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.btn-primary:hover {
    background: #25388f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    border-color: rgba(23, 105, 255, 0.44);
    color: rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: #25388f;
    color: #fff;
    border-color: #25388f;
}

.btn-accent {
    background: rgba(23, 105, 255, 0.44);
    color: #fff;
}

.btn-accent:hover {
    background: #25388f;
}

/* ==========================================================================
   CARDS — Dark glass style
   ========================================================================== */

.card {
    background: #1D2766;
    border: 1px solid rgba(23, 105, 255, 0.12);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card:hover {
    box-shadow: 0 8px 30px rgba(23, 105, 255, 0.2);
    border-color: rgba(23, 105, 255, 0.25);
}

.card-title {
    color: #fff;
    font-family: var(--font-heading);
}

.card-title a {
    color: #fff;
}

.card-title a:hover {
    color: #1769FF;
}

.card-text {
    color: var(--color-text-light);
}

.card-meta {
    border-top-color: rgba(23, 105, 255, 0.1);
    color: var(--color-text-muted);
}

.card-body {
    background: #1D2766;
}

/* Casino card dark */
.casino-card {
    background: linear-gradient(145deg, #1D2766 0%, #14237a 100%);
    border-color: rgba(23, 105, 255, 0.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.casino-card:hover {
    box-shadow: 0 12px 30px rgba(23, 105, 255, 0.2);
    border-color: rgba(23, 105, 255, 0.35);
}

.casino-card::before {
    background: linear-gradient(90deg, #1769FF, #25388f);
}

.casino-card-name {
    color: #fff;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
}

.casino-card-bonus {
    background: rgba(23, 105, 255, 0.12);
    border-color: rgba(23, 105, 255, 0.25);
    color: #1769FF;
}

.casino-card .btn {
    background: rgba(23, 105, 255, 0.44);
    box-shadow: 0 4px 12px rgba(23, 105, 255, 0.3);
}

.casino-card .btn:hover {
    background: #25388f;
    box-shadow: 0 6px 20px rgba(23, 105, 255, 0.4);
}

/* New casino cards dark */
.casino-card-new {
    background: #1D2766;
    border-color: rgba(23, 105, 255, 0.12);
}

.casino-card-new::before {
    background: linear-gradient(180deg, rgba(23, 105, 255, 0.08) 0%, transparent 40%);
}

.casino-card-new:hover {
    box-shadow: 0 16px 40px rgba(23, 105, 255, 0.2);
    border-color: rgba(23, 105, 255, 0.3);
}

.casino-card-new-header {
    border-bottom-color: rgba(23, 105, 255, 0.12);
}

.casino-card-new-icon {
    background: linear-gradient(135deg, #1769FF 0%, #25388f 100%);
}

.casino-card-new-name {
    color: #fff;
}

.casino-card-new-bonus {
    background: rgba(23, 105, 255, 0.1);
    color: #1769FF;
    border-bottom-color: rgba(23, 105, 255, 0.12);
}

.casino-card-new-rating .rating-value {
    color: #1769FF;
    background: rgba(23, 105, 255, 0.15);
}

.casino-card-new-btn {
    background: rgba(23, 105, 255, 0.44);
}

.casino-card-new-btn:hover {
    background: #25388f;
    color: #fff;
}

.casino-card-new:nth-child(2n) .casino-card-new-icon {
    background: linear-gradient(135deg, #1769FF70 0%, #25388f 100%);
}

.casino-card-new:nth-child(3n) .casino-card-new-icon {
    background: linear-gradient(135deg, #14237a 0%, #1769FF 100%);
}

.casino-card-new:nth-child(5n) .casino-card-new-icon {
    background: linear-gradient(135deg, #25388f 0%, #1769FF 100%);
}

/* ==========================================================================
   BREADCRUMBS — Dark theme
   ========================================================================== */

.breadcrumb-item a {
    color: #1769FF;
}

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

.breadcrumb-item:not(:last-child)::after {
    color: var(--color-text-muted);
}

.breadcrumb-item:last-child {
    color: var(--color-text);
}

/* ==========================================================================
   ARTICLE CONTENT — Dark theme
   ========================================================================== */

article header h1 {
    color: #fff !important;
    font-family: var(--font-heading);
}

h1, .page-title {
    color: #fff;
}

/* Override embedded "Bright Light Article CSS" → dark theme */
.article-content {
    --bg: #030515;
    --bg-soft: #0E1647;
    --surface: transparent;
    --surface-elev: #1D2766;
    --text: #fff;
    --text-soft: #c8cce0;
    --muted: #8a8fb0;
    --brand: #1769FF;
    --brand-2: #22c55e;
    --ring: rgba(23,105,255,.35);
    --shadow: 0 10px 25px rgba(0, 0, 0, .3);
    color: #fff;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: #1769FF !important;
    font-family: var(--font-heading);
}

.article-content h4 {
    color: #c8cce0 !important;
    font-family: var(--font-heading);
}

.article-content p,
.article-content li,
.article-content span,
.article-content blockquote,
.article-content figcaption {
    color: #fff;
}

.article-content .article,
.article-content .prose {
    background: transparent;
}

/* Tables dark */
.article-content table {
    background: #1D2766;
    border-color: rgba(23, 105, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
}

.article-content thead th {
    background: #0E1647;
    color: #fff;
    border-bottom-color: rgba(23, 105, 255, 0.2);
}

.article-content tbody td {
    color: #fff;
    border-bottom-color: rgba(23, 105, 255, 0.1);
}

.article-content tbody tr:nth-child(even) {
    background: rgba(23, 105, 255, 0.05);
}

.article-content tbody tr:hover {
    background: rgba(23, 105, 255, 0.1);
}

/* Blockquote dark */
.article-content blockquote {
    background: linear-gradient(180deg, #0E1647, #1D2766) !important;
    border-left-color: #1769FF;
    color: #c8cce0;
}

/* Code dark */
.article-content code {
    background: #1D2766;
    color: #c8cce0;
    border-color: rgba(23, 105, 255, 0.15);
}

/* Cards, callouts, summary, toc — dark */
.article-content .card,
.article-content .callout,
.article-content .callout.info,
.article-content .callout.success,
.article-content .callout.warn,
.article-content .callout.danger,
.article-content .summary,
.article-content .toc,
.article-content .pros,
.article-content .cons {
    background: #1D2766 !important;
    border-color: rgba(23, 105, 255, 0.15);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
}

.article-content .toc h4 {
    color: #fff !important;
}

.article-content .toc a {
    color: #c8cce0;
}

.article-content .toc a:hover {
    color: #1769FF;
}

/* Badges dark */
.article-content .badge {
    background: #0E1647;
    color: #c8cce0;
    border-color: rgba(23, 105, 255, 0.2);
}

.article-content .badge.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
}

.article-content .badge.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.2);
}

.article-content .badge.gray {
    background: rgba(255, 255, 255, 0.05);
    color: #8a8fb0;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Buttons dark */
.article-content .btn {
    background: #1769FF;
    border-color: #25388f;
}

.article-content .btn:hover {
    background: #25388f;
}

.article-content .btn.secondary {
    background: #1D2766;
    color: #fff;
    border-color: rgba(23, 105, 255, 0.2);
}

.article-content .btn.ghost {
    background: transparent;
    color: #1769FF;
    border-color: rgba(23, 105, 255, 0.3);
}

/* HR dark */
.article-content hr {
    background: linear-gradient(90deg, transparent, rgba(23, 105, 255, 0.3), transparent);
}

/* Selection dark */
.article-content ::selection {
    background: rgba(23, 105, 255, 0.3);
    color: #fff;
}

/* Rating pills dark */
.article-content .rating .pill {
    background: #0E1647;
    border-color: rgba(23, 105, 255, 0.2);
    color: #fff;
}

/* Links */
.article-content a {
    color: #1769FF;
}

.article-content a:hover {
    color: var(--color-primary-light);
}

.article-content blockquote {
    border-left-color: #1769FF;
    background: rgba(23, 105, 255, 0.05);
    color: var(--color-text);
}

/* Article tags dark */
.article-tags-section {
    background: linear-gradient(135deg, rgba(23, 105, 255, 0.08) 0%, rgba(23, 105, 255, 0.03) 100%);
    border-color: rgba(23, 105, 255, 0.15);
}

.article-tags-section::before {
    background: linear-gradient(90deg, #1769FF, #25388f, #1769FF);
}

.article-tags-icon {
    background: linear-gradient(135deg, #1769FF 0%, #25388f 100%);
}

.article-tags-title {
    color: #fff;
    font-family: var(--font-heading);
}

.article-tag {
    background: rgba(23, 105, 255, 0.1);
    border-color: rgba(23, 105, 255, 0.15);
    color: var(--color-text);
}

.article-tag::before {
    color: #1769FF;
}

.article-tag:hover {
    background: linear-gradient(135deg, #1769FF 0%, #25388f 100%);
    color: #fff;
}

/* ==========================================================================
   SIDEBAR — Dark theme
   ========================================================================== */

.sidebar-widget {
    background: #1D2766;
    border: 1px solid rgba(23, 105, 255, 0.12);
}

.sidebar-title {
    color: #fff;
    border-bottom-color: #1769FF;
    font-family: var(--font-heading);
}

/* ==========================================================================
   PAGINATION — Dark theme
   ========================================================================== */

.pagination-list li a,
.pagination-list li span {
    background: #1D2766;
    border-color: rgba(23, 105, 255, 0.12);
    color: var(--color-text);
}

.pagination-list li a:hover {
    border-color: #1769FF;
    color: #1769FF;
}

.pagination-current {
    background: #1769FF !important;
    border-color: #1769FF !important;
    color: #fff !important;
}

/* ==========================================================================
   FORMS — Dark theme
   ========================================================================== */

.form-input,
.form-textarea,
.form-select {
    background: #1D2766;
    border-color: rgba(23, 105, 255, 0.15);
    color: var(--color-text);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #1769FF;
    box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.2);
}

.form-label {
    color: var(--color-text);
}

/* ==========================================================================
   MODAL — Dark theme
   ========================================================================== */

.modal {
    background: #1D2766;
    border: 1px solid rgba(23, 105, 255, 0.15);
}

.modal-header {
    border-bottom-color: rgba(23, 105, 255, 0.1);
}

.modal-title {
    color: #fff;
    font-family: var(--font-heading);
}

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

.modal-close:hover {
    background: rgba(23, 105, 255, 0.15);
}

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

.modal-body h1, .modal-body h2 {
    color: #fff;
    font-family: var(--font-heading);
}

.modal-body p {
    color: var(--color-text-light);
}

.modal-body a {
    color: #1769FF;
}

/* ==========================================================================
   MOBILE MENU — Dark theme
   ========================================================================== */

.mobile-nav {
    background: #070C2C;
}

.mobile-menu-toggle span {
    background: #fff;
}

.mobile-menu-toggle {
    background-color: rgba(23, 105, 255, 0.3);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   RELATED ARTICLES — Dark theme
   ========================================================================== */

.related-articles {
    border-top-color: rgba(23, 105, 255, 0.1);
}

.related-title {
    color: #fff;
    font-family: var(--font-heading);
}

/* ==========================================================================
   ERROR PAGE — Dark theme
   ========================================================================== */

.error-code {
    color: #1769FF;
    font-family: var(--font-heading);
}

.error-title {
    color: #fff;
}

.error-text {
    color: var(--color-text-light);
}

/* ==========================================================================
   NOTIFICATION — Dark theme
   ========================================================================== */

.notification-success {
    background: linear-gradient(135deg, rgba(23, 105, 255, 0.15) 0%, rgba(23, 105, 255, 0.05) 100%);
    border-color: rgba(23, 105, 255, 0.3);
}

.toast-success {
    background: linear-gradient(135deg, #1769FF 0%, #25388f 100%);
}

/* ==========================================================================
   ANIMATIONS — PlayCasino style
   ========================================================================== */

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content { animation: fadeInUp 0.8s ease-out; }
.hero-trust { animation: fadeInUp 1s ease-out 0.3s backwards; }
.category-card { animation: scaleIn 0.5s ease-out backwards; }
.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.stat-item { animation: fadeInUp 0.6s ease-out backwards; }
.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }
.game-card { animation: scaleIn 0.4s ease-out backwards; }
.promo-card { animation: fadeInUp 0.5s ease-out backwards; }
.promo-card:nth-child(1) { animation-delay: 0.1s; }
.promo-card:nth-child(2) { animation-delay: 0.2s; }
.promo-card:nth-child(3) { animation-delay: 0.3s; }

/* ==========================================================================
   RESPONSIVE — Dark theme adjustments
   ========================================================================== */

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .promo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   MAIN CONTENT padding
   ========================================================================== */

.main-content {
    padding-top: 0;
}

.main {
    padding-top: 25px;
    padding-bottom: 25px;
}

.main-home {
    padding-top: 0;
}
