/* ============================================
   EXPLORERJEYKO - DARK THEME
   Vanilla CSS3 - No frameworks
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-elevated: #252535;
    --accent-start: #df0dd8;
    --accent-end: #dd0e72;
    --accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    --neon-pink: #df0dd8;
    --neon-cyan: #00f5ff;
    --neon-purple: #9d4edd;
    --text-primary: #ffffff;
    --text-secondary: #b9bbbe;
    --text-muted: #72767d;
    --status-online: #3ba55d;
    --status-idle: #faa81a;
    --status-dnd: #ed4245;
    --status-offline: #747f8d;
    --glass-bg: rgba(26, 26, 37, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    --nav-height: 64px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(223, 13, 216, 0.3); color: var(--text-primary); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-start); }

.hidden { display: none !important; }

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--accent-start), 0 0 20px rgba(223, 13, 216, 0.4);
}

/* ============================================
   BOOT OVERLAY - TERMINAL STYLE
   ============================================ */
.boot-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000000;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.boot-overlay.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boot-terminal {
    font-family: var(--font-mono);
    color: #ff0000;
    font-size: 16px;
    max-width: 600px;
    width: 90%;
    padding: 40px;
}

.boot-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.boot-prompt {
    color: #ff0000;
    font-weight: 600;
}

.boot-text {
    color: #ff3333;
    min-height: 20px;
}

.boot-cursor {
    color: #ff0000;
    font-weight: 600;
    animation: cursorBlink 0.8s step-end infinite;
}

.boot-status {
    font-family: var(--font-mono);
    color: #ff0000;
    font-size: 14px;
    margin-top: 20px;
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.boot-hint {
    position: absolute;
    bottom: 60px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: #ff0000;
    opacity: 0;
    animation: hintFadeIn 0.5s ease forwards;
    animation-delay: 2.5s;
    letter-spacing: 1px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

@keyframes hintFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 0.6; transform: translateY(0); }
}

/* ============================================
   LOGIN GUI OVERLAY
   ============================================ */
.login-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.login-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--glass-shadow);
    animation: loginPop 0.4s ease;
}

@keyframes loginPop {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.login-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.login-icon {
    width: 40px; height: 40px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-field input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: all var(--transition-normal);
    outline: none;
}

.login-field input:focus {
    border-color: var(--accent-start);
    box-shadow: 0 0 0 3px rgba(223, 13, 216, 0.15);
}

.login-field input::placeholder {
    color: var(--text-muted);
}

.login-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition-normal);
    margin-bottom: 12px;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(223, 13, 216, 0.3);
}

.login-cancel {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.login-cancel:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* ============================================
   WHITEOUT
   ============================================ */
.whiteout-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #ffffff;
    z-index: 99997;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whiteout-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   MAIN SITE
   ============================================ */
.main-site {
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.main-site.hidden {
    display: none;
}

.pixel-grid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 36px; height: 36px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: white;
}

.nav-brand-text {
    font-size: 16px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 8px 18px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    transition: all var(--transition-normal);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    border-color: var(--glass-border);
    background: var(--accent-gradient);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Color Picker */
.color-picker-wrapper {
    position: relative;
    width: 36px; height: 36px;
    cursor: pointer;
}

.color-picker-wrapper input[type="color"] {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    padding: 0;
}

.color-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.color-picker-wrapper:hover .color-icon {
    color: var(--accent-start);
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.login-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(223, 13, 216, 0.3);
}

.login-btn.logout {
    background: rgba(237, 66, 69, 0.15);
    border-color: rgba(237, 66, 69, 0.3);
    color: var(--status-dnd);
}

.login-btn.logout:hover {
    background: var(--status-dnd);
    color: white;
    box-shadow: 0 0 20px rgba(237, 66, 69, 0.3);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px;
    padding-top: calc(var(--nav-height) + 40px);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.pixel-dot {
    width: 8px; height: 8px;
    background: var(--status-online);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    cursor: pointer;
    user-select: none;
}

.title-line {
    display: block;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: chromaShift 4s linear infinite, chromaGlow 2s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(223, 13, 216, 0.6)) drop-shadow(0 0 40px rgba(223, 13, 216, 0.3));
}

.title-line.accent {
    animation: chromaShift 4s linear infinite reverse, chromaGlow 2s ease-in-out infinite 0.5s;
}

.title-line::before,
.title-line::after {
    content: attr(data-text);
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
}

.title-line::before { animation: glitch1 3s infinite linear; }
.title-line::after  { animation: glitch2 3s infinite linear 0.15s; }

@keyframes chromaShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

@keyframes chromaGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(223,13,216,0.6)) drop-shadow(0 0 40px rgba(223,13,216,0.3)) brightness(1); }
    50%      { filter: drop-shadow(0 0 30px rgba(0,245,255,0.7)) drop-shadow(0 0 60px rgba(0,245,255,0.4)) brightness(1.2); }
}

@keyframes glitch1 {
    0%, 92%, 100% { opacity: 0; transform: translate(0); clip-path: inset(0 0 0 0); }
    93% { opacity: 0.8; transform: translate(-3px, 1px); clip-path: inset(20% 0 60% 0); }
    94% { opacity: 0; transform: translate(0); clip-path: inset(0); }
    96% { opacity: 0.6; transform: translate(2px, -1px); clip-path: inset(50% 0 30% 0); }
    97% { opacity: 0; transform: translate(0); clip-path: inset(0); }
}

@keyframes glitch2 {
    0%, 90%, 100% { opacity: 0; transform: translate(0); clip-path: inset(0); }
    91% { opacity: 0.6; transform: translate(2px, -2px); clip-path: inset(40% 0 40% 0); }
    92% { opacity: 0; transform: translate(0); clip-path: inset(0); }
    95% { opacity: 0.8; transform: translate(-2px, 1px); clip-path: inset(10% 0 70% 0); }
    96% { opacity: 0; transform: translate(0); clip-path: inset(0); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-family: var(--font-mono);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.hero-stat svg { color: var(--accent-start); }

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 40px; height: 40px;
    border: 2px solid var(--bg-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.scroll-indicator:hover { border-color: var(--accent-start); }
.scroll-indicator svg { color: var(--text-secondary); }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Floating blocks */
.floating-block {
    position: absolute;
    border-radius: 4px;
    opacity: 0.06;
    pointer-events: none;
}

.block-1 { width: 80px; height: 80px; background: var(--accent-start); top: 20%; left: 10%; animation: float 6s ease-in-out infinite; }
.block-2 { width: 60px; height: 60px; background: var(--accent-end); top: 60%; right: 15%; animation: float 6s ease-in-out infinite -2s; }
.block-3 { width: 40px; height: 40px; background: var(--status-online); bottom: 30%; left: 20%; animation: float 6s ease-in-out infinite -4s; }
.block-4 { width: 100px; height: 100px; background: var(--accent-start); top: 30%; right: 10%; animation: float 6s ease-in-out infinite -1s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-20px) rotate(5deg); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title svg { flex-shrink: 0; }

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============================================
   ABOUT ME SECTION
   ============================================ */
.about-section {
    padding: 80px 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Discord Card */
.discord-card {
    max-width: 480px;
    margin: 0 auto 48px;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.discord-banner {
    height: 100px;
    position: relative;
    overflow: hidden;
}

.banner-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(223,13,216,0.5), rgba(157,78,221,0.4), rgba(0,245,255,0.3));
    animation: bannerShift 8s ease infinite;
}

@keyframes bannerShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50%      { filter: hue-rotate(30deg); }
}

.discord-body {
    padding: 0 24px 24px;
    position: relative;
}

.discord-avatar-wrap {
    position: relative;
    width: 88px; height: 88px;
    margin-top: -44px;
    margin-bottom: 16px;
}

.discord-avatar-img {
    width: 88px; height: 88px;
    border-radius: 50%;
    border: 6px solid var(--bg-secondary);
    object-fit: cover;
    background: var(--bg-tertiary);
}

.discord-status-dot {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 4px solid var(--bg-secondary);
    z-index: 2;
}

.discord-status-dot.online  { background: var(--status-online);  box-shadow: 0 0 10px var(--status-online); }
.discord-status-dot.idle    { background: var(--status-idle);    box-shadow: 0 0 10px var(--status-idle); }
.discord-status-dot.dnd     { background: var(--status-dnd);     box-shadow: 0 0 10px var(--status-dnd); }
.discord-status-dot.offline { background: var(--status-offline); }

.discord-user-info { margin-bottom: 16px; }
.discord-user-info h3 { font-size: 1.375rem; font-weight: 700; }
.discord-user-info span { font-size: 14px; color: var(--text-muted); font-family: var(--font-mono); }

.discord-about {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.discord-about p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.discord-member-since {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.discord-activity {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.activity-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; letter-spacing: 0.5px; }
.activity-content { display: flex; gap: 14px; }
.activity-icon {
    width: 52px; height: 52px;
    background: var(--bg-elevated);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-start);
}

.activity-details { display: flex; flex-direction: column; gap: 2px; }
.activity-name { font-weight: 600; font-size: 14px; }
.activity-detail { font-size: 13px; color: var(--text-secondary); }
.activity-time { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); margin-top: 2px; }

.discord-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--role-color, var(--text-secondary));
    border: 1px solid rgba(255,255,255,0.05);
}
.role-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--role-color, var(--text-muted)); }

/* Socials */
.socials-section { max-width: 480px; margin: 0 auto 48px; }
.socials-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: var(--accent-start);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.social-link svg { flex-shrink: 0; }

.social-link.instagram:hover { border-color: #e1306c; color: #e1306c; }
.social-link.discord:hover   { border-color: #5865f2; color: #5865f2; }
.social-link.github:hover    { border-color: #f0f6fc; color: #f0f6fc; }
.social-link.labymod:hover   { border-color: #ff6b35; color: #ff6b35; }

/* Spotify */
.spotify-section { max-width: 800px; margin: 0 auto; }
.spotify-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spotify-embed-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.spotify-embed-container iframe { display: block; width: 100%; }

/* ============================================
   SKILLS SECTION WITH PROGRESS BARS
   ============================================ */
.skills-section {
    padding: 80px 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.skill-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.skill-row:hover {
    border-color: var(--accent-start);
    background: rgba(223, 13, 216, 0.05);
    transform: translateX(4px);
}

.skill-row.active {
    border-color: var(--accent-start);
    background: rgba(223, 13, 216, 0.1);
}

.skill-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-start);
    flex-shrink: 0;
}

.skill-info { flex: 1; min-width: 0; }

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-years {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    white-space: nowrap;
}

.skill-bar-track {
    width: 100%;
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--accent-gradient);
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 0%;
    box-shadow: 0 0 8px rgba(223, 13, 216, 0.3);
}

/* Skill Description Panel */
.skill-description {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 20px;
    display: none;
    animation: slideDown 0.3s ease;
}

.skill-description.show { display: block; }

.skill-desc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.skill-desc-title { font-weight: 600; font-size: 16px; color: var(--accent-start); }

.skill-desc-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.skill-desc-close:hover { background: var(--bg-elevated); color: var(--text-primary); }

.skill-desc-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CONTACT TERMINAL
   ============================================ */
.contact-section {
    padding: 80px 40px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    z-index: 1;
}

.terminal-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-primary);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--glass-border);
    gap: 12px;
}

.terminal-buttons { display: flex; gap: 8px; }
.term-btn { width: 12px; height: 12px; border-radius: 50%; display: block; }
.term-btn.close    { background: #ff5f56; }
.term-btn.minimize { background: #ffbd2e; }
.term-btn.maximize { background: #27c93f; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.terminal-output { margin-bottom: 20px; }

.terminal-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.terminal-line.output { color: var(--text-secondary); padding-left: 28px; }
.terminal-line .warning { color: var(--status-idle); }

.prompt { color: var(--accent-start); font-weight: 600; flex-shrink: 0; }
.command { color: var(--text-primary); }

/* Form groups with focus glow */
.form-group {
    margin-bottom: 16px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
}

.form-group.focused {
    border-color: var(--accent-start);
    box-shadow: 0 0 0 2px rgba(223, 13, 216, 0.15), 0 0 12px rgba(223, 13, 216, 0.1);
}

.input-line { display: flex; align-items: center; gap: 8px; }

.input-line input,
.input-line textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 4px 0;
}

.input-line input::placeholder,
.input-line textarea::placeholder { color: var(--text-muted); }
.input-line textarea { resize: none; min-height: 80px; }

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(223, 13, 216, 0.3);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.rate-limit-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   FOOTER & IMPRESSUM
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 40px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo {
    width: 36px; height: 36px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--accent-start); }

.impressum-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
}

.impressum-toggle:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.footer-copyright { font-size: 13px; color: var(--text-muted); text-align: center; }

/* Impressum Modal */
.impressum-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.impressum-modal.show { display: flex; }

.impressum-backdrop {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.impressum-content-wrapper {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--glass-shadow);
    z-index: 1;
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

.impressum-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.impressum-close:hover { background: var(--bg-elevated); color: var(--text-primary); }

.impressum-content-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-block { margin-bottom: 20px; }
.legal-block:last-child { margin-bottom: 0; }

.legal-block h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--glass-border);
}

.legal-block p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 10001;
    font-size: 14px;
    font-weight: 500;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon {
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-dashboard {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    display: none;
}

.admin-dashboard:not(.hidden) { display: block; }

.admin-nav { position: relative; }

.admin-content {
    padding: 40px;
    padding-top: calc(var(--nav-height) + 40px);
    max-width: 1100px;
    margin: 0 auto;
}

.admin-title {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dashboard-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 28px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.dashboard-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 245, 255, 0.1);
}

.dashboard-icon {
    width: 44px; height: 44px;
    background: rgba(0, 245, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--neon-cyan);
}

.dashboard-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* Visitor Log */
.visitor-log {
    max-height: 200px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 12px;
}

.visitor-entry {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.visitor-entry:last-child { border-bottom: none; }
.visitor-ip { color: var(--neon-cyan); }
.visitor-time { color: var(--text-muted); }

/* Status Toggles */
.status-list { display: flex; flex-direction: column; gap: 14px; }

.status-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-label {
    flex: 1;
    font-size: 14px;
    color: var(--text-secondary);
}

.status-value {
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--status-online);
    min-width: 60px;
    text-align: right;
}

.status-value.offline { color: var(--status-dnd); }

/* Toggle Switch */
.status-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.status-toggle input {
    opacity: 0;
    width: 0; height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-elevated);
    border-radius: 24px;
    transition: all var(--transition-normal);
    border: 1px solid var(--glass-border);
}

.toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.status-toggle input:checked + .toggle-slider {
    background: rgba(59, 165, 93, 0.2);
    border-color: var(--status-online);
}

.status-toggle input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: var(--status-online);
}

/* Analytics */
.analytics-stats { display: flex; flex-direction: column; gap: 12px; }

.analytics-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.analytics-row:last-child { border-bottom: none; }

.analytics-value {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--neon-cyan);
    font-size: 15px;
}

/* Quick Actions */
.quick-actions { display: flex; flex-direction: column; gap: 8px; }

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.action-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--neon-cyan);
}

.action-btn.danger:hover {
    border-color: var(--status-dnd);
    color: var(--status-dnd);
    background: rgba(237, 66, 69, 0.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .nav-links { display: none; }
    .skills-list { gap: 10px; }
    .skill-row { padding: 12px 14px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .hero { padding: 20px; padding-top: calc(var(--nav-height) + 20px); }
    .about-section, .skills-section, .contact-section { padding: 60px 20px; }
    .admin-content { padding: 20px; padding-top: calc(var(--nav-height) + 20px); }
    .form-actions { flex-direction: column; gap: 16px; }
    .submit-btn { width: 100%; justify-content: center; }
    .socials-grid { grid-template-columns: 1fr; }
    .footer { padding: 30px 20px; }
    .login-panel { padding: 28px 24px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.8rem; }
    .skill-icon { display: none; }
}


/* --- FINALES, SAUBERES LAYOUT (ERSETZE DAMIT ALLES OBEN) --- */

.about-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 30px !important;
    padding: 30px !important;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px) !important;
    max-width: 1000px !important;
    margin: 40px auto !important;
    width: 90% !important;
    flex-wrap: wrap !important;
}

.socials-section, .mc-card {
    flex: 1 1 400px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 300px !important;
}

/* --- Minecraft Widget Inneres --- */
.mc-banner {
    padding: 15px;
    background: var(--bg-tertiary);
    text-align: center;
    font-weight: 600;
    color: var(--neon-cyan);
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
}

.mc-content { padding: 0 10px; }

.mc-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.mc-label { color: var(--text-muted); }
.mc-status-text.online { color: var(--status-online); }
.mc-status-text.offline { color: var(--status-dnd); }

/* --- Mobile Anpassung (Unter 850px) --- */
@media (max-width: 850px) {
    .about-grid {
        flex-direction: column !important;
    }
    .socials-section, .mc-card {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}