﻿:root {
  --bg: #0f172a;
  --card: #111827;
  --card-2: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --maxw: 1200px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0b1120, #111827);
  line-height: 1.65;
}
a { color: #fde68a; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(94%, var(--maxw)); margin: 0 auto; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid #374151;
  backdrop-filter: blur(8px);
}
body { padding-top: 78px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand h1 { font-size: 1.1rem; margin: 0; color: #fef3c7; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-link:hover { text-decoration: none; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.menu-btn {
  background: #1f2937;
  border: 1px solid #f59e0b;
  color: #fef08a;
  border-radius: 8px;
  width: 44px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 30;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn svg {
  display: block;
  width: 22px;
  height: 18px;
}
.menu-btn .bar {
  display: none;
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 10px;
  overflow-x: auto;
  white-space: nowrap;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  display: none;
}
.drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(300px, 88vw);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #0f172a;
  border-left: 1px solid #f59e0b;
  box-shadow: -8px 0 24px rgba(0,0,0,0.45);
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: right .28s ease;
  padding: 14px;
  padding-top: calc(14px + env(safe-area-inset-top));
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}
.drawer.open { right: 0; }
.drawer-overlay.open { display: block; }
.drawer h3 { margin: 6px 0 12px; color: #fde68a; }
.drawer a {
  display: block;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 9px 10px;
  margin-bottom: 8px;
}
.nav-wrap a {
  display: inline-block;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #374151;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  background: #1f2937;
}
.nav-wrap a:hover {
  background: #374151;
  text-decoration: none;
}
.hero {
  background: radial-gradient(circle at top right, #374151, #111827 45%);
  border: 1px solid #374151;
  margin: 22px 0;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}
.hero img { width: 100%; border-radius: 12px; height: 100%; object-fit: cover; }
.cta {
  display: inline-block;
  background: var(--primary);
  color: #111827;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 10px;
  margin-top: 10px;
}
.cta:hover { background: var(--primary-dark); text-decoration: none; }
.layout { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.card { background: var(--card); border: 1px solid #374151; border-radius: 14px; padding: 18px; }
.card h2, .card h3 { color: #fde68a; }
.grid-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.grid-gallery img { width: 100%; border-radius: 10px; border: 1px solid #374151; }
.download-box { background: #052e16; border: 1px solid #166534; padding: 14px; border-radius: 12px; margin: 20px 0; }
footer { margin-top: 20px; padding: 24px 0 40px; color: var(--muted); text-align: center; }
.footer-links { margin-top: 10px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.footer-links a {
  color: #fde68a;
  border: 1px solid #374151;
  background: #1f2937;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.footer-links a:hover { background: #374151; text-decoration: none; }
.cookie-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 10px;
  padding: 10px 12px;
  z-index: 120;
  display: none;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-text { color: #e5e7eb; font-size: 0.92rem; }
.cookie-btn {
  background: #f59e0b;
  color: #111827;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { padding-bottom: 14px; }
  body { padding-top: 72px; }
  .brand { padding: 12px 0 4px; }
  .nav-wrap { display: none; }
}
@media (max-width: 600px) {
  .brand h1 { font-size: 1rem; }
  .grid-gallery { grid-template-columns: 1fr; }
  .card { padding: 14px; }
  body { font-size: 15px; }
}
