:root {
  --white: #F5F5F5;
  --gray: #B9B9B9;
  --blue: #5884ED;
  --blue-deep: #4078EC;
  --navy: #0E2959;
  --black: #161719;
  --purple: var(--blue-deep);
  --pink: var(--blue);
  --accent: var(--blue-deep);
  --accent-2: var(--blue);
  --bg-dark: var(--black);
  --card: rgba(245, 245, 245, 0.045);
  --text: var(--white);
  --muted: var(--gray);
  --radius: 18px;
  --radius-sm: 12px;
  --border: rgba(245, 245, 245, 0.08);
  --surface: rgba(14, 41, 89, 0.42);
  --gradient: linear-gradient(135deg, #5884ED 0%, #4078EC 55%, #0E2959 100%);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --glow: 0 0 40px rgba(64, 120, 236, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

::selection {
  background: rgba(64, 120, 236, 0.35);
  color: #F5F5F5;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  background-color: #161719;
  background-image:
    radial-gradient(900px 420px at 8% -10%, rgba(88, 132, 237, 0.16), transparent 55%),
    radial-gradient(700px 380px at 92% 8%, rgba(14, 41, 89, 0.55), transparent 50%),
    radial-gradient(800px 480px at 50% 110%, rgba(14, 41, 89, 0.45), transparent 55%);
  background-attachment: fixed;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header styles live in components/SiteHeader.css */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 72px 0 40px;
  gap: 48px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(64, 120, 236, 0.28);
  background: rgba(64, 120, 236, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-left h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-left p {
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  font-size: 16.5px;
  margin: 0;
}
.hero-ctas {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.hero-stat {
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
}
.hero-stat strong {
  display: block;
  font-size: 18px;
  color: var(--text);
}
.hero-stat span {
  color: var(--muted);
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn.primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 28px rgba(64, 120, 236, 0.35);
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(64, 120, 236, 0.5);
}
.btn.ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.btn.ghost:hover {
  border-color: rgba(64, 120, 236, 0.45);
  background: rgba(64, 120, 236, 0.1);
  transform: translateY(-2px);
}
.btn.small { padding: 7px 12px; font-size: 13px; }

.hero-right {
  position: relative;
  flex-shrink: 0;
}
.hero-right::after {
  content: "";
  position: absolute;
  inset: 18% -8%;
  background: radial-gradient(circle, rgba(64, 120, 236, 0.28), transparent 65%);
  z-index: -1;
  filter: blur(12px);
}
.hero-right img {
  width: min(500px, 42vw);
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--glow);
  display: block;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}
.section-head p {
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.6;
}

.features,
.activities {
  padding: 28px 0 8px;
}
.features h2,
.activities h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(10px);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(64, 120, 236, 0.35);
  box-shadow: var(--shadow);
}
.card .icon-wrap,
.card i {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
}
.card h3 {
  color: var(--text);
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14.5px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.activity {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: 0.25s ease;
}
.activity:hover { transform: translateY(-3px); border-color: rgba(64, 120, 236, 0.35); }

.activities { margin-top: 48px; }
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text);
  margin: 0 0 28px;
  letter-spacing: -0.03em;
  text-align: center;
}

.card-activity {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card-activity:hover {
  transform: translateY(-4px);
  border-color: rgba(64, 120, 236, 0.35);
  box-shadow: var(--shadow);
}
.card-activity .thumb {
  width: 100%;
  height: 180px; /* můžeš upravit podle potřeby */
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.card-activity .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* zajistí, že se obrázek přizpůsobí */
  transition: transform 0.3s ease;
}

.card-activity:hover .thumb img {
  transform: scale(1.05); /* jemný efekt při najetí */
}

.card-activity h3 { font-family: 'Poppins', sans-serif; font-size: 20px; margin-bottom: 10px; color: var(--pink); }
.card-activity p { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: 18px; }

/* Nová aktivita design */
.card-activity-new {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.card-activity-new:hover {
  transform: translateY(-4px);
  border-color: rgba(64, 120, 236, 0.35);
  box-shadow: var(--shadow);
}

.card-activity-new .thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-activity-new .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-activity-new:hover .thumb img {
  transform: scale(1.05);
}

.card-activity-new h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  margin: 20px 20px 16px 20px;
  color: var(--text);
  text-align: left;
}

.activity-info {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 0 20px 20px 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  border: 1px solid;
  white-space: nowrap;
}

.info-badge i {
  font-size: 14px;
}

.info-badge.low {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}
.info-badge.medium {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}
.info-badge.high {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.info-badge.time {
  background: rgba(64, 120, 236, 0.1);
  border-color: rgba(64, 120, 236, 0.28);
  color: #5884ED;
}
.info-badge.money {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: #e2e8f0;
}

/* Riziko Badge */
.badge { display: inline-block; padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; color: #fff; }
.badge.low { background: #5884ED; }     /* nízké riziko - světle modrá */
.badge.medium { background: #4078EC; }  /* střední riziko - modrá */
.badge.high { background: #0E2959; }    /* kritické - tmavší modrá */

/* Footer styles live in components/SiteFooter.css */

/* Responsive */
@media (max-width: 980px) {
  .hero { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero-left p { margin: 0 auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .hero-kicker { margin-left: auto; margin-right: auto; }
  .hero-right img { width: min(100%, 520px); }
    .activity-grid { grid-template-columns: 1fr; }
  .card { text-align: center; }
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, rgba(64, 120, 236, 0.15), rgba(88, 132, 237, 0.15));
  border: 2px solid rgba(64, 120, 236, 0.6);
  border-radius: var(--radius);
  padding: 50px;
  max-width: 700px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(64, 120, 236, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: slideUp 0.4s ease;
  backdrop-filter: blur(15px);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content h2 {
  font-size: 3.5rem;
  margin: 0 0 15px 0;
  color: var(--text);
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-content p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 35px 0;
  line-height: 1.6;
}

.server-info-modal {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(64, 120, 236, 0.3);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
}

.server-info-modal h3 {
  font-size: 1.5rem;
  color: var(--purple);
  margin: 0 0 25px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.server-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 20px;
}

.server-stats .stat {
  flex: 1;
  min-width: 150px;
}

.server-stats .stat i {
  font-size: 2.5rem;
  color: var(--purple);
  margin-bottom: 10px;
  display: block;
}

.server-stats .stat p {
  font-size: 1.8rem;
  margin: 10px 0;
  color: var(--text);
  font-weight: 600;
}

.server-stats .stat small {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

#statusIcon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin: 0;
  color: #22c55e;
}

.modal-content .btn {
  min-width: 200px;
  font-size: 1rem;
  padding: 12px 30px;
}

/* AUTH SECTION */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-box {
  width: 100%;
  max-width: 450px;
  background: rgba(22, 23, 25, 0.6);
  border: 1px solid rgba(64, 120, 236, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideIn 0.4s ease-out;
}

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

/* AUTH TABS */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(64, 120, 236, 0.05);
  border-bottom: 1px solid rgba(64, 120, 236, 0.2);
}

.tab-btn {
  padding: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

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

.tab-btn.active {
  color: var(--purple);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

/* AUTH FORMS */
.auth-form {
  display: none;
  padding: 40px;
  animation: fadeIn 0.3s ease-out;
}

.auth-form.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.auth-form h2 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  color: var(--text);
}

.form-subtitle {
  margin: 0 0 25px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* FORM GROUP */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-group label i {
  margin-right: 8px;
  color: var(--purple);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(64, 120, 236, 0.2);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(64, 120, 236, 0.5);
  box-shadow: 0 0 10px rgba(64, 120, 236, 0.1);
}

.form-group input::placeholder {
  color: var(--muted);
}

.form-group small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* CHECKBOXES */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: var(--purple);
}

.checkbox span {
  color: var(--text);
  font-size: 0.9rem;
}

.checkbox a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
}

.checkbox a:hover {
  text-decoration: underline;
}

/* FORM OPTIONS */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.forgot-link {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: var(--purple);
}

/* BUTTONS */
.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(64, 120, 236, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* DIVIDER */
.form-divider {
  text-align: center;
  margin: 25px 0;
  color: var(--muted);
  position: relative;
}

.form-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: rgba(64, 120, 236, 0.2);
  transform: translateY(-50%);
  z-index: 0;
}

.form-divider {
  position: relative;
  z-index: 1;
  background: rgba(22, 23, 25, 0.6);
  padding: 0 10px;
  display: inline-block;
  width: 100%;
  margin-left: -40px;
  margin-right: -40px;
  padding-left: 40px;
  padding-right: 40px;
}

/* SOCIAL LOGIN */
.social-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 25px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(64, 120, 236, 0.2);
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-social:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(64, 120, 236, 0.4);
}

.btn-social.discord:hover {
  color: #7289da;
  border-color: #7289da;
}

.btn-social.steam:hover {
  color: #1b2838;
  border-color: #1b2838;
}

/* AUTH SWITCH */
.auth-switch {
  text-align: center;
  color: var(--muted);
  margin: 0;
}

.switch-tab {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  cursor: pointer;
}

.switch-tab:hover {
  color: var(--pink);
}

/* SUCCESS MESSAGE */
.success-message {
  text-align: center;
  padding: 60px 40px !important;
}

.success-message i {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 20px;
  display: block;
}

.success-message h2 {
  color: #22c55e;
  margin-bottom: 10px;
}

.success-message p {
  color: var(--muted);
  margin-bottom: 30px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .auth-box {
    max-width: 100%;
  }

  .auth-form {
    padding: 30px 20px;
  }

  .form-divider {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .social-login {
    grid-template-columns: 1fr;
  }
}

/* TOAST NOTIFICATIONS */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(22, 23, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast.show {
  transform: translateX(0);
}

.toast i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(22, 23, 25, 0.95);
}

.toast-error i {
  color: #ef4444;
}

.toast-success {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(22, 23, 25, 0.95);
}

.toast-success i {
  color: #22c55e;
}

@media (max-width: 600px) {
  .toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}




.step-card .step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  background: var(--gradient);
  color: #fff;
  margin-bottom: 14px;
  font-size: 14px;
}

.cookies {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(22, 23, 25, 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.cookies p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #161719; }
::-webkit-scrollbar-thumb {
  background: rgba(64, 120, 236, 0.28);
  border-radius: 999px;
}

.site-progress-track {
  position: fixed;
  top: var(--site-header-bottom, 68px);
  left: 0;
  right: 0;
  z-index: 99;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.site-progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(64, 120, 236, 0.35);
  transition: width 0.12s linear;
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; }
  .cookies { flex-direction: column; align-items: stretch; text-align: center; }
}

