/**
 * fxify.css - Design transfer from fxify.com
 * Dark trading theme for tradingtechnology.net
 * Reference: https://fxify.com/
 */

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ============================================================
   GLOBAL DARK THEME OVERRIDES
   ============================================================ */

html, body {
    background-color: #0a0c0f;
    color: #e2e8f0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.page-wrapper {
    background: #0a0c0f;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

.section-title {
    color: #ffffff;
}

/* ============================================================
   HEADER - Dark fxify style
   ============================================================ */

.header {
    background: rgba(10, 12, 15, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    height: 72px;
}

.header-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1DAA91;
    background: rgba(29, 170, 145, 0.08);
}

.nav-dropdown {
    background: #111418;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.nav-dropdown-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
}

.nav-dropdown-link:hover {
    background: rgba(29, 170, 145, 0.1);
    color: #1DAA91;
}

.nav-dropdown-link.active {
    background: rgba(29, 170, 145, 0.15);
    color: #1DAA91;
    font-weight: 600;
}

/* Header CTA Button */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #1DAA91 0%, #158A75 100%);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(29, 170, 145, 0.3);
    letter-spacing: 0.02em;
}

.header-cta:hover {
    background: linear-gradient(135deg, #25C9AC 0%, #1DAA91 100%);
    box-shadow: 0 6px 25px rgba(29, 170, 145, 0.4);
    transform: translateY(-1px);
}

/* ============================================================
   HERO SECTION - Dark fxify trading style
   ============================================================ */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    background: #0a0c0f;
}

/* Hide old casino decorations */
.hero-decor-left,
.hero-decor-right,
.hero-decor-accent,
.hero-decor-spade,
.hero-decor-heart,
.hero-decor-club,
.hero-decor-dice,
.hero-decor-chips,
.hero-decor-cards,
.hero-decor-extra,
.hero-decor-roulette,
.hero-decor-roulette2 {
    display: none !important;
}

/* New trading hero background */
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('/images/ref/hero-bg.png') center center / cover no-repeat,
        linear-gradient(180deg, #0a0c0f 0%, #0d1117 50%, #0a0c0f 100%);
    opacity: 0.6;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(29, 170, 145, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 70%, rgba(29, 170, 145, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(29, 170, 145, 0.04) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 15, 0.3) 0%, rgba(10, 12, 15, 0.6) 100%);
}

/* Floating teal orb decorations */
.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    left: -150px;
    top: 20%;
    background: radial-gradient(circle, rgba(29, 170, 145, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
    animation: heroOrb1 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    right: -100px;
    top: 30%;
    background: radial-gradient(circle, rgba(29, 170, 145, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
    animation: heroOrb2 10s ease-in-out infinite;
}

@keyframes heroOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

@keyframes heroOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.08); }
}

.hero-main {
    position: relative;
    z-index: 3;
    padding: calc(var(--header-height) + 5rem) 0 4rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-content::before {
    content: none;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-shadow: none;
}

.hero-title span {
    color: #1DAA91;
    text-shadow: 0 0 40px rgba(29, 170, 145, 0.5);
    display: inline;
}

.hero-title span::after {
    content: none;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    background: none;
    border: none;
    padding: 0;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #1DAA91 0%, #158A75 100%);
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(29, 170, 145, 0.4);
    text-shadow: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
}

.hero .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s ease;
}

.hero .btn-primary:hover::before {
    left: 100%;
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, #25C9AC 0%, #1DAA91 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(29, 170, 145, 0.5);
}

.hero .btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.hero-divider {
    display: none;
}

/* Hero trust badges */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: none;
    border: none;
    padding: 0;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-trust-item svg {
    width: 16px;
    height: 16px;
    fill: #1DAA91;
    flex-shrink: 0;
}

.hero-bottom {
    height: 0;
    display: none;
}

/* Hero stats bar */
.hero-stats-bar {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
}

.hero-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-stat-item .stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(29, 170, 145, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-stat-item .stat-icon svg {
    width: 20px;
    height: 20px;
    fill: #1DAA91;
}

.hero-stat-item .stat-text strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.hero-stat-item .stat-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* ============================================================
   SECTIONS - Dark backgrounds
   ============================================================ */

.section {
    background: transparent;
}

.section-alt {
    background: rgba(255, 255, 255, 0.02);
}

.section-title {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

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

/* Section accent label */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1DAA91;
    background: rgba(29, 170, 145, 0.1);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(29, 170, 145, 0.2);
}

/* ============================================================
   CAROUSEL SECTION - Dark
   ============================================================ */

.carousel-section {
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
}

.kw-pill {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.kw-pill:hover {
    background: rgba(29, 170, 145, 0.12);
    color: #1DAA91;
    border-color: rgba(29, 170, 145, 0.3);
    transform: scale(1.02);
}

/* ============================================================
   CATEGORY CARDS - Dark fxify style
   ============================================================ */

.category-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1DAA91, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    background: rgba(29, 170, 145, 0.06);
    border-color: rgba(29, 170, 145, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(29, 170, 145, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(29, 170, 145, 0.15);
    transition: all 0.25s ease;
}

.category-card:hover .category-card-icon {
    background: rgba(29, 170, 145, 0.18);
    box-shadow: 0 0 20px rgba(29, 170, 145, 0.2);
}

.category-card-icon svg {
    width: 26px;
    height: 26px;
    fill: #1DAA91;
}

.category-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.category-card-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* ============================================================
   STATS SECTION - Dark
   ============================================================ */

.stats-section {
    background: rgba(29, 170, 145, 0.04);
    border-top: 1px solid rgba(29, 170, 145, 0.1);
    border-bottom: 1px solid rgba(29, 170, 145, 0.1);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.stats-grid::before,
.stats-grid::after {
    display: none;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.stat-item + .stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #1DAA91;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ============================================================
   HOW IT WORKS SECTION (new)
   ============================================================ */

.howto-section {
    padding: 5rem 0;
    background: transparent;
}

.howto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.howto-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.howto-card:hover {
    background: rgba(29, 170, 145, 0.05);
    border-color: rgba(29, 170, 145, 0.2);
    transform: translateY(-4px);
}

.howto-card-number {
    width: 44px;
    height: 44px;
    background: rgba(29, 170, 145, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #1DAA91;
    margin: 0 auto 1.25rem;
    border: 1.5px solid rgba(29, 170, 145, 0.2);
}

.howto-card-img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.howto-card-img img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.howto-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.howto-card-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   FEATURES GRID SECTION (new - matches fxify benefits)
   ============================================================ */

.features-grid-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-card:hover {
    background: rgba(29, 170, 145, 0.05);
    border-color: rgba(29, 170, 145, 0.2);
    transform: translateY(-3px);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(29, 170, 145, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(29, 170, 145, 0.15);
}

.feature-card-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.feature-card-icon svg {
    width: 24px;
    height: 24px;
    fill: #1DAA91;
}

.feature-card-content .feature-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.feature-card-content .feature-card-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   TAGS SECTION - Dark
   ============================================================ */

.tags-section {
    padding: 4rem 0;
    background: transparent;
}

.tag-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tag-card:hover {
    background: rgba(29, 170, 145, 0.08);
    border-color: rgba(29, 170, 145, 0.25);
    transform: translateY(-2px);
}

.tag-card-icon {
    color: #1DAA91;
    flex-shrink: 0;
}

.tag-card-icon svg {
    width: 18px;
    height: 18px;
    fill: #1DAA91;
}

.tag-card-name {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
    flex: 1;
}

.tag-card-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-weight: 500;
}

.tag-card-featured {
    background: rgba(29, 170, 145, 0.05);
    border-color: rgba(29, 170, 145, 0.15);
}

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

.seo-content {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ============================================================
   BUTTONS - Teal style
   ============================================================ */

.btn-primary {
    background: linear-gradient(135deg, #1DAA91 0%, #158A75 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(29, 170, 145, 0.3);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #25C9AC 0%, #1DAA91 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 170, 145, 0.45);
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #1DAA91;
    border-color: rgba(29, 170, 145, 0.4);
}

.btn-outline:hover {
    background: rgba(29, 170, 145, 0.1);
    border-color: #1DAA91;
    color: #1DAA91;
}

/* ============================================================
   ARTICLE CARDS - Dark
   ============================================================ */

.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(29, 170, 145, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-title {
    color: #ffffff;
    font-weight: 700;
}

.card-title a:hover {
    color: #1DAA91;
}

.card-text {
    color: rgba(255, 255, 255, 0.55);
}

.card-meta {
    border-top-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   PAGE HERO (for internal pages)
   ============================================================ */

.page-hero {
    position: relative;
    padding: 4rem 0 3.5rem;
    background:
        linear-gradient(180deg, rgba(29, 170, 145, 0.06) 0%, transparent 100%),
        #0a0c0f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 170, 145, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #1DAA91;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   ARTICLE PAGE - Dark
   ============================================================ */

.article-content {
    color: #e2e8f0;
    background: transparent;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #ffffff;
}

.article-content p {
    color: #cbd5e1;
}

.article-content a {
    color: #1DAA91;
}

.article-content a:hover {
    color: #25C9AC;
}

.article-content table {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content th {
    background: rgba(29, 170, 145, 0.1);
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.article-content td {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.article-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.article-content blockquote {
    border-left-color: #1DAA91;
    background: rgba(29, 170, 145, 0.06);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 0 8px 8px 0;
}

.article-content ul li::before {
    color: #1DAA91;
}

/* Article tags */
.article-tags-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}

.article-tags-section::before {
    display: none;
}

.article-tags-title {
    color: #ffffff;
}

.article-tag {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
}

.article-tag:hover {
    background: rgba(29, 170, 145, 0.1);
    border-color: rgba(29, 170, 145, 0.3);
    color: #1DAA91;
}

/* ============================================================
   FORMS - Dark
   ============================================================ */

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    display: block;
}

.form-input,
.form-textarea,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e2e8f0;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: rgba(29, 170, 145, 0.5);
    box-shadow: 0 0 0 3px rgba(29, 170, 145, 0.1);
    background: rgba(255, 255, 255, 0.07);
}

/* ============================================================
   FOOTER - Dark fxify style
   ============================================================ */

.footer {
    background: #080a0d;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-top: 0.75rem;
}

.footer-title {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.footer-links a:hover {
    color: #1DAA91;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.6;
}

/* ============================================================
   MOBILE NAV - Dark
   ============================================================ */

.mobile-nav {
    background: #0e1115;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #1DAA91;
    background: rgba(29, 170, 145, 0.08);
}

.mobile-nav-dropdown a {
    color: rgba(255, 255, 255, 0.55);
}

.mobile-nav-dropdown a:hover {
    color: #1DAA91;
    background: rgba(29, 170, 145, 0.06);
}

.mobile-nav-dropdown a.active {
    color: #1DAA91;
    font-weight: 600;
}

.mobile-nav-close svg {
    fill: rgba(255, 255, 255, 0.7);
}

.mobile-overlay {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

/* ============================================================
   MODAL - Dark
   ============================================================ */

.modal {
    background: #111418;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.modal-title {
    color: #ffffff;
    font-weight: 700;
}

.modal-body {
    color: rgba(255, 255, 255, 0.7);
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

/* ============================================================
   PAGE DECORATIONS - Remove casino, add trading chart lines
   ============================================================ */

.page-decor {
    opacity: 0.025;
}

.page-decor .hero-decor-spade,
.page-decor .hero-decor-heart,
.page-decor .hero-decor-club,
.page-decor .hero-decor-dice,
.page-decor .hero-decor-chips,
.page-decor .hero-decor-cards,
.page-decor .hero-decor-left,
.page-decor .hero-decor-right,
.page-decor .hero-decor-extra,
.page-decor .hero-decor-roulette,
.page-decor .hero-decor-roulette2,
.page-decor .hero-decor-accent {
    display: none !important;
}

/* ============================================================
   CATEGORY & SUBCATEGORY PAGES - Dark
   ============================================================ */

.main-content {
    background: #0a0c0f;
}

.main {
    background: #0a0c0f;
    padding-top: 25px;
    padding-bottom: 25px;
}

/* ============================================================
   MISC - Links, text etc.
   ============================================================ */

a {
    color: inherit;
}

a:hover {
    color: #1DAA91;
}

.text-primary {
    color: #1DAA91;
}

hr {
    border-top-color: rgba(255, 255, 255, 0.07);
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */

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

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

    .hero-stats-inner {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-main {
        padding-top: calc(var(--header-height) + 3rem);
        padding-bottom: 3rem;
    }

    .howto-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-item {
        padding: 1rem;
    }

    .hero-stats-inner {
        gap: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1.5rem;
    }
}

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

    .stat-item + .stat-item {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================================
   RELATED ARTICLES - Dark
   ============================================================ */

.related-articles {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.related-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ============================================================
   SEO CONTENT - Dark
   ============================================================ */

.seo-content {
    background: transparent;
    padding: 0;
    margin-top: 0;
}

.seo-content h2 { color: #ffffff; }
.seo-content h3 { color: #ffffff; }
.seo-content p { color: rgba(255, 255, 255, 0.5); }

/* ============================================================
   PAGINATION - Dark
   ============================================================ */

.pagination { display: flex; justify-content: center; margin-top: 2.5rem; }
.pagination-list { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; justify-content: center; }
.pagination-list a, .pagination-current { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.75rem; border-radius: 8px; font-size: 0.875rem; font-weight: 500; transition: all 0.2s ease; }
.pagination-list a { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.08); }
.pagination-list a:hover { background: rgba(29,170,145,0.1); color: #1DAA91; border-color: rgba(29,170,145,0.3); }
.pagination-current { background: linear-gradient(135deg,#1DAA91,#158A75); color: #ffffff; border: 1px solid transparent; font-weight: 700; }

/* ============================================================
   BREADCRUMB ITEM - Legacy style
   ============================================================ */

.breadcrumb-item { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.breadcrumb-item::after { content: '›'; color: rgba(255,255,255,0.2); margin-left: 0.15rem; }
.breadcrumb-item:last-child::after { display: none; }
.breadcrumb-item a { color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.breadcrumb-item a:hover { color: #1DAA91; }

/* ============================================================
   LAYOUT SIDEBAR - Dark
   ============================================================ */

.layout-sidebar { display: grid; grid-template-columns: 1fr 280px; gap: 2.5rem; align-items: start; }
@media (max-width: 1024px) { .layout-sidebar { grid-template-columns: 1fr; } }

/* ============================================================
   INLINE TAG BADGE
   ============================================================ */

.tag { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #1DAA91; background: rgba(29,170,145,0.1); padding: 0.25rem 0.75rem; border-radius: 100px; border: 1px solid rgba(29,170,145,0.2); }

/* ============================================================
   CASINO CARDS NEW - Dark themed
   ============================================================ */

.casino-grid-new { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.casino-card-new { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.25rem 1rem; text-align: center; transition: all 0.25s ease; position: relative; overflow: hidden; }
.casino-card-new::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #1DAA91, transparent); opacity: 0; transition: opacity 0.3s ease; }
.casino-card-new:hover { background: rgba(29,170,145,0.06); border-color: rgba(29,170,145,0.25); transform: translateY(-3px); }
.casino-card-new:hover::before { opacity: 1; }
.casino-card-new-badge { width: 44px; height: 44px; background: rgba(29,170,145,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; border: 1px solid rgba(29,170,145,0.15); color: #1DAA91; }
.casino-card-new-badge svg { width: 22px; height: 22px; fill: none; stroke: #1DAA91; stroke-width: 1.5; }
.casino-card-new-name { font-size: 0.875rem; font-weight: 700; color: #ffffff; margin-bottom: 0.5rem; line-height: 1.3; }
.casino-card-new-rating { display: flex; justify-content: center; align-items: center; gap: 2px; margin-bottom: 0.75rem; }
.casino-card-new-rating svg { width: 13px; height: 13px; fill: #f59e0b; }
.casino-card-new-rating .rating-value { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-left: 0.25rem; font-weight: 600; }
.casino-card-new-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; width: 100%; padding: 0.5rem 1rem; background: linear-gradient(135deg,#1DAA91,#158A75); color: #ffffff; font-size: 0.8rem; font-weight: 700; border-radius: 8px; text-transform: uppercase; letter-spacing: 0.04em; transition: all 0.2s ease; box-shadow: 0 4px 12px rgba(29,170,145,0.2); }
.casino-card-new-btn:hover { background: linear-gradient(135deg,#25C9AC,#1DAA91); box-shadow: 0 6px 18px rgba(29,170,145,0.35); transform: translateY(-1px); color: #ffffff; }
.casino-card-new-btn svg { width: 14px; height: 14px; fill: #ffffff; }

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

@media (max-width: 768px) {
    .footer .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* ============================================================
   TOAST NOTIFICATIONS - Dark
   ============================================================ */

.toast-notification { position: fixed; bottom: 1.5rem; right: 1.5rem; display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.25rem; background: #111418; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.6); z-index: 9999; max-width: 400px; animation: toastIn 0.3s ease; }
.toast-success { border-left: 3px solid #1DAA91; }
.toast-error { border-left: 3px solid #ef4444; }
.toast-icon svg { width: 20px; height: 20px; flex-shrink: 0; }
.toast-success .toast-icon svg { fill: #1DAA91; }
.toast-error .toast-icon svg { fill: #ef4444; }
.toast-content strong { display: block; color: #ffffff; font-size: 0.9rem; margin-bottom: 0.2rem; }
.toast-content span { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.toast-close { margin-left: auto; color: rgba(255,255,255,0.4); padding: 0; flex-shrink: 0; }
.toast-close svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.4); }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
