:root {
  --bg: #0b0d0d;
  --bg-soft: #101517;
  --panel: rgba(18, 21, 23, 0.88);
  --panel-strong: #141a1d;
  --card: #121719;
  --card-alt: #171d20;
  --text: #f5f1ea;
  --muted: #c5bca8;
  --soft: #e3dccb;
  --line: rgba(214, 177, 102, 0.2);
  --gold: linear-gradient(135deg, #f1d487 0%, #d7af5d 30%, #b98735 100%);
  --gold-strong: #d7af5d;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top, rgba(222, 183, 104, 0.12), transparent 18%),
    linear-gradient(180deg, #0b0d0d 0%, #0d1114 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.profile-menu {
  position: relative;
  display: inline-block;
}

.profile-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

.profile-icon:hover {
  background: rgba(215, 175, 93, 0.12);
  border-color: rgba(215, 175, 93, 0.5);
  transform: translateY(-1px);
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: 52px;
  background: rgba(16, 20, 21, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 180px;
  display: none;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.profile-dropdown a {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.profile-dropdown a:hover {
  background: rgba(215, 175, 93, 0.12);
  color: var(--text);
}

.profile-dropdown hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 14, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

header .flex:first-child,
header .header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}

header img {
  width: 140px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

nav a {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.9;
  transition: color 0.25s ease, opacity 0.25s ease;
}

nav a:hover {
  color: var(--text);
  opacity: 1;
}

footer {
  padding: 28px 20px 36px;
  text-align: center;
  background: #070909;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--soft);
  border-radius: 3px;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 72px;
    right: 20px;
    width: min(260px, 80vw);
    background: rgba(12, 16, 18, 0.96);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    box-shadow: var(--shadow);
  }

  nav a {
    margin: 0;
    width: 100%;
    display: block;
  }

  .menu-toggle {
    display: flex;
  }
}
