/* ============================================================================================================*/
/*=============================================== GLOBALS Section ============================================ */
/* ============================================================================================================*/
html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
    scroll-padding-top: 150px;  /* ← Offset for sticky nav - adjust this value */
}
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    color: var(--text-primary);
}


/* ============================================================================================================*/
/*============================= INDEX HERO Video Section ===================================================== */
/* ============================================================================================================*/
.hero-video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-we-are {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: transform 0.1s ease-out;
}

.hero-roamist {
    font-size: 8rem;
    font-weight: bold;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    transition: transform 0.05s ease-out;
    background: linear-gradient(to right, var(--text-primary), var(--color-primary), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--color-primary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: transform 0.1s ease-out;
    margin-top: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-primary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    z-index: 3;
}

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

/* ========================================= NAVIGATION BAR ================================================ */
.floating-nav {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: linear-gradient(120deg, 
        var(--bg-gradient-start) 0%,
        var(--bg-gradient-mid) 50%,
        var(--bg-gradient-end) 100%
    );
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
}

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

.nav-brand {
    font-size: 6rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    background: linear-gradient(to right, var(--text-primary), var(--color-primary), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    white-space: nowrap;
    transform: translateX(-200px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    filter: drop-shadow(0 0 20px rgba(var(--color-primary-rgb), 0.3));
}

.nav-brand.visible {
    transform: translateX(-2rem);
    opacity: 1;
}

.nav-brand:hover {
    transform: translateX(-2rem) scale(1.05);
    filter: drop-shadow(0 0 30px rgba(var(--color-primary-rgb), 0.5));
}

.nav-items-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
    flex: 1;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-8px);
}

.nav-thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    background: linear-gradient(120deg,
        rgba(255, 255, 255, 0.05) 0%,
        var(--bg-card) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-dark);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.nav-thumbnail.visible {
    opacity: 1;
    transform: scale(1);
}

.nav-item:hover .nav-thumbnail {
    transform: scale(1.3);
    border: 1px solid var(--border-strong);
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.4), var(--shadow-glow);
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: color 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	 text-align: center;  /* ← ADD THIS LINE */
    width: 100%;
}

.nav-label.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-item:hover .nav-label {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.5);
    transform: translateY(15px) scale(1);
}

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

.nav-brand a,
.nav-item a {
    text-decoration: none;
    color: inherit;
}

/* ========================== Social Media Floating Navigation  ===============================================*/
.social-nav {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(120deg, 
        var(--bg-gradient-start) 0%,
        var(--bg-gradient-mid) 50%,
        var(--bg-gradient-end) 100%
    );
    backdrop-filter: blur(15px) saturate(120%);
    -webkit-backdrop-filter: blur(15px) saturate(120%);
    border-radius: 60px;
    border: 1px solid var(--border-normal);
    box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    z-index: 99;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.social-nav.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(120deg,
        rgba(255, 255, 255, 0.08) 0%,
        var(--bg-card) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-normal);
    box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: scale(1.25) translateY(-5px);
    background: var(--bg-card-hover);
    border: 1px solid var(--border-strong);
    box-shadow: 0 12px 24px rgba(var(--color-primary-rgb), 0.5), var(--shadow-glow-strong);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.5);
}

.social-link:hover img {
    transform: scale(1.15);
    filter: brightness(2) drop-shadow(0 0 8px rgba(var(--color-primary-rgb), 0.6));
}

/* ============================================================================================================*/
/*=================================Featured Articles Section ==================================================*/
/* ============================================================================================================*/
.featured-articles {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.article-hero {
    grid-column: span 12;
    position: relative;
    height: 900px;
    max-width: 100%;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.article-hero:hover {
    transform: scale(1.01);
}

.article-large {
    grid-column: span 4;
    position: relative;
    height: 800px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.article-large:hover {
    transform: translateX(5px);
}
.article-small {
    grid-column: span 4;
    position: relative;
    height: 800px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
} 

.article-small:hover {
    transform: translateY(-5px);
}

.article-medium {
    grid-column: span 4;
    position: relative;
    height: 800px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.article-medium:hover {
    transform: translateY(-5px);
}


.article-half {
    grid-column: span 6;
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.article-half:hover {
    transform: scale(1.02);
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.article-hero:hover .article-image,
.article-large:hover .article-image,
.article-medium:hover .article-image,
.article-small:hover .article-image,
.article-half:hover .article-image {
    transform: scale(1.05);
}

.article-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.article-category {
    font-size: 0.7rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.article-title {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.article-hero .article-title {
    font-size: 3.5rem;
}

.article-large .article-title {
    font-size: 2.5rem;
}

.article-small .article-title {
    font-size: 1.3rem;
}

.article-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-small .article-excerpt {
    display: none;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.article-author {
    font-weight: 500;
}

.article-date {
    opacity: 0.7;
}

/* ============================================================================================================*/
/*===================== Communities Section - 3D CAROUSEL ===============*/
/* ============================================================================================================*/
/* Add snap points to each major section */
.featured-articles,
.Communities,
.channels-section,
.gear-section,
.destinations-section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}
.Communities {
    margin-bottom: 15rem;
}

.section-title {
    font-size: 6rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    text-align: center;
    margin-bottom: 3.5rem;
    background: linear-gradient(to right, var(--text-primary), var(--color-primary), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(var(--color-primary-rgb), 0.25));
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1400px;
    perspective-origin: center 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15rem;
}

.carousel-3d {
    position: relative;
    width: 300px;
    height: 350px;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(0deg);
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.carousel-item {
    position: absolute;
    width: 300px;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-xl), var(--shadow-glow), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-normal);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -175px;
    transform-style: preserve-3d;
}

.carousel-item img {
    width: 100%;
    height: 85%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.carousel-item:hover img {
    transform: scale(1.1);
}

.carousel-item .community-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 70%,
        transparent 100%
    );
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    color: var(--color-primary);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.carousel-item:hover {
    box-shadow: 0 30px 80px rgba(var(--color-primary-rgb), 0.4), var(--shadow-glow-strong), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    border-color: var(--border-strong);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-gradient-mid) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid var(--border-normal);
    border-radius: 50%;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 150;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.carousel-control:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
    box-shadow: 0 12px 32px rgba(var(--color-primary-rgb), 0.5), var(--shadow-glow-strong);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-control-left {
    left: 10%;
}

.carousel-control-right {
    right: 10%;
}

.carousel-control svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.carousel-control:hover svg {
    transform: scale(1.2);
}
/* ============================================================================================================*/
/*============================================== Channels Section =============================================*/
/* ============================================================================================================*/
/* Add snap points to each major section */
.featured-articles,
.Communities,
.channels-section,
.gear-section,
.destinations-section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}
.channels-section {
    margin-bottom: 15rem;
    position: relative;
}
.channels-section .section-title {
    margin-bottom: -5rem;  /* ← ADJUST THIS for Channels title only */
}
.channels-section {
    margin-bottom: 15rem;
    position: relative;
}

.channels-section .section-title {
    margin-bottom: 0.5rem;  /* ← Controls space below "The Roamist Channels" */
}
.tv-interface {
    display: grid;
    grid-template-columns: 0.7fr 3fr 1fr;  /* ← INCREASE THIS (was 0.6fr) */
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: -15rem -2rem;
    align-items: center;
}


/* =============== LEFT CHANNEL SELECTOR - SMALLER SQUARES =============== */
.channel-selector {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    z-index: 3;
    justify-self: start;
    max-width: none;  /* ← REMOVE THE CONSTRAINT */
    margin-right: 4rem;  /* ← KEEPS THE GAP */
}

.channel-button {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(var(--color-primary-rgb), 0.05) 0%,
        var(--bg-card) 50%,
        rgba(var(--color-primary-rgb), 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.4rem;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
}

.channel-button-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    text-align: center;
    padding: 0.3rem 0.2rem;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.2);
    flex-shrink: 0;
}

.channel-button img {
    width: 100%;
    max-height: 100%;  /* ← KEEPS IT IN BOUNDS */
    height: 0;  /* ← RESET HEIGHT */
    flex-grow: 1;  /* ← CHANGED from flex: 1 */
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.4s ease;
}

.channel-number {
    position: absolute;
    bottom: 0.4rem;
    right: 0.4rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: var(--color-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-primary);
}

.channel-button:hover {
    transform: translateX(10px) scale(1.05);
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(var(--color-primary-rgb), 0.4);
}

.channel-button:hover img {
    transform: scale(1.1);
}

.channel-button.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.6);
    background: linear-gradient(135deg,
        rgba(var(--color-primary-rgb), 0.15) 0%,
        var(--bg-card) 50%,
        rgba(var(--color-primary-rgb), 0.15) 100%
    );
}


/* =============== CENTER TV CONTAINER =============== */
.tv-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-self: end;  /* ← CHANGED from 'center' to 'end' - pushes TV right */
}

/* Glassmorphism plate behind TV */
.tv-container::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -8%;
    width: 116%;
    height: 110%;
    background: linear-gradient(135deg,
        rgba(var(--color-primary-rgb), 0.08) 0%,
        var(--bg-card) 50%,
        rgba(var(--color-primary-rgb), 0.08) 100%
    );
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 0;
}

/* TV Frame - HIGHEST LAYER (in front of everything) */
.tv-frame {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;  /* ← INCREASED (was 2) - TV frame on top */
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.8));
}

/* TV Screen container */
.tv-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Screen content (channel images) */
.screen-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.screen-content img {
    width: 100%;
    height: 100%;
    display: block;
    transition: filter 0.3s ease;
    z-index: 1;  /* ← Channel images at bottom */
}

/* TV Static Effect - MIDDLE LAYER (behind frame, in front of images) */
.tv-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, 
            rgba(255, 255, 255, 0.15) 0px,
            transparent 1px, 
            rgba(0, 0, 0, 0.2) 2px,
            rgba(255, 255, 255, 0.15) 3px);
    opacity: 0;
    pointer-events: none;
    animation: staticNoise 0.2s steps(10) infinite;
    z-index: 5;  /* ← MIDDLE (was 10) - behind frame, in front of images */
}

/* Channel title overlay */
.channel-title-overlay {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    z-index: 6;  /* ← ABOVE STATIC */
    opacity: 0;
    animation: fadeInTitle 0.5s ease 0.3s forwards;
}
@keyframes fadeInTitle {
    to {
        opacity: 1;
    }
}

.channel-title-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    margin: 0;
}


/* Blur effect during static - ONLY VISIBLE SCREEN */
.screen-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;  /* ← ADD THIS to contain effects */
}

.screen-content img.static-blur {
    filter: blur(8px) brightness(1.5) saturate(0);
}

/* TV Static Effect - COVERS ENTIRE TV SCREEN AREA */
.tv-static {
    position: absolute;
    top: 0;     /* ← BACK TO FULL COVERAGE */
    left: 0;    /* ← BACK TO FULL COVERAGE */
    width: 100%;   /* ← FILLS SCREEN */
    height: 100%;  /* ← FILLS SCREEN */
    background-image: 
        repeating-linear-gradient(0deg, 
            rgba(255, 255, 255, 0.15) 0px,
            transparent 1px, 
            rgba(0, 0, 0, 0.2) 2px,
            rgba(255, 255, 255, 0.15) 3px);
    opacity: 0;
    pointer-events: none;
    animation: staticNoise 0.2s steps(10) infinite;
    z-index: 10;
}

.tv-static.active {
    opacity: 1;
}

@keyframes staticNoise {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
    100% { transform: translate(5%, 0); }
}

/* Scanlines Effect */
.screen-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 3px
    );
    pointer-events: none;
    z-index: 5;
    animation: scanlineScroll 10s linear infinite;
}

@keyframes scanlineScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* =============== RIGHT INFO PANEL - KEEP OVERLAP =============== */
.channel-info-panel {
    background: linear-gradient(135deg,
        rgba(var(--color-primary-rgb), 0.08) 0%,
        var(--bg-card) 50%,
        rgba(var(--color-primary-rgb), 0.08) 100%
    );
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-left: -2rem;  /* ← KEEPS THE OVERLAP */
    z-index: 6;
}

.channel-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-primary) 50%, 
        transparent 100%);
    animation: infoGlow 3s ease-in-out infinite;
}

@keyframes infoGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.info-content {
    position: relative;
    z-index: 1;
    animation: fadeInInfo 0.6s ease;
}

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

.info-title {
    font-size: 3.0rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, 
        var(--text-primary) 0%, 
        var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.info-schedule {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.2);
}

.schedule-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
    animation: schedulePulse 2s ease-in-out infinite;
}

@keyframes schedulePulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.3); 
    }
}

.info-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.watch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--color-primary), rgba(var(--color-primary-rgb), 0.8));
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(var(--color-primary-rgb), 0.3);
}

.watch-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--color-primary-rgb), 0.5);
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.9), var(--color-primary));
}

/* Responsive */
@media (max-width: 1400px) {
    .tv-interface {
        max-width: 1400px;
    }
}

@media (max-width: 1024px) {
    .tv-interface {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 800px;
    }
    
    .channel-selector {
        flex-direction: row;
        justify-content: center;
        order: 2;
    }
    
    .tv-container {
        order: 1;
    }
    
    .channel-info-panel {
        order: 3;
    }
}

@media (max-width: 768px) {
    .channel-selector {
        flex-direction: column;
    }
    
    .channel-button {
        max-width: 200px;
        margin: 0 auto;
    }
}
/* ============================================================================================================*/
/*============================================= Gear & Hacks Section ==========================================*/
/* ============================================================================================================*/
/* Add snap points to each major section */
.featured-articles,
.Communities,
.channels-section,
.gear-section,
.destinations-section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}
.gear-section {
    margin-bottom: 15rem;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.gear-card {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gear-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border: 1.5px solid var(--border-strong);
    box-shadow: 0 15px 45px rgba(var(--color-primary-rgb), 0.4), var(--shadow-glow-strong), inset 0 2px 6px rgba(255, 255, 255, 0.15);
}

.gear-image {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 0.875rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gear-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.gear-card:hover .gear-image img {
    transform: scale(1.08);
    opacity: 1;
}

.gear-info {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gear-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(var(--color-primary-rgb), 0.3);
}

.gear-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ============================================================================================================*/
/*================================================= Destinations Section ======================================*/
/* ============================================================================================================*/
/* Add snap points to each major section */
.featured-articles,
.Communities,
.channels-section,
.gear-section,
.destinations-section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}
.destinations-section {
    margin-bottom: 6rem;
}

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

.destination-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: scale(1.03);
}

.destination-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.destination-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.destination-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--text-primary);
}

.destination-country {
    font-size: 1rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==================== INDEX PAGE GLASSMORPHISM ==================== */
.article-hero,
.article-large,
.article-medium,
.article-small,
.article-half {
    background: linear-gradient(120deg, 
        var(--bg-card) 0%,
        rgba(var(--color-primary-rgb), 0.03) 25%,
        rgba(var(--color-primary-rgb), 0.05) 50%,
        rgba(var(--color-primary-rgb), 0.03) 75%,
        var(--bg-card) 100%
    ) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.15), var(--shadow-glow) !important;
}

.gear-card {
    background: linear-gradient(120deg,
        var(--bg-card) 0%,
        rgba(var(--color-primary-rgb), 0.03) 25%,
        rgba(var(--color-primary-rgb), 0.05) 50%,
        rgba(var(--color-primary-rgb), 0.03) 75%,
        var(--bg-card) 100%
    ) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.15), var(--shadow-glow) !important;
}

.channel-card,
.destination-card {
    background: linear-gradient(120deg, 
        var(--bg-card) 0%,
        rgba(var(--color-primary-rgb), 0.03) 25%,
        rgba(var(--color-primary-rgb), 0.05) 50%,
        rgba(var(--color-primary-rgb), 0.03) 75%,
        var(--bg-card) 100%
    ) !important;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.15), var(--shadow-glow) !important;
}

.carousel-item {
    background: linear-gradient(120deg,
        rgba(var(--color-primary-rgb), 0.15) 0%,
        rgba(var(--color-primary-rgb), 0.18) 30%,
        rgba(var(--color-primary-rgb), 0.20) 50%,
        rgba(var(--color-primary-rgb), 0.18) 70%,
        rgba(var(--color-primary-rgb), 0.15) 100%
    ) !important;
    backdrop-filter: blur(20px) saturate(140%) brightness(1.15) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) brightness(1.15) !important;
    border: 1px solid var(--border-normal) !important;
    box-shadow: var(--shadow-xl), var(--shadow-glow-strong), inset 0 2px 2px rgba(255, 255, 255, 0.15) !important;
}

/* ==================== SMOOTH THEME TRANSITIONS ==================== */
body,
.floating-nav,
.social-nav,
.article-hero,
.article-large,
.article-medium,
.article-small,
.article-half,
.carousel-item,
.gear-card,
.channel-card,
.destination-card {
    transition: background-color 0.5s ease,
                background-image 0.5s ease,
                border-color 0.5s ease,
                color 0.5s ease;
}

/*=========================================================================================================*/
/*====================================RESPONSIVE DESIGN - MOBILE & TABLET==================================*/
/*======================================================================================================== */
@media (max-width: 1024px) {
    .hero-we-are { font-size: 2rem; }
    .hero-roamist { font-size: 5rem; }
    .hero-tagline { font-size: 1rem; }
    .nav-brand { font-size: 3.5rem; }
    .nav-items-wrapper { gap: 1.5rem; }
    .nav-thumbnail { width: 70px; height: 70px; }
    .article-hero { height: 600px; }
    .article-large, .article-medium, .article-half {
        grid-column: span 12;
        height: 500px;
    }
    .article-small {
        grid-column: span 6;
        height: 400px;
    }
    .carousel-container {
        height: 500px;
        perspective: 1200px;
        margin-bottom: 10rem;
    }
    .carousel-3d {
        width: 280px;
        height: 330px;
    }
    .carousel-item {
        width: 280px;
        height: 330px;
        margin-left: -140px;
        margin-top: -165px;
    }
    .carousel-control {
        width: 55px;
        height: 55px;
    }
    .carousel-control-left { left: 8%; }
    .carousel-control-right { right: 8%; }
    .channels-grid, .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .gear-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-we-are { font-size: 1.5rem; }
    .hero-roamist { font-size: 3.5rem; }
    .hero-tagline { font-size: 0.9rem; letter-spacing: 0.2em; }
    .section-title { font-size: 3.5rem; margin-bottom: 2rem; }
    .nav-brand { font-size: 2.5rem; }
    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    .nav-items-wrapper {
        gap: 1rem;
        width: 100%;
        justify-content: space-around;
    }
    .nav-thumbnail { width: 55px; height: 55px; }
    .nav-label { font-size: 0.6rem; }
    .article-hero { height: 450px; }
    .article-hero .article-title { font-size: 2rem; }
    .article-large .article-title { font-size: 1.8rem; }
    .article-small {
        grid-column: span 12;
        height: 350px;
    }
    .article-small .article-title { font-size: 1.2rem; }
    .carousel-container {
        height: 450px;
        perspective: 1000px;
        margin-bottom: 8rem;
    }
    .carousel-3d {
        width: 240px;
        height: 280px;
        transform: rotateX(-15deg) rotateY(0deg);
    }
    .carousel-item {
        width: 240px;
        height: 280px;
        margin-left: -120px;
        margin-top: -140px;
    }
    .carousel-item .community-label {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
    .carousel-control {
        width: 50px;
        height: 50px;
    }
    .carousel-control svg {
        width: 24px;
        height: 24px;
    }
    .carousel-control-left { left: 5%; }
    .carousel-control-right { right: 5%; }
    .channels-grid,
    .destinations-grid,
    .gear-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .channel-thumbnail { height: 200px; }
    .destination-card { height: 350px; }
}

@media (max-width: 480px) {
    .hero-we-are { font-size: 1.2rem; }
    .hero-roamist { font-size: 2.8rem; }
    .hero-tagline { font-size: 0.75rem; letter-spacing: 0.15em; }
    .section-title { font-size: 2.5rem; }
    .nav-brand { font-size: 1.8rem; }
    .nav-container { padding: 0 0.5rem; }
    .nav-thumbnail { width: 45px; height: 45px; }
    .nav-label { font-size: 0.55rem; }
    .article-hero { height: 350px; }
    .article-hero .article-title { font-size: 1.5rem; }
    .article-excerpt { font-size: 0.85rem; }
    .article-overlay { padding: 1.5rem; }
    .carousel-container {
        height: 380px;
        perspective: 800px;
        margin-bottom: 6rem;
    }
    .carousel-3d {
        width: 200px;
        height: 240px;
        transform: rotateX(-12deg) rotateY(0deg);
    }
    .carousel-item {
        width: 200px;
        height: 240px;
        margin-left: -100px;
        margin-top: -120px;
    }
    .carousel-item .community-label {
        font-size: 0.75rem;
        padding: 0.6rem;
    }
    .carousel-control {
        width: 45px;
        height: 45px;
    }
    .carousel-control svg {
        width: 20px;
        height: 20px;
    }
    .carousel-control-left { left: 2%; }
    .carousel-control-right { right: 2%; }
    .main-content { padding: 2rem 1rem; }
    .destination-overlay { padding: 1.5rem; }
    .destination-name { font-size: 1.5rem; }
    .channel-info,
    .gear-info { padding: 1rem; }
}

#communities-carousel {
    scroll-margin-top: 120px;
}