:root {
    --bg-body: #0d0806; 
    --bg-card: rgba(26, 17, 13, 0.85); 
    --bg-card-hover: rgba(45, 29, 21, 0.95);
    --bg-nav: rgba(13, 8, 6, 0.92);  
    
    --color-text: #f4ebd9;        
    --color-text-muted: #a69882; 
    
    --color-accent: #c4381c;       
    --color-accent-glow: rgba(196, 56, 28, 0.4); 
    --color-accent-warm: #e68a3e;  
    --color-border: rgba(75, 50, 35, 0.6);       
    
    --font-main: "Inter", sans-serif;
    --font-heading: "Cinzel", Georgia, serif;
    
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.9);
    --transition: all 0.3s ease;
    --container-width: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body { 
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 100px;
    transition: background-color 0.5s ease;
}

body.modal-open { overflow: hidden; }

/* SCROLLBAR PREMIUM */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-warm);
}
                     
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.film-grain {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 999; opacity: 0.035;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* THEATER MODE CSS */
body.theater-mode { background-color: #000; }
body.theater-mode .container > *:not(.hero),
body.theater-mode header,
body.theater-mode footer {
    opacity: 0.05; pointer-events: none; filter: blur(6px); transition: all 0.5s ease;
}
body.theater-mode .hero { z-index: 1000; position: relative; }
.container > * { transition: all 0.5s ease; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }

header {
    background-color: var(--bg-nav); backdrop-filter: blur(20px); padding: 1.2rem 0;
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--color-border);
    transition: all 0.5s ease;
}

nav { display: flex; justify-content: space-between; align-items: center; position: relative;}

.logo {
    font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900;
    letter-spacing: 4px; color: var(--color-text); text-shadow: 0 0 25px var(--color-accent-glow);
    line-height: 1; text-decoration: none; display: inline-block;
}
.logo-sub {
    font-family: var(--font-main); font-size: 0.55rem; letter-spacing: 5px;
    color: var(--color-accent-warm); text-transform: uppercase; display: block; margin-top: 4px;
}

.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
    text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px;
    color: var(--color-text-muted); font-weight: 600;
    transition: var(--transition); text-decoration: none; outline: none;
}
.nav-links a:hover { color: var(--color-accent-warm); }

.mobile-menu-btn {
    display: none; background: transparent; border: none; color: var(--color-text);
    font-size: 1.8rem; cursor: pointer; outline: none;
}

.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-content {
    display: none; position: absolute; background-color: rgba(13, 8, 6, 0.95);
    backdrop-filter: blur(15px); min-width: 240px; box-shadow: 0px 8px 25px rgba(0,0,0,0.9);
    z-index: 200; border: 1px solid var(--color-border); border-radius: 6px; top: 100%; left: 0; padding: 0.5rem 0;
}
.nav-dropdown-content a {
    color: var(--color-text-muted); padding: 12px 20px; text-decoration: none;
    display: flex; align-items: center; gap: 10px; font-size: 0.75rem; transition: var(--transition);
}
.nav-dropdown-content a:hover { background-color: rgba(196, 56, 28, 0.1); color: var(--color-accent-warm); }
.nav-dropdown:hover .nav-dropdown-content { display: block; }

@media (max-width: 900px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        display: none; position: fixed; top: 73px; left: 0; width: 100%; height: calc(100vh - 73px);
        background: rgba(13, 8, 6, 0.98); backdrop-filter: blur(20px); flex-direction: column; 
        align-items: flex-start; padding: 2rem; border-top: 1px solid var(--color-border); z-index: 100;
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.1rem; padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-links a.btn-primary { width: auto; margin-top: 1rem; border:none;}
    
    .nav-dropdown { width: 100%; }
    .nav-dropdown:hover .nav-dropdown-content { display: none; }
    .nav-dropdown.active .nav-dropdown-content { display: block; position: static; box-shadow: none; border: none; background: transparent; padding-left: 1rem; margin-top: 5px; }
    .nav-dropdown-content a { padding: 12px 10px; border-bottom: none; font-size: 0.9rem;}
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-main); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; border-radius: 4px; cursor: pointer; transition: var(--transition); text-decoration: none; outline: none; padding: 8px 16px; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.96); }
.btn-primary { background: linear-gradient(135deg, var(--color-accent), #82220f); border: 1px solid transparent; color: #fff !important; box-shadow: 0 4px 15px rgba(196, 56, 28, 0.3); }
.btn-primary:hover { box-shadow: 0 4px 25px var(--color-accent-glow); filter: brightness(1.15); }
.btn-outline { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--color-border); color: var(--color-text-muted); }
.btn-outline:hover, .btn-outline.active { background: rgba(196, 56, 28, 0.1); border-color: var(--color-accent-warm); color: var(--color-accent-warm); }
.ctrl-btn { background: transparent; border: none; color: var(--color-text-muted); font-size: 1.1rem; cursor: pointer; transition: var(--transition); outline: none; display: inline-flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.ctrl-btn:hover, .ctrl-btn.active { color: var(--color-accent-warm); transform: scale(1.1); }
.play-btn { width: 45px; height: 45px; border-radius: 50%; background: var(--color-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 5px 15px var(--color-accent-glow); border: none; cursor: pointer; transition: var(--transition); outline: none; flex-shrink: 0; -webkit-tap-highlight-color: transparent; }
.play-btn:hover { background: #e68a3e; transform: scale(1.05); }
.card-fav-btn { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.7); border: 1px solid var(--color-border); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: var(--transition); outline: none; -webkit-tap-highlight-color: transparent; }
.card-fav-btn:hover, .card-fav-btn.active { color: var(--color-accent-warm); border-color: var(--color-accent-warm); }
.tab-btn { background: var(--bg-card); border: 1px solid var(--color-border); color: var(--color-text-muted); padding: 8px 16px; font-size: 0.8rem; border-radius: 4px; cursor: pointer; transition: var(--transition); outline: none; font-weight: 600; font-family: var(--font-main); -webkit-tap-highlight-color: transparent; }
.tab-btn:hover { border-color: var(--color-accent-warm); color: var(--color-accent-warm); }
.tab-btn.active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* HERO RESTRUCTURAT */
.hero { padding: 3rem 0 2rem; display: flex; flex-direction: column; gap: 2rem; }
.hero-top-banner { text-align: center; max-width: 900px; margin: 0 auto; }
.hero-top-banner h1 { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.1; margin-bottom: 0.5rem; text-shadow: 0 4px 15px rgba(0,0,0,0.9); }
.hero-top-banner h2 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--color-text); margin-bottom: 1rem; letter-spacing: 1px; }
.hero-top-banner .hero-tagline { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-accent-warm); font-style: italic; margin-bottom: 0.5rem; }
.hero-top-banner h3 { font-family: var(--font-main); font-size: 1.1rem; color: var(--color-text-muted); font-weight: 400; margin-top: 1.5rem; border-top: 1px solid rgba(75, 50, 35, 0.3); padding-top: 1.5rem; }

/* HERO RESTRUCTURAT - SINGLE COLUMN PLAYER */
.hero-grid { display: flex; justify-content: center; width: 100%; max-width: 900px; margin: 0 auto; }

/* THE PHILOSOPHY GRID (BOTTOM) */
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin: 4rem 0 2rem; align-items: stretch; width: 100%; }

/* QUOTE BOX (TACTICAL ESTHETICS) */
.quote-box { 
    background: linear-gradient(145deg, rgba(26, 17, 13, 0.8), rgba(10, 6, 4, 0.95));
    border: 1px solid rgba(75, 50, 35, 0.5); 
    border-top: 4px solid var(--color-accent); 
    padding: 2.5rem 2rem; 
    border-radius: 8px; 
    height: 100%; /* Fortat sa se intinda egal */
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.9);
    overflow: hidden;
}

.quote-box::after {
    content: '\f10d';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 5rem;
    color: rgba(230, 138, 62, 0.03);
    z-index: 0;
    pointer-events: none;
    transform: rotate(-10deg);
}

/* DEHINC DEFINITION BOX */
.dehinc-definition { 
    background: linear-gradient(145deg, rgba(26, 17, 13, 0.8), rgba(10, 6, 4, 0.95));
    border: 1px solid rgba(75, 50, 35, 0.5); 
    border-top: 4px solid var(--color-accent-warm);
    padding: 2.5rem 2rem; 
    border-radius: 8px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.dehinc-definition::after {
    content: '\f02d'; /* book icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 5rem;
    color: rgba(230, 138, 62, 0.03);
    z-index: 0;
    pointer-events: none;
    transform: rotate(10deg);
}
.def-word { font-family: var(--font-heading); font-size: 2.2rem; color: var(--color-text); font-weight: 900; letter-spacing: 2px; position: relative; z-index: 1; line-height: 1;}
.def-type { font-size: 0.85rem; color: var(--color-text-muted); font-style: italic; margin-left: 10px; position: relative; z-index: 1;}
.def-meaning { display: block; font-size: 1.15rem; color: var(--color-accent-warm); margin: 0.8rem 0 1.5rem; font-weight: 600; position: relative; z-index: 1;}
.def-philosophy { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.6; border-top: 1px solid rgba(75, 50, 35, 0.3); padding-top: 1.5rem; position: relative; z-index: 1;}
.def-philosophy strong { color: var(--color-text); font-family: var(--font-heading); letter-spacing: 1px; font-size: 0.9rem; text-transform: uppercase;}

.custom-player { 
    background: linear-gradient(145deg, rgba(26, 17, 13, 0.95), rgba(10, 6, 4, 0.98));
    border: 1px solid rgba(75, 50, 35, 0.4); 
    border-top: 1px solid rgba(230, 138, 62, 0.4); 
    border-bottom: 1px solid rgba(196, 56, 28, 0.3);
    border-radius: 12px; 
    padding: 1.5rem; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95), inset 0 1px 15px rgba(230, 138, 62, 0.05); 
    backdrop-filter: blur(15px); 
    position: relative; 
    width: 100%; 
    max-width: 100%; 
    box-sizing: border-box; 
    overflow: hidden; 
}
.player-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; border-bottom: 1px solid rgba(75, 50, 35, 0.3); padding-bottom: 0.8rem; }
.iframe-audio-mode { position: absolute; opacity: 0.01; pointer-events: none; z-index: -100; width: 10px; height: 10px; overflow: hidden; }
.iframe-video-mode { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 8px; overflow: hidden; background: #000; margin-bottom: 1.5rem; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.iframe-video-mode iframe { position: absolute; top:0; left:0; width:100%; height:100%; border: none; }
.player-track-info { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; width: 100%; }
.player-track-info img { width: 70px; height: 70px; min-width: 70px; border-radius: 6px; object-fit: cover; border: 1px solid rgba(230, 138, 62, 0.3); box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.player-track-text { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.marquee-container { width: 100%; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent); mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent); }
.marquee-content { display: inline-block; font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-text); margin-bottom: 4px; white-space: nowrap; animation: marquee-scroll 16s linear infinite; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.player-track-text p { font-size: 0.8rem; color: var(--color-accent-warm); text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.player-timeline { display: flex; align-items: center; gap: 10px; margin-bottom: 1.2rem; font-size: 0.75rem; color: var(--color-text-muted); width: 100%; }
input[type="range"] { flex-grow: 1; -webkit-appearance: none; appearance: none; height: 5px; background: rgba(255, 255, 255, 0.1); border-radius: 5px; outline: none; cursor: pointer; accent-color: var(--color-accent-warm); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent-warm); box-shadow: 0 0 10px rgba(230, 138, 62, 0.6); transition: var(--transition); }
.player-controls-main { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.ctrl-group { display: flex; align-items: center; gap: 12px; }

.vol-container { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    width: 140px; 
    background: rgba(0, 0, 0, 0.4); 
    padding: 6px 14px; 
    border-radius: 25px; 
    border: 1px solid var(--color-border); 
    transition: var(--transition); 
}
.vol-container:hover { border-color: var(--color-accent-warm); background: rgba(196, 56, 28, 0.05); }
.vol-container .ctrl-btn { margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; }
.vol-container input[type="range"] { width: 100%; min-width: 0; }
.waveform-bar { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.waveform-bar span { width: 3px; height: 100%; background: var(--color-accent-warm); border-radius: 2px; animation: bounce 1s infinite ease-in-out; }
.waveform-bar span:nth-child(2) { animation-delay: 0.2s; } .waveform-bar span:nth-child(3) { animation-delay: 0.4s; } .waveform-bar span:nth-child(4) { animation-delay: 0.1s; } .waveform-bar span:nth-child(5) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 100% { height: 4px; } 50% { height: 16px; } }

/* BARA DE STATISTICI */
.stats-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin: 2rem 0 3rem; background: var(--bg-card); border: 1px solid var(--color-border); border-radius: 8px; padding: 1.5rem; text-align: center; }
.stat-value { font-family: var(--font-heading); font-size: 2rem; color: var(--color-text); font-weight: 800; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--color-accent-warm); }

.hashtag-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1.5rem; max-height: 120px; overflow-y: auto; padding-right: 5px; }
.pill { background: var(--bg-card); border: 1px solid var(--color-border); color: var(--color-text-muted); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; cursor: pointer; transition: var(--transition); outline: none; -webkit-tap-highlight-color: transparent;}
.pill:hover, .pill.active { border-color: var(--color-accent-warm); color: var(--color-accent-warm); background: rgba(230, 138, 62, 0.1); }
.controls-bar { margin: 1rem 0 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.tab-group { display: flex; gap: 8px; flex-wrap: wrap; }
.search-box { position: relative; flex-grow: 1; max-width: 350px; }
.search-box input { width: 100%; padding: 10px 18px 10px 40px; background: var(--bg-card); border: 1px solid var(--color-border); border-radius: 6px; color: var(--color-text); font-family: var(--font-main); outline: none; }
.search-box i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); }
.sort-select { background: var(--bg-card); border: 1px solid var(--color-border); color: var(--color-text); padding: 10px; border-radius: 6px; outline: none; cursor: pointer; font-family: var(--font-main); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 2.5rem; margin-bottom: 3rem; }

.card { background: var(--bg-card); border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; position: relative; }
.card:hover { transform: translateY(-8px); background: var(--bg-card-hover); border-color: var(--color-accent-warm); box-shadow: 0 12px 35px var(--color-accent-glow); }
.card-thumb { position: relative; width: 100%; padding-bottom: 56.25%; background-size: cover; background-position: center; cursor: pointer; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.card-title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-text); margin-bottom: 0.5rem; line-height: 1.35; }
.card-date { font-size: 0.75rem; color: var(--color-accent-warm); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.4rem; font-weight: 600; }
.skeleton-card { height: 280px; background: var(--bg-card); border: 1px solid var(--color-border); border-radius: 10px; animation: pulse 1.5s infinite ease-in-out; }
@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 0.8; } 100% { opacity: 0.4; } }
main { min-height: 100vh; }

/* MODAL WINDOWS UI */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-container { 
    background: var(--bg-body); 
    border: 1px solid var(--color-accent); 
    border-radius: 12px; 
    width: 100%; 
    max-width: 900px; 
    max-height: 90vh; 
    position: relative; 
    transform: translateY(30px); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    box-shadow: 0 25px 60px rgba(0,0,0,0.95); 
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}
.modal-overlay.active .modal-container { transform: translateY(0); }

.modal-header-fixed {
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
    margin-right: 6px; 
}
.modal-title-bar { margin-bottom: 0; }
.modal-title-bar h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--color-text); line-height: 1.1; margin-bottom: 0.2rem;}
.modal-title-bar span { font-size: 0.85rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 2px; }

.modal-scroll-area {
    padding: 1.5rem 2.5rem 2.5rem 2.5rem;
    overflow-y: auto;
    flex-grow: 1;
    margin-right: 6px; 
    margin-bottom: 6px;
}

.modal-close { position: absolute; top: 20px; right: 25px; background: transparent; border: none; color: var(--color-text-muted); font-size: 1.5rem; cursor: pointer; transition: var(--transition); outline: none; z-index: 10; }
.modal-close:hover { color: var(--color-accent-warm); transform: scale(1.1); }

/* Tactical Therapy CSS */
.day-zero-container { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; position: relative; }
.day-zero-number { font-family: var(--font-heading); font-size: 6rem; color: var(--color-accent-warm); line-height: 1; text-shadow: 0 0 25px rgba(196, 56, 28, 0.4); font-weight: 900; }
.day-zero-text { font-size: 1.2rem; color: var(--color-text); text-transform: uppercase; letter-spacing: 5px; font-weight: 700; opacity: 0.9; }
.day-zero-subtext { font-size: 0.9rem; color: var(--color-text-muted); font-style: italic; max-width: 400px; margin: 0 auto; }
.day-zero-input-group { display: flex; gap: 12px; margin-top: 15px; flex-wrap: wrap; justify-content: center; }
.day-zero-input { background: rgba(0,0,0,0.6); border: 1px solid var(--color-border); color: var(--color-text); padding: 10px 15px; border-radius: 4px; font-family: var(--font-main); outline: none; color-scheme: dark; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }

.compass-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.compass-card { background: rgba(26, 17, 13, 0.5); border: 1px solid var(--color-border); padding: 2rem 1.5rem; text-align: center; border-radius: 8px; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; outline: none; }
.compass-card:hover { background: rgba(196, 56, 28, 0.15); border-color: var(--color-accent-warm); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(196, 56, 28, 0.2); }
.compass-icon { font-size: 2.5rem; color: var(--color-accent-warm); transition: var(--transition); }
.compass-card:hover .compass-icon { color: var(--color-accent); transform: scale(1.1); }
.compass-text { font-family: var(--font-heading); color: var(--color-text); font-size: 1.1rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 800; }

.tools-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .tools-grid { grid-template-columns: 1fr 1fr; } }

.tool-card { background: var(--bg-card); border: 1px solid var(--color-border); border-radius: 10px; padding: 2rem; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.tool-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--color-accent-warm); opacity: 0.5; }
.tool-card > *:last-child { margin-top: auto; }

.tool-header { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-text); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 10px; }
.tool-desc { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1.5rem; font-style: italic; }
.dead-letter-input { width: 100%; height: 120px; background: rgba(0,0,0,0.4); border: 1px solid var(--color-border); border-radius: 6px; padding: 15px; color: var(--color-text); font-family: var(--font-main); resize: none; outline: none; transition: all 0.3s ease; font-size: 0.95rem; margin-bottom: 1rem; }
.forge-timer { font-family: var(--font-heading); font-size: 4rem; color: var(--color-accent-warm); text-align: center; letter-spacing: 4px; font-weight: 900; margin: 1.5rem 0; text-shadow: 0 0 20px rgba(196, 56, 28, 0.3); transition: color 0.3s ease; }
.forge-timer.failed { color: #ff3333; text-shadow: 0 0 20px rgba(255, 0, 0, 0.5); }
.forge-buttons { display: flex; gap: 15px; justify-content: center; }
.axioms-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.5rem; max-height: 250px; overflow-y: auto; padding-right: 5px; }
.axiom-label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 15px; background: rgba(0,0,0,0.4); border: 1px solid var(--color-border); border-radius: 6px; cursor: pointer; transition: var(--transition); user-select: none; }
.axiom-label:hover:not(.disabled) { border-color: var(--color-accent-warm); background: rgba(196, 56, 28, 0.08); }
.axiom-label:has(.axiom-checkbox:checked) { border-color: var(--color-accent); background: rgba(196, 56, 28, 0.15); box-shadow: 0 0 10px rgba(196, 56, 28, 0.1); }
.axiom-checkbox { margin-top: 2px; accent-color: var(--color-accent); cursor: pointer; transform: scale(1.2); flex-shrink: 0; }
.axiom-text { font-size: 0.9rem; color: var(--color-text); line-height: 1.4; transition: var(--transition); }
.axiom-label:has(.axiom-checkbox:checked) .axiom-text { color: #fff; font-weight: 600; }
.axiom-label.disabled { opacity: 0.3; cursor: not-allowed; filter: grayscale(100%); }
.axiom-label.disabled .axiom-checkbox { cursor: not-allowed; }

.essays-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.essay-card { background: var(--bg-card); border: 1px solid var(--color-border); border-radius: 8px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition); }
.essay-date { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--color-accent-warm); margin-bottom: 0.8rem; }
.essay-title { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 1rem; color: var(--color-text); }
.essay-snippet { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }

.severance-box { transition: all 0.3s ease; }
.severance-box.shatter { animation: violentShake 0.4s ease-in-out; opacity: 0; pointer-events: none; }
@keyframes violentShake { 0% { transform: translate(0, 0); } 20% { transform: translate(-10px, 10px); } 40% { transform: translate(10px, -10px); } 60% { transform: translate(-10px, -10px); } 80% { transform: translate(10px, 10px); } 100% { transform: translate(0, 0); opacity: 0;} }

.pendulum-track { width: 100%; height: 4px; background: rgba(230, 138, 62, 0.2); position: relative; margin: 3rem 0; border-radius: 2px;}
.pendulum-dot { width: 24px; height: 24px; background: var(--color-accent-warm); border-radius: 50%; position: absolute; top: -10px; left: 50%; box-shadow: 0 0 15px var(--color-accent-warm); }

.step-container { display: none; }
.step-container.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.trench-input { width: 100%; background: rgba(0,0,0,0.6); border: 1px solid var(--color-border); padding: 15px; color: var(--color-text); margin-bottom: 15px; font-family: var(--font-main); font-size: 1rem; outline: none; border-radius: 6px;}
.trench-input:focus { border-color: var(--color-accent-warm); }
.trench-item { padding: 15px; border-left: 3px solid var(--color-accent-warm); background: rgba(0,0,0,0.4); margin-bottom: 10px; font-size: 0.95rem; line-height: 1.5;}

/* Drawer Overlay */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 2500; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.drawer-overlay.active { opacity: 1; pointer-events: all; }
.drawer { position: fixed; top: 0; right: 0; width: 100%; max-width: 580px; height: 100vh; background: var(--bg-body); border-left: 1px solid var(--color-border); z-index: 2600; transform: translateX(100%); transition: transform 0.4s ease; padding: 3rem 2.5rem; overflow-y: auto; }
.drawer.active { transform: translateX(0); }
.drawer-close { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: var(--color-text-muted); font-size: 1.5rem; cursor: pointer; outline: none; }
.timestamp-badge { display: inline-block; background: rgba(196, 56, 28, 0.2); border: 1px solid var(--color-accent); color: var(--color-accent-warm); padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; cursor: pointer; margin: 2px 4px; }

.pwa-banner { position: fixed; bottom: 25px; right: 25px; background: rgba(20, 13, 9, 0.98); backdrop-filter: blur(20px); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent-warm); border-radius: 8px; padding: 1.2rem 1.5rem; box-shadow: 0 15px 40px rgba(0,0,0,0.95); z-index: 3000; display: flex; align-items: center; gap: 1.5rem; transform: translateY(200%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); max-width: 440px; }
.pwa-banner.active { transform: translateY(0) !important; }
.pwa-info h5 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-text); margin-bottom: 2px; }
.pwa-info p { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.3; }

/* Tactical Cookie Checkpoint CSS - GLOBAL */
.tactical-cookie-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(10, 6, 4, 0.98); border-top: 1px solid var(--color-accent-warm); padding: 1.5rem 2rem; z-index: 4000; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 -10px 40px rgba(0,0,0,0.9); }
.tactical-cookie-bar.active { transform: translateY(0); }
.tactical-cookie-text { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.4; flex: 1; min-width: 300px; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-top-banner h1 { font-size: 2.5rem; }
    .pwa-banner { bottom: 15px; left: 15px; right: 15px; max-width: none; }
    
    /* TACTICAL FIX: Păstrăm butonul de Mute pe mobil, ascundem doar slider-ul */
    .vol-container { width: 42px; padding: 6px; justify-content: center; }
    .vol-container input[type="range"] { display: none; }
    
    .player-controls-main { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    .stats-bar { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 1rem auto; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-bottom { flex-direction: column; text-align: center; }
    .day-zero-number { font-size: 4rem; }
    .forge-timer { font-size: 3rem; }
    
    /* Ajustare mobile pentru noua arhitectură modală */
    .modal-header-fixed { padding: 1.5rem 1.5rem 1rem 1.5rem; }
    .modal-scroll-area { padding: 1.5rem; }
    .modal-close { top: 15px; right: 15px; }
}

@media (min-width: 1600px) {
    :root { --container-width: 1680px; }
    .hero-top-banner h1 { font-size: 4.5rem; }
    .hero-top-banner { max-width: 1200px; }
    .quote-text { font-size: 1.25rem; }
}

@media (min-width: 2200px) {
    :root { --container-width: 1920px; }
}

footer { background: linear-gradient(180deg, var(--bg-body) 0%, #050302 100%); border-top: 1px solid var(--color-border); padding: 5rem 0 2.5rem; position: relative; overflow: hidden; margin-top: 4rem; }
footer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--color-accent-warm), transparent); opacity: 0.6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 4rem; text-align: left; }
.footer-brand .footer-logo { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; letter-spacing: 4px; color: var(--color-text); text-shadow: 0 0 25px var(--color-accent-glow); line-height: 1; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.9rem; color: var(--color-text-muted); margin-top: 1rem; line-height: 1.6; max-width: 320px; }
.footer-col h4 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-accent-warm); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.5rem; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 1px; background-color: var(--color-accent); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--color-text-muted); font-size: 0.88rem; text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; outline: none; }
.footer-col ul li a:hover { color: var(--color-text); transform: translateX(4px); }
.footer-newsletter-form { display: flex; flex-direction: column; gap: 10px; margin-top: 1rem; }
.footer-newsletter-form input { background: rgba(26, 17, 13, 0.9); border: 1px solid var(--color-border); padding: 12px 15px; border-radius: 4px; color: var(--color-text); font-family: var(--font-main); font-size: 0.85rem; outline: none; transition: var(--transition); }
.footer-newsletter-form input:focus { border-color: var(--color-accent-warm); box-shadow: 0 0 15px var(--color-accent-glow); }
.footer-bottom { border-top: 1px solid rgba(75, 50, 35, 0.3); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--color-text-muted); opacity: 0.7; }
.footer-social-links { display: flex; gap: 12px; }
.footer-social-btn { width: 40px; height: 40px; background: var(--bg-card); border: 1px solid var(--color-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); font-size: 1.1rem; text-decoration: none; transition: var(--transition); outline: none; }
.footer-social-btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; transform: translateY(-3px); box-shadow: 0 5px 15px var(--color-accent-glow); }

.footer-kofi-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
    padding: 8px 20px 8px 12px;
    background: rgba(255, 94, 91, 0.08);
    border: 1px solid rgba(255, 94, 91, 0.2);
    border-radius: 40px;
    color: #f4ebd9;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-kofi-badge img {
    width: 24px;
    height: 24px;
}
.footer-kofi-badge:hover {
    background: rgba(255, 94, 91, 0.15);
    border-color: #ff5e5b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 94, 91, 0.1);
}