/* ==========================================================================
   🎀 ULTRA POOKIE 3D VARIABLES & THEME (Smooth & Soft)
   ========================================================================== */
   :root {
    /* Day Mode (Pastel Dream) */
    --bg-main: #fff0f5; 
    --bg-sec: #ffe4e1;
    --text-main: #7a5c61;
    --text-light: #9c7b82;
    
    --pink-light: #ffc2d1;
    --pink-main: #ff9ebd;
    --pink-dark: #ff7aa2;
    --pink-shadow: #e66a8d;
    
    --blue-light: #cde4f7;
    --blue-main: #a2cbf4;
    --blue-dark: #7faecf;
    
    --white-glass: rgba(255, 255, 255, 0.85);
    --border-white: rgba(255, 255, 255, 0.9);
    
    /* 3D Shadows (Puffy, Soft, Low Jitter) */
    --shadow-3d-btn: 0 6px 0 var(--pink-shadow), 0 10px 15px rgba(255, 122, 162, 0.2);
    --shadow-3d-btn-active: 0 2px 0 var(--pink-shadow), 0 4px 8px rgba(255, 122, 162, 0.2);
    
    --shadow-3d-card: 0 10px 0 rgba(255, 255, 255, 0.5), 0 15px 30px rgba(255, 158, 189, 0.2);
    --shadow-inset-glow: inset 0 4px 10px rgba(255, 255, 255, 0.8);
    
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Quicksand', sans-serif;
}

/* 🌙 Night Mode (Dreamy Lavender) */
body.night-mode {
    --bg-main: #1a1a2e;
    --bg-sec: #16213e;
    --text-main: #e0c3fc;
    --text-light: #bde0fe;
    
    --pink-light: #b088f9;
    --pink-main: #9b72e6;
    --pink-dark: #7a58bf;
    --pink-shadow: #5a3d99;
    
    --blue-light: #ffb7c5;
    --blue-main: #ff9ebd;
    --blue-dark: #e66a8d;
    
    --white-glass: rgba(30, 30, 50, 0.85);
    --border-white: rgba(176, 136, 249, 0.5);
    
    --shadow-3d-card: 0 10px 0 rgba(122, 88, 191, 0.3), 0 15px 30px rgba(0, 0, 0, 0.4);
    --shadow-inset-glow: inset 0 4px 10px rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* 🚨 STRICT RULE: System cursor remains untouched! NO custom cursors. */
body {
    background: linear-gradient(135deg, var(--bg-main), var(--bg-sec));
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    transition: background 0.6s ease, color 0.6s ease;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
img { max-width: 100%; display: block; }

/* ==========================================================================
   🫧 3D BACKGROUND PARTICLES (Slow & Smooth)
   ========================================================================== */
#dreamy-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.particle {
    position: absolute;
    opacity: 0.4; /* Reduced opacity to prevent flashing/overloading */
    filter: drop-shadow(0 8px 10px rgba(0,0,0,0.08));
    animation: floatParticle linear infinite;
    transform-style: preserve-3d;
}

.particle-3d { text-shadow: 0 2px 0 #ff9ebd, 0 4px 0 #ff7aa2, 0 6px 8px rgba(0,0,0,0.1); }
body.night-mode .particle-3d { text-shadow: 0 2px 0 #9b72e6, 0 4px 0 #7a58bf, 0 6px 8px rgba(0,0,0,0.3); }

/* Very slow, smooth floating to prevent jumping */
@keyframes floatParticle {
    0% { transform: translateY(110vh) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(0.8); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-20vh) rotateX(90deg) rotateY(90deg) rotateZ(90deg) scale(1.1); opacity: 0; }
}

/* ==========================================================================
   🌸 LOADING SCREEN
   ========================================================================== */
#loading-screen {
    position: fixed; inset: 0; background: var(--bg-main); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s;
}
.loading-content { text-align: center; }
.loading-icons { font-size: 2.5rem; margin-bottom: 1rem; animation: floatObj 3s infinite alternate ease-in-out; }
.loading-bar { width: 250px; height: 16px; background: rgba(255,255,255,0.4); border-radius: 20px; border: 3px solid var(--border-white); margin: 0 auto; overflow: hidden; }
.loading-progress { height: 100%; width: 0%; background: var(--pink-main); border-radius: 20px; animation: load 1.5s ease-out forwards; }
@keyframes load { to { width: 100%; } }

/* ==========================================================================
   🎀 3D TYPOGRAPHY (Soft Depth)
   ========================================================================== */
.\33 d-text {
    font-family: var(--font-heading); color: var(--pink-dark);
    text-shadow: 0 2px 0 var(--pink-shadow), 0 4px 8px rgba(255, 122, 162, 0.2);
    letter-spacing: 1px;
}
body.night-mode .\33 d-text { color: var(--text-main); text-shadow: 0 2px 0 var(--pink-shadow), 0 4px 8px rgba(0,0,0,0.4); }

.section-title { font-size: 3rem; text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; font-size: 1.2rem; margin-bottom: 3rem; font-weight: 700; color: var(--text-light); }

/* ==========================================================================
   🧸 PUFFY 3D BUTTONS (No Bleaching, Smooth Interaction)
   ========================================================================== */
.btn-pookie {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(180deg, var(--pink-light) 0%, var(--pink-main) 100%);
    color: white; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700;
    padding: 12px 28px; border-radius: 50px;
    border: 3px solid var(--border-white);
    box-shadow: var(--shadow-3d-btn), var(--shadow-inset-glow);
    transform: translateY(0); transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative; overflow: hidden;
}
.btn-pookie::after { content: ''; position: absolute; top: 0; left: 15%; width: 70%; height: 25%; background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 100%); border-radius: 50px; }
.btn-pookie:hover { 
    background: linear-gradient(180deg, #ffcde0 0%, #ff8fa3 100%); /* Soft color shift instead of brightness() filter to avoid flashing */
    transform: translateY(-2px); 
    box-shadow: 0 8px 0 var(--pink-shadow), 0 12px 18px rgba(255, 122, 162, 0.25), var(--shadow-inset-glow); 
}
.btn-pookie:active { transform: translateY(4px); box-shadow: var(--shadow-3d-btn-active), var(--shadow-inset-glow); }

.btn-secondary { background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue-main) 100%); box-shadow: 0 6px 0 var(--blue-dark), 0 10px 15px rgba(162, 203, 244, 0.2), var(--shadow-inset-glow); color: #4a7c99; }
.btn-secondary:hover { background: linear-gradient(180deg, #dbedf9 0%, #95c1f0 100%); box-shadow: 0 8px 0 var(--blue-dark), 0 12px 18px rgba(162, 203, 244, 0.25), var(--shadow-inset-glow); }
.btn-secondary:active { box-shadow: 0 2px 0 var(--blue-dark), 0 4px 8px rgba(162, 203, 244, 0.2), var(--shadow-inset-glow); }

.btn-icon { background: white; border: 3px solid var(--border-white); width: 45px; height: 45px; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; font-size: 1.2rem; box-shadow: 0 4px 0 var(--pink-main), var(--shadow-inset-glow); transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.btn-icon:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--pink-main), var(--shadow-inset-glow); background: var(--pink-light); }
.btn-icon:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--pink-main), var(--shadow-inset-glow); }

/* ==========================================================================
   🏠 NAVIGATION
   ========================================================================== */
#navbar { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 95%; max-width: 900px; z-index: 1000; perspective: 1000px; }
.nav-container { background: var(--white-glass); backdrop-filter: blur(10px); border: 3px solid var(--border-white); border-radius: 50px; padding: 10px 25px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 8px 0 rgba(255,255,255,0.4), 0 15px 25px rgba(0,0,0,0.05), var(--shadow-inset-glow); transform-style: preserve-3d; transition: 0.4s; }

.nav-logo { font-size: 1.6rem; font-weight: 700; }
.nav-links { display: flex; gap: 10px; }
.btn-nav { font-weight: 700; padding: 8px 14px; border-radius: 30px; transition: 0.2s ease; color: var(--text-main); }
.btn-nav:hover { background: var(--pink-light); color: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 3px 0 var(--pink-main); }

.nav-controls { display: flex; gap: 10px; }
.mobile-menu-btn { display: none; }

.mobile-nav { position: fixed; inset: 0; background: var(--bg-main); z-index: 1001; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; opacity: 0; pointer-events: none; transition: 0.4s ease; }
.mobile-nav.active { opacity: 1; pointer-events: all; }
.mobile-link { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--pink-dark); }
.close-menu { position: absolute; top: 30px; right: 30px; }

/* ==========================================================================
   🧸 HERO SECTION
   ========================================================================== */
main { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 120px 0; }

#hero { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; padding-top: 100px; }
.hero-content { flex: 1; max-width: 550px; z-index: 10; }
.hero-title { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.8rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text-main); }
.hero-desc { font-size: 1.2rem; color: var(--text-light); font-weight: 700; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* 💻 3D Parallax Scene (Smoothed) */
.hero-3d-scene { flex: 1; position: relative; height: 450px; display: flex; justify-content: center; align-items: center; perspective: 1000px; transform-style: preserve-3d; transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.laptop-3d { position: relative; transform-style: preserve-3d; animation: floatObj 4s ease-in-out infinite; }
.laptop-screen { width: 280px; height: 180px; background: var(--bg-sec); border-radius: 15px 15px 0 0; border: 10px solid var(--pink-main); border-bottom: none; transform: rotateX(15deg); transform-origin: bottom; box-shadow: inset 0 0 20px rgba(0,0,0,0.05), 0 15px 20px rgba(0,0,0,0.05); position: relative; }
.screen-glass { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 50%); border-radius: 8px 8px 0 0; display: flex; justify-content: center; align-items: center; }
.screen-content { font-size: 2.2rem; }
.laptop-base { width: 320px; height: 20px; background: var(--pink-dark); border-radius: 12px; margin-left: -20px; transform: rotateX(25deg) translateZ(10px); box-shadow: 0 20px 30px rgba(255, 122, 162, 0.3), inset 0 6px 8px rgba(255,255,255,0.3); }

.float-dec { position: absolute; font-size: 2.5rem; text-shadow: 0 3px 0 var(--pink-shadow), 0 8px 12px rgba(0,0,0,0.1); transform-style: preserve-3d; }
.d1 { top: 15%; left: 5%; transform: translateZ(40px); animation: floatObj 3s infinite alternate ease-in-out; }
.d2 { top: 25%; right: 10%; transform: translateZ(60px); animation: floatObj 4s infinite alternate-reverse ease-in-out; }
.d3 { bottom: 20%; left: 15%; transform: translateZ(80px); animation: floatObj 2.5s infinite alternate ease-in-out; }
.d4 { bottom: 25%; right: 15%; transform: translateZ(30px); font-size: 1.8rem; animation: floatObj 3.5s infinite alternate-reverse ease-in-out; }
.d5 { top: 45%; left: -5%; transform: translateZ(90px); font-size: 2.2rem; animation: floatObj 4.5s infinite alternate ease-in-out; }
.d6 { top: 55%; right: 0%; transform: translateZ(20px); animation: floatObj 5s infinite alternate-reverse ease-in-out; }
.d7 { bottom: 10%; right: 40%; transform: translateZ(70px); animation: floatObj 3.2s infinite alternate ease-in-out; }

@keyframes floatObj { from { transform: translateY(0); } to { transform: translateY(-15px); } }

/* ==========================================================================
   📦 POOKIE BOX (Smooth Card Base)
   ========================================================================== */
.pookie-box {
    background: var(--white-glass); backdrop-filter: blur(10px);
    border: 4px solid var(--border-white); border-radius: 35px;
    box-shadow: var(--shadow-3d-card), var(--shadow-inset-glow);
    transform-style: preserve-3d; perspective: 1000px;
}
/* Smoothed tilt transition for 3D interactions */
.tilt-element {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

/* ==========================================================================
   📊 STATS
   ========================================================================== */
.stats-container { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.stat-box { padding: 25px 35px; text-align: center; flex: 1; min-width: 180px; }
.stat-box:hover { transform: translateY(-6px) scale(1.02); }
.stat-num { font-family: var(--font-heading); font-size: 3rem; color: var(--pink-dark); line-height: 1; text-shadow: 0 3px 0 var(--pink-shadow); margin-bottom: 5px; }
.stat-label { font-weight: 700; color: var(--text-light); font-size: 1.1rem; }

/* ==========================================================================
   🌸 PROJECTS UNIVERSE
   ========================================================================== */
.project-controls { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 40px; }
.search-box { background: var(--white-glass); padding: 10px 25px; border-radius: 40px; display: flex; align-items: center; gap: 15px; width: 100%; max-width: 450px; border: 3px solid var(--border-white); box-shadow: 0 6px 0 rgba(255,255,255,0.5), inset 0 3px 8px rgba(0,0,0,0.03); transition: 0.3s; }
.search-box input { border: none; outline: none; font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--text-main); width: 100%; background: transparent; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.filter-btn { background: var(--white-glass); border: 3px solid var(--border-white); padding: 8px 20px; border-radius: 30px; font-weight: 700; font-size: 1rem; color: var(--text-light); box-shadow: 0 4px 0 rgba(255,255,255,0.6); transition: 0.2s ease; }
.filter-btn:hover, .filter-btn.active { background: var(--pink-main); color: white; transform: translateY(-2px); box-shadow: 0 6px 0 var(--pink-shadow), inset 0 3px 5px rgba(255,255,255,0.4); border-color: transparent; }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 35px; }

/* 3D Interactive Card */
.project-card { padding: 25px; display: flex; flex-direction: column; position: relative; cursor: pointer; }
.project-card::before { content: '✨'; position: absolute; top: -15px; right: -10px; font-size: 1.8rem; opacity: 0; transition: opacity 0.3s ease, top 0.3s ease; transform: translateZ(30px); text-shadow: 0 2px 0 var(--pink-shadow); }
.project-card:hover::before { opacity: 1; top: -20px; }
.card-content { transform: translateZ(25px); display: flex; flex-direction: column; height: 100%; pointer-events: none; }
.card-img-wrap { width: 100%; height: 180px; border-radius: 20px; border: 4px solid var(--border-white); margin-bottom: 20px; overflow: hidden; box-shadow: 0 8px 15px rgba(0,0,0,0.08); position: relative; }
.card-img { width: 100%; height: 100%; object-fit: cover; }

/* Beautiful CSS Fallback Images */
.card-fallback { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; font-size: 4rem; text-shadow: 0 10px 20px rgba(0,0,0,0.2); }

.card-cat { display: inline-block; background: var(--pink-light); color: var(--pink-dark); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 10px; align-self: flex-start; }
.card-title { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 10px; color: var(--text-main); }
.card-desc { color: var(--text-light); font-size: 1rem; flex-grow: 1; margin-bottom: 20px; font-weight: 700; line-height: 1.5; }
.card-actions { display: flex; gap: 10px; pointer-events: auto; flex-wrap: wrap; }
.btn-small { padding: 8px 16px; font-size: 0.95rem; }

/* ==========================================================================
   🎁 FEATURED (Gift Box Style)
   ========================================================================== */
#featured-container { perspective: 1000px; }
.featured-card { display: flex; padding: 40px; gap: 40px; align-items: center; position: relative; }
.featured-img-wrap { flex: 1; transform: translateZ(40px); border-radius: 25px; border: 5px solid var(--border-white); overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); position: relative; }
.featured-info { flex: 1; transform: translateZ(25px); }
.featured-badge { display: inline-block; background: var(--blue-main); color: white; font-weight: 800; padding: 6px 15px; border-radius: 20px; box-shadow: 0 4px 0 var(--blue-dark); margin-bottom: 15px; font-size: 1rem; }

/* ==========================================================================
   🌷 TIMELINE (3D Path)
   ========================================================================== */
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.timeline-container::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 8px; height: 100%; background: var(--white-glass); border-radius: 20px; border: 3px solid var(--border-white); box-shadow: 0 5px 10px rgba(0,0,0,0.05); }
.timeline-item { display: flex; justify-content: flex-end; padding-right: 50%; position: relative; margin-bottom: 50px; }
.timeline-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: 50%; }
.timeline-dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; background: var(--pink-main); border: 4px solid var(--border-white); border-radius: 50%; z-index: 2; box-shadow: 0 4px 0 var(--pink-shadow); font-size: 1rem; display: flex; justify-content: center; align-items: center; }
.timeline-item:nth-child(odd) .timeline-dot::after { content: '🌸'; }
.timeline-item:nth-child(even) .timeline-dot::after { content: '✨'; }
.timeline-content { padding: 20px; width: 90%; transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.timeline-content:hover { transform: scale(1.03) translateZ(15px); }
.time-cat { color: var(--pink-dark); font-weight: 800; font-size: 0.9rem; margin-bottom: 5px; }

/* ==========================================================================
   💗 ABOUT & ✨ SKILLS
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text { padding: 35px; }
.about-text p { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--text-light); font-weight: 700; line-height: 1.6; }

.desk-setup { position: relative; width: 100%; height: 350px; perspective: 1000px; transform-style: preserve-3d; }
.desk-item { position: absolute; font-size: 3.5rem; filter: drop-shadow(0 8px 10px rgba(0,0,0,0.1)); text-shadow: 0 3px 0 #ff9ebd; }
.i-laptop { top: 30%; left: 25%; font-size: 7rem; z-index: 2; animation: floatObj 4s infinite alternate ease-in-out; }
.i-cup { top: 50%; left: 10%; font-size: 3.5rem; animation: floatObj 3s infinite alternate-reverse ease-in-out; transform: translateZ(40px); }
.i-flower { top: 20%; right: 20%; font-size: 4rem; animation: floatObj 5s infinite alternate ease-in-out; transform: translateZ(60px); }
.i-teddy { top: 45%; right: 10%; font-size: 5rem; z-index: 3; animation: floatObj 3.5s infinite alternate ease-in-out; transform: translateZ(80px); }
.i-strawberry { bottom: 0; left: 45%; font-size: 3rem; animation: floatObj 2.5s infinite alternate-reverse ease-in-out; transform: translateZ(100px); }

.skills-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 800px; margin: 0 auto; perspective: 1000px; }
.skill-item { background: var(--white-glass); border: 3px solid var(--border-white); color: var(--pink-dark); font-family: var(--font-heading); font-size: 1.2rem; padding: 15px 25px; border-radius: 35px; box-shadow: 0 8px 0 rgba(255,255,255,0.6), 0 10px 15px rgba(0,0,0,0.05); animation: floatObj 4s infinite alternate ease-in-out; transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform-style: preserve-3d; }
.skill-item:hover { transform: scale(1.05) translateZ(20px); background: var(--pink-main); color: white; box-shadow: 0 8px 0 var(--pink-shadow), 0 15px 20px rgba(255,122,162,0.3); border-color: transparent; }

/* ==========================================================================
   🐰 GITHUB & 💌 CONTACT
   ========================================================================== */
.github-box { padding: 50px 30px; text-align: center; max-width: 700px; margin: 0 auto; }
.github-content { transform: translateZ(30px); }
.github-content h2 { font-size: 2.8rem; margin-bottom: 15px; }
.github-content p { font-size: 1.2rem; font-weight: 700; color: var(--text-light); margin-bottom: 25px; }

.contact-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   🎁 MODAL (Project Details)
   ========================================================================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: 0.4s ease; padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box { width: 100%; max-width: 800px; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(0.9) rotateX(10deg); transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); padding: 40px; }
.modal-overlay.active .modal-box { transform: scale(1) rotateX(0deg); }
.modal-close { position: absolute; top: 20px; right: 20px; z-index: 10; font-size: 1.2rem; }

.modal-img-wrap { border-radius: 25px; border: 5px solid var(--border-white); overflow: hidden; margin-bottom: 25px; box-shadow: 0 8px 15px rgba(0,0,0,0.08); position: relative; height: 300px; }
.modal-img-wrap .card-fallback { font-size: 6rem; }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.modal-cat { display: inline-block; background: var(--pink-light); color: var(--pink-dark); font-weight: 800; font-size: 1rem; text-transform: uppercase; padding: 6px 15px; border-radius: 20px; margin-bottom: 12px; }
.modal-title { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 15px; color: var(--text-main); }
.modal-desc { font-size: 1.1rem; color: var(--text-light); font-weight: 700; margin-bottom: 25px; line-height: 1.6; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.tech-tag { background: white; border: 2px solid var(--border-white); color: var(--pink-dark); font-weight: 700; padding: 6px 14px; border-radius: 18px; box-shadow: 0 3px 0 rgba(255,255,255,0.8); }

/* ==========================================================================
   🏠 FOOTER
   ========================================================================== */
footer { text-align: center; padding: 50px 20px 30px; margin-top: 80px; border-top: 4px dashed var(--border-white); }
.footer-text { font-weight: 700; color: var(--text-light); font-size: 1.1rem; margin-bottom: 20px; }
.footer-links { display: flex; justify-content: center; gap: 20px; font-weight: 800; color: var(--pink-dark); flex-wrap: wrap; }
.footer-links a { padding: 8px 16px; background: var(--white-glass); border-radius: 30px; border: 3px solid var(--border-white); box-shadow: 0 4px 0 rgba(255,255,255,0.5); transition: 0.2s ease; }
.footer-links a:hover { transform: translateY(-3px); background: var(--pink-main); color: white; box-shadow: 0 6px 0 var(--pink-shadow); border-color: transparent; }

/* ==========================================================================
   ✨ ANIMATIONS & RESPONSIVE
   ========================================================================== */
.section-reveal { opacity: 0; transform: translateY(40px); transition: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.section-reveal.visible { opacity: 1; transform: translateY(0); }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--pink-main); border-radius: 10px; border: 3px solid var(--bg-main); }
::-webkit-scrollbar-thumb:hover { background: var(--pink-dark); }

@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .desk-setup { margin-top: 40px; }
    .featured-card { flex-direction: column; text-align: center; gap: 25px; }
    .timeline-container::before { left: 30px; }
    .timeline-item { justify-content: flex-start !important; padding-right: 0 !important; padding-left: 70px !important; }
    .timeline-dot { left: 30px !important; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: inline-flex; }
    
    #hero { flex-direction: column; text-align: center; padding-top: 130px; }
    .hero-content { margin-bottom: 50px; }
    .hero-buttons { justify-content: center; }
    .hero-3d-scene { height: 300px; transform: scale(0.8); }
    
    .section-title { font-size: 2.2rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .modal-box { padding: 25px; }
    .modal-title { font-size: 2.2rem; }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .tilt-element, .pookie-box { transform: none !important; transition: none !important; }
}