/* -------------------- GLOBAL RESET / VARIABLES -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0c10;
  --surface: #11151c;
  --gold: #c9a03d;
  --gold-light: #e3bc6e;
  --gold-dim: rgba(201, 160, 61, 0.12);
  --gold-border: rgba(201, 160, 61, 0.25);
  --text-primary: #f5f3ef;
  --text-muted: #a9a6a0;
  --nav-height: 72px;
  --transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

body {
  background: linear-gradient(145deg, #0e1219 0%, #080b10 100%);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* ------------- MODERN LUXURY NAVIGATION ------------- */
.kt-nav {
  position: sticky;
  top: 0;
  z-index: 1050;
  width: 100%;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border);
  transition: var(--transition);
}

.kt-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.kt-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(201, 160, 61, 0.3);
}

.logo-icon i {
  font-size: 24px;
  color: #0a0c10;
}

.logo-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(130deg, #fff 20%, var(--gold-light) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.3px;
}

.logo-text span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

/* Desktop Menu */
.kt-menu {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.kt-menu-item {
  position: relative;
}

.kt-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 40px;
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.2px;
}

.kt-menu-link i {
  font-size: 0.8rem;
  color: var(--gold);
  transition: transform 0.2s;
}

.kt-menu-link:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
}

.kt-menu-item:hover .kt-menu-link i {
  transform: rotate(180deg);
}

/* Dropdown */
.kt-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.7);
  z-index: 1100;
}

.kt-menu-item:hover .kt-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.kt-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #cfcdc5;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 450;
  transition: 0.18s;
}

.kt-dropdown a i {
  width: 20px;
  color: var(--gold);
  font-size: 0.9rem;
}

.kt-dropdown a:hover {
  background: var(--gold-dim);
  color: white;
}

/* Right actions */
.kt-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-outline-gold {
  border: 1px solid var(--gold-border);
  background: transparent;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--gold-light);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: white;
}

.btn-solid-gold {
  background: linear-gradient(105deg, #b88b2c, #e0b04b);
  border: none;
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #0a0c10;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 5px 12px rgba(201, 160, 61, 0.3);
  cursor: pointer;
}

.btn-solid-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -8px rgba(201, 160, 61, 0.5);
  color: #000;
}

/* Account dropdown */
.kt-account {
  position: relative;
}

.acc-trigger {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 40px;
  padding: 5px 16px 5px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, var(--gold), #cd9f3a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: #111;
}

.acc-trigger span:not(.avatar) {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.acc-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: 0.2s;
  z-index: 1100;
}

.kt-account:hover .acc-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.acc-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #cfcdc5;
  text-decoration: none;
  font-size: 0.85rem;
}

.acc-dropdown a i {
  width: 22px;
  color: var(--gold);
}

.acc-dropdown a:hover {
  background: var(--gold-dim);
  color: white;
}

.divider {
  height: 1px;
  background: var(--gold-border);
  margin: 6px 8px;
}

/* Mobile toggler */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: 0.2s;
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  width: 100%;
  background: rgba(10, 12, 16, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gold-border);
}

/* Responsive */
@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }
  .kt-menu,
  .kt-actions {
    display: none;
  }
  .mobile-panel.open {
    display: block;
  }
  .kt-container {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 20px;
  }
  .mobile-menu-list {
    flex-direction: column;
    gap: 0px;
    padding: 12px 0 8px;
  }
  .mobile-menu-list .kt-menu-item {
    width: 100%;
  }
  .kt-menu-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .kt-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    padding-left: 28px;
    display: none;
    margin-top: 0;
  }
  .kt-menu-item.open-drop .kt-dropdown {
    display: block;
  }
  .mobile-actions {
    padding: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--gold-border);
    margin-top: 6px;
  }
  .mobile-actions .btn-solid-gold,
  .mobile-actions .btn-outline-gold {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo-text h2 {
    font-size: 1.3rem;
  }
  .kt-container {
    padding: 0 16px;
  }
}

/* Modal Styles */
.modal-luxury .modal-content {
  background: #11151cee;
  backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  border-radius: 32px;
  color: white;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6);
}

.modal-luxury .modal-header {
  border-bottom-color: var(--gold-border);
  padding: 1.5rem 1.8rem 0.5rem 1.8rem;
}

.modal-luxury .modal-body {
  padding: 1.8rem;
}

.modal-luxury .btn-close-custom {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #aaa;
  transition: 0.2s;
}

.modal-luxury .btn-close-custom:hover {
  color: var(--gold);
}

.form-gold {
  background: #1a1f29;
  border: 1px solid #2a2f3a;
  border-radius: 28px;
  padding: 12px 20px;
  color: white;
  width: 100%;
  transition: 0.2s;
}

.form-gold:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 160, 61, 0.3);
  background: #1f2430;
}

.btn-modal-gold {
  background: linear-gradient(105deg, #c9a03d, #e0b04b);
  border: none;
  border-radius: 40px;
  font-weight: 600;
  padding: 12px 0;
  color: #0a0c10;
  width: 100%;
  transition: 0.2s;
}

.btn-modal-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 160, 61, 0.4);
}

.auth-switch {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.modal-title-gold {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -0.2px;
  background: linear-gradient(120deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.input-icon-group {
  position: relative;
  margin-bottom: 1.2rem;
}

.input-icon-group i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.7;
}

.input-icon-group input {
  padding-left: 45px;
}