/* ==========================================================================
   GOCMOD.COM // CYBER-MODDER THEME & DESIGN SYSTEM
   Author: Admin GocMod (Farewell & Profile Page)
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-main: #07090e;
    --bg-secondary: #0c1017;
    --bg-card: rgba(15, 20, 30, 0.75);
    --bg-card-hover: rgba(22, 30, 45, 0.85);
    --bg-glass: rgba(13, 17, 23, 0.7);

    --border-color: rgba(0, 255, 136, 0.18);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 255, 136, 0.4);

    /* Accents */
    --neon-green: #00ff88;
    --neon-green-glow: rgba(0, 255, 136, 0.35);
    --android-green: #3ddc84;
    --cyber-cyan: #00e5ff;
    --cyber-purple: #9d4edd;
    --cyber-magenta: #ff007f;
    --cyber-yellow: #ffd166;
    --cyber-red: #ff3366;

    /* Text Colors */
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #586069;
    --text-highlight: #00ff88;

    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions & Shadows */
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-cyber: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    --shadow-neon: 0 0 25px rgba(0, 255, 136, 0.25);
    --shadow-purple: 0 0 25px rgba(157, 78, 221, 0.3);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-green);
}

/* ==========================================================================
   Background Canvas & FX Elements
   ========================================================================== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.65;
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 6px 100%;
    opacity: 0.7;
    display: block;
    transition: opacity 0.3s ease;
}

.crt-overlay.disabled {
    opacity: 0;
    display: none;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.18;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--neon-green);
    top: -100px;
    left: -150px;
    animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--cyber-purple);
    bottom: 10%;
    right: -200px;
    animation: orbFloat 22s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--cyber-cyan);
    top: 45%;
    left: 25%;
    animation: orbFloat 26s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.15); }
    100% { transform: translate(-40px, 80px) scale(0.9); }
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-container {
    padding: 6rem 0;
    position: relative;
}

/* ==========================================================================
   Top HUD Bar
   ========================================================================== */
.top-hud-bar {
    background: rgba(11, 15, 23, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hud-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.hud-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hud-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.hud-btn:hover, .hud-btn.active {
    background: rgba(0, 255, 136, 0.12);
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.2);
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */
.main-header {
    background: rgba(8, 11, 17, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    position: sticky;
    top: 36px;
    z-index: 99;
    transition: var(--transition-smooth);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 229, 255, 0.2));
    border: 1.5px solid var(--neon-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    transition: var(--transition-smooth);
}

.brand-logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.08);
    box-shadow: 0 0 25px var(--neon-green);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.accent-text {
    color: var(--neon-green);
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

.logo-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.08);
}

.nav-link.btn-contact {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(157, 78, 221, 0.15));
    border: 1px solid var(--border-color);
    color: var(--neon-green);
}

.nav-link.btn-contact:hover {
    background: var(--neon-green);
    color: var(--bg-main);
    box-shadow: var(--shadow-neon);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--neon-green);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 5rem 0 4rem;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.cyber-badge-wrapper {
    margin-bottom: 1.5rem;
}

.cyber-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-green);
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.sub-hero {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--cyber-cyan);
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    letter-spacing: 0px;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text-primary);
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--cyber-magenta);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-green);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(15px, 9999px, 40px, 0); }
    20% { clip: rect(60px, 9999px, 85px, 0); }
    40% { clip: rect(30px, 9999px, 70px, 0); }
    60% { clip: rect(90px, 9999px, 120px, 0); }
    80% { clip: rect(10px, 9999px, 45px, 0); }
    100% { clip: rect(75px, 9999px, 110px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(10px, 9999px, 35px, 0); }
    40% { clip: rect(80px, 9999px, 115px, 0); }
    60% { clip: rect(20px, 9999px, 60px, 0); }
    80% { clip: rect(95px, 9999px, 130px, 0); }
    100% { clip: rect(40px, 9999px, 80px, 0); }
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-desc strong {
    color: var(--text-primary);
}

/* Stats Ribbon */
.stats-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-cyber);
}

.stat-card {
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    padding: 0 0.5rem;
}

.stat-card:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-green);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    font-family: var(--font-body);
}

/* Buttons */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--neon-green);
    color: #05070a;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    background: #20ff9a;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: rgba(15, 22, 34, 0.8);
    color: var(--cyber-cyan);
    border: 1px solid rgba(0, 229, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--cyber-cyan);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
}

.btn-glow {
    background: rgba(157, 78, 221, 0.15);
    color: #d8b4fe;
    border: 1px solid rgba(157, 78, 221, 0.4);
}

.btn-glow:hover {
    background: rgba(157, 78, 221, 0.3);
    border-color: var(--cyber-purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow-purple);
}

/* ==========================================================================
   Hero Visual / Avatar Cyber Card
   ========================================================================== */
.avatar-cyber-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-cyber), 0 0 40px rgba(0, 255, 136, 0.1);
    transition: var(--transition-smooth);
}

.avatar-cyber-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: var(--shadow-cyber), 0 0 50px rgba(0, 255, 136, 0.25);
}

.avatar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.avatar-svg-container {
    width: 180px;
    height: 180px;
}

.cyber-avatar-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.3));
}

.spin-slow {
    transform-origin: center;
    animation: spin 20s linear infinite;
}

.spin-reverse {
    transform-origin: center;
    animation: spin 15s linear infinite reverse;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.user-handle {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.user-role {
    font-size: 0.9rem;
    color: var(--neon-green);
    margin-top: 0.2rem;
    font-family: var(--font-mono);
}

.mini-terminal-preview {
    background: #090c12;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.term-line {
    margin: 0.2rem 0;
}

.cmd-prompt {
    color: var(--cyber-cyan);
    font-weight: bold;
}

.text-success { color: var(--neon-green); }
.text-purple { color: #c084fc; }
.text-muted { color: var(--text-muted); }
.text-red { color: var(--cyber-red); }
.highlight-green { color: var(--neon-green); }
.highlight-cyan { color: var(--cyber-cyan); }

.card-footer-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.badge-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   Farewell Letter Section
   ========================================================================== */
.farewell-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-cyber), 0 0 50px rgba(0, 255, 136, 0.08);
}

.farewell-window-header {
    background: #0d111a;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-title {
    color: var(--cyber-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.window-time {
    color: var(--text-muted);
}

.farewell-body {
    padding: 3rem;
}

.farewell-salutation h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
}

.farewell-paragraphs p {
    color: #c9d1d9;
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.farewell-paragraphs strong {
    color: var(--text-primary);
}

.farewell-paragraphs blockquote {
    background: rgba(0, 255, 136, 0.04);
    border-left: 3px solid var(--neon-green);
    padding: 1.25rem 1.75rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    color: #e6edf3;
    font-style: italic;
    font-size: 1.12rem;
    display: flex;
    gap: 1rem;
}

.quote-icon {
    color: var(--neon-green);
    font-size: 1.3rem;
    opacity: 0.7;
}

.farewell-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-subtle);
    display: flex;
    justify-content: flex-end;
}

.signature-details {
    text-align: right;
}

.sig-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--neon-green);
}

.sig-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sig-note {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyber-cyan);
    margin-top: 0.4rem;
}

/* ==========================================================================
   Timeline Section
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-green), var(--cyber-cyan), var(--cyber-purple));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -20px;
    background: #0d121c;
    border: 2px solid var(--neon-green);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-green);
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    transition: var(--transition-smooth);
}

.timeline-item.right .timeline-dot {
    left: -20px;
}

.timeline-item:hover .timeline-dot {
    background: var(--neon-green);
    color: var(--bg-main);
    transform: scale(1.15);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 1.75rem;
    border-radius: 14px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-cyber);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.15);
}

.timeline-content.highlight-item {
    border-color: var(--cyber-purple);
    background: linear-gradient(135deg, rgba(15, 20, 30, 0.9), rgba(40, 20, 60, 0.5));
}

.timeline-year {
    display: inline-block;
    background: rgba(0, 255, 136, 0.12);
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.timeline-item.left .timeline-tags {
    justify-content: flex-end;
}

.timeline-tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cyber-cyan);
    background: rgba(0, 229, 255, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

/* ==========================================================================
   Skills / Arsenal Grid
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.skill-card:hover {
    border-color: var(--border-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-cyber), 0 0 25px rgba(0, 255, 136, 0.15);
}

.skill-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.android-icon {
    background: rgba(0, 255, 136, 0.12);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.sec-icon {
    background: rgba(0, 229, 255, 0.12);
    color: var(--cyber-cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.dev-icon {
    background: rgba(157, 78, 221, 0.12);
    color: #c084fc;
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.rom-icon {
    background: rgba(255, 209, 102, 0.12);
    color: var(--cyber-yellow);
    border: 1px solid rgba(255, 209, 102, 0.3);
}

.skill-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.skill-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.skill-tools {
    list-style: none;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.skill-tools li {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tools li i {
    color: var(--neon-green);
    font-size: 0.75rem;
}

/* ==========================================================================
   Simulator Lab
   ========================================================================== */
.scenario-selector-container {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.scenario-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

.scenario-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.scenario-pill {
    background: rgba(15, 20, 30, 0.85);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.scenario-pill:hover {
    color: var(--text-primary);
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.scenario-pill.active {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 229, 255, 0.15));
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
    font-weight: 600;
}

.simulator-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-cyber);
}

.sim-toolbar {
    background: #0b0f17;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sim-file-info {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-switcher-tabs {
    display: flex;
    background: #06090e;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 3px;
    gap: 4px;
}

.view-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.view-tab:hover {
    color: var(--text-primary);
}

.view-tab.active {
    background: rgba(0, 229, 255, 0.15);
    color: var(--cyber-cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.sim-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.sim-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary-sim {
    background: rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.4);
    color: var(--cyber-cyan);
}
.btn-primary-sim:hover:not(:disabled) {
    background: var(--cyber-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.btn-success-sim {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.4);
    color: var(--neon-green);
}
.btn-success-sim:hover:not(:disabled) {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 15px var(--neon-green);
}

.btn-purple-sim {
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.4);
    color: #d8b4fe;
}
.btn-purple-sim:hover:not(:disabled) {
    background: var(--cyber-purple);
    color: #fff;
    box-shadow: 0 0 15px var(--cyber-purple);
}

.btn-ghost-sim {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-subtle);
    color: var(--text-secondary);
}
.btn-ghost-sim:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.sim-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    filter: grayscale(1);
}

.sim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
}

.sim-panel {
    display: flex;
    flex-direction: column;
}

.code-panel {
    border-right: 1px solid var(--border-subtle);
    background: #080b11;
}

.log-panel {
    background: #06080d;
}

.panel-header {
    background: #0d121c;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.6rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-tag {
    color: var(--cyber-yellow);
    background: rgba(255, 209, 102, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.code-box {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.6;
    overflow-x: auto;
    flex-grow: 1;
    color: #e2e8f0;
}

/* Smali Syntax Colors */
.cm { color: #6e7681; font-style: italic; }
.kd { color: #ff7b72; font-weight: bold; }
.k { color: #79c0ff; }
.v { color: #ffa657; font-weight: bold; }
.t { color: #7ee787; }
.patch-added { background: rgba(0, 255, 136, 0.18); color: var(--neon-green); display: block; border-left: 3px solid var(--neon-green); padding-left: 0.5rem; }
.patch-removed { background: rgba(255, 51, 102, 0.15); color: #ff7b72; text-decoration: line-through; display: block; border-left: 3px solid #ff7b72; padding-left: 0.5rem; }

.console-output {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.6;
    overflow-y: auto;
    max-height: 320px;
    flex-grow: 1;
}

.log-line {
    margin-bottom: 0.4rem;
}

.log-success { color: var(--neon-green); }
.log-info { color: var(--cyber-cyan); }
.log-warn { color: var(--cyber-yellow); }

.pulse-indicator {
    width: 8px;
    height: 8px;
    background: var(--cyber-cyan);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.sim-result-banner {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 229, 255, 0.15));
    border-top: 1px solid var(--neon-green);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.result-icon {
    font-size: 1.8rem;
    color: var(--neon-green);
}

.result-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--neon-green);
}

.result-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   CLI Retro Terminal
   ========================================================================== */
.terminal-container {
    background: #090c14;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-cyber), 0 0 35px rgba(0, 255, 136, 0.12);
}

.terminal-bar {
    background: #0f1420;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.term-dots {
    display: flex;
    gap: 6px;
}

.term-title {
    color: #94a3b8;
}

.term-badge {
    color: var(--neon-green);
    font-size: 0.7rem;
}

.terminal-content {
    padding: 1.5rem;
    min-height: 280px;
    max-height: 480px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.88rem;
}

.ascii-art {
    color: var(--neon-green);
    font-family: var(--font-mono);
    white-space: pre;
    font-size: 0.72rem;
    line-height: 1.2;
    display: block;
    margin-bottom: 1rem;
}

.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.term-user {
    color: var(--cyber-cyan);
    font-weight: 700;
    white-space: nowrap;
}

.term-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    width: 100%;
}

.quick-commands {
    background: #0c101a;
    border-top: 1px solid var(--border-subtle);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chip-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cmd-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cmd-chip:hover {
    background: rgba(0, 255, 136, 0.15);
    border-color: var(--neon-green);
}

/* ==========================================================================
   Contact & Donate
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
}

.contact-card, .donate-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.2rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-cyber);
    transition: var(--transition-smooth);
}

.contact-card:hover, .donate-card:hover {
    border-color: var(--border-color);
}

.contact-card h3, .donate-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(0, 255, 136, 0.06);
    border-color: var(--border-color);
    transform: translateX(4px);
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.tg-admin-color { background: rgba(0, 255, 136, 0.18); color: #00ff88; box-shadow: 0 0 15px rgba(0, 255, 136, 0.2); }
.tg-color { background: rgba(0, 136, 204, 0.15); color: #29b6f6; }
.fb-color { background: rgba(24, 119, 242, 0.15); color: #1877f2; }
.gh-color { background: rgba(255, 255, 255, 0.1); color: #f0f6fc; }
.mail-color { background: rgba(255, 51, 102, 0.15); color: #ff3366; }

.contact-item.highlight-contact {
    border-color: rgba(0, 255, 136, 0.35);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(0, 229, 255, 0.04));
}
.contact-item.highlight-contact:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.contact-info {
    flex-grow: 1;
}

.c-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.c-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.contact-action {
    color: var(--text-muted);
}

.contact-item:hover .contact-action {
    color: var(--neon-green);
}

/* Donate Card */
.donate-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 51, 102, 0.12);
    color: var(--cyber-red);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.qr-box {
    background: #090c14;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.qr-frame {
    width: 110px;
    height: 110px;
    background: #121824;
    border: 2px dashed var(--neon-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-big-icon {
    font-size: 2.2rem;
    color: var(--neon-green);
    margin-bottom: 0.2rem;
}

.qr-text {
    font-size: 0.7rem;
    font-weight: bold;
    color: #e2e8f0;
}

.qr-sub {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.88rem;
}

.bank-row {
    color: var(--text-secondary);
}

.bank-row strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.paypal-icon-color {
    color: #0079C1;
    text-shadow: 0 0 15px rgba(0, 121, 193, 0.5);
}

.paypal-frame {
    border-color: #0079C1 !important;
    background: rgba(0, 121, 193, 0.08) !important;
}

.copyable-inline {
    cursor: pointer;
    text-decoration: underline dotted;
    transition: var(--transition-smooth);
}

.copyable-inline:hover {
    color: var(--neon-green) !important;
    text-shadow: 0 0 8px var(--neon-green);
}

.donate-action-group {
    margin-top: 1.25rem;
}

.btn-paypal-direct {
    background: linear-gradient(135deg, #0079C1, #00457C) !important;
    color: #fff !important;
    border: 1px solid rgba(0, 229, 255, 0.4) !important;
    box-shadow: 0 0 20px rgba(0, 121, 193, 0.35) !important;
    width: 100%;
    justify-content: center;
}

.btn-paypal-direct:hover {
    background: linear-gradient(135deg, #0088dd, #005599) !important;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5) !important;
    transform: translateY(-2px);
}

.thankyou-badge {
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--neon-green);
    font-family: var(--font-mono);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background: #040609;
    border-top: 1px solid var(--border-subtle);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.copyright {
    font-family: var(--font-mono);
    margin-top: 0.2rem;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0d121c;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    box-shadow: var(--shadow-neon);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-bounce);
    pointer-events: none;
}

.toast-popup.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 2rem;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .stats-ribbon {
        max-width: 600px;
        margin: 0 auto 2rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.left, .timeline-item.right {
        left: 0;
        text-align: left;
    }
    
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot {
        left: 11px;
    }
    
    .timeline-item.left .timeline-tags {
        justify-content: flex-start;
    }
    
    .sim-grid {
        grid-template-columns: 1fr;
    }
    
    .code-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #090d16;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.8rem;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .sub-hero {
        font-size: 1.2rem;
    }
    
    .stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card:nth-child(2) {
        border-right: none;
    }
    
    .farewell-body {
        padding: 1.75rem;
    }
    
    .qr-box {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-meta {
        text-align: center;
    }
}
