/* =====================================================================
   WatchTheFall v4 - Cinematic Dystopian Stylesheet
   Theme: Dark backgrounds, antique gold (#d4af37) accents, smooth animations
   ===================================================================== */

/* === ROOT VARIABLES === */
:root {
    --color-bg: #0a0a0a;
    --color-text: #f3e7d3;
    --color-gold: #d4af37;
    --color-glow: rgba(212, 175, 55, 0.25);
    --color-card: rgba(10, 10, 10, 0.6);
    --color-overlay: rgba(0, 0, 0, 0.7);
    
    --font-primary: 'Archivo Black', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === VIDEO BACKGROUND (z-index: -1000) === */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1000;
    overflow: hidden;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.8) 0%, 
        rgba(10, 10, 10, 0.4) 50%, 
        rgba(10, 10, 10, 0.9) 100%);
    pointer-events: none;
}

/* === PARTICLE NETWORK CANVAS (z-index: -999) === */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
    pointer-events: none;
}

/* === NAVIGATION === */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gold);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-gold);
    font-family: var(--font-primary);
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

.nav-logo img {
    height: 40px;
    filter: drop-shadow(0 0 8px var(--color-glow));
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--color-gold);
    text-shadow: 0 0 30px var(--color-glow), 0 0 60px var(--color-glow);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-text);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-bg);
    box-shadow: 0 0 20px var(--color-glow);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
    box-shadow: 0 0 30px var(--color-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    box-shadow: 0 0 20px var(--color-glow);
    transform: translateY(-2px);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    color: var(--color-gold);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--color-gold);
}

/* === SECTIONS === */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--color-glow);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 3rem;
}

.page-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px var(--color-glow);
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1rem;
    opacity: 0.7;
}

/* 🔧 Prevent split titles across all regions */
.page-title {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  text-align: center;
  white-space: nowrap;
}

.page-title .region-logo-block {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  white-space: nowrap;
  flex-shrink: 0;
}

.page-title .region-flag-logo {
  height: 1.2em;
  width: auto;
  flex-shrink: 0;
}

.page-title .region-name {
  display: inline-block;
  white-space: nowrap;
  font-weight: 700;
  min-width: fit-content;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 🔧 Ensure region names are always visible and properly spaced */
.page-title .region-name::before {
  content: "";
  display: inline-block;
}

/* === CARDS === */
.card {
    background: var(--color-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 30px var(--color-glow);
    transform: translateY(-5px);
}

/* === TIKTOK GRID === */
.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tiktok-embed {
    background: var(--color-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.tiktok-embed:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 30px var(--color-glow);
}

/* === LEADERBOARD === */
.leaderboard {
    background: var(--color-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 80px 1fr 150px 150px;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-smooth);
}

.leaderboard-row:hover {
    background: rgba(212, 175, 55, 0.05);
}

.rank {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-gold);
}

/* Metric Toggle Selector */
.metric-toggle-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.metric-selector {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: var(--color-gold);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.metric-selector:hover {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
}

.metric-selector:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.metric-selector option {
    background: rgba(10, 10, 10, 0.95);
    color: var(--color-text);
}

/* === PRODUCT GRID === */
.products-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 30px var(--color-glow);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

/* === REGION CARDS === */
.region-grid,
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.region-card,
.region-card-large {
    background: var(--color-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.region-card:hover,
.region-card-large:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 30px var(--color-glow);
    transform: translateY(-8px);
}

.region-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.region-card h3,
.region-card-large h2 {
    font-family: var(--font-primary);
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.region-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* === FOOTER === */
.main-footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--color-gold);
    padding: 3rem 2rem 1.5rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px var(--color-glow));
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    opacity: 0.7;
}

/* === LOADING & ERROR STATES === */
.loading-state,
.error-state {
    text-align: center;
    padding: 4rem 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .leaderboard-row {
        grid-template-columns: 60px 1fr 100px;
        font-size: 0.875rem;
    }
}

/* === HERO LOGO === */
.hero-logo {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 30px var(--color-glow));
    animation: fadeInUp 1s ease-out;
}

/* Hero logo overrides - no borders/backgrounds */
.hero-wtf-logo,
.scotland-flag-logo,
.regional-hero img {
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* === AI NETWORK CARD === */
.ai-network {
    border-color: rgba(0, 255, 204, 0.3) !important;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.35);
}

.ai-network:hover {
    border-color: rgba(0, 255, 204, 0.6) !important;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.5);
}

/* === HORIZONTAL SLIDERS === */
.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) rgba(212, 175, 55, 0.1);
}

.slider::-webkit-scrollbar {
    height: 8px;
}

.slider::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
}

.slider::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

.slider::-webkit-scrollbar-thumb:hover {
    background: #e6c04d;
}

.slider > * {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.tiktok-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
}

.tiktok-slider > * {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.product-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
}

.product-slider .product-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

/* === FADE-IN ANIMATION === */
[data-fade] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

[data-fade].visible {
    opacity: 1;
    transform: translateY(0);
}

/* === MULTI-PLATFORM CONTENT SECTION === */
.content-section {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.9) 100%);
    padding: 6rem 2rem;
}

/* Platform Toggle */
.platform-toggle {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0 3rem;
}

.platform-btn {
    background: rgba(15, 15, 15, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-btn:hover {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.platform-btn.active {
    border-color: var(--platform-color, var(--color-gold));
    background: var(--platform-color, var(--color-gold));
    background: linear-gradient(135deg, 
        rgba(var(--platform-color), 0.2) 0%, 
        rgba(var(--platform-color), 0.05) 100%);
    color: var(--color-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.platform-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.platform-name {
    font-family: var(--font-secondary);
}

/* Content Slider */
.content-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) rgba(212, 175, 55, 0.1);
}

.content-slider::-webkit-scrollbar {
    height: 8px;
}

.content-slider::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
}

.content-slider::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

.content-slider::-webkit-scrollbar-thumb:hover {
    background: #e6c04d;
}

/* Content Boxes */
.content-box {
    flex: 0 0 320px;
    height: 570px;
    scroll-snap-align: center;
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.content-box:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
    transform: scale(1.02);
}

/* TikTok Embed Styling */
.tiktok-box {
    padding: 0;
}

.tiktok-box blockquote {
    margin: 0 !important;
    border-radius: 12px;
    overflow: hidden;
}

/* Placeholder Boxes */
.placeholder-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(15, 15, 15, 0.9) 0%, 
        rgba(20, 20, 20, 0.8) 100%);
}

.placeholder-content {
    text-align: center;
    padding: 2rem;
}

.placeholder-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-text {
    color: var(--color-text);
    opacity: 0.6;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Ad Boxes */
.ad-box {
    background: linear-gradient(135deg, 
        rgba(30, 30, 30, 0.9) 0%, 
        rgba(20, 20, 20, 0.8) 100%);
    border-color: rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder {
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.ad-label {
    display: block;
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.ad-content {
    background: rgba(212, 175, 55, 0.05);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 4rem 2rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-content p {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.ad-dimensions {
    color: var(--color-gold);
    font-size: 0.9rem;
    opacity: 0.4;
}

/* YouTube, Instagram, X, Facebook Embeds */
.youtube-box iframe,
.facebook-box iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.instagram-box,
.x-box {
    padding: 1rem;
    overflow-y: auto;
}

/* === LAZY-LOAD PLACEHOLDERS === */
.embed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.embed-placeholder .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.embed-placeholder .placeholder-text {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.view-post-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.view-post-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.lazy-embed.loaded .embed-placeholder {
    display: none;
}

/* === SUBPAGE CONTENT CONSOLE === */
.console-header {
    text-align: center;
    margin-bottom: 3rem;
}

.console-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.console-subtitle {
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.platform-toggles {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.platform-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.platform-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    opacity: 1;
    transform: translateY(-2px);
}

.platform-toggle.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--color-gold);
    color: var(--color-gold);
    opacity: 1;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.toggle-icon {
    font-size: 1.25rem;
}

.toggle-name {
    font-family: var(--font-primary);
    letter-spacing: 0.5px;
}

.console-slider-container {
    margin-top: 2rem;
}

.console-content-slider {
    transition: opacity 0.3s ease;
}

.console-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.console-section {
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.section-icon {
    font-size: 1.5rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--color-gold);
}

.section-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.4) rgba(212, 175, 55, 0.1);
}

.section-slider::-webkit-scrollbar {
    height: 6px;
}

.section-slider::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 3px;
}

.section-slider::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 3px;
}

.section-slider::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.6);
}

.console-box {
    flex: 0 0 380px;
    min-height: 400px;
    scroll-snap-align: center;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.console-box:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

.youtube-box iframe {
    width: 100%;
    height: 315px;
    border-radius: 10px 10px 0 0;
}

.tiktok-box .tiktok-embed,
.instagram-box .instagram-media {
    max-width: 100% !important;
    min-width: 100% !important;
}

.ad-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px dashed rgba(212, 175, 55, 0.3);
}

.ad-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    padding: 2rem;
    text-align: center;
}

.ad-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.ad-text {
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ad-subtext {
    color: var(--color-text);
    font-size: 0.9rem;
    opacity: 0.7;
}

.placeholder-box {
    opacity: 0.5;
    cursor: not-allowed;
}

.placeholder-box .box-placeholder {
    min-height: 400px;
}

/* More Box - Call to Action */
.more-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.more-box:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.15) 100%);
}

.more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    padding: 2rem;
    text-align: center;
}

.more-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.more-text {
    color: var(--color-gold);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.more-subtext {
    color: var(--color-text);
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
}

.placeholder-text {
    color: var(--color-text);
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 1rem;
}

.box-info {
    padding: 1.25rem;
}

.box-info h4 {
    color: var(--color-gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.box-info p {
    color: var(--color-text);
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.5;
}

.x-box,
.threads-box {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.box-caption {
    color: var(--color-text);
    font-size: 0.9rem;
    opacity: 0.8;
    padding: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: auto;
}

.box-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    padding: 2rem;
}

.box-placeholder .placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.load-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--color-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.load-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.console-empty,
.console-error {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text);
    opacity: 0.6;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .console-box {
        flex: 0 0 320px;
    }
    
    .youtube-box iframe {
        height: 240px;
    }
}

/* === SOCIAL & SUPPORT ACTIONS === */
.social-actions-section {
    padding: 3rem 0;
    text-align: center;
}

/* === ANTHEM PLAYER === */
.anthem-section {
    padding: 2rem 0;
}

.anthem-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.anthem-player:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.anthem-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.anthem-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.anthem-text h3 {
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    font-family: var(--font-primary);
}

.anthem-subtitle {
    color: var(--color-text);
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

audio {
    width: 100%;
    max-width: 400px;
    height: 40px;
    border-radius: 8px;
    filter: grayscale(20%) brightness(1.1);
}

audio::-webkit-media-controls-panel {
    background: rgba(212, 175, 55, 0.1);
}

@media (max-width: 768px) {
    .anthem-player {
        flex-direction: column;
        text-align: center;
    }
    
    .anthem-info {
        flex-direction: column;
    }
    
    audio {
        max-width: 100%;
    }
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.action-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    font-family: var(--font-primary);
    letter-spacing: 0.5px;
}

/* Platform-specific button colors */
.instagram-btn:hover {
    border-color: #e4405f;
    box-shadow: 0 6px 24px rgba(228, 64, 95, 0.4);
}

.tiktok-btn:hover {
    border-color: #fe2c55;
    box-shadow: 0 6px 24px rgba(254, 44, 85, 0.4);
}

.x-btn:hover {
    border-color: #1da1f2;
    box-shadow: 0 6px 24px rgba(29, 161, 242, 0.4);
}

.youtube-btn:hover {
    border-color: #ff0000;
    box-shadow: 0 6px 24px rgba(255, 0, 0, 0.4);
}

.threads-btn:hover {
    border-color: #000000;
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3);
}

.shop-btn:hover {
    border-color: var(--color-gold);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.support-btn:hover {
    border-color: #00ff88;
    box-shadow: 0 6px 24px rgba(0, 255, 136, 0.4);
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin: 2rem auto 0;
    }
    
    .action-btn {
        justify-content: center;
    }
}

/* === WTF CREATIONS SHOP STYLING === */
.creations-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.page-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px var(--color-glow);
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-text);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.page-description {
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.products-section {
    padding: 4rem 2rem;
}

.products-header {
    margin-bottom: 3rem;
    text-align: center;
}

.products-header h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.controls-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.filter-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-text);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
}

.filter-btn.active {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.sort-dropdown {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-text);
    padding: 0.6rem 2rem 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
}

.sort-dropdown:hover {
    border-color: var(--color-gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
}

.product-card.fade-in {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.product-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.25);
    transform: translateY(-4px);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio */
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.product-image.loaded {
    opacity: 1;
}

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

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.product-btn {
    width: 100%;
    padding: 0.8rem;
    text-align: center;
}

.shop-footer-tagline {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.shop-footer-tagline p {
    font-size: 1.2rem;
    color: var(--color-gold);
    opacity: 0.8;
}

.loading-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text);
    opacity: 0.7;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text);
}

.brand-info {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, rgba(15, 15, 15, 0.95) 100%);
    padding: 4rem 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.info-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(25, 25, 25, 0.6);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--color-text);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.printify-brand {
    padding: 3rem 2rem;
    text-align: center;
}

.brand-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* === DIRECTORY SECTION === */
.directory-section {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    padding: 6rem 2rem;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.directory-category {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.directory-category:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
    transform: translateY(-4px);
}

.directory-category.ai-category {
    border-color: rgba(0, 255, 204, 0.3);
}

.directory-category.ai-category:hover {
    border-color: #00ffcc;
    box-shadow: 0 8px 32px rgba(0, 255, 204, 0.2);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    cursor: pointer;
}

.category-header h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-category .category-header h3 {
    color: #00ffcc;
}

.category-desc {
    color: var(--color-text);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.expand-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expand-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(90deg);
}

.directory-category.expanded .expand-btn {
    transform: rotate(45deg);
}

.ai-category .expand-btn {
    border-color: #00ffcc;
    color: #00ffcc;
    background: rgba(0, 255, 204, 0.1);
}

.ai-category .expand-btn:hover {
    background: rgba(0, 255, 204, 0.2);
}

.hub-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 1;
}

.hub-links.collapsed {
    max-height: 0;
    opacity: 0;
}

.hub-link {
    color: var(--color-text);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.hub-link:hover {
    background: rgba(212, 175, 55, 0.12);
    border-left-color: var(--color-gold);
    transform: translateX(8px);
    color: var(--color-gold);
}

.ai-category .hub-link {
    background: rgba(0, 255, 204, 0.05);
}

.ai-category .hub-link:hover {
    background: rgba(0, 255, 204, 0.12);
    border-left-color: #00ffcc;
    color: #00ffcc;
}

/* === DIRECTORY LIST (for subdirectory pages) === */
.directory-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.hub-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.hub-item:hover {
    border-color: var(--color-gold);
    background: rgba(20, 20, 20, 0.8);
    transform: translateX(12px);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.2);
}

.hub-item.ai-item {
    border-color: rgba(0, 255, 204, 0.3);
}

.hub-item.ai-item:hover {
    border-color: #00ffcc;
    box-shadow: 0 4px 24px rgba(0, 255, 204, 0.2);
}

.hub-info h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 0.4rem;
}

.hub-item.ai-item .hub-info h3 {
    color: #00ffcc;
}

.hub-info p {
    color: var(--color-text);
    opacity: 0.8;
    font-size: 0.95rem;
}

.hub-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hub-stat {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 1rem;
}

.hub-item.ai-item .hub-stat {
    color: #00ffcc;
}

.arrow {
    color: var(--color-gold);
    font-size: 1.5rem;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.hub-item:hover .arrow {
    opacity: 1;
    transform: translateX(6px);
}

.hub-item.ai-item .arrow {
    color: #00ffcc;
}

.btn-back {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.8rem 1.8rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--color-gold);
    border-radius: 6px;
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-back:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(-6px);
}
