@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cinzel+Decorative:wght@700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Cinzel', Georgia, serif;
  color: #e8d5a3;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: transparent;
  position: relative;
  z-index: 1;
}

/* ========== VIDEO BACKGROUND LAYERS ========== */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  border: 0;
  margin: 0;
  padding: 0;
}
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
  pointer-events: none;
  margin: 0;
  padding: 0;
}
/* All real page content above video */
header, main, footer, .hero-section, .features {
  position: relative;
  z-index: 2;
}



/* Fallback wood if video missing / reduced motion */
@supports not (object-fit: cover) {
  body {
    background-image: url('../img/wood.jpg');
    background-size: cover;
    background-position: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
  body {
    background-image: url('../img/wood.jpg');
    background-size: cover;
    background-position: center;
  }
}
/* On very small / save-data: optional static (JS can also pause) */
@media (max-width: 480px) {
  .bg-overlay { background: rgba(0, 0, 0, 0.62); }
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 12px clamp(14px, 3vw, 36px);
  background: transparent;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: none;
  position: relative;
  z-index: 20;
  backdrop-filter: none;
}
header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.45), transparent);
  opacity: 0.7;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: auto;
  height: auto;
  min-width: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.logo-icon::after { content: none; }

.logo-text { display: flex; flex-direction: column; }
.logo-text .brand {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f5d76e;
  background: linear-gradient(180deg, #fff6a0 0%, #ffe566 20%, #f0c830 40%, #e8b923 70%, #c9a000 100%);
  background: linear-gradient(180deg, #fff8b0 0%, #ffe566 25%, #f5d020 55%, #e0b000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.85)) drop-shadow(0 0 10px rgba(255, 200, 40, 0.35));
}
.logo-text .sub {
  font-size: 9px;
  color: #e0c56a;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.95;
}

nav {
  display: flex;
  gap: clamp(12px, 2.5vw, 26px);
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}
nav a {
  color: #c9b37a;
  text-decoration: none;
  font-size: clamp(11px, 2.2vw, 13px);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
nav a:hover, nav a.active { color: #f0d78c; }
nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}





main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 4vw, 40px) clamp(12px, 3vw, 20px) 36px;
  width: 100%;
}

.page-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(24px, 5.5vw, 40px);
  font-weight: 700;
  letter-spacing: clamp(1px, 0.5vw, 3px);
  background: linear-gradient(180deg, #fff9e0 0%, #e8c84a 40%, #d4af37 70%, #a67c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7));
  padding: 0 8px;
}
.page-sub {
  text-align: center;
  color: #a89060;
  font-size: clamp(12px, 2.5vw, 14px);
  letter-spacing: 1px;
  margin-bottom: clamp(20px, 4vw, 32px);
  padding: 0 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 3vw, 28px);
  width: 100%;
  max-width: 980px;
}

.card {
  background: linear-gradient(165deg, rgba(35,24,14,0.92) 0%, rgba(15,10,5,0.95) 100%);
  border: 2px solid #8a7020;
  box-shadow:
    0 0 0 1px #2a1f0c,
    0 10px 28px rgba(0,0,0,0.5),
    inset 0 0 50px rgba(0,0,0,0.4);
  padding: clamp(18px, 3vw, 26px) clamp(14px, 2.5vw, 22px);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  backdrop-filter: blur(4px);
}
.card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(212,175,55,0.18);
  pointer-events: none;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow:
      0 0 0 1px #2a1f0c,
      0 14px 36px rgba(212,175,55,0.22),
      inset 0 0 50px rgba(0,0,0,0.4);
  }
}

.card h2 {
  font-size: clamp(18px, 4vw, 22px);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #f5e6b8, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.card .eu-badge {
  display: inline-block;
  font-size: 12px;
  color: #a89060;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.card .card-img {
  width: 100%;
  height: clamp(100px, 20vw, 130px);
  background: linear-gradient(180deg, #2a1c12, #15100a);
  border: 1px solid #5c4818;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b5420;
  font-size: 12px;
  letter-spacing: 1px;
  overflow: hidden;
}
.card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.faction-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-alliance, .btn-horde {
  flex: 1 1 110px;
  min-width: 110px;
  padding: 12px 10px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
  border: 1.5px solid;
  text-align: center;
}
.btn-alliance {
  color: #dce9ff;
  background: linear-gradient(180deg, #2f5288 0%, #1a3258 100%);
  border-color: #5a8ac8;
  box-shadow: 0 4px 12px rgba(40,80,160,0.35);
}
.btn-horde {
  color: #ffd6d6;
  background: linear-gradient(180deg, #8a2e2e 0%, #5a1a1a 100%);
  border-color: #c85a5a;
  box-shadow: 0 4px 12px rgba(160,40,40,0.35);
}
@media (hover: hover) {
  .btn-alliance:hover {
    background: linear-gradient(180deg, #3a6298 0%, #244068 100%);
  }
  .btn-horde:hover {
    background: linear-gradient(180deg, #9a3e3e 0%, #6a2a2a 100%);
  }
}

.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card .icon-box {
  width: clamp(56px, 12vw, 72px);
  height: clamp(56px, 12vw, 72px);
  margin: 0 auto 14px;
  border: 2px solid #8a7020;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(50,35,18,0.95), rgba(18,12,6,0.98));
  box-shadow: 0 0 14px rgba(212,175,55,0.1);
  font-size: clamp(24px, 5vw, 32px);
}
.service-card p {
  font-size: 12px;
  color: #8a7a55;
  margin-top: 8px;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.45;
}

.service-list {
  width: 100%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(12px, 2.5vw, 22px);
  background: linear-gradient(90deg, rgba(32,22,12,0.92), rgba(16,11,6,0.95));
  border: 1.5px solid #5c4818;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: border-color 0.2s;
  flex-wrap: wrap;
  backdrop-filter: blur(4px);
}
@media (hover: hover) {
  .service-item:hover { border-color: #d4af37; }
}
.service-item .info { flex: 1 1 160px; text-align: left; min-width: 0; }
.service-item .info h3 {
  font-size: clamp(14px, 3vw, 16px);
  letter-spacing: 0.8px;
  color: #e8d5a3;
  margin-bottom: 3px;
}
.service-item .info p {
  font-size: 12px;
  color: #8a7a55;
  font-family: 'Segoe UI', sans-serif;
}
.service-item .price {
  font-size: clamp(16px, 3.5vw, 18px);
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 1px;
  min-width: 70px;
  text-align: right;
}
.service-item .btn-buy {
  padding: 10px 18px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a120b;
  background: linear-gradient(180deg, #f5e6b8 0%, #d4af37 50%, #a67c00 100%);
  border: 1.5px solid #f0d78c;
  border-radius: 2px;
  box-shadow: 0 3px 10px rgba(212,175,55,0.3);
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (hover: hover) {
  .service-item .btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(212,175,55,0.45);
  }
}

.btn-gold {
  display: inline-block;
  padding: 14px 40px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a120b;
  background: linear-gradient(180deg, #fff6d4 0%, #f0d78c 20%, #d4af37 50%, #b8922a 80%, #8a6a15 100%);
  border: 2px solid #f5e6b8;
  border-radius: 2px;
  box-shadow: 0 5px 18px rgba(212,175,55,0.4), 0 2px 0 #6b5420;
  transition: all 0.25s;
  cursor: pointer;
  text-align: center;
}
@media (hover: hover) {
  .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.55);
  }
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: #a89060;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
}
.back-link:hover { color: #f0d78c; }

.context-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 12px;
  color: #a89060;
  letter-spacing: 1px;
}
.context-bar span {
  padding: 6px 12px;
  border: 1px solid #5c4818;
  background: rgba(20,14,8,0.75);
}
.context-bar strong { color: #d4af37; }

.calc-box {
  width: 100%;
  max-width: 520px;
  margin-bottom: 24px;
  padding: clamp(16px, 3vw, 24px);
  background: linear-gradient(160deg, rgba(35,24,14,0.92), rgba(15,10,5,0.95));
  border: 2px solid #8a7020;
  box-shadow: 0 0 0 1px #2a1f0c, 0 8px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}
.calc-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.calc-field { flex: 1 1 120px; min-width: 0; }
.calc-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: #a89060;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.calc-field input {
  width: 100%;
  padding: 10px 12px;
  background: #120c07;
  border: 1.5px solid #5c4818;
  color: #e8d5a3;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  outline: none;
}
.calc-field input:focus { border-color: #d4af37; }
.calc-result {
  text-align: center;
  margin-top: 14px;
  padding: 12px;
  border: 1.5px solid #8a7020;
  background: rgba(20,14,8,0.7);
}
.calc-result .price-big {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 2px;
}

footer {
  text-align: center;
  padding: 12px 16px;
  font-size: 10px;
  color: #5c4e32;
  border-top: 1px solid #2a1f0e;
  background: rgba(8,5,2,0.85);
  letter-spacing: 0.4px;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  nav {
    order: 2;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 4px 0 2px;
  }
  nav a {
    font-size: 12px;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  nav {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 8px 16px;
  }
  nav a {
    font-size: 11px;
  }
  
}

@media (max-width: 480px) {
  .service-item {
    flex-direction: column;
    text-align: center;
    padding: 16px 14px;
  }
  .service-item .info { text-align: center; flex: 1 1 100%; }
  .service-item .price {
    text-align: center;
    min-width: auto;
    margin: 4px 0;
  }
  .service-item .btn-buy {
    width: 100%;
    max-width: 200px;
  }
  .faction-btns { flex-direction: column; }
  .btn-alliance, .btn-horde { flex: 1 1 auto; width: 100%; }
}

@media (hover: none) {
  .card:active { border-color: #d4af37; }
  .service-item:active { border-color: #d4af37; }
}


/* Final: no cart/account, stable header */

header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
header .logo { margin-right: 12px; }
header nav {
  margin-left: auto !important;
  justify-content: flex-end !important;
}



/* Header restored: logo | nav center | cart/account */
header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
header > .logo {
  flex: 1 1 auto;
  margin-right: 0 !important;
}
header > nav {
  flex: 2 1 auto;
  display: flex !important;
  justify-content: center !important;
  margin-left: 0 !important;
  gap: clamp(12px, 2.5vw, 26px) !important;
}
.header-right {
  display: flex !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  align-items: center;
  gap: 16px;
  color: #c9b37a;
  font-size: 12px;
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.header-right span { cursor: default; }
