:root {
    --bg-dark: #080808; --neon-red: #DC143C; --neon-cyan: #00f0ff; --neon-green: #0aff0a;
    --text-main: #ffffff; --text-muted: #c0c0c0;
    --font-head: 'Orbitron', sans-serif; --font-body: 'Rajdhani', sans-serif;
    --glass-bg: rgba(15, 15, 15, 0.92); --border-color: rgba(220, 20, 60, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg-dark); color: var(--text-main); font-family: var(--font-body); font-size: 18px; overflow-x: hidden; line-height: 1.6; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--neon-red); border-radius: 4px; }

/* TŁO */
.bg-grid { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 50px 50px; z-index: -3; animation: gridMove 20s linear infinite; }
@keyframes gridMove { 0% { transform: translateY(0); } 100% { transform: translateY(50px); } }
.scanlines { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1)); background-size: 100% 4px; z-index: 999; pointer-events: none; opacity: 0.4; }
.vignette { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 50%, #000 100%); z-index: -2; }

/* NAVBAR */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background: rgba(8, 8, 8, 0.95); border-bottom: 2px solid var(--neon-red); position: sticky; top: 0; z-index: 1000; box-shadow: 0 5px 20px rgba(220, 20, 60, 0.2); }
.logo { font-size: 1.8rem; font-weight: 900; color: #fff; letter-spacing: 1px; text-transform: lowercase; text-shadow: none; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 40px; }
.nav-item { color: var(--text-main); font-weight: 700; font-size: 1rem; position: relative; }
.nav-item::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--neon-red); transition: width 0.3s; }
.nav-item:hover::after { width: 100%; }
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background: var(--text-main); margin: 5px; transition: all 0.3s ease; }

/* TYPO & HERO */
h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.glitch-large { font-size: 4.5rem; position: relative; color: var(--text-main); font-weight: 900; }
.glitch-large::before, .glitch-large::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); }
.glitch-large::before { left: 3px; text-shadow: -2px 0 var(--neon-red); clip: rect(24px, 550px, 90px, 0); animation: glitch-anim 3s infinite linear alternate-reverse; }
.glitch-large::after { left: -3px; text-shadow: -2px 0 var(--neon-cyan); clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2s infinite linear alternate-reverse; }
@keyframes glitch-anim { 0% { clip: rect(10px, 9999px, 30px, 0); } 20% { clip: rect(80px, 9999px, 100px, 0); } 100% { clip: rect(5px, 9999px, 60px, 0); } }

.hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; padding: 0 10%; gap: 60px; flex-wrap: wrap; position: relative; overflow: hidden; }
.hero-desc { font-size: 1.2rem; margin: 20px 0 40px 0; max-width: 500px; color: var(--text-muted); }
.typing-container { font-size: 1.5rem; color: var(--neon-cyan); font-family: 'Courier New', monospace; font-weight: bold; height: 30px; }
.cursor { animation: blink 1s infinite; color: var(--neon-red); }
@keyframes blink { 50% { opacity: 0; } }

.hex-wrap { width: 320px; height: 320px; position: relative; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: linear-gradient(135deg, var(--neon-red), var(--neon-cyan)); padding: 4px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.5)); }
.hex-content { width: 100%; height: 100%; background: #000; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.profile-pic { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* BUTTONS */
.btn-group { display: flex; gap: 20px; }
.btn { padding: 12px 35px; border-radius: 2px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-primary { background: var(--neon-red); color: #fff; border: 1px solid var(--neon-red); box-shadow: 0 0 15px rgba(220, 20, 60, 0.4); }
.btn-primary:hover { background: transparent; color: var(--neon-red); box-shadow: 0 0 25px rgba(220, 20, 60, 0.8); }
.btn-secondary { background: transparent; border: 1px solid var(--neon-cyan); color: var(--neon-cyan); }
.btn-secondary:hover { background: rgba(0, 240, 255, 0.1); box-shadow: 0 0 20px var(--neon-cyan); }
.big-glow { box-shadow: 0 0 30px rgba(220, 20, 60, 0.6); }

/* SEKCJE */
.section { padding: 100px 5%; display: flex; justify-content: center; align-items: center; flex-direction: column; }
.glass-panel { background: var(--glass-bg); border: 1px solid var(--border-color); padding: 50px; border-radius: 8px; box-shadow: 0 0 30px rgba(0,0,0,0.5); position: relative; width: 100%; max-width: 900px; }
.glass-panel::before { content: ''; position: absolute; top: -1px; left: -1px; width: 20px; height: 20px; border-top: 3px solid var(--neon-red); border-left: 3px solid var(--neon-red); }
.glass-panel::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 20px; height: 20px; border-bottom: 3px solid var(--neon-red); border-right: 3px solid var(--neon-red); }
.section-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; color: var(--text-main); }
.decor-line { width: 100px; height: 3px; background: var(--neon-red); margin: -30px auto 40px auto; }

.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.stats-grid { display: flex; flex-direction: column; gap: 20px; border-left: 2px solid var(--neon-red); padding-left: 20px; }
.stat-item strong, .stat-num { display: block; font-size: 2rem; font-weight: 900; color: var(--neon-red); line-height: 1; }

/* SETUP PANEL */
.specs-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; text-align: left; margin-top: 20px; }
.specs-title { font-size: 1.4rem; color: var(--neon-red); margin-bottom: 25px; border-bottom: 1px solid #333; padding-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.specs-list { list-style: none; }
.specs-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.95rem; transition: 0.3s; }
.specs-list li:hover { background: rgba(255, 255, 255, 0.02); padding-left: 10px; border-bottom-color: var(--neon-red); }
.specs-list li:last-child { border-bottom: none; }
.specs-list .label { color: var(--text-muted); font-weight: 600; }
.specs-list .val { color: var(--text-main); font-weight: 700; text-align: right; }
.specs-footer { margin-top: 40px; padding-top: 20px; border-top: 1px dashed #333; text-align: center; font-size: 0.9rem; color: var(--neon-cyan); opacity: 0.8; }

/* DONATE */
.donation-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; width: 100%; margin-top: 30px; }
.donate-card { background: rgba(255,255,255,0.05); border: 1px solid #333; padding: 30px 20px; border-radius: 8px; text-align: center; transition: 0.3s; display: block; }
.donate-card i { font-size: 2.5rem; color: var(--neon-red); margin-bottom: 15px; }
.donate-card h3 { font-size: 1.2rem; margin-bottom: 5px; }
.donate-card p { font-size: 0.9rem; color: var(--text-muted); }
.donate-card:hover { background: var(--neon-red); color: white; transform: scale(1.05); border-color: var(--neon-red); }
.donate-card:hover i, .donate-card:hover p { color: white; }
.donate-card.highlight { border-color: var(--neon-cyan); }
.donate-card.highlight i { color: var(--neon-cyan); }
.donate-card.highlight:hover { background: var(--neon-cyan); color: #000; }
.donate-card.highlight:hover i, .donate-card.highlight:hover p { color: #000; }

/* FORM & FOOTER */
.center-text { text-align: center; }
.contact-form { width: 100%; display: flex; flex-direction: column; align-items: center; margin-top: 30px; }
.input-group { position: relative; width: 100%; margin-bottom: 30px; }
.input-group input, .input-group textarea { width: 100%; padding: 15px; background: rgba(0, 0, 0, 0.5); border: 1px solid #333; border-radius: 4px; color: var(--text-main); font-family: var(--font-body); font-size: 1rem; outline: none; transition: 0.3s; }
.input-group input:focus, .input-group textarea:focus { border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
.input-group label { position: absolute; left: 15px; top: 15px; color: var(--text-muted); pointer-events: none; transition: 0.3s ease; background: transparent; }
.input-group input:focus ~ label, .input-group textarea:focus ~ label, .input-group input:not(:placeholder-shown) ~ label, .input-group textarea:not(:placeholder-shown) ~ label { top: -10px; left: 10px; font-size: 0.8rem; color: var(--neon-cyan); background: var(--bg-dark); padding: 0 5px; }
.alert { width: 100%; padding: 15px; margin-bottom: 20px; border-radius: 4px; font-weight: bold; }
.alert-success { background: rgba(10, 255, 10, 0.1); border: 1px solid var(--neon-green); color: var(--neon-green); }
.alert-error { background: rgba(220, 20, 60, 0.1); border: 1px solid var(--neon-red); color: var(--neon-red); }
.socials { margin-top: 30px; font-size: 1.8rem; }
.socials a { color: var(--text-main); margin: 0 15px; transition: 0.3s; }
.socials a:hover { color: var(--neon-cyan); transform: scale(1.2); }
.footer { margin-top: 50px; font-size: 0.8rem; color: #555; }

/* ANIMACJE */
.hidden-left { opacity: 0; transform: translateX(-50px); filter: blur(5px); transition: all 1s ease; }
.hidden-right { opacity: 0; transform: translateX(50px); filter: blur(5px); transition: all 1s ease; }
.hidden-up { opacity: 0; transform: translateY(50px); filter: blur(5px); transition: all 1s ease; }
.show { opacity: 1; transform: translate(0); filter: blur(0); }

/* MOBILE RESPONSIVE */
@media screen and (max-width: 900px) {
    /* Navbar & Fixed Burger */
    .burger { display: block; z-index: 1001; position: fixed; top: 25px; right: 5%; cursor: pointer; }
    .nav-links { position: fixed; right: 0; top: 0; height: 100vh; width: 70%; background: rgba(8, 8, 8, 0.98); border-left: 2px solid var(--neon-red); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translateX(100%); transition: transform 0.4s ease-in-out; z-index: 1000; padding: 0; margin: 0; }
    .nav-links.nav-active { transform: translateX(0%); }
    .nav-links li { margin: 30px 0; opacity: 0; }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

    /* Hero */
    .hero { padding: 120px 5% 50px 5%; text-align: center; gap: 40px; flex-direction: column; }
    .hero-content { order: 2; width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero-img-container { order: 1; margin-bottom: 20px; }
    .glitch-large { font-size: 9vw; white-space: nowrap; line-height: 1.1; margin-bottom: 10px; }
    .hex-wrap { width: 220px; height: 220px; }
    .btn-group { display: flex; flex-direction: row; gap: 10px; width: 100%; justify-content: center; }
    .btn { width: auto; padding: 12px 15px; margin: 0; font-size: 0.9rem; flex: 1; }
    
    /* Content */
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { flex-direction: row; justify-content: space-around; border-left: none; border-top: 2px solid var(--neon-red); padding-top: 20px; padding-left: 0; }
    .donation-buttons { grid-template-columns: 1fr; }
    .glass-panel { padding: 30px 10px; }

    /* Specyfikacja */
    .specs-container { grid-template-columns: 1fr; gap: 40px; }
    .specs-title { display: flex; justify-content: center; align-items: center; width: 100%; white-space: nowrap; font-size: 4vw; margin-bottom: 20px; }
    .specs-title i { font-size: 4vw; margin-right: 8px; }
    .specs-list li { flex-direction: column; gap: 5px; }
    .specs-list .val { text-align: left; color: var(--neon-cyan); }
    .section-title { font-size: 1.6rem; line-height: 1.3; text-align: center; width: 100%; word-break: normal; overflow-wrap: normal; white-space: normal; }
}
@keyframes navLinkFade { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }