/* ============================================
   CASCADE.CSS - KiwiCasino Guide Styles
   Premium NZ Online Casino Landing Page
   ============================================ */

/* CSS Custom Properties */
:root {
    --kiwi-obsidian: #0D0D1A;
    --kiwi-midnight: #121225;
    --kiwi-slate: #1A1A35;
    --kiwi-steel: #2D2D4A;
    --kiwi-gold: #D4AF37;
    --kiwi-gold-bright: #F4E4BA;
    --kiwi-gold-dark: #A88B2D;
    --kiwi-emerald: #00C9A7;
    --kiwi-crimson: #DC2626;
    --kiwi-ivory: #FAFAF9;
    --kiwi-pearl: #E8E8E6;
    --kiwi-mist: #A0A0B0;
    --kiwi-shadow: rgba(0, 0, 0, 0.4);
    
    --typeface-display: 'Playfair Display', Georgia, serif;
    --typeface-body: 'Outfit', system-ui, sans-serif;
    
    --rhythm-xs: 0.25rem;
    --rhythm-sm: 0.5rem;
    --rhythm-md: 1rem;
    --rhythm-lg: 1.5rem;
    --rhythm-xl: 2rem;
    --rhythm-2xl: 3rem;
    --rhythm-3xl: 4rem;
    
    --velocity-swift: 0.2s;
    --velocity-smooth: 0.3s;
    --velocity-gentle: 0.5s;
    
    --elevation-low: 0 2px 8px var(--kiwi-shadow);
    --elevation-mid: 0 4px 20px var(--kiwi-shadow);
    --elevation-high: 0 8px 40px var(--kiwi-shadow);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--typeface-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--kiwi-ivory);
    background: var(--kiwi-obsidian);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--velocity-swift) ease;
}

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

ul {
    list-style: none;
}

/* ============================================
   DISCLAIMER BANNER - velvet__
   ============================================ */
.velvet__disclaimer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(90deg, var(--kiwi-slate) 0%, var(--kiwi-midnight) 100%);
    border-top: 1px solid var(--kiwi-gold);
    padding: var(--rhythm-sm) var(--rhythm-md);
    transform: translateY(0);
    transition: transform var(--velocity-smooth) ease;
}

.velvet__disclaimer.velvet__disclaimer--hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.velvet__disclaimer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--rhythm-md);
}

.velvet__disclaimer-text {
    font-size: 0.75rem;
    color: var(--kiwi-mist);
    flex: 1;
}

.velvet__disclaimer-text strong {
    color: var(--kiwi-gold);
    font-weight: 600;
}

.velvet__disclaimer-link {
    color: var(--kiwi-gold);
    text-decoration: underline;
}

.velvet__disclaimer-link:hover {
    color: var(--kiwi-gold-bright);
}

.velvet__disclaimer-close {
    background: var(--kiwi-gold);
    color: var(--kiwi-obsidian);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--rhythm-xs) var(--rhythm-md);
    letter-spacing: 0.05em;
    transition: all var(--velocity-swift) ease;
}

.velvet__disclaimer-close:hover {
    background: var(--kiwi-gold-bright);
}

/* ============================================
   HEADER - apex__
   ============================================ */
.apex__header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--kiwi-midnight);
    border-bottom: 1px solid var(--kiwi-steel);
}

.apex__nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--rhythm-md) var(--rhythm-lg);
    gap: var(--rhythm-lg);
}

.apex__logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.apex__logo-img {
    width: 160px;
    height: 40px;
}

/* Burger Menu */
.apex__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    z-index: 1001;
}

.apex__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--kiwi-gold);
    transition: all var(--velocity-smooth) ease;
    transform-origin: center;
}

.apex__burger.apex__burger--active .apex__burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.apex__burger.apex__burger--active .apex__burger-line:nth-child(2) {
    opacity: 0;
}

.apex__burger.apex__burger--active .apex__burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menu Container */
.apex__menu-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.apex__menu {
    display: flex;
    align-items: center;
    gap: var(--rhythm-xs);
}

.apex__menu-item {
    position: relative;
}

.apex__menu-link {
    display: flex;
    align-items: center;
    gap: var(--rhythm-xs);
    padding: var(--rhythm-sm) var(--rhythm-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--kiwi-pearl);
    transition: color var(--velocity-swift) ease;
}

.apex__menu-link:hover {
    color: var(--kiwi-gold);
}

.apex__chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--velocity-swift) ease;
}

.apex__menu-link--parent[aria-expanded="true"] .apex__chevron {
    transform: rotate(180deg);
}

/* Dropdown Submenu */
.apex__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--kiwi-slate);
    border: 1px solid var(--kiwi-steel);
    box-shadow: var(--elevation-mid);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--velocity-smooth) ease;
    z-index: 100;
}

.apex__menu-item--dropdown:hover > .apex__submenu,
.apex__menu-item--dropdown:focus-within > .apex__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.apex__submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--rhythm-sm) var(--rhythm-md);
    font-size: 0.85rem;
    color: var(--kiwi-pearl);
    border-bottom: 1px solid var(--kiwi-steel);
    transition: all var(--velocity-swift) ease;
}

.apex__submenu-link:hover {
    background: var(--kiwi-midnight);
    color: var(--kiwi-gold);
}

.apex__submenu-link:last-child {
    border-bottom: none;
}

/* Nested Submenu (Level 2) */
.apex__submenu-nested {
    position: relative;
}

.apex__submenu-deep {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background: var(--kiwi-slate);
    border: 1px solid var(--kiwi-steel);
    box-shadow: var(--elevation-mid);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--velocity-smooth) ease;
}

.apex__submenu-nested:hover > .apex__submenu-deep,
.apex__submenu-nested:focus-within > .apex__submenu-deep {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.apex__deep-link {
    display: block;
    padding: var(--rhythm-sm) var(--rhythm-md);
    font-size: 0.8rem;
    color: var(--kiwi-mist);
    border-bottom: 1px solid var(--kiwi-steel);
    transition: all var(--velocity-swift) ease;
}

.apex__deep-link:hover {
    background: var(--kiwi-midnight);
    color: var(--kiwi-gold);
}

.apex__deep-link:last-child {
    border-bottom: none;
}

/* CTA Button */
.apex__cta-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--rhythm-sm) var(--rhythm-xl);
    background: linear-gradient(135deg, var(--kiwi-gold) 0%, var(--kiwi-gold-dark) 100%);
    color: var(--kiwi-obsidian);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--velocity-swift) ease;
    flex-shrink: 0;
}

.apex__cta-play:hover {
    background: linear-gradient(135deg, var(--kiwi-gold-bright) 0%, var(--kiwi-gold) 100%);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* ============================================
   HERO SECTION - nebula__
   ============================================ */
.nebula__hero {
    position: relative;
    padding: var(--rhythm-3xl) var(--rhythm-lg);
    background: linear-gradient(180deg, var(--kiwi-midnight) 0%, var(--kiwi-obsidian) 100%);
    overflow: hidden;
}

.nebula__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 201, 167, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.nebula__hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nebula__title {
    font-family: var(--typeface-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--kiwi-ivory);
    letter-spacing: -0.02em;
    animation: nebula__fadeUp 0.8s ease-out forwards;
}

.nebula__title-accent {
    display: inline-block;
    background: linear-gradient(90deg, var(--kiwi-gold) 0%, var(--kiwi-gold-bright) 50%, var(--kiwi-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nebula__shimmer 3s linear infinite;
}

.nebula__decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    pointer-events: none;
    animation: nebula__rotate 60s linear infinite;
}

.nebula__decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px solid rgba(212, 175, 55, 0.05);
}

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

@keyframes nebula__shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes nebula__rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================
   ARTICLE META - quartz__
   ============================================ */
.quartz__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--rhythm-sm);
    padding: var(--rhythm-md) var(--rhythm-lg);
    background: var(--kiwi-slate);
    border-top: 1px solid var(--kiwi-steel);
    border-bottom: 1px solid var(--kiwi-steel);
}

.quartz__date {
    font-size: 0.8rem;
    color: var(--kiwi-mist);
}

.quartz__divider {
    color: var(--kiwi-steel);
}

.quartz__author-photo {
    width: 32px;
    height: 32px;
    overflow: hidden;
    border: 1px solid var(--kiwi-gold);
}

.quartz__author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quartz__author-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--kiwi-gold);
}

/* ============================================
   INTRODUCTION - ember__
   ============================================ */
.ember__intro {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--rhythm-2xl) var(--rhythm-lg);
}

.ember__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--kiwi-pearl);
    text-align: center;
}

/* ============================================
   CASINO SHOWCASE - obsidian__ & jade__
   ============================================ */
.obsidian__showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--rhythm-xl) var(--rhythm-lg) var(--rhythm-3xl);
}

.obsidian__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 var(--rhythm-md);
}

.obsidian__tbody {
    display: contents;
}

/* Casino Card */
.jade__card {
    display: table-row;
    background: var(--kiwi-midnight);
    transition: all var(--velocity-smooth) ease;
    animation: jade__slideIn 0.6s ease-out forwards;
    opacity: 0;
}

.jade__card:nth-child(1) { animation-delay: 0.1s; }
.jade__card:nth-child(2) { animation-delay: 0.2s; }
.jade__card:nth-child(3) { animation-delay: 0.3s; }
.jade__card:nth-child(4) { animation-delay: 0.4s; }

.jade__card:hover {
    background: var(--kiwi-slate);
    box-shadow: var(--elevation-mid);
}

.jade__card--featured {
    border-left: 3px solid var(--kiwi-gold);
}

.jade__cell {
    display: table-cell;
    vertical-align: middle;
    padding: var(--rhythm-lg);
    border-top: 1px solid var(--kiwi-steel);
    border-bottom: 1px solid var(--kiwi-steel);
    text-align: center;
}

.jade__cell:first-child {
    border-left: 1px solid var(--kiwi-steel);
}

.jade__cell:last-child {
    border-right: 1px solid var(--kiwi-steel);
}

.jade__cell--logo {
    width: 180px;
}

.jade__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.jade__logo-img {
    max-width: 150px;
    height: auto;
}

.jade__cell--name {
    width: 160px;
}

.jade__brand-name {
    font-family: var(--typeface-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--kiwi-ivory);
}

.jade__cell--bonus {
    width: 200px;
}

.jade__bonus-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rhythm-xs);
}

.jade__bonus-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kiwi-gold);
    line-height: 1;
}

.jade__bonus-label {
    font-size: 0.75rem;
    color: var(--kiwi-mist);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jade__cell--rating {
    width: 140px;
}

.jade__stars {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.jade__star {
    font-size: 1rem;
    color: var(--kiwi-steel);
}

.jade__star--filled {
    color: var(--kiwi-gold);
}

.jade__cell--action {
    width: 150px;
}

.jade__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: var(--rhythm-sm) var(--rhythm-lg);
    background: linear-gradient(135deg, var(--kiwi-crimson) 0%, #B91C1C 100%);
    color: var(--kiwi-ivory);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--velocity-swift) ease;
}

.jade__cta:hover {
    background: linear-gradient(135deg, #EF4444 0%, var(--kiwi-crimson) 100%);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

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

/* ============================================
   TEXT BLOCKS - flux__
   Universal styling for content elements
   ============================================ */
.flux__textzone {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--rhythm-2xl) var(--rhythm-lg);
}

.flux__placeholder {
    padding: var(--rhythm-2xl);
    background: var(--kiwi-midnight);
    border-left: 3px solid var(--kiwi-gold);
}

/* Universal Headings */
.flux__placeholder h1 {
    font-family: var(--typeface-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--kiwi-ivory);
    line-height: 1.2;
    margin-bottom: var(--rhythm-lg);
    padding-bottom: var(--rhythm-md);
    border-bottom: 1px solid var(--kiwi-steel);
}

.flux__placeholder h2 {
    font-family: var(--typeface-display);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 600;
    color: var(--kiwi-gold);
    line-height: 1.3;
    margin-top: var(--rhythm-2xl);
    margin-bottom: var(--rhythm-md);
    position: relative;
    padding-left: var(--rhythm-md);
}

.flux__placeholder h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--kiwi-gold);
}

.flux__placeholder h3 {
    font-family: var(--typeface-body);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: var(--kiwi-emerald);
    line-height: 1.4;
    margin-top: var(--rhythm-xl);
    margin-bottom: var(--rhythm-sm);
}

.flux__placeholder h4 {
    font-family: var(--typeface-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--kiwi-pearl);
    margin-top: var(--rhythm-lg);
    margin-bottom: var(--rhythm-sm);
}

.flux__placeholder h5 {
    font-family: var(--typeface-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--kiwi-mist);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--rhythm-md);
    margin-bottom: var(--rhythm-sm);
}

.flux__placeholder h6 {
    font-family: var(--typeface-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--kiwi-mist);
    margin-top: var(--rhythm-md);
    margin-bottom: var(--rhythm-xs);
}

/* Universal Paragraphs */
.flux__placeholder p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--kiwi-pearl);
    margin-bottom: var(--rhythm-md);
}

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

/* Universal Links */
.flux__placeholder a {
    color: var(--kiwi-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--velocity-swift) ease;
}

.flux__placeholder a:hover {
    color: var(--kiwi-gold-bright);
}

/* Universal Unordered Lists */
.flux__placeholder ul {
    margin: var(--rhythm-md) 0 var(--rhythm-lg);
    padding-left: var(--rhythm-lg);
}

.flux__placeholder ul li {
    position: relative;
    padding-left: var(--rhythm-md);
    margin-bottom: var(--rhythm-sm);
    color: var(--kiwi-pearl);
    line-height: 1.7;
}

.flux__placeholder ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--kiwi-gold);
}

/* Universal Ordered Lists */
.flux__placeholder ol {
    margin: var(--rhythm-md) 0 var(--rhythm-lg);
    padding-left: 0;
    counter-reset: flux-counter;
}

.flux__placeholder ol li {
    position: relative;
    padding-left: calc(var(--rhythm-xl) + var(--rhythm-sm));
    margin-bottom: var(--rhythm-sm);
    color: var(--kiwi-pearl);
    line-height: 1.7;
    counter-increment: flux-counter;
    list-style: none;
}

.flux__placeholder ol li::before {
    content: counter(flux-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: var(--rhythm-xl);
    height: var(--rhythm-xl);
    background: var(--kiwi-slate);
    border: 1px solid var(--kiwi-gold);
    color: var(--kiwi-gold);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nested Lists */
.flux__placeholder ul ul,
.flux__placeholder ol ol,
.flux__placeholder ul ol,
.flux__placeholder ol ul {
    margin-top: var(--rhythm-sm);
    margin-bottom: 0;
}

/* Universal Tables */
.flux__placeholder table {
    width: 100%;
    margin: var(--rhythm-lg) 0;
    border-collapse: collapse;
    background: var(--kiwi-slate);
    overflow: hidden;
}

.flux__placeholder thead {
    background: linear-gradient(135deg, var(--kiwi-gold-dark) 0%, var(--kiwi-gold) 100%);
}

.flux__placeholder thead tr {
    border-bottom: 2px solid var(--kiwi-gold);
}

.flux__placeholder th {
    padding: var(--rhythm-md) var(--rhythm-md);
    text-align: left;
    font-family: var(--typeface-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--kiwi-obsidian);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.flux__placeholder tbody tr {
    border-bottom: 1px solid var(--kiwi-steel);
    transition: background var(--velocity-swift) ease;
}

.flux__placeholder tbody tr:last-child {
    border-bottom: none;
}

.flux__placeholder tbody tr:hover {
    background: var(--kiwi-midnight);
}

.flux__placeholder td {
    padding: var(--rhythm-md);
    font-size: 0.9rem;
    color: var(--kiwi-pearl);
    vertical-align: top;
}

.flux__placeholder td:first-child {
    font-weight: 500;
    color: var(--kiwi-ivory);
}

/* Universal Blockquotes */
.flux__placeholder blockquote {
    margin: var(--rhythm-lg) 0;
    padding: var(--rhythm-lg);
    background: var(--kiwi-slate);
    border-left: 4px solid var(--kiwi-emerald);
    font-style: italic;
    color: var(--kiwi-pearl);
}

.flux__placeholder blockquote p {
    margin-bottom: var(--rhythm-sm);
}

.flux__placeholder blockquote p:last-child {
    margin-bottom: 0;
}

.flux__placeholder blockquote cite {
    display: block;
    margin-top: var(--rhythm-sm);
    font-style: normal;
    font-size: 0.85rem;
    color: var(--kiwi-mist);
}

.flux__placeholder blockquote cite::before {
    content: '— ';
}

/* Universal Code */
.flux__placeholder code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85em;
    background: var(--kiwi-obsidian);
    color: var(--kiwi-emerald);
    padding: 0.15em 0.4em;
    border: 1px solid var(--kiwi-steel);
}

.flux__placeholder pre {
    margin: var(--rhythm-lg) 0;
    padding: var(--rhythm-lg);
    background: var(--kiwi-obsidian);
    border: 1px solid var(--kiwi-steel);
    overflow-x: auto;
}

.flux__placeholder pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Universal Strong & Em */
.flux__placeholder strong {
    font-weight: 600;
    color: var(--kiwi-ivory);
}

.flux__placeholder em {
    font-style: italic;
    color: var(--kiwi-gold-bright);
}

/* Universal Horizontal Rule */
.flux__placeholder hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--kiwi-gold), transparent);
    margin: var(--rhythm-2xl) 0;
}

/* Universal Images */
.flux__placeholder img {
    max-width: 100%;
    height: auto;
    margin: var(--rhythm-lg) 0;
    border: 1px solid var(--kiwi-steel);
}

.flux__placeholder figure {
    margin: var(--rhythm-lg) 0;
}

.flux__placeholder figcaption {
    font-size: 0.85rem;
    color: var(--kiwi-mist);
    text-align: center;
    margin-top: var(--rhythm-sm);
    font-style: italic;
}

/* Responsive Table */
@media (max-width: 768px) {
    .flux__placeholder table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .flux__placeholder th,
    .flux__placeholder td {
        padding: var(--rhythm-sm);
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .flux__placeholder {
        padding: var(--rhythm-lg);
    }
    
    .flux__placeholder h2 {
        margin-top: var(--rhythm-xl);
    }
    
    .flux__placeholder ol li {
        padding-left: calc(var(--rhythm-lg) + var(--rhythm-sm));
    }
    
    .flux__placeholder ol li::before {
        width: var(--rhythm-lg);
        height: var(--rhythm-lg);
        font-size: 0.7rem;
    }
}

/* Placeholder text for empty state */
.flux__placeholder-text {
    color: var(--kiwi-mist);
    font-style: italic;
    text-align: center;
}

/* ============================================
   EXPERT SECTION - aurora__
   ============================================ */
.aurora__expert {
    padding: var(--rhythm-3xl) var(--rhythm-lg);
    background: linear-gradient(180deg, var(--kiwi-obsidian) 0%, var(--kiwi-midnight) 100%);
}

.aurora__expert-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: var(--rhythm-xl);
    padding: var(--rhythm-xl);
    background: var(--kiwi-slate);
    border-left: 3px solid var(--kiwi-gold);
}

.aurora__expert-photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border: 2px solid var(--kiwi-gold);
}

.aurora__expert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aurora__expert-content {
    display: flex;
    flex-direction: column;
    gap: var(--rhythm-xs);
}

.aurora__expert-label {
    font-size: 0.7rem;
    color: var(--kiwi-mist);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.aurora__expert-name {
    font-family: var(--typeface-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--kiwi-gold);
}

.aurora__expert-title {
    font-size: 0.85rem;
    color: var(--kiwi-emerald);
    margin-bottom: var(--rhythm-sm);
}

.aurora__expert-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--kiwi-pearl);
}

/* ============================================
   FOOTER - terra__
   ============================================ */
.terra__footer {
    background: var(--kiwi-midnight);
    border-top: 1px solid var(--kiwi-steel);
}

.terra__footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rhythm-2xl);
    padding: var(--rhythm-3xl) var(--rhythm-lg);
}

.terra__column-title {
    display: block;
    font-family: var(--typeface-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--kiwi-gold);
    margin-bottom: var(--rhythm-md);
    padding-bottom: var(--rhythm-sm);
    border-bottom: 1px solid var(--kiwi-steel);
}

.terra__list {
    display: flex;
    flex-direction: column;
    gap: var(--rhythm-sm);
}

.terra__link {
    font-size: 0.85rem;
    color: var(--kiwi-mist);
    transition: color var(--velocity-swift) ease;
}

.terra__link:hover {
    color: var(--kiwi-gold);
}

.terra__copyright {
    padding: var(--rhythm-lg);
    background: var(--kiwi-obsidian);
    text-align: center;
    border-top: 1px solid var(--kiwi-steel);
}

.terra__copyright-text {
    font-size: 0.8rem;
    color: var(--kiwi-mist);
    margin-bottom: var(--rhythm-xs);
}

.terra__copyright-sub {
    font-size: 0.7rem;
    color: var(--kiwi-steel);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .jade__card {
        display: flex;
        flex-direction: column;
        background: var(--kiwi-midnight);
        border: 1px solid var(--kiwi-steel);
        margin-bottom: var(--rhythm-md);
    }
    
    .jade__card--featured {
        border-left: 3px solid var(--kiwi-gold);
    }
    
    .jade__cell {
        display: flex;
        justify-content: center;
        width: 100%;
        border: none;
        border-bottom: 1px solid var(--kiwi-steel);
        padding: var(--rhythm-md);
    }
    
    .jade__cell:first-child {
        border-left: none;
    }
    
    .jade__cell:last-child {
        border-right: none;
        border-bottom: none;
    }
    
    .jade__cell--logo {
        padding-top: var(--rhythm-lg);
    }
    
    .aurora__expert-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .apex__burger {
        display: flex;
    }
    
    .apex__menu-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--kiwi-midnight);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px var(--rhythm-lg) var(--rhythm-lg);
        transform: translateX(-100%);
        transition: transform var(--velocity-smooth) ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .apex__menu-container.apex__menu-container--open {
        transform: translateX(0);
    }
    
    .apex__menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }
    
    .apex__menu-item {
        border-bottom: 1px solid var(--kiwi-steel);
    }
    
    .apex__menu-link {
        width: 100%;
        justify-content: space-between;
        padding: var(--rhythm-md);
    }
    
    .apex__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--kiwi-slate);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--velocity-smooth) ease;
    }
    
    .apex__submenu.apex__submenu--open {
        max-height: 500px;
    }
    
    .apex__submenu-deep {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--kiwi-midnight);
        max-height: 0;
        overflow: hidden;
        margin-left: var(--rhythm-md);
    }
    
    .apex__submenu-deep.apex__submenu--open {
        max-height: 300px;
    }
    
    .apex__cta-play {
        padding: var(--rhythm-xs) var(--rhythm-md);
        font-size: 0.8rem;
    }
    
    .nebula__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .terra__footer-main {
        grid-template-columns: 1fr;
        gap: var(--rhythm-xl);
        text-align: center;
    }
    
    .velvet__disclaimer-wrap {
        flex-direction: column;
        text-align: center;
        gap: var(--rhythm-sm);
    }
    
    .quartz__meta {
        flex-wrap: wrap;
        gap: var(--rhythm-xs);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .apex__nav {
        padding: var(--rhythm-sm) var(--rhythm-md);
    }
    
    .apex__logo-img {
        width: 120px;
        height: 30px;
    }
    
    .jade__bonus-amount {
        font-size: 1.3rem;
    }
    
    .jade__cta {
        width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--kiwi-gold);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --kiwi-gold: #FFD700;
        --kiwi-ivory: #FFFFFF;
        --kiwi-mist: #CCCCCC;
    }
}

/* ============================================
   WORDPRESS SPECIFIC STYLES
   ============================================ */

/* Archive List */
.flux__archive {
    display: flex;
    flex-direction: column;
    gap: var(--rhythm-md);
}

.flux__archive-item {
    padding: var(--rhythm-lg);
    background: var(--kiwi-midnight);
    border-left: 3px solid var(--kiwi-steel);
    transition: all var(--velocity-swift) ease;
}

.flux__archive-item:hover {
    border-left-color: var(--kiwi-gold);
    background: var(--kiwi-slate);
}

.flux__archive-link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--rhythm-md);
    flex-wrap: wrap;
}

.flux__archive-title {
    font-family: var(--typeface-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--kiwi-ivory);
    transition: color var(--velocity-swift) ease;
}

.flux__archive-item:hover .flux__archive-title {
    color: var(--kiwi-gold);
}

.flux__archive-date,
.flux__archive-type {
    font-size: 0.8rem;
    color: var(--kiwi-mist);
}

.flux__archive-excerpt {
    margin-top: var(--rhythm-sm);
    font-size: 0.9rem;
    color: var(--kiwi-pearl);
    line-height: 1.6;
}

/* Pagination */
.flux__pagination {
    margin-top: var(--rhythm-2xl);
    padding-top: var(--rhythm-xl);
    border-top: 1px solid var(--kiwi-steel);
}

.flux__pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--rhythm-sm);
    flex-wrap: wrap;
}

.flux__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--rhythm-sm);
    background: var(--kiwi-slate);
    color: var(--kiwi-pearl);
    font-size: 0.9rem;
    transition: all var(--velocity-swift) ease;
}

.flux__pagination .page-numbers:hover {
    background: var(--kiwi-gold);
    color: var(--kiwi-obsidian);
}

.flux__pagination .page-numbers.current {
    background: var(--kiwi-gold);
    color: var(--kiwi-obsidian);
    font-weight: 600;
}

.flux__pagination .prev,
.flux__pagination .next {
    padding: 0 var(--rhythm-md);
}

/* Post Navigation */
.flux__postnav {
    max-width: 900px;
    margin: var(--rhythm-2xl) auto;
    padding: 0 var(--rhythm-lg);
}

.flux__postnav .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rhythm-lg);
}

.flux__postnav .nav-previous,
.flux__postnav .nav-next {
    padding: var(--rhythm-lg);
    background: var(--kiwi-midnight);
    border: 1px solid var(--kiwi-steel);
    transition: all var(--velocity-swift) ease;
}

.flux__postnav .nav-previous:hover,
.flux__postnav .nav-next:hover {
    border-color: var(--kiwi-gold);
}

.flux__postnav .nav-next {
    text-align: right;
}

.flux__postnav-label {
    display: block;
    font-size: 0.75rem;
    color: var(--kiwi-mist);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--rhythm-xs);
}

.flux__postnav-title {
    display: block;
    font-family: var(--typeface-display);
    font-size: 1rem;
    color: var(--kiwi-gold);
}

/* Casino Logo Placeholder (no image) */
.jade__logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 60px;
    background: var(--kiwi-slate);
    color: var(--kiwi-gold);
    font-family: var(--typeface-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: var(--rhythm-sm);
}

/* WordPress Admin Bar Fix */
.admin-bar .apex__header {
    top: 32px;
}

.admin-bar .velvet__disclaimer {
    bottom: 0;
}

@media (max-width: 782px) {
    .admin-bar .apex__header {
        top: 46px;
    }
}

/* WordPress Alignment Classes */
.alignleft {
    float: left;
    margin-right: var(--rhythm-lg);
    margin-bottom: var(--rhythm-md);
}

.alignright {
    float: right;
    margin-left: var(--rhythm-lg);
    margin-bottom: var(--rhythm-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* WordPress Captions */
.wp-caption {
    max-width: 100%;
    margin-bottom: var(--rhythm-lg);
}

.wp-caption img {
    display: block;
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--kiwi-mist);
    text-align: center;
    margin-top: var(--rhythm-sm);
    font-style: italic;
}

/* WordPress Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--rhythm-md);
    margin: var(--rhythm-lg) 0;
}

.gallery-item {
    margin: 0;
}

.gallery-icon img {
    width: 100%;
    height: auto;
    border: 1px solid var(--kiwi-steel);
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--kiwi-slate);
    clip: auto !important;
    clip-path: none;
    color: var(--kiwi-gold);
    display: block;
    font-size: 0.9rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: var(--rhythm-md);
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Post Navigation Mobile */
@media (max-width: 768px) {
    .flux__postnav .nav-links {
        grid-template-columns: 1fr;
    }
    
    .flux__postnav .nav-next {
        text-align: left;
    }
}
