/* --- 1. VARIABLES --- */
:root {
    --bg: #000000;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --accent: #ff3b30; 
    --accent-glow: rgba(255, 59, 48, 0.4);
    --glass-card: rgba(20, 20, 20, 0.6);
    --radius: 18px;
}

/* --- 2. RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

/* PHASE A: Cinematic Typography (Playfair Display) */
h1, h2, h3, .logo, .preloader-text, .tos-title, .tos-section h4 {
    font-family: 'Playfair Display', serif;
}

/* --- 3. THE PRELOADER (FIXED FLASH) --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--bg); z-index: 999999; 
    display: flex; justify-content: center; align-items: center; will-change: transform;
}

.preloader-text {
    font-size: 5rem; font-weight: 800; letter-spacing: -2px;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    background: linear-gradient(to right, white 49.9%, rgba(255,255,255,0) 50%);
    background-size: 205% 100%; background-position: 100% 0;
    background-clip: text; -webkit-background-clip: text;
    will-change: background-position;
}

/* --- 4. CUSTOM CURSOR (STARDUST) --- */
@media (hover: hover) and (pointer: fine) {
    body { cursor: none; } 
    a, button, .card, .glass-reveal-card, .social-btn, .discord-pill, .kofi-pill, .status-pill { cursor: none; } 
}

#cursor-dot {
    position: fixed; top: 0; left: 0; width: 6px; height: 6px; background-color: white; 
    border-radius: 50%; z-index: 10000; pointer-events: none; transform: translate(-50%, -50%);
}

#cursor-ring {
    position: fixed; top: 0; left: 0; width: 30px; height: 30px; border: 1px solid white; 
    border-radius: 50%; z-index: 9999; pointer-events: none; transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                background-color 0.3s, border-color 0.3s;
    display: flex; justify-content: center; align-items: center;
}

.cursor-text {
    color: white; font-size: 11px; font-weight: 800; letter-spacing: 1px; font-family: 'Inter', sans-serif;
    opacity: 1; animation: fadeInText 0.3s forwards;
}

@keyframes fadeInText { 0% { opacity: 0; transform: scale(0.5); } 100% { opacity: 1; transform: scale(1); } }

.cursor-trail {
    position: fixed; background: white; border-radius: 50%; pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%); animation: fadeOut 0.6s linear forwards; box-shadow: 0 0 5px white;
}

@keyframes fadeOut { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(0); } }

/* --- 5. BACKGROUND CANVAS --- */
#bg-canvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; background-color: #000000; filter: blur(120px); opacity: 0.8;
}

/* --- 6. HEADER NAVIGATION & TOOLTIPS --- */
.transparent-nav {
    position: fixed; top: 0; width: 100%; padding: 25px 5%; 
    display: flex; justify-content: space-between; align-items: center;
    background: transparent;
    z-index: 1000;
    pointer-events: none; 
}

.transparent-nav > * {
    pointer-events: auto; 
}

.logo { 
    font-weight: 800; font-size: 1.8rem; letter-spacing: -1px; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.8); 
    text-decoration: none; color: white;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.logo:hover {
    transform: scale(1.05);
}

.dot { color: var(--accent); }
.nav-links { display: flex; gap: 12px; align-items: center; list-style: none; }

/* Glossy Button Style */
.glossy-btn { 
    display: flex; align-items: center; gap: 8px; position: relative;
    color: var(--text-main); font-size: 0.9rem; font-weight: 600; 
    text-decoration: none; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    background: rgba(25, 25, 25, 0.4);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 20px; border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.glossy-btn:hover { 
    background: rgba(255, 255, 255, 0.1); 
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.glossy-btn i { 
    width: 16px; height: 16px; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s; 
}
.glossy-btn:hover i { transform: scale(1.15) rotate(5deg); color: var(--accent); }

.contact-btn {
    background: rgba(255, 59, 48, 0.15);
    border-color: rgba(255, 59, 48, 0.3);
}
.contact-btn:hover { 
    background: var(--accent); 
    border-color: var(--accent); 
    box-shadow: 0 8px 25px rgba(255,59,48,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
.contact-btn:hover i { color: white !important; }

/* Tooltip Popup Logic */
.nav-links a::after {
    content: attr(data-tooltip);
    position: absolute; bottom: -45px; left: 50%; transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 15, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1); color: white; padding: 6px 14px;
    border-radius: 20px; font-size: 0.75rem; font-weight: 600; font-family: 'Inter', sans-serif;
    white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.nav-links a:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* --- 7. HERO SECTION --- */
main { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.hero { height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }

/* Commission Status Pill */
.status-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px; border-radius: 30px;
    color: white; font-size: 0.85rem; font-weight: 600; font-family: 'Inter', sans-serif;
    text-decoration: none; margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background 0.3s, border-color 0.3s;
    will-change: transform; /* Enhances the JS magnetic effect */
}

.status-pill:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.status-dot {
    width: 8px; height: 8px; background-color: #4ade80; /* Vibrant Green */
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80, 0 0 15px #4ade80;
    animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.reveal-mask {
    display: inline-block; overflow: hidden; vertical-align: bottom;
    padding-bottom: 20px; margin-bottom: -20px; 
}
.word { display: inline-block; will-change: transform; }

.hero h1 {
    font-size: 5.5rem; font-weight: 800; letter-spacing: -2px; line-height: 1.1; 
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.8)); margin: 0; margin-bottom: 15px;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent), #ff9f0a);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 15px; justify-content: center; }

.btn { padding: 14px 35px; border-radius: 30px; font-weight: 600; font-size: 1.05rem; text-decoration: none; border: none; cursor: pointer; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); font-family: 'Inter', sans-serif;}

/* ENHANCED HERO BUTTON PHYSICS */
.enhanced-btn {
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn.primary.enhanced-btn { 
    background: white; color: black; 
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
.btn.primary.enhanced-btn:hover { 
    transform: translateY(-4px) scale(1.05); 
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.4);
}

.btn.secondary.enhanced-btn { 
    border: 1px solid rgba(255,255,255,0.3); color: white; background: rgba(255,255,255,0.05); 
    backdrop-filter: blur(10px);
}
.btn.secondary.enhanced-btn:hover { 
    border-color: white; background: rgba(255,255,255,0.15); 
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* --- 8. GALLERY SECTION & FILTERS --- */
.section-title { margin: 80px 0 40px; }
.section-title h2 { font-size: 3rem; font-weight: 800; margin-bottom: 10px; }

.gallery-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }

/* SLIDING FILTER SETUP */
.gallery-filters {
    position: relative;
    display: flex; gap: 5px; 
    background: rgba(255,255,255,0.05); padding: 6px; 
    border-radius: 30px; border: 1px solid rgba(255,255,255,0.1);
    z-index: 1;
}

.filter-slider {
    position: absolute;
    top: 6px; bottom: 6px; left: 6px;
    background: white;
    border-radius: 20px;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.filter-btn {
    position: relative;
    background: transparent; color: var(--text-muted); border: none; padding: 10px 20px; border-radius: 20px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: color 0.3s; font-family: 'Inter', sans-serif;
}
.filter-btn:hover { color: white; }
.filter-btn.active { color: black; } /* Slider handles the background */

.centered { text-align: center; }
.subtitle { color: var(--text-muted); font-size: 1.1rem; font-family: 'Inter', sans-serif;}

/* GALLERY GRID */
.bento-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: 250px; 
    gap: 15px; grid-auto-flow: dense; overflow-x: hidden; padding-bottom: 50px;
}

.card {
    background-color: var(--glass-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.1s ease-out, border-color 0.3s; transform-style: preserve-3d;
    perspective: 1000px; will-change: transform; position: relative; 
    background-size: cover; background-position: center; overflow: hidden; z-index: 1; 
}

.card:hover { z-index: 10; cursor: pointer; border-color: rgba(255, 255, 255, 0.3); }

.card::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0; transition: 0.3s; pointer-events: none; border-radius: var(--radius); z-index: 2; 
}
.card:hover::after { opacity: 1; }

.large { grid-row: span 2; grid-column: span 1; }
.wide { grid-column: span 2; grid-row: span 1; }
.overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); opacity: 0; transition: 0.3s; pointer-events: none; border-radius: 0 0 var(--radius) var(--radius); z-index: 3;
}
.card:hover .overlay { opacity: 1; }

/* --- 9. PHASE B: GLASSMORPHIC PRICING REVEAL --- */
.pricing-grid { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; }

.glass-reveal-card {
    flex: 1; min-width: 280px; min-height: 400px;
    background-color: var(--glass-card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05);
    position: relative; overflow: hidden; z-index: 5;
    transition: border-color 0.4s, box-shadow 0.4s;
    display: flex; flex-direction: column; cursor: pointer;
}

.glass-reveal-card:hover {
    border-color: rgba(255,255,255,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.card-visible {
    padding: 40px 30px; text-align: center; height: 100%; display: flex; flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2; position: relative;
}

.card-hidden {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px;
    background: linear-gradient(to top, rgba(15,15,15,1) 0%, rgba(15,15,15,0.95) 75%, transparent 100%);
    transform: translateY(100%); opacity: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    z-index: 3; display: flex; flex-direction: column; justify-content: flex-end;
}

/* Hover Triggers (Desktop) */
.glass-reveal-card:hover .card-visible { transform: translateY(-40px); }
.glass-reveal-card:hover .card-hidden { transform: translateY(0); opacity: 1; }

/* Touch Triggers (Mobile JS mapped) */
.glass-reveal-card.touch-active .card-visible { transform: translateY(-40px); }
.glass-reveal-card.touch-active .card-hidden { transform: translateY(0); opacity: 1; }

.featured-reveal { border: 1px solid var(--accent); }
.featured-reveal:hover { border-color: #ff5e5b; }

/* Micro-Animations for Icons */
.icon-wrap i { 
    width: 32px; height: 32px; color: var(--accent); margin-bottom: 15px; 
    animation: breathe 4s infinite ease-in-out; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glass-reveal-card:hover .icon-wrap i, 
.glass-reveal-card.touch-active .icon-wrap i { 
    transform: scale(1.2) translateY(-5px); 
}

@keyframes breathe { 
    0%, 100% { filter: drop-shadow(0 0 2px rgba(255,59,48,0.2)); } 
    50% { filter: drop-shadow(0 0 12px rgba(255,59,48,0.6)); } 
}

.glass-reveal-card h3 { font-size: 1.8rem; margin-bottom: 5px; }
.desc { color: var(--text-muted); font-size: 0.9rem; font-family: 'Inter', sans-serif;}

.reveal-hint {
    margin-top: auto; color: var(--accent); font-size: 0.85rem; font-weight: 600; font-family: 'Inter', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 5px; opacity: 0.6;
    transition: opacity 0.3s;
}
.reveal-hint i { width: 14px; height: 14px; transition: transform 0.3s; }
.glass-reveal-card:hover .reveal-hint,
.glass-reveal-card.touch-active .reveal-hint { opacity: 0; }

.price-list { width: 100%; margin: 15px 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; text-align: left; }
.price-item { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; color: var(--text-main); font-weight: 500; font-family: 'Inter', sans-serif;}
.price-item span:last-child { color: var(--accent); font-weight: 700; }
.full-width { width: 100%; display: block; text-align: center; margin-top: 10px; }

.badge {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: black; font-size: 0.8rem; font-weight: 800; padding: 6px 16px;
    border-radius: 0 0 12px 12px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 15px var(--accent-glow);
    white-space: nowrap; z-index: 10; font-family: 'Inter', sans-serif;
}

/* --- 10. PHASE C: COMPACT FOOTER REDESIGN --- */
footer {
    padding: 40px 5% 100px; /* Extra bottom padding for mobile dock breathing room */
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.05); 
    position: relative; z-index: 1; 
    background: linear-gradient(to bottom, rgba(10,10,10,0.3), rgba(0,0,0,0.9));
}

.footer-container.compact { max-width: 1200px; margin: 0 auto; }

.compact-top { 
    display: flex; justify-content: space-between; align-items: center; 
    flex-wrap: wrap; gap: 20px; margin-bottom: 30px; 
}

.footer-brand { display: flex; align-items: baseline; gap: 15px; }
.footer-brand .logo { font-size: 1.8rem; margin: 0; }
.footer-brand .tagline { color: var(--text-muted); font-size: 0.95rem; margin: 0; font-family: 'Inter', sans-serif;}

.footer-nav { display: flex; gap: 25px; flex-wrap: wrap; align-items: center; justify-content: center; }
.footer-nav a {
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; font-family: 'Inter', sans-serif;
    transition: color 0.3s, transform 0.3s; display: inline-block;
}
.footer-nav a:hover { color: var(--text-main); transform: translateY(-2px); }

/* Minimal Social Links */
.social-links { display: flex; gap: 10px; position: relative;}
.social-btn {
    display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 50%;
    color: var(--text-muted); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}
.social-btn i { width: 16px; height: 16px; }
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: white; transform: translateY(-3px); }

/* Social Hover Tooltips */
.social-btn::after {
    content: attr(data-tooltip);
    position: absolute; top: -35px; left: 50%; transform: translateX(-50%) translateY(5px);
    background: rgba(15, 15, 15, 0.9); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1); color: white; padding: 4px 10px;
    border-radius: 12px; font-size: 0.7rem; font-weight: 600; font-family: 'Inter', sans-serif;
    white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.2s;
}
.social-btn:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; text-align: center; }
.copyright { color: var(--text-muted); font-size: 0.8rem; font-family: 'Inter', sans-serif; }

.footer-kofi i { color: #ff5e5b !important; }
.footer-kofi:hover i { color: white !important; }

/* --- 11. MODALS (LIGHTBOX, ORDER, TOS) --- */
.lightbox, .modal-overlay {
    position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(15px);
    display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.lightbox.active, .modal-overlay.active { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 0 50px rgba(0,0,0,0.5); animation: zoomIn 0.3s ease;
}

@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-box {
    background: #1c1c1e; width: 90%; max-width: 400px; padding: 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); text-align: center; transform: translateY(50px); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-box { transform: translateY(0); }

.tos-box { 
    max-width: 600px; text-align: left; 
    max-height: 80vh; 
    overflow-y: auto; 
    overscroll-behavior: contain; 
    padding: 40px; 
}
.tos-title { font-size: 2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; color: white; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px;}
.tos-title i { color: var(--accent); width: 28px; height: 28px; }
.tos-section { margin-bottom: 25px; }
.tos-section h4 { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; color: var(--text-main); margin-bottom: 10px;}
.tos-section h4 i { width: 16px; height: 16px; color: var(--text-muted); }
.tos-section p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; font-family: 'Inter', sans-serif;}

/* Custom Scrollbar for TOS Modal */
.tos-box::-webkit-scrollbar { width: 6px; }
.tos-box::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 10px; }
.tos-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }

.close-btn, .close-modal { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; color: white; transition: 0.3s; z-index: 10; font-family: 'Inter', sans-serif; }
.close-btn:hover, .close-modal:hover { color: var(--accent); transform: rotate(90deg); }

#modal-title { font-size: 2rem; margin-bottom: 5px; }
.modal-desc { color: var(--text-muted); margin-bottom: 25px; font-size: 0.9rem; font-family: 'Inter', sans-serif;}
.modal-buttons { display: flex; flex-direction: column; gap: 10px; font-family: 'Inter', sans-serif;}
.modal-btn {
    background: rgba(255,255,255,0.05); padding: 15px 20px; border-radius: 12px; color: white; text-decoration: none; display: flex; justify-content: space-between; align-items: center;
    transition: 0.2s; border: 1px solid transparent; font-weight: 500;
}
.modal-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); transform: translateX(5px); }
.modal-btn span { color: var(--accent); font-weight: 700; }

.prev, .next {
    cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -50px; color: white; font-weight: bold; font-size: 30px;
    transition: 0.3s; user-select: none; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-family: 'Inter', sans-serif;
}
.prev { left: 20px; } .next { right: 20px; }
.prev:hover, .next:hover { background-color: var(--accent); }

/* --- 12. RESPONSIVE MOBILE UPGRADES --- */
@media (max-width: 768px) {
    /* 1. Hero text resizing */
    .hero h1 { font-size: 3.5rem; }
    .hero p { font-size: 1rem; padding: 0 10px; }
    .status-pill { margin-bottom: 15px; font-size: 0.8rem; padding: 6px 14px; }
    
    /* 2. Mobile Floating Dock (Replaces Top Nav) */
    .transparent-nav { padding: 15px; }
    .transparent-nav .logo { 
        position: absolute; top: 20px; left: 20px; 
        font-size: 1.5rem; text-shadow: 0 2px 10px rgba(0,0,0,1);
    }
    
    .nav-links { 
        position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
        background: rgba(15, 15, 15, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255,255,255,0.1); border-radius: 40px;
        padding: 8px 15px; display: flex; gap: 15px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.8); z-index: 1000; pointer-events: auto;
    }
    
    .glossy-btn { 
        background: transparent; border: none; box-shadow: none;
        padding: 8px; flex-direction: column; gap: 4px; font-size: 0.7rem;
    }
    .glossy-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.05); }
    .contact-btn { background: transparent; border: none; }
    .contact-btn:hover { background: rgba(255, 59, 48, 0.15); }
    .nav-links a::after, .social-btn::after { display: none; } /* Hide tooltips on mobile */

    /* 3. Swipeable Gallery Filters */
    .gallery-header { flex-direction: column; align-items: flex-start; gap: 15px;}
    .gallery-filters { 
        width: 100%; overflow-x: auto; 
        justify-content: flex-start; flex-wrap: nowrap; 
        -webkit-overflow-scrolling: touch; scrollbar-width: none; /* Firefox */
        padding-bottom: 5px;
    }
    .gallery-filters::-webkit-scrollbar { display: none; } /* Chrome/Safari */
    .filter-btn { white-space: nowrap; font-size: 0.85rem;}

    /* 4. Grid and Card spacing */
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .large, .wide { grid-column: span 1; grid-row: span 1; }
    .pricing-grid { flex-direction: column; }
    
    /* 5. Compact Mobile Footer */
    .compact-top { flex-direction: column; text-align: center; justify-content: center; gap: 25px; }
    .footer-brand { flex-direction: column; gap: 5px; align-items: center; }
    .footer-nav { flex-direction: column; gap: 15px; }
    
    /* 6. Lightbox & Modals */
    .lightbox img { max-width: 95%; }
    .prev { left: 10px; } .next { right: 10px; }
    .tos-box { padding: 25px; max-width: 90%; }
}