/* ==========================
   GLOBAL RESET & BASE THEME
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.3s ease-in-out;
}

html, body {
    width: 100%;
    min-height: 100%;
    background: linear-gradient(135deg, #0f0c29, #121212);
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    scroll-behavior: smooth;
}

/* ==========================
   CONTAINER
========================== */
.vault-container {
    width: 100%;
    max-width: 950px;
    background: rgba(28, 28, 46, 0.95);
    padding: 35px 45px;
    border-radius: 20px;
    box-shadow: 0 0 70px rgba(0, 255, 171, 0.3);
    backdrop-filter: blur(18px);
    animation: fadeInUp 1s ease forwards;
    overflow: hidden;
}

/* ==========================
   HEADINGS & TEXT
========================== */
h1 {
    color: #00ffab; /* neon teal */
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    animation: fadeInDown 1s ease forwards;
}

h1::after {
    content: '';
    display: block;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #00ffab, #00ffd5);
    margin: 10px auto 0;
    border-radius: 2px;
    animation: expandLine 1s ease forwards;
}

h2 {
    color: #00ffd5; /* soft cyan */
    margin-bottom: 20px;
    font-size: 1.7rem;
    text-align: center;
    animation: fadeIn 1.2s ease forwards;
}

p {
    text-align: center;
    margin-bottom: 30px;
    color: #bbb;
    font-size: 1rem;
    animation: fadeIn 1.3s ease forwards;
}

/* ==========================
   FILE BLOCKS
========================== */
.file-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 22px 28px;
    margin: 18px 0;
    border-radius: 18px;
    border-left: 6px solid #00ffab;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: floatUp 0.8s ease forwards;
    transform-style: preserve-3d;
}

/* Hover 3D tilt + neon glow + scale */
.file-block:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(-5px) scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 255, 171, 0.5);
}

/* Shimmer background */
.file-block::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, rgba(0,255,171,0.15), rgba(255,255,255,0.05), rgba(0,255,213,0.15));
    transform: rotate(25deg) translateX(-200%);
    z-index: 0;
    pointer-events: none;
    animation: shimmer 3s linear infinite;
}

.file-block strong {
    font-size: 1.2rem;
    color: #00ffab;
    position: relative;
    z-index: 1;
}

.file-block a {
    color: #00ffd5;
    text-decoration: none;
    font-weight: 500;
    word-break: break-word;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.file-block a:hover {
    color: #00ffab;
}

.file-block a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #00ffd5;
    left: 0;
    bottom: -3px;
    transition: width 0.3s ease;
}

.file-block a:hover::after {
    width: 100%;
}

.file-block img, 
.file-block video {
    max-width: 100%;
    margin-top: 15px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

/* ==========================
   LIGHT MODE
========================== */
body.light-mode {
    background: linear-gradient(135deg, #f0f0f0, #e0f7ff);
    color: #222;
}

body.light-mode .vault-container {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 70px rgba(0, 255, 171, 0.2);
}

body.light-mode h1, body.light-mode h2 {
    color: #00ffab;
}

body.light-mode .file-block {
    background: rgba(220, 243, 255, 0.15);
    border-left-color: #00ffab;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
    .vault-container {
        padding: 30px 25px;
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .vault-container {
        padding: 20px 15px;
    }
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.25rem; }
}

/* ==========================
   ANIMATIONS
========================== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes floatUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes expandLine {
    0% { width: 0; }
    100% { width: 90px; }
}

@keyframes shimmer {
    0% { transform: rotate(25deg) translateX(-200%); }
    100% { transform: rotate(25deg) translateX(200%); }
}