:root {
    --bg-color: #0d0d12;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #ef4444;
    --accent-glow: rgba(239, 68, 68, 0.25);
}

* { box-sizing: border-box; }

body {
    margin: 0; padding: 0; font-family: 'Inter', sans-serif;
    background-color: var(--bg-color); color: var(--text-primary);
    display: flex; flex-direction: column; align-items: center; min-height: 100vh; overflow-y: scroll;
    
    /* The Brighter Breathing Background */
    background-image:
        radial-gradient(circle at 15% 15%, rgba(239, 68, 68, 0.20) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(185, 28, 28, 0.20) 0%, transparent 45%);
    background-size: 100% 100%;
    animation: breathe 10s infinite alternate ease-in-out;
}

@keyframes breathe {
    0% { background-size: 100% 100%; background-position: 0% 0%; }
    100% { background-size: 130% 130%; background-position: 5% 5%; }
}

/* --- NAVIGATION --- */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(13, 13, 18, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); display: flex; justify-content: center; gap: 30px; padding: 18px 0; z-index: 1000; }
.nav-link { text-decoration: none; color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 4px; }

/* --- CONTAINERS & SPACING --- */
.container { width: 100%; max-width: 600px; padding: 120px 24px 40px; text-align: center; animation: fadeIn 0.8s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.gallery-container { max-width: 1280px; padding-bottom: 60px; }
.contact-container { padding-top: 150px; flex: 1; }

/* --- TYPOGRAPHY --- */
h1 { font-size: 2rem; margin: 0; font-weight: 700; letter-spacing: -0.03em; }
.contact-container h1 { font-size: 2.5rem; }
.bio { font-size: 1rem; color: var(--text-secondary); margin: 20px auto 40px; line-height: 1.6; }
.gallery-container .bio { max-width: 500px; }
.contact-container .bio { font-size: 1.1rem; }

/* --- INDEX PAGE STYLES --- */
.profile-pic { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); box-shadow: 0 0 20px var(--accent-glow); margin-bottom: 20px; }
.handle { color: var(--accent); font-size: 1rem; margin-top: 8px; font-weight: 600; }

.social-link { display: block; width: 100%; max-width: 400px; margin: 0 auto 16px; padding: 16px 24px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; color: var(--text-primary); text-decoration: none; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all 0.3s ease !important; }
.social-link:hover { border-color: var(--accent); box-shadow: 0 10px 20px var(--accent-glow); transform: translateY(-3px); }
.social-link[href*="instagram"]:hover { border-color: #E1306C !important; box-shadow: 0 10px 20px rgba(225, 48, 108, 0.4) !important; color: #E1306C !important; }
.social-link[href*="discord"]:hover { border-color: #5865F2 !important; box-shadow: 0 10px 20px rgba(88, 101, 242, 0.4) !important; color: #5865F2 !important; }
.social-link[href*="x.com"]:hover, .social-link[href*="twitter"]:hover { border-color: #ffffff !important; box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3) !important; color: #ffffff !important; }
.social-link[href*="tiktok"]:hover { border-color: #fe2c55 !important; box-shadow: -4px 4px 15px rgba(0, 242, 254, 0.4), 4px -4px 15px rgba(254, 44, 85, 0.4) !important; color: #f8fafc !important; }
.social-link[href*="bsky"]:hover, .social-link[href*="bluesky"]:hover { border-color: #0085ff !important; box-shadow: 0 10px 20px rgba(0, 133, 255, 0.4) !important; color: #0085ff !important; }
.social-link[href*="twitch"]:hover { border-color: #9146FF !important; box-shadow: 0 10px 20px rgba(145, 70, 255, 0.4) !important; color: #9146FF !important; }
.social-link[href*="furtrack"]:hover { border-color: #f59e0b !important; box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4) !important; color: #f59e0b !important; }

/* --- PHOTOGRAPHY PAGE STYLES --- */
.subtitle { color: var(--accent); font-size: 1rem; margin-top: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.gallery-controls-wrapper { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 40px; }
.filter-controls { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); padding: 15px 25px; border-radius: 16px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.checkbox-label { color: var(--text-secondary); font-size: 0.95rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: color 0.3s ease; }
.checkbox-label:hover { color: var(--text-primary); }
.filter-checkbox { accent-color: var(--accent); cursor: pointer; width: 16px; height: 16px; }
.per-page-dropdown { color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.per-page-dropdown select { background: var(--bg-color); color: var(--text-primary); border: 1px solid var(--glass-border); border-radius: 8px; padding: 6px 12px; font-family: 'Inter', sans-serif; font-weight: 600; outline: none; cursor: pointer; transition: border-color 0.3s ease; }
.per-page-dropdown select:focus { border-color: var(--accent); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, 280px); justify-content: center; gap: 24px; width: 100%; }
.photo-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--glass-bg); border: 1px solid var(--glass-border); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; cursor: pointer; opacity: 0; animation: popIn 0.5s ease-out forwards; animation-delay: 0.15s; }
@keyframes popIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; transition: opacity 0.3s ease, transform 0.5s ease; }
.photo-item:hover { transform: translateY(-6px); box-shadow: 0 12px 24px var(--accent-glow); border-color: var(--accent); }
.photo-item:hover img { opacity: 1; transform: scale(1.05); }
.photo-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(transparent, rgba(13, 13, 18, 0.95)); color: var(--text-primary); padding: 30px 20px 20px; font-weight: 600; font-size: 1rem; text-align: left; transform: translateY(100%); transition: transform 0.3s ease; pointer-events: none; }
.photo-item:hover .photo-overlay { transform: translateY(0); }
.pagination-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 40px; }
.pagination-controls.top-pagination { margin-top: 10px; margin-bottom: 20px; }
.page-btn { background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-primary); padding: 10px 24px; border-radius: 12px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.3s ease; }
.page-btn:hover:not(:disabled) { border-color: var(--accent); box-shadow: 0 0 15px var(--accent-glow); transform: translateY(-2px); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-info { color: var(--text-secondary); font-weight: 600; font-size: 0.95rem; }

/* Lightbox */
.lightbox { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(13, 13, 18, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox.active { opacity: 1; pointer-events: all; }
#lightbox-img { max-width: 95vw; max-height: 95vh; object-fit: contain; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8); transform: scale(0.95); transition: transform 0.3s ease; }
.lightbox.active #lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; font-weight: bold; cursor: pointer; transition: color 0.3s ease; z-index: 2001; }
.lightbox-close:hover { color: var(--accent); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 50px; font-weight: bold; cursor: pointer; transition: color 0.3s ease, transform 0.3s ease; z-index: 2001; padding: 20px; user-select: none; opacity: 0.7; }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }
.lightbox-prev:hover { opacity: 1; color: var(--accent); transform: translateY(-50%) translateX(-5px); }
.lightbox-next:hover { opacity: 1; color: var(--accent); transform: translateY(-50%) translateX(5px); }

/* --- CONTACT PAGE STYLES --- */
.contact-box { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 40px; backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.email-btn { display: inline-block; padding: 14px 32px; background-color: var(--accent); color: white; text-decoration: none; font-weight: 700; border-radius: 8px; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 4px 15px var(--accent-glow); margin-top: 10px; }
.email-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px var(--accent-glow); }

/* --- SHARED ELEMENTS --- */
footer { width: 100%; margin-top: 32px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--glass-border); font-size: 0.85rem; color: var(--text-secondary); text-align: center; }
.fade-out { opacity: 0 !important; transform: translateY(-20px) !important; transition: opacity 0.4s ease, transform 0.4s ease !important; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 600px) {
    .navbar { gap: 15px; padding: 12px 0; }
    .nav-link { font-size: 0.85rem; }
    .container { padding: 90px 16px 20px; }
    .gallery-container { padding: 90px 16px 40px; }
    .contact-container { padding: 120px 16px 40px; }
    h1 { font-size: 1.75rem; }
    .contact-container h1 { font-size: 2rem; }
    .profile-pic { width: 100px; height: 100px; }
    .photo-grid { grid-template-columns: 1fr; }
    .photo-item .photo-overlay { transform: translateY(0); padding: 25px 12px 12px; background: linear-gradient(transparent, rgba(13, 13, 18, 0.98) 60%); }
    .lightbox-prev, .lightbox-next { font-size: 40px; padding: 10px; }
    .contact-box { padding: 30px 20px; }
}
