/* ══════════════════════════════════════════════════
   mikusz3 – style.css
   Frutiger Aero / Windows XP / Early-2000s aesthetic
   ══════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cyan-light:   #00e5ff;
  --cyan-mid:     #00bcd4;
  --cyan-deep:    #0097a7;
  --navy:         #003a6e;
  --navy-dark:    #001d3d;
  --green-light:  #a8e063;
  --green-mid:    #43b843;
  --green-dark:   #1b7a1b;
  --white-glass:  rgba(255, 255, 255, 0.72);
  --white-frost:  rgba(255, 255, 255, 0.30);
  --shadow-glow:  0 2px 18px rgba(0, 200, 255, 0.35);
  --font-ui:      'Trebuchet MS', 'Tahoma', Geneva, sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--font-ui);
  font-size: 14px;
  background-color: #001428;
  color: #111;
  cursor: default;
}

/* ── ANIMATED SKY BACKGROUND ──────────────────────── */
body {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, #00c8ff55 0%, transparent 60%),
    radial-gradient(ellipse 120% 80% at 80% 110%, #00ff9022 0%, transparent 55%),
    linear-gradient(170deg,
      #003a6e 0%,
      #0066aa 20%,
      #0097c4 45%,
      #00c9e0 65%,
      #1cb84c 85%,
      #0a5e1e 100%
    );
  background-attachment: fixed;
}

/* ── OUTER WRAPPER ────────────────────────────────── */
#page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── MARQUEE BANNER ───────────────────────────────── */
#top-marquee {
  width: 100%;
  background: linear-gradient(90deg, #001d3d 0%, #003a6e 50%, #001d3d 100%);
  border-bottom: 2px solid var(--cyan-light);
  padding: 4px 0;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

#top-marquee marquee {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.04em;
}

#top-marquee marquee span.accent { color: var(--cyan-light); }
#top-marquee marquee span.green  { color: var(--green-light); }
#top-marquee marquee span.star   { color: #ffdd55; font-size: 16px; }

/* ── HEADER ──────────────────────────────────────── */
#site-header {
  flex-shrink: 0;
  background: linear-gradient(180deg,
    #0072c6 0%,
    #00aadd 40%,
    #00d4b8 75%,
    #22bb44 100%
  );
  border-bottom: 3px solid rgba(255, 255, 255, 0.4);
  padding: 16px 24px 12px 24px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Shiny gloss overlay on header */
#site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border-radius: 0 0 50% 50%;
  pointer-events: none;
}

/* Decorative bubble circles */
#site-header::after {
  content: '○  ◎  ●  ◉  ○';
  position: absolute;
  right: 30px; top: 8px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 28px;
  letter-spacing: 10px;
  pointer-events: none;
}

#logo-text {
  font-size: 42px;
  font-weight: 900;
  font-family: Impact, 'Arial Black', sans-serif;
  letter-spacing: 2px;
  text-shadow:
    2px 2px 0 var(--green-dark),
    -1px -1px 0 rgba(255, 255, 255, 0.5),
    0 0 20px rgba(0, 255, 100, 0.6);
  background: linear-gradient(180deg,
    #c8ff70 0%, #43dd43 40%, #005a00 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  user-select: none;
}

#header-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.80);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  padding-bottom: 4px;
  position: relative;
  z-index: 1;
}

/* ── BODY LAYOUT ──────────────────────────────────── */
#body-layout {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 0;
  min-height: 0;
}

/* ── LEFT SIDEBAR / NAVIGATION ────────────────────── */
#sidebar {
  width: 175px;
  flex-shrink: 0;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(180deg,
    rgba(0, 30, 70, 0.80) 0%,
    rgba(0, 60, 100, 0.65) 100%
  );
  border-right: 2px solid rgba(0, 220, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  min-height: 100%;
}

.nav-section-label {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-light);
  padding: 8px 4px 2px 6px;
  border-top: 1px solid rgba(0, 220, 255, 0.25);
  margin-top: 4px;
}

.nav-section-label:first-child {
  border-top: none;
  margin-top: 0;
}

.nav-btn {
  display: block;
  width: 100%;
  padding: 6px 10px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #003a00;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.08s ease, filter 0.12s ease;

  /* XP-style aqua button gradient */
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.60) 0%,
      rgba(255, 255, 255, 0.10) 50%,
      rgba(0, 0, 0, 0.08) 51%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(180deg,
      #a8f060 0%,
      #55cc33 45%,
      #339911 80%,
      #1a6600 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 5px rgba(0, 0, 0, 0.30);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nav-btn:hover {
  filter: brightness(1.12) saturate(1.2);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 4px 12px rgba(0, 220, 100, 0.45);
}

.nav-btn:active {
  transform: translateY(1px);
  filter: brightness(0.92);
}

.nav-btn.active {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.40) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(0, 0, 0, 0.10) 51%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(180deg,
      #00d4ff 0%,
      #0099cc 45%,
      #006699 80%,
      #003355 100%
    );
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 220, 255, 0.7);
}

/* ── MAIN CONTENT ─────────────────────────────────── */
#main-content {
  flex: 1;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* ── GLASS PANEL (reusable) ───────────────────────── */
.glass-panel {
  background: var(--white-glass);
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow:
    0 4px 20px rgba(0, 100, 200, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

/* Inner gloss shine strip */
.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.0) 100%
  );
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}

.panel-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy-dark);
  border-bottom: 2px solid var(--green-mid);
  padding-bottom: 5px;
  margin-bottom: 10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.panel-title .icon { font-size: 18px; }

.panel-body {
  font-size: 13px;
  color: #1a2a3a;
  line-height: 1.65;
}

/* Welcome / Hero panel */
#welcome-panel {
  background:
    linear-gradient(135deg,
      rgba(0, 200, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.78) 50%,
      rgba(80, 220, 80, 0.18) 100%
    );
  border-color: rgba(0, 180, 220, 0.55);
}

/* Updates list */
.update-list { list-style: none; }

.update-list li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 100, 150, 0.20);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.update-list li:last-child { border-bottom: none; }

.update-date {
  font-size: 11px;
  font-weight: bold;
  color: var(--cyan-deep);
  white-space: nowrap;
  background: rgba(0, 180, 220, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

/* About mini section */
#about-mini {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

#avatar-placeholder {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid rgba(0, 180, 220, 0.7);
  box-shadow: 0 0 12px rgba(0, 220, 180, 0.5);
  background:
    radial-gradient(circle at 35% 30%,
      rgba(255, 255, 255, 0.7) 0%,
      transparent 55%
    ),
    linear-gradient(135deg,
      #00c8ff 0%, #0060aa 50%, #004400 100%
    );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  user-select: none;
}

/* ── FORMULARZ KONTAKTOWY ─────────────────────────────────────── */
.xp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xp-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xp-label {
  font-size: 12px;
  font-weight: bold;
  color: var(--navy-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.xp-input,
.xp-textarea {
  font-family: var(--font-ui);
  font-size: 13px;
  color: #111;
  background: linear-gradient(180deg, #e8f4ff 0%, #ffffff 100%);
  border: 2px inset #7ab0d8;
  border-radius: 3px;
  padding: 5px 8px;
  outline: none;
  box-shadow: inset 0 1px 4px rgba(0, 80, 160, 0.15);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.xp-input:focus,
.xp-textarea:focus {
  border-color: #3a7abf;
  box-shadow:
    inset 0 1px 4px rgba(0, 80, 160, 0.25),
    0 0 0 2px rgba(0, 160, 255, 0.20);
}

.xp-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.xp-submit {
  align-self: flex-start;
  padding: 6px 22px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: bold;
  color: #003a00;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.60) 0%,
      rgba(255, 255, 255, 0.10) 50%,
      rgba(0, 0, 0, 0.08) 51%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(180deg,
      #a8f060 0%,
      #55cc33 45%,
      #339911 80%,
      #1a6600 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 5px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.08s ease, filter 0.12s ease;
}

.xp-submit:hover {
  filter: brightness(1.12) saturate(1.2);
  transform: translateY(-1px);
}

.xp-submit:active {
  transform: translateY(1px);
  filter: brightness(0.92);
}

/* ── STATS / BADGES ROW ───────────────────────────── */
#stats-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-badge {
  flex: 1;
  min-width: 110px;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 3px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.stat-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.5) 0%, transparent 100%
  );
  pointer-events: none;
}

.stat-badge.cyan {
  background: linear-gradient(160deg,
    #b8f4ff 0%, #5ed8f5 50%, #00a8cc 100%
  );
}

.stat-badge.green {
  background: linear-gradient(160deg,
    #c8ffa0 0%, #7edd40 50%, #2a9900 100%
  );
}

.stat-badge.navy {
  background: linear-gradient(160deg,
    #8ac0ff 0%, #4080d0 50%, #00337a 100%
  );
  color: #fff;
}

.stat-badge .stat-num {
  font-size: 26px;
  font-weight: 900;
  font-family: Impact, sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stat-badge .stat-lbl {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
  opacity: 0.8;
}

/* ── FOOTER ───────────────────────────────────────── */
#site-footer {
  flex-shrink: 0;
  background: linear-gradient(90deg,
    #001428 0%, #002244 50%, #001428 100%
  );
  border-top: 2px solid rgba(0, 200, 255, 0.30);
  padding: 12px 20px;
  text-align: center;
  color: rgba(200, 230, 255, 0.70);
  font-size: 12px;
  line-height: 1.8;
}

#site-footer a {
  color: var(--cyan-light);
  text-decoration: none;
}

#site-footer a:hover { text-decoration: underline; }

#site-footer .footer-made {
  color: rgba(150, 210, 150, 0.75);
  font-size: 11px;
}

#site-footer .footer-divider {
  display: inline-block;
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.2);
}

/* ── XP-STYLE SCROLLBAR ───────────────────────────── */
::-webkit-scrollbar { width: 14px; height: 14px; }

::-webkit-scrollbar-track {
  background: linear-gradient(90deg, #e8f8ff, #d0eef8);
  border: 1px solid #bbd8e8;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
    #80d0f0 0%, #40a8d8 40%, #2080b8 100%
  );
  border: 1px solid #5090c0;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,
    #a0e0ff 0%, #60c0e8 40%, #3090d0 100%
  );
}

::-webkit-scrollbar-button {
  background: linear-gradient(180deg,
    #c0e8f8 0%, #80c8e8 100%
  );
  border: 1px solid #5090c0;
  height: 14px;
}

/* ── MISC DECORATIVE ──────────────────────────────── */
.blinking-star {
  animation: blink 1.1s step-start infinite;
  color: #ffee44;
}

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

.dot-divider {
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--cyan-mid) 20%,
    var(--green-mid) 50%,
    var(--cyan-mid) 80%,
    transparent 100%
  );
  border-radius: 2px;
  margin: 4px 0;
}

/* Visitor counter box */
#visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #000814;
  border: 2px inset #446688;
  border-radius: 4px;
  padding: 2px 8px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: bold;
  color: #00ff88;
  letter-spacing: 3px;
  text-shadow: 0 0 8px #00ff88;
  box-shadow: inset 0 0 6px rgba(0, 255, 100, 0.2);
}

/* ── RESPONSIVE TWEAK ─────────────────────────────── */
@media (max-width: 600px) {
  #sidebar { width: 140px; }
  #logo-text { font-size: 30px; }
  #stats-row .stat-badge { min-width: 80px; }
}
