
@font-face {
    font-family: 'LeagueMono';
    font-style: normal;
    font-weight: 200;
    src: local('LeagueMono Light'), local('LeagueMono-Light'),
         url('../fonts/LeagueMono-Light.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-Light.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: italic;
    font-weight: 200;
    src: local('LeagueMono Light Italic'), local('LeagueMono-LightItalic'),
         url('../fonts/LeagueMono-LightItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-LightItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: normal;
    font-weight: 400;
    src: local('LeagueMono Regular'), local('LeagueMono-Regular'),
         url('../fonts/LeagueMono-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: italic;
    font-weight: 400;
    src: local('LeagueMono Italic'), local('LeagueMono-Italic'),
         url('../fonts/LeagueMono-Italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-Italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: normal;
    font-weight: 500;
    src: local('LeagueMono Medium'), local('LeagueMono-Medium'),
         url('../fonts/LeagueMono-Medium.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-Medium.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: italic;
    font-weight: 500;
    src: local('LeagueMono Medium Italic'), local('LeagueMono-MediumItalic'),
         url('../fonts/LeagueMono-MediumItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-MediumItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: normal;
    font-weight: 600;
    src: local('LeagueMono Bold'), local('LeagueMono-Bold'),
         url('../fonts/LeagueMono-Bold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-Bold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: italic;
    font-weight: 600;
    src: local('LeagueMono Bold Italic'), local('LeagueMono-BoldItalic'),
         url('../fonts/LeagueMono-BoldItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-BoldItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: normal;
    font-weight: 700;
    src: local('LeagueMono ExtraBold'), local('LeagueMono-ExtraBold'),
         url('../fonts/LeagueMono-ExtraBold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-ExtraBold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: italic;
    font-weight: 700;
    src: local('LeagueMono ExtraBold Italic'), local('LeagueMono-ExtraBoldItalic'),
         url('../fonts/LeagueMono-ExtraBoldItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-ExtraBoldItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: normal;
    font-weight: 800;
    src: local('LeagueMono Black'), local('LeagueMono-Black'),
         url('../fonts/LeagueMono-Black.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-Black.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono';
    font-style: italic;
    font-weight: 800;
    src: local('LeagueMono Black Italic'), local('LeagueMono-BlackItalic'),
         url('../fonts/LeagueMono-BlackItalic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMono-BlackItalic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'LeagueMono Beastly';
    font-style: normal;
    font-weight: 900;
    src: local('LeagueMono Beastly Regular'), local('LeagueMonoBeastly-Regular'),
         url('../fonts/LeagueMonoBeastly-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/LeagueMonoBeastly-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

@font-face {
    font-family: 'Haltera';
    font-style: normal;
    font-weight: 900;
    src: local('Haltera'), local('HALTERA_'),
         url('../fonts/HALTERA_.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/HALTERA_.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

body {
    font-family: 'LeagueMono', sans-serif;
    background-color: #fff;
}

.info-box {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 320px;
    /* Max height ensures it doesn't take over the screen */
    max-height: 400px; 
    background: rgba(252, 104, 2, 0.05);
    backdrop-filter: blur(12px) brightness(0.7);
    -webkit-backdrop-filter: blur(12px) brightness(0.7);
    border: 1px solid rgba(252, 104, 2, 0.5);
    color: #fc6802;
    padding: 0;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

/* Header bar for the title */
.panel-header {
    font-size: 0.7rem;
    letter-spacing: 3px;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(252, 104, 2, 0.3);
    background: rgba(252, 104, 2, 0.1);
}

/* The scrollable area */
.scrolling-content-wrapper {
    padding: 20px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Custom Scrollbar to match the aesthetic */
.scrolling-content-wrapper::-webkit-scrollbar {
    width: 4px;
}
.scrolling-content-wrapper::-webkit-scrollbar-thumb {
    background: #fc6802;
}

/* The Fold Logic */
.info-box.folded {
    transform: translate(-340px, 0);
}

#toggle-fold {
    position: absolute;
    right: -40px;
    top: -1px;
    width: 40px;
    height: 40px;
    background: rgba(252, 104, 2, 0.8);
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    pointer-events: auto;
}

.video-stack {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 1;
    overflow: hidden;
    /* This makes the mask on .video-stack act as an eraser */
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    background: transparent;
}

.islands-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200; 
    pointer-events: none; 
}

/* Color Overlays for Videos */
.mask-layer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Island Adjustments */
.island {
    position: absolute;
    width: 700px;
    height: auto;
    cursor: grab;
    z-index: 100;
    pointer-events: auto; /* Required for dragging */
}

.island img.island-texture {
    width: 100%;
    display: block;
    pointer-events: none;
    opacity: 0; /* Hidden until hover */
    transition: opacity 0.3s ease-in-out;
}

/* Show texture on hover */
.island:hover img.island-texture {
    opacity: 0.4;
}

#layer-live {
    z-index: 5;
    position: fixed;
    opacity: 0.99;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* Allows clicking the islands underneath */
    background: transparent;
}

#player-1, #player-2, iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    
    /* Default to filling the screen */
    width: 100vw;
    height: 100vh;
}

/* Landscape / Wide Screens: Width is the priority */
@media (min-aspect-ratio: 16/9) {
  #player-1, #player-2, iframe {
    width: 100vw;
    height: 56.25vw; /* (9/16 * 100) - maintains 16:9 ratio */
    min-height: 100vh; /* Prevents gaps on very wide screens */
  }
}

/* Portrait / Tall Screens: Height is the priority */
@media (max-aspect-ratio: 16/9) {
  #player-1, #player-2, iframe {
    width: 177.78vh; /* (16/9 * 100) - maintains 16:9 ratio */
    height: 100vh;
    min-width: 100vw; /* Prevents gaps on very tall screens */
  }
}

.page-content-text {
    position: relative;
    z-index: 20; /* Highest layer */
    color: #fc6802; /* Ensure it's visible over the video */
    font-size: 2em;
    pointer-events: none; /* Optional: allows you to click islands THROUGH the text */
}

.panel-content {
    font-size: 0.8em;
}


.countdown-layer {
    position: relative;  
    z-index: 20; /* Above everything else */
    color: #fc6802; /* Dark Orange to match your text */
    font-family: 'LeagueMono', sans-serif;
    text-align: right;
    pointer-events: none; /* Allows you to click things behind the timer */
    /*text-shadow: 0 0 10px rgba(0,0,0,0.8);*/
}

.countdown-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

#countdown-timer {
    font-size: 2.5rem;
    font-weight: 700;
}


/* Ensure the Nav stays above all video layers and masks */
#navigation {
    position: fixed !important;
    z-index: 9999 !important; /* Forces it above all masks and islands */
    pointer-events: auto; /* Ensures links remain clickable */
    margin-bottom: 30px;
}

.dropdown-menu {
    /* Ensure the dropdown itself has high priority */
    z-index: 10000;
}

/* Optional: change the cursor to a pointer for the trigger */
.menu-trigger {
    cursor: pointer;
}

/* Glassmorphism for the dropdown */
#navigation ul ul {
    backdrop-filter: blur(15px) brightness(0.6);
    -webkit-backdrop-filter: blur(15px) brightness(0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Nav links styling */
#navigation a {
    color: #fc6802;
    text-decoration: none;
    font-weight: 400;
}

/* Small detail: a scanner line effect on the active dropdown */
#navigation ul ul::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 2px; height: 100%;
    background: #fc6802;
    box-shadow: 0 0 10px #fc6802;
}




