* { box-sizing: border-box; }
html, body {
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
body, html {
    margin: 0; padding: 0;
    width: 100vw; min-height: 100vh;
    font-family: 'Georgia', serif;
    color: white;
    overflow-x: hidden;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    cursor: none !important;
}
a, button, input, textarea, .nav-btn {
    cursor: none !important;
    outline: none !important;
}
#custom-cursor {
    position: fixed;
    width: 120px; height: auto;
    pointer-events: none;
    z-index: 10000;
    object-fit: contain;
}
.nav-menu {
    position: fixed; top: 10px; right: 10px;
    z-index: 100; display: flex; align-items: center; gap: 10px;
    background: rgba(0,0,0,0.5); padding: 10px 20px;
    border-radius: 50px; backdrop-filter: blur(5px);
    border: 1px solid #ffd700;
}
#countdown {
    position: fixed; top: 10px; left: 20px;
    font-size: 1.2rem; font-weight: bold;
    color: #ffd700; text-shadow: 2px 2px 5px black;
    z-index: 100;
}
.nav-btn, button {
    background: #ffd700; color: #4a0000;
    border: none !important; border-radius: 30px;
    font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none; display: inline-flex;
    align-items: center; justify-content: center;
    transition: all 0.3s ease;
    height: 50px !important;
}
.nav-btn:hover, button:hover { transform: scale(1.1); box-shadow: 0 0 15px #fff; }
.volume-slider {
    -webkit-appearance: none; width: 80px; height: 6px;
    background: rgba(255,255,255,0.3); border-radius: 5px;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 15px; height: 15px;
    background: #ffd700; border-radius: 50%; cursor: none !important;
}
.container {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; z-index: 10;
    background: #fcf5e5; 
    color: #301a0a !important;
    width: fit-content; max-width: 95vw; min-width: 300px;
    padding: 40px 60px; 
    border: 12px double #5c3d2e;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    margin: 0;
}
h1 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    margin: 60px 0 30px 0;
    text-align: center;
    white-space: nowrap;
    color: #301a0a !important;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}
.container form {
    display: flex; flex-direction: column; 
    align-items: center; justify-content: center;
    gap: 20px; width: 100%;
}
.container input[type="text"], 
.container input[type="number"],
.container textarea, 
.container input[type="file"],
.container button {
    width: 100% !important; max-width: 500px;
    height: 60px !important; font-size: 1.1rem;
    border-radius: 15px !important; border: 2px solid #5c3d2e !important;
    background: #fffcf5 !important; color: #4a0000 !important;
    padding: 10px 20px !important; outline: none !important;
}
.container textarea { height: 120px !important; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 20px; }
.card {
    background: rgba(255, 255, 255, 0.15); border: 2px solid #ffd700;
    border-radius: 20px; padding: 15px; width: 320px;
    backdrop-filter: blur(5px); transition: 0.3s;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(255,215,0,0.3); }
.letter-preview { width: 100%; height: 200px; object-fit: contain; background: white; border-radius: 10px; cursor: pointer; }
.pdf-link { display: block; background: white; color: #b30000; padding: 10px; text-decoration: none; font-weight: bold; border-radius: 10px; margin-bottom: 10px; }
.gift-item { background: rgba(0,0,0,0.4); margin: 5px 0; padding: 8px; border-radius: 10px; display: flex; justify-content: space-between; }
.taken { text-decoration: line-through; opacity: 0.5; }
.gift-item .nav-btn { height: 30px !important; font-size: 0.7rem !important; padding: 0 10px !important; }
.archive-container { width: 100%; display: flex; flex-direction: column; align-items: center; padding-bottom: 100px; }
.year-zone {
    width: 100%; margin-bottom: 60px; padding: 40px;
    background: rgba(255, 215, 0, 0.05); border-radius: 50px;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    display: flex; flex-direction: column; align-items: center;
}
.year-title { font-size: 2.5rem; color: #ffd700; margin-bottom: 30px; text-shadow: 0 0 15px rgba(255,215,0,0.5); font-weight: bold; text-transform: uppercase; }
.year-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; }
.modal {
    display: none; position: fixed; z-index: 10001;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); justify-content: center; align-items: center;
    cursor: default !important;
}
.modal-content { max-width: 90%; max-height: 90%; border: 5px solid #ffd700; border-radius: 10px; }
.close-modal { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer !important; }
.snow { position: absolute; top: -10px; background: white; border-radius: 50%; opacity: 0.8; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(100vh); } }
.magic-particle {
    position: fixed; width: 8px; height: 8px; background: #ffd700;
    border-radius: 50%; pointer-events: none; z-index: 10000;
    animation: particleOut 0.8s ease-out forwards;
}
@keyframes particleOut { 
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}
@keyframes particleUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}
@media (max-width: 600px) {
    .container { padding: 20px 15px; width: 90%; }
    .container form { flex-direction: column; align-items: stretch; }
    h1 { white-space: normal; }
}