﻿@charset "UTF-8";
/* CSS Document */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
--primary-color: rgba(255, 255, 255);
--bg-color: #121212;
--background-color: #121212;
--text-color: #FDFFFC;
--glitch-red: rgba(255, 0, 0, 0.06);
--glitch-green: rgba(0, 255, 0, 0.02);
--glitch-blue: rgba(0, 0, 255, 0.06);
}
body {
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "argent-pixel-cf", sans-serif;
    font-weight: 200;
    font-style: normal;
    overflow: hidden;
    color: var(--text-color);
}
/* ===== NOUVEAU LOADER ===== */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}
.loader {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.shape {
    width: 20px;
    height: 20px;
    background: var(--text-color);
    animation: bounce 1s infinite;
}
.circle {
    border-radius: 50%;
    animation-delay: 0s;
}
.square {
    animation-delay: 0.2s;
}
.triangle {
    width: 0;
    height: 0;
    background: transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid var(--text-color);
    animation-delay: 0.4s;
}
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-15px);
}
}
/* Gallery Container */
.gallery-container {
    width: 80vw;
    max-width: 1920px;
    position: relative;
    overflow: hidden;
    margin: 0;
}
/* CRT Effect Container */
.crt-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--background-color);
}
/* Global CRT Effects */
.crt-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: overlay;
}
.crt-lines {
    position: fixed;
    inset: 0;
    background: linear-gradient( transparent 0%, rgba(18, 18, 18, 0.1) 10% );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9;
}
.crt-flicker {
    position: fixed;
    inset: 0;
    background: rgba(18, 18, 18, 0.1);
    opacity: 0;
    pointer-events: none;
    z-index: 8;
    animation: flicker 0.15s infinite;
}
/* Main Layout */
.content-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1px;
}
/* Video Section */
.video-section {
    background: var(--background-color);
    position: relative;
    display: flex;
    flex-direction: column;
}
.video-container {
    background: var(--background-color);
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (1080 / 1920 = 0.5625) */
    overflow: hidden;
}
/* Video Player */
.video-player {
    background: var(--background-color);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: none;
    background: var(--background-color);
}
/* Video Controls */
.video-controls-container {
    padding: 20px;
    border-top: 0px solid var(--primary-color);
    background: var(--background-color);
}
.video-controls {
    display: grid;
    gap: 15px;
}
.nav-button {
    padding: 8px 15px;
    min-width: 80px;
    Background: var(--background-color);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    font-family: "argent-pixel-cf", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}
.nav-button:hover {
    background: #242525;
    color: var(--background-color);
}
.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* Update the control-row to accommodate nav buttons */
.control-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.video-button {
    border-radius: 0px;
    background: var(--bg-color);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 8px 15px;
    font-family: "argent-pixel-cf", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}
.video-button:hover {
    background: var(--bg-color);
    color: var(--background-color);
}
.video-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* Progress Bar */
.progress-container {
    flex: 1;
    height: 10px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.1s linear;
}
.progress-handle {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--text-color);
    border-radius: 50%;
}
/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}
.volume-slider {
    width: 135px;
    flex: 1;
    -webkit-appearance: none;
    height: 3px;
    background: var(--primary-color);
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 10px;
height: 10px;
background: var(--text-color);
border-radius: 50%;
cursor: pointer;
}
/* Info Section */
.info-section {
    background: var(--background-color);
    padding: 15px 15px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100%;
}
.info-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 15px;
    margin: -5px -15px 25px -10px; /* Negative margins to counter parent padding */
    border: none;
    position: relative;
    padding-left: 10px; /* Add back some padding for the text */
    padding-right: 15px;
}
.info-content {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.6;
}
.video-info {
    margin-top: -20px;
    margin-bottom: 10px;
}
.video-title {
    margin-top: 10px;
    font-size: 0.85rem;
}
.video-description {
    position: relative;
    margin-top: 10px;
    display: inline-block;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: "argent-pixel-cf", sans-serif;
    line-height: 1.5;
}
.typing-cursor {
    position: absolute;
    background-color: var(--text-color);
    width: 2px;
    height: 0em;
    display: inline-block;
    animation: cursor-blink 1s infinite;
    top: 0;
}
@keyframes cursor-blink {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
.video-status {
    margin-top: 30px;
    font-size: 11px;
    opacity: 0.7;
}
.marquee {
    width: 100%;
    background: var(--background-color);
    color: var(--text-color);
    padding: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    margin-top: auto;
}
.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-family: "argent-pixel-cf", sans-serif;
	font-size: 0.8rem;
}
@keyframes marquee {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}

/*--------------------------------IPAD+MOBILE-------------*/     
@media screen and (max-width: 1024px) {
.main-content {
    display: none !important;
}
.loader-container {
    display: flex !important;
    opacity: 1 !important;
}
}

/*--------------------------------High DPI Screens (Retina)-------------*/
      
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.nav-button, .video-button {
    border-width: 0.5px;
}
.progress-container {
    height: 6px;
}
.volume-slider {
    height: 4px;
}
}
/* -----------------------------PORTARIT-LOCK----------------------------- */
.portrait-lock {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-color);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.portrait-lock-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: rotatePhone 2s infinite;
}
.portrait-lock-text {
    font-family: monospace;
    color: var(--text-color);
    font-size: 18px;
    margin-top: 20px;
}
@keyframes rotatePhone {
0% {
transform: rotate(-90deg);
}
20% {
transform: rotate(0deg);
}
80% {
transform: rotate(0deg);
}
100% {
transform: rotate(-90deg);
}
}

@media screen and (max-width: 896px) and (orientation: landscape) {
.portrait-lock {
    background-color: var (--bg-color);
    display: flex;
}
.gallery-container {
    display: none;
}
}

/* High DPI iPad Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.nav-button, .video-button {
    border-width: 0.5px;
}
.progress-container {
    height: 6px;
}
.volume-slider {
    height: 4px;
}
}