:root {
  --bg-body: #050509;
  --bg-header: #0b0b10;
  --bg-main: #101018;
  --bg-footer: #050509;
  --text-main: #f5f5f5;
  --text-muted: #aaaaaa;
  --accent: #e0e0e0;
  --accent-strong: #ffffff;
  --link: #4aa3ff;
  --link-hover: #79c2ff;

  /* Chrome-like border gradient */
  --chrome-border: linear-gradient(
    135deg,
    #ffffff 0%,
    #d0d0d0 18%,
    #888888 35%,
    #f8f8f8 52%,
    #777777 70%,
    #e4e4e4 88%,
    #ffffff 100%
  );

  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.75);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  background: radial-gradient(circle at top, #151525 0%, #050509 55%, #000000 100%);
  color: var(--text-main);
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */

.site-header {
  background: radial-gradient(circle at top left, #2e2e3a 0%, #050509 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-size: 1.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--chrome-border);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}
.logo-accent {
  color: #5ec5ff;
}
.logo-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Nav */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-bottom-color: #5ec5ff;
}

/* Mobile nav button */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 24px;
  height: 3px;
  background: #f0f0f0;
  margin: 3px 0;
  border-radius: 999px;
}

/* Main layout */

.site-main {
  flex: 1;
  padding: 24px 18px 40px;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.chrome-card {
  position: relative;
  padding: 2px;
  border-radius: var(--radius-lg);
  background-image: var(--chrome-border);
  box-shadow: var(--shadow-soft);
}

.chrome-card-inner {
  border-radius: calc(var(--radius-lg) - 2px);
  background: radial-gradient(circle at top, #191927 0%, #050509 75%);
  padding: 24px 22px 26px;
}

.page-title {
  font-size: 1.6rem;
  margin: 0 0 14px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.page-subtitle {
  margin: 0 0 20px;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Forms */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(5, 5, 12, 0.9);
  color: var(--text-main);
  outline: none;
}
input:focus,
textarea:focus {
  border-color: #5ec5ff;
  box-shadow: 0 0 0 1px rgba(94, 197, 255, 0.6);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-image: var(--chrome-border);
  color: #050509;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.9);
}
.btn-primary:hover {
  opacity: 0.95;
}

.btn-secondary-link {
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.footer-links a {
  font-size: 0.9rem;
}

.footer-meta p {
  margin: 2px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-meta a {
  font-size: 0.85rem;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 640px;
  width: calc(100% - 28px);
  background: rgba(6, 6, 12, 0.98);
  color: var(--text-main);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 9999;
}

.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
}

.cookie-banner button {
  padding: 6px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background-image: var(--chrome-border);
  color: #050509;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Misc */

.notice-box {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 800px) {
  .header-inner {
    align-items: flex-start;
  }

  .main-nav {
    position: absolute;
    top: 60px;
    right: 18px;
    background: #050509;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 14px;
    display: none;
  }
  .main-nav.nav-open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .chrome-card-inner {
    padding: 18px 16px 22px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
