/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #0A0A0F;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Color Variables */
:root {
    --neon-blue: #00D9FF;
    --neon-pink: #FF0080;
    --neon-purple: #8B00FF;
    --neon-green: #00FF88;
    --neon-yellow: #FFD700;
    
    --cyber-dark: #0A0A0F;
    --cyber-darker: #05050A;
    --cyber-gray: #1A1A2E;
    --cyber-light: #16213E;
    
    --glass-bg: rgba(26, 26, 46, 0.3);
    --glass-border: rgba(0, 217, 255, 0.3);
}

/* Typography */
.font-cyber {
    font-family: 'Orbitron', monospace;
}

.font-tech {
    font-family: 'Exo 2', sans-serif;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

.neon-glow {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor;
}

.neon-border {
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue), inset 0 0 10px rgba(0, 217, 255, 0.1);
}

/* Color Classes */
.blue { color: var(--neon-blue); }
.pink { color: var(--neon-pink); }
.purple { color: var(--neon-purple); }
.green { color: var(--neon-green); }
.yellow { color: var(--neon-yellow); }

.neon-blue { color: var(--neon-blue); }
.neon-pink { color: var(--neon-pink); }
.neon-purple { color: var(--neon-purple); }
.neon-green { color: var(--neon-green); }
.neon-yellow { color: var(--neon-yellow); }

.highlight-blue { color: var(--neon-blue); }
.highlight-pink { color: var(--neon-pink); }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes pulse-neon {
    0%, 100% { 
        box-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue), 0 0 15px var(--neon-blue);
    }
    50% { 
        box-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue);
    }
}

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-glitch { animation: glitch 0.3s infinite linear alternate-reverse; }
.animate-pulse-neon { animation: pulse-neon 2s ease-in-out infinite; }

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(5, 5, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 20px;
    color: var(--neon-blue);
    text-shadow: 0 0 10px currentColor;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #9ca3af;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-blue);
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--neon-blue);
    transition: all 0.3s ease;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: none;
}

.nav-dots {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--neon-blue);
    animation: pulse 2s infinite;
}

.nav-dot::after {
    content: attr(title);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--cyber-dark);
    border: 1px solid var(--glass-border);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--neon-blue);
    font-family: 'Orbitron', monospace;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-dot:hover::after {
    opacity: 1;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cyber-darker);
    overflow: hidden;
}

.circuit-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 217, 255, 0.3) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.2;
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-blue);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    animation: scanline 3s linear infinite;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
}

.profile-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.profile-ring {
    width: 192px;
    height: 192px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-neon 2s ease-in-out infinite;
}

.profile-gradient {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-inner {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background: var(--cyber-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-text {
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 36px;
    color: var(--neon-blue);
}

.floating-element {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    animation: float 3s ease-in-out infinite;
}

.element-1 {
    top: -16px;
    right: -16px;
    width: 32px;
    height: 32px;
    border-color: var(--neon-pink);
}

.element-2 {
    bottom: -16px;
    left: -16px;
    width: 24px;
    height: 24px;
    border-color: var(--neon-green);
    animation-delay: 1s;
}

.element-3 {
    top: 50%;
    left: -32px;
    width: 16px;
    height: 16px;
    border-color: var(--neon-yellow);
    animation-delay: 2s;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: clamp(3rem, 8vw, 7rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-name {
    color: white;
}

.title-surname {
    color: var(--neon-blue);
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor;
    animation: glitch 0.3s infinite linear alternate-reverse;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 4vw, 2rem);
    color: var(--neon-pink);
    margin-bottom: 1rem;
    font-family: 'Exo 2', sans-serif;
}

.typewriter-container {
    height: 32px;
    margin-bottom: 3rem;
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #d1d5db;
}

.typewriter {
    display: inline-block;
    border-right: 2px solid var(--neon-blue);
    animation: blink 1s infinite;
}

.cursor {
    display: inline-block;
    width: 2px;
    background: var(--neon-blue);
    animation: blink 1s infinite;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.btn {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 18px;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue), inset 0 0 10px rgba(0, 217, 255, 0.1);
    animation: pulse-neon 2s ease-in-out infinite;
}

.btn-primary:hover {
    background: var(--neon-blue);
    color: var(--cyber-dark);
    transform: scale(1.05);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
}

.btn-secondary:hover {
    transform: scale(1.05);
}

.btn-gradient {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
}

.btn-gradient:hover {
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid;
    transition: all 0.3s ease;
}

.btn-outline.blue {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.btn-outline.blue:hover {
    background: var(--neon-blue);
    color: var(--cyber-dark);
}

.btn-outline.pink {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.btn-outline.pink:hover {
    background: var(--neon-pink);
    color: var(--cyber-dark);
}

.btn-outline.green {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.btn-outline.green:hover {
    background: var(--neon-green);
    color: var(--cyber-dark);
}

.btn-outline.yellow {
    border-color: var(--neon-yellow);
    color: var(--neon-yellow);
}

.btn-outline.yellow:hover {
    background: var(--neon-yellow);
    color: var(--cyber-dark);
}

.btn-ghost {
    background: transparent;
    border: 1px solid #6b7280;
    color: #9ca3af;
}

.btn-ghost:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.btn-service {
    width: 100%;
    background: transparent;
    border: 2px solid;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-service::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-service:hover::before {
    transform: translateX(0);
}

.btn-service.pink {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.btn-service.pink::before {
    background: var(--neon-pink);
}

.btn-service.pink:hover {
    color: var(--cyber-dark);
}

.btn-service.blue {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.btn-service.blue::before {
    background: var(--neon-blue);
}

.btn-service.blue:hover {
    color: var(--cyber-dark);
}

.btn-service.green {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.btn-service.green::before {
    background: var(--neon-green);
}

.btn-service.green:hover {
    color: var(--cyber-dark);
}

.btn-service.yellow {
    border-color: var(--neon-yellow);
    color: var(--neon-yellow);
}

.btn-service.yellow::before {
    background: var(--neon-yellow);
}

.btn-service.yellow:hover {
    color: var(--cyber-dark);
}

.full-width {
    width: 100%;
}

.hud-left,
.hud-right {
    position: absolute;
    top: 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
}

.hud-left {
    left: 32px;
}

.hud-right {
    right: 32px;
}

.hud-status {
    color: var(--neon-green);
    margin-bottom: 4px;
}

.hud-location {
    color: var(--neon-blue);
    font-size: 10px;
}

.hud-version {
    color: var(--neon-pink);
    margin-bottom: 4px;
}

.hud-build {
    color: var(--neon-yellow);
    font-size: 10px;
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor;
}

.section-line {
    width: 96px;
    height: 4px;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
}

.section-line.green {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-green));
}

.section-line.pink {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
}

.section-line.yellow {
    background: linear-gradient(90deg, var(--neon-yellow), var(--neon-green));
}

.section-line.blue {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.section-description {
    color: #9ca3af;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Exo 2', sans-serif;
}

/* About Section */
.about {
    background: var(--cyber-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--neon-green);
    margin-right: 12px;
    animation: pulse 2s infinite;
}

.status-dot.purple {
    background: var(--neon-purple);
}

.panel-label {
    color: var(--neon-green);
    font-family: 'Orbitron', monospace;
    font-size: 14px;
}

.bio-text {
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.bio-sub {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.traits-title {
    color: var(--neon-yellow);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    margin-bottom: 1rem;
}

.traits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trait {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.trait:hover {
    transform: scale(1.05);
}

.trait span:last-child {
    color: var(--neon-blue);
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
}

.timeline {
    space: 1.5rem;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 48px;
    width: 2px;
    height: 64px;
    background: linear-gradient(to bottom, var(--neon-blue), transparent);
}

.timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
    background: rgba(0, 217, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-dot.active {
    border-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.2);
    animation: pulse 2s infinite;
}

.timeline-dot.active::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-green);
}

.timeline-dot::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-blue);
}

.timeline-content {
    flex: 1;
}

.timeline-year {
    color: var(--neon-yellow);
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    margin-bottom: 4px;
}

.timeline-title {
    color: white;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
}

.timeline-institution {
    color: #9ca3af;
    font-family: 'Exo 2', sans-serif;
    margin-bottom: 8px;
}

.timeline-badge {
    display: inline-block;
    background: rgba(0, 255, 136, 0.2);
    color: var(--neon-green);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    font-family: 'Orbitron', monospace;
}

/* Skills Section */
.skills {
    background: var(--cyber-darker);
    position: relative;
}

.animated-grid {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: pulse 4s infinite;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-category {
    background: var(--glass-bg);
    border: 1px solid rgba(107, 114, 128, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.skill-category:hover {
    border-color: rgba(0, 217, 255, 0.5);
    transform: scale(1.05);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.skill-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.skill-icon.blue {
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.skill-icon.pink {
    background: rgba(255, 0, 128, 0.2);
    border: 1px solid rgba(255, 0, 128, 0.3);
}

.skill-icon.green {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.skill-icon.yellow {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.skill-category:hover .skill-icon {
    animation: pulse 2s infinite;
}

.skill-title {
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 4px;
    text-shadow: 0 0 10px currentColor;
}

.skill-title.blue { color: var(--neon-blue); }
.skill-title.pink { color: var(--neon-pink); }
.skill-title.green { color: var(--neon-green); }
.skill-title.yellow { color: var(--neon-yellow); }

.skill-count {
    color: #9ca3af;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
}

.skill-list {
    margin-bottom: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.skill-item:hover {
    border-color: rgba(0, 217, 255, 0.3);
}

.skill-item span {
    color: #d1d5db;
    font-family: 'Exo 2', sans-serif;
}

.skill-dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7280;
    animation: pulse 2s infinite;
}

.dot.active {
    background: var(--neon-blue);
}

.dot.active.pink {
    background: var(--neon-pink);
}

.dot.active.green {
    background: var(--neon-green);
}

.dot.active.yellow {
    background: var(--neon-yellow);
}

.skill-progress {
    padding-top: 1rem;
    border-top: 1px solid rgba(107, 114, 128, 0.3);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    color: #9ca3af;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    margin-bottom: 8px;
}

.progress-bar-skill {
    height: 4px;
    background: #374151;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease-out;
}

.progress-fill.blue {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-blue));
}

.progress-fill.pink {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
}

.progress-fill.green {
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
}

.progress-fill.yellow {
    background: linear-gradient(90deg, var(--neon-yellow), var(--neon-blue));
}

.tech-stack {
    text-align: center;
}

.tech-title {
    color: var(--neon-purple);
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tech-tag {
    padding: 8px 16px;
    background: linear-gradient(45deg, var(--cyber-gray), var(--cyber-light));
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    color: var(--neon-blue);
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.tech-tag:hover {
    transform: scale(1.1);
}

/* Projects Section */
.projects {
    background: var(--cyber-dark);
    position: relative;
}

.projects-bg {
    position: absolute;
    inset: 0;
}

.projects-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 217, 255, 0.2), transparent, rgba(255, 0, 128, 0.2));
}

.projects-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 25%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 255, 136, 0.2), transparent, rgba(139, 0, 255, 0.2));
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid rgba(107, 114, 128, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.project-card:hover {
    border-color: rgba(0, 217, 255, 0.5);
    transform: scale(1.02);
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover::after {
    opacity: 1;
}

.project-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.project-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s ease;
}

.project-icon.blue {
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.project-icon.pink {
    background: rgba(255, 0, 128, 0.2);
    border: 1px solid rgba(255, 0, 128, 0.3);
}

.project-icon.green {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.project-icon.yellow {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.project-card:hover .project-icon {
    animation: pulse 2s infinite;
}

.project-title {
    color: white;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--neon-blue);
}

.project-category {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
}

.project-category.blue { color: var(--neon-blue); }
.project-category.pink { color: var(--neon-pink); }
.project-category.green { color: var(--neon-green); }
.project-category.yellow { color: var(--neon-yellow); }

.project-status {
    padding: 4px 12px;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 14px;
}

.project-status.blue {
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--neon-blue);
}

.project-status.pink {
    background: rgba(255, 0, 128, 0.2);
    border: 1px solid rgba(255, 0, 128, 0.3);
    color: var(--neon-pink);
}

.project-status.green {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--neon-green);
}

.project-status.yellow {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--neon-yellow);
}

.project-description {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Exo 2', sans-serif;
}

.project-tech {
    margin-bottom: 2rem;
}

.tech-label {
    color: var(--neon-yellow);
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    margin-bottom: 12px;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-item {
    padding: 4px 12px;
    background: var(--cyber-darker);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 4px;
    color: #d1d5db;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.tech-item:hover {
    border-color: rgba(0, 217, 255, 0.3);
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.projects-cta {
    text-align: center;
}

.cta-title {
    color: var(--neon-purple);
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 1rem;
}

.cta-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-family: 'Exo 2', sans-serif;
}

/* Services Section */
.services {
    background: var(--cyber-darker);
    position: relative;
}

.services-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.services-bg::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 256px;
    height: 256px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1), transparent);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.services-bg::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 25%;
    width: 256px;
    height: 256px;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.1), transparent);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    animation-delay: 2s;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid rgba(107, 114, 128, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    animation: float 3s ease-in-out infinite;
}

.service-card:hover {
    border-color: rgba(0, 217, 255, 0.5);
    transform: scale(1.02);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.service-icon.pink {
    background: rgba(255, 0, 128, 0.2);
    border: 1px solid rgba(255, 0, 128, 0.3);
}

.service-icon.blue {
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.service-icon.green {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.service-icon.yellow {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.service-card:hover .service-icon {
    animation: pulse 2s infinite;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: scanline 3s linear infinite;
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-title {
    color: white;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--neon-blue);
}

.service-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
}

.service-subtitle.pink { color: var(--neon-pink); }
.service-subtitle.blue { color: var(--neon-blue); }
.service-subtitle.green { color: var(--neon-green); }
.service-subtitle.yellow { color: var(--neon-yellow); }

.service-price {
    padding: 8px 16px;
    border-radius: 12px;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
}

.service-price.pink {
    background: rgba(255, 0, 128, 0.2);
    border: 1px solid rgba(255, 0, 128, 0.3);
    color: var(--neon-pink);
}

.service-price.blue {
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--neon-blue);
}

.service-price.green {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--neon-green);
}

.service-price.yellow {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--neon-yellow);
}

.service-description {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Exo 2', sans-serif;
}

.service-features {
    margin-bottom: 2rem;
}

.features-label {
    color: var(--neon-purple);
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(0, 217, 255, 0.3);
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.feature-dot.pink { background: var(--neon-pink); }
.feature-dot.blue { background: var(--neon-blue); }
.feature-dot.green { background: var(--neon-green); }
.feature-dot.yellow { background: var(--neon-yellow); }

.feature-item span {
    color: #d1d5db;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
}

.service-metrics {
    margin-bottom: 2rem;
}

.metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.metric span {
    color: #9ca3af;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
}

.metric-dots {
    display: flex;
    gap: 4px;
}

.metric-dot {
    width: 12px;
    height: 4px;
    border-radius: 2px;
    background: #6b7280;
    animation: pulse 2s infinite;
}

.metric-dot.active.pink { background: var(--neon-pink); }
.metric-dot.active.blue { background: var(--neon-blue); }
.metric-dot.active.green { background: var(--neon-green); }
.metric-dot.active.yellow { background: var(--neon-yellow); }

.services-cta {
    text-align: center;
}

.services-cta .glass-panel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.cta-status {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.cta-title.purple {
    color: var(--neon-purple);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Contact Section */
.contact {
    background: var(--cyber-dark);
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
}

.contact-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    animation: scanline 3s linear infinite;
    opacity: 0.3;
}

.contact-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.3) 1px, transparent 1px);
    background-size: 80px 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    padding: 2rem;
}

.form {
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-label.blue { color: var(--neon-blue); }
.form-label.pink { color: var(--neon-pink); }
.form-label.yellow { color: var(--neon-yellow); }
.form-label.green { color: var(--neon-green); }

.form-input,
.form-textarea {
    width: 100%;
    background: var(--cyber-darker);
    border: 1px solid #6b7280;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6b7280;
}

.form-textarea {
    resize: none;
}

.input-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.input-indicator.blue { background: var(--neon-blue); }
.input-indicator.pink { background: var(--neon-pink); }
.input-indicator.yellow { background: var(--neon-yellow); }
.input-indicator.green { background: var(--neon-green); }

.form-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(107, 114, 128, 0.3);
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    color: #9ca3af;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.contact-item:hover {
    border-color: rgba(0, 217, 255, 0.5);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-icon.blue {
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.contact-icon.green {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.contact-icon.pink {
    background: rgba(255, 0, 128, 0.2);
    border: 1px solid rgba(255, 0, 128, 0.3);
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-label.blue { color: var(--neon-blue); }
.contact-label.green { color: var(--neon-green); }
.contact-label.pink { color: var(--neon-pink); }

.contact-value {
    color: white;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
}

.contact-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.contact-status.blue { background: var(--neon-blue); }
.contact-status.green { background: var(--neon-green); }
.contact-status.pink { background: var(--neon-pink); }

.social-panel {
    padding: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid;
    background: transparent;
    color: inherit;
    font-family: 'Exo 2', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-link.blue {
    border-color: rgba(0, 217, 255, 0.3);
    background: rgba(0, 217, 255, 0.2);
    color: var(--neon-blue);
}

.social-link.blue:hover {
    background: rgba(0, 217, 255, 0.3);
}

.social-link.green {
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.2);
    color: var(--neon-green);
}

.social-link.green:hover {
    background: rgba(0, 255, 136, 0.3);
}

.social-link.pink {
    border-color: rgba(255, 0, 128, 0.3);
    background: rgba(255, 0, 128, 0.2);
    color: var(--neon-pink);
}

.social-link.pink:hover {
    background: rgba(255, 0, 128, 0.3);
}

.status-panel {
    padding: 1.5rem;
}

.status-panel .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.status-panel .panel-label {
    color: var(--neon-yellow);
}

.status-indicators {
    display: flex;
    gap: 4px;
}

.status-info {
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.status-row span:first-child {
    color: #9ca3af;
}

.status-row .green {
    color: var(--neon-green);
}

.status-row .blue {
    color: var(--neon-blue);
}

.status-row .pink {
    color: var(--neon-pink);
}

/* Footer */
.footer {
    background: var(--cyber-darker);
    border-top: 1px solid rgba(0, 217, 255, 0.3);
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 20px;
}

.footer-subtitle {
    color: #9ca3af;
    font-family: 'Exo 2', sans-serif;
    margin-bottom: 1rem;
}

.footer-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    color: #6b7280;
}

.credit-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.credit-dot.green {
    background: var(--neon-green);
}

/* Responsive Design */
@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
    
    .nav-links {
        display: flex;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: row;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .social-links {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .floating-nav {
        display: block;
    }
    
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hud-left,
    .hud-right {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        display: inline-block;
        margin: 0.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}





/* my touch */
/* .hacker-node {
  width: 15px;
  height: 15px;
  background: neon;
  border-radius: 50%;
  cursor: pointer;
  position: absolute; 
} */

.hacker-node {
  position: absolute;
  width: 100px;
  height: 120px;
  background: neon;
  opacity: 0.5;

  z-index: 9999;
}

.terminal {
  position: fixed;
  top: 30%;
  left: 35%;
  background: #111;
  color: #0f0;
  padding: 20px;
  border: 2px solid #0f0;
  font-family: monospace;
  z-index: 9999;
}

.detonation-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: red;
  font-size: 2rem;
  font-family: 'Orbitron', monospace;
  z-index: 10000;
}

.explosion-message {
  font-size: 2rem;
  color: red;
  text-align: center;
  animation: glitch 0.5s infinite;
}

.reset-puzzle {
  position: fixed;
  bottom: 10%;
  left: 10%;
  background: #111;
  color: #0f0;
  padding: 20px;
  z-index: 10001;
  font-family: monospace;
}

.hidden-reset-button {
  font-size: 2rem;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes glitch {
  0% { text-shadow: 2px 2px red; }
  25% { text-shadow: -2px -2px cyan; }
  50% { text-shadow: 2px -2px magenta; }
  75% { text-shadow: -2px 2px lime; }
  100% { text-shadow: 0 0 red; }
}



/* explosion  */
.explosion {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, red, black);
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: flashScreen 0.3s alternate infinite;
}

@keyframes flashScreen {
  0% { background-color: black; }
  100% { background-color: red; }
}

/* Red overlay pulse */
.explosion-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 0, 0, 0.2);
  z-index: 10003;
  pointer-events: none;
  animation: pulseRed 0.2s ease-in-out infinite;
}

/* Flashing glitch text */
.explosion-message {
  font-size: 2.5rem;
  color: #ff0000;
  text-align: center;
  animation: glitchText 0.15s infinite;
  font-family: 'Orbitron', monospace;
}

/* Screen shake effect */
.shake {
  animation: shakeScreen 0.5s ease-in-out infinite;
}

@keyframes pulseRed {
  0%   { background: rgba(255, 0, 0, 0.05); }
  50%  { background: rgba(255, 0, 0, 0.3); }
  100% { background: rgba(255, 0, 0, 0.05); }
}

@keyframes glitchText {
  0%   { transform: translate(1px, 0); }
  25%  { transform: translate(-1px, -1px); }
  50%  { transform: translate(2px, 1px); }
  75%  { transform: translate(-2px, 0); }
  100% { transform: translate(0, 1px); }
}

@keyframes shakeScreen {
  0%   { transform: translate(1px, 1px) rotate(0deg); }
  25%  { transform: translate(-1px, -2px) rotate(-1deg); }
  50%  { transform: translate(-3px, 0px) rotate(1deg); }
  75%  { transform: translate(3px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -1px) rotate(1deg); }
}

.hidden-reset-button {
  position: fixed;
  bottom: 3%;
  right: -15px; /* partially off-screen to the right */
  width: 20px;
  height: 20px;
  font-size: 1.4rem;
  line-height: 20px;
  color: rgba(255, 68, 68, 0.15); /* very faint red */
  cursor: default;
  user-select: none;
  animation: slowPulse 4s infinite;
  text-shadow: 0 0 4px rgba(255, 68, 68, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 
    color 0.3s ease, 
    right 0.3s ease,
    cursor 0.3s ease;
}

.hidden-reset-button:hover {
  color: rgba(255, 68, 68, 0.9);
  cursor: pointer;
  right: 5px; /* slides in on hover */
  text-shadow: 0 0 10px rgba(255, 68, 68, 1);
}

@keyframes slowPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.05); }
}








/* 3 intactive element  */

#terminal-icon {
  position: fixed;
  top: 10px;
  right: 20px;
  font-family: monospace;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  z-index: 9999;
  opacity: 0.3;
  transition: 0.3s;
}
#terminal-icon:hover {
  opacity: 1;
}

.terminal-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  color: #0f0;
  font-family: monospace;
  padding: 30px;
  z-index: 9999;
  overflow-y: auto;
}

.terminal-overlay input {
  background: transparent;
  border: none;
  color: #0f0;
  outline: none;
  font-family: monospace;
  font-size: 16px;
  width: 90%;
}




/* Admin Themed Terminal Styles */

#admin-terminal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0a0a0a; /* very dark background */
  color: #8aff8a; /* bright green text */
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  padding: 20px;
  box-sizing: border-box;
  z-index: 100000;
  display: none; /* hidden by default */
  overflow-y: auto;
  user-select: none; /* disable text selection */
  line-height: 1.3em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar for terminal output */
#admin-terminal-overlay::-webkit-scrollbar {
  width: 8px;
}

#admin-terminal-overlay::-webkit-scrollbar-thumb {
  background-color: #4caf50;
  border-radius: 4px;
}

/* Terminal input container */
#admin-terminal-overlay input#admin-terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: #8aff8a;
  width: 90%;
  font-family: monospace;
  font-size: 16px;
  caret-color: #00ff00; /* bright green caret */
}

/* Input container wrapper */
#admin-terminal-overlay > div:last-child {
  margin-top: 10px;
  color: #555;
  font-size: 12px;
  user-select: text;
}

/* Optional blinking cursor effect */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

#admin-terminal-overlay span.cursor {
  animation: blink 1s infinite;
}

/* You can add a blinking cursor span in your input line if you want */












/* heaven themed */

body.heaven-mode {
  background: linear-gradient(to bottom, #fffbe6, #f0f8ff);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  transition: all 1s ease;
}

body.heaven-mode h1, 
body.heaven-mode h2, 
body.heaven-mode h3, 
body.heaven-mode p {
  color: #ffffff !important;
  text-shadow: 0 0 8px #ffeb3b;
}

body.heaven-mode button,
body.heaven-mode .btn,
body.heaven-mode a {
  background: white;
  border: 2px solid gold;
  color: gold;
  box-shadow: 0 0 10px gold;
  transition: all 0.3s ease;
}

body.heaven-mode .btn:hover {
  background: gold;
  color: white;
}

body.heaven-mode #moon-icon {
  filter: drop-shadow(0 0 6px gold);
}

#moon-icon {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.6;
  z-index: 999;
  transition: 0.3s ease;
}
#moon-icon:hover {
  opacity: 1;
}

/* Optional: Floating particles (if you want to add animation) */



/* find the path game */

#view {
    margin-top: 30px;
}

#mazeContainer {
    top: 15px;
    opacity: 0;
    display: inline-block;
    margin: auto;
    border-radius: 10px;
}
#mazeContainer #mazeCanvas {
    margin: 0;
    display: block;
    border: solid 2px black;
    height: 400px;
}
input, select {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.30);
    height: 45px;
    width: 150px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    color: white;
    display: inline-block;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    appearance: none;
}
input:hover, select:hover {
	background-color: rgba(0, 0, 0, 0.70);
}
input:active, select:active {
	background-color: black;
}
input:focus, select:focus {
	outline: none;
}
.custom-select {
	display: inline-block;
}
.custom-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-position: 125px center;
}
#Message-Container {
    visibility: hidden;
    color: white;
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.30);
    z-index: 1;
}
#Message-Container #message {
    width: 300px;
    height: 300px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -150px;
}
#page {
	text-align: center;
	height: auto;
	width: auto;
	margin: auto;
}
#page #menu {
    margin: auto;
    padding: 10px;
    height: 65px;
    box-sizing: border-box;
}
#page #menu h1 {
    margin: 0;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 3.2rem;
}
#page #view {
    position: absolute;
    top: 65px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
}
.border {
    border: 10px black solid;
    border-radius: 10px;
}

#instructions {
    margin-top: 425px;
}
 
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 400px) {
	input, select {
	    width: 120px;
	}
}