@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --bg-dark: #050505;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-1: #00f2ea; /* Cyan */
    --neon-2: #ff0055; /* Pink */
    --neon-3: #ffea00; /* Yellow */
    --term-bg: #0f0f0f;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }

body { 
    background-color: var(--bg-dark); 
    color: white; 
    min-height: 100vh; 
    overflow-x: hidden; 
    position: relative; 
}

/* --- 1. FLOATING BACKGROUND --- */
.floating-container { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    pointer-events: none; z-index: 0; overflow: hidden; 
}
.float-letter { 
    position: absolute; bottom: -100px; 
    font-family: 'JetBrains Mono'; font-weight: 900; 
    animation: floatUp linear infinite; 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    opacity: 0.05; 
    user-select: none;
}
@keyframes floatUp { 
    0% { transform: translateY(0) rotate(0deg); opacity: 0; } 
    20% { opacity: 0.1; }
    80% { opacity: 0.1; }
    100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; } 
}

/* --- 2. NAVIGATION --- */
nav { display: flex; justify-content: center; padding: 15px; position: fixed; top: 0; width: 100%; z-index: 100; backdrop-filter: blur(15px); background: rgba(0,0,0,0.7); border-bottom: 1px solid var(--glass-border); }
nav ul { display: flex; list-style: none; gap: 15px; background: rgba(255,255,255,0.05); padding: 8px 25px; border-radius: 50px; border: 1px solid var(--glass-border); flex-wrap: wrap; justify-content: center;}
nav a { text-decoration: none; color: #ccc; font-weight: 600; transition: 0.3s; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }
nav a:hover, nav a.active { color: white; text-shadow: 0 0 10px var(--neon-1); transform: scale(1.05); }

/* --- 3. HERO & LAYOUT --- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; height: 35vh; min-height: 280px; justify-content: center; margin-top: 60px; z-index: 2; position: relative; }
.name-container { font-size: 3.5rem; font-weight: 900; color: white; letter-spacing: 2px; min-height: 70px; }
.name-colorful {
    background: linear-gradient(90deg, #00f2ea, #ff0055, #ffea00, #00f2ea);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s linear infinite;
    text-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
}
.cursor-main { border-right: 3px solid var(--neon-1); animation: blink 0.8s infinite; display: inline-block; height: 1.1em; vertical-align: bottom;}

.main-layout { display: grid; grid-template-columns: 380px 1fr; gap: 40px; max-width: 1400px; margin: 20px auto; padding: 0 30px; z-index: 2; position: relative; }
.sidebar { display: flex; flex-direction: column; gap: 25px; }

/* --- 4. 3D TILT TERMINAL --- */
.terminal-wrapper {
    perspective: 1500px; margin-bottom: 40px; display: flex; justify-content: center;
}
.terminal-monitor {
    width: 100%; height: 320px;
    background: rgba(15, 15, 15, 0.95);
    border-radius: 12px; border: 1px solid #333;
    font-family: 'JetBrains Mono', monospace;
    display: flex; flex-direction: column;
    transform: rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(0, 242, 234, 0.1);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.terminal-monitor:hover { transform: rotateY(0deg) rotateX(0deg) scale(1.02); z-index: 10; }
.terminal-header { background: #1a1a1a; padding: 8px 15px; display: flex; justify-content: space-between; border-radius: 12px 12px 0 0; border-bottom: 1px solid #333; }
.dot { height: 10px; width: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.code-editor { flex: 1; padding: 15px; color: #d4d4d4; overflow: hidden; background: #0f0f0f; font-size: 0.85rem; }
.terminal-output { height: 80px; background: #000; border-top: 1px solid #333; padding: 10px; font-size: 0.8rem; color: var(--neon-1); border-radius: 0 0 12px 12px; }

/* --- 5. REVIEWS (Overhaul) --- */
.review-form-container { background: rgba(20,20,20,0.6); border: 1px solid var(--glass-border); padding: 25px; border-radius: 16px; margin-bottom: 30px; }
.input-group { margin-bottom: 15px; }
.input-group input, .input-group textarea { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid #333; padding: 12px; color: white; border-radius: 6px; outline: none; transition: 0.3s; }
.input-group input:focus, .input-group textarea:focus { border-color: var(--neon-3); box-shadow: 0 0 10px rgba(255,234,0,0.1); }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.review-card { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 20px; border-radius: 12px; position: relative; overflow: hidden; transition: 0.3s; }
.review-card:hover { transform: translateY(-3px); border-color: var(--neon-3); background: rgba(255,255,255,0.05); }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: #333; }

/* --- 6. ADMIN DASHBOARD --- */
.admin-container { max-width: 1200px; margin: 100px auto; padding: 20px; display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
.admin-nav { display: flex; flex-direction: column; gap: 10px; }
.admin-btn { padding: 15px; background: #111; border: 1px solid #333; color: #aaa; cursor: pointer; text-align: left; border-radius: 8px; transition: 0.3s; }
.admin-btn:hover, .admin-btn.active { background: var(--neon-2); color: white; font-weight: bold; border-color: var(--neon-2); box-shadow: 0 0 15px rgba(255,0,85,0.3); }

.admin-panel { background: #111; border: 1px solid #333; border-radius: 16px; padding: 30px; min-height: 500px; position: relative; }
.panel-section { display: none; animation: fadeIn 0.4s ease; }
.panel-section.active { display: block; }

.form-input { width: 100%; padding: 12px; margin-bottom: 12px; background: #222; border: 1px solid #444; color: white; border-radius: 6px; }
.btn-submit { width: 100%; padding: 12px; background: var(--neon-1); border: none; font-weight: bold; border-radius: 6px; cursor: pointer; color: black; }
.delete-btn { background: #ff0000; color: white; padding: 5px 10px; border: none; border-radius: 4px; cursor: pointer; float: right; }

/* --- 7. SLIDING BUTTONS (Contact) --- */
.slide-btn { display: block; position: relative; height: 60px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; text-decoration: none; color: white; margin-bottom: 20px; transition: 0.3s; }
.btn-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: bold; font-family: 'JetBrains Mono'; transition: 0.4s ease-in-out; }
.btn-content.hover-msg { transform: translateY(100%); background: var(--neon-1); color: black; font-weight: 800; }
.slide-btn:hover .original { transform: translateY(-100%); }
.slide-btn:hover .hover-msg { transform: translateY(0); }
.email:hover .hover-msg { background: var(--neon-2); color: white; }

/* Utils */
.glass-panel { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 30px; }
.profile-pic { width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--neon-2); margin: 0 auto 20px; display: block; }
.hover-zoom { transition: transform 0.2s; display: inline-block; }
.hover-zoom:hover { transform: scale(1.05); }

@keyframes gradientMove { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes blink { 0%, 100% { border-color: transparent; } 50% { border-color: var(--neon-1); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) { .main-layout, .admin-container { grid-template-columns: 1fr; } .sidebar { order: 2; } .terminal-monitor { height: 260px; } }
