/* EnjoyRust store — same look as enjoyrust.com (Bebas Neue + DM Sans, neon pink #ff1fa5 on #111219 with noise).
   Loaded last in head.twig, after shared.css, generic.css and the Appearance colours, so it wins over them.
   Icon buttons (.btn-icon) draw their icon as the background image: only set background-color on them.
   Only colors, type and layout change; every Tebex feature (basket, quantity, login, gift, checkout) stays as it is. */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;700&display=swap");

:root {
  --er-pink: #ff1fa5;
  --er-pink-2: #ff5cc1;
  --er-violet: #7c3aed;
  --er-bg: #111219;
  --er-card: rgba(255, 255, 255, 0.035);
  --er-card-2: rgba(255, 255, 255, 0.06);
  --er-line: rgba(255, 255, 255, 0.08);
  --er-text: #f0ece4;
  --er-muted: #a6a1b3;
  --er-radius: 16px;

  --color-primary: var(--er-pink);
  --color-primary-hover: var(--er-pink-2);
  --color-primary-text: #fff;
  --color-primary-text-hover: #fff;
  --color-secondary: #2a2c3a;
  --color-secondary-hover: #34374a;
  --color-secondary-text: var(--er-text);
  --color-secondary-text-hover: #fff;
  --color-tertiary-hover: rgba(255, 31, 165, 0.12);
  --color-bg: var(--er-bg);
  --color-brighter-bg: #171923;
  --color-text: var(--er-text);
  --color-text-darker: #e2ddd4;
  --color-text-secondary: var(--er-muted);
  --color-sale-banner-bg: var(--er-pink);
  --color-sale-banner-text: #fff;
  --bg-image: none;
  --btn-size: 48px;
}

/* ── Page ── */
html { background: var(--er-bg); }
body {
  font-family: "DM Sans", sans-serif;
  color: var(--er-text);
  background-color: var(--er-bg);
  background-image:
    radial-gradient(900px 480px at 50% -120px, rgba(255, 31, 165, 0.22), transparent 70%),
    radial-gradient(700px 500px at 100% 30%, rgba(124, 58, 237, 0.10), transparent 70%),
    radial-gradient(600px 420px at 0% 70%, rgba(255, 31, 165, 0.07), transparent 70%),
    url("https://enjoyrust.com/assets/img/noise.png");
  background-attachment: fixed, fixed, fixed, scroll;
}
body::before { display: none; }
::selection { background: var(--er-pink); color: #fff; }
h1, h2, h3, h4, .widget-title, .site-title { font-family: "Bebas Neue", sans-serif; font-weight: 400; letter-spacing: 0.04em; }
a { transition: color 0.2s ease; }

/* ── Header ── */
.site-header-inner { padding-top: 64px; }
body.is-navigation-horizontal .site-header-inner { height: auto; min-height: 240px; }
@media (min-width: 961px) {
  body.is-navigation-vertical .site-header-inner { height: 236px; }
  body.is-navigation-vertical .site-header-inner .site-title { top: 76px; margin-top: 0; margin-bottom: 0; }
}
.site-header-inner .site-title img {
  max-height: 140px; width: auto;
  filter: drop-shadow(0 0 18px rgba(255, 31, 165, 0.55)) drop-shadow(0 0 60px rgba(124, 58, 237, 0.25));
  transition: transform 0.4s ease, filter 0.4s ease;
}
.site-header-inner .site-title a:hover img { transform: scale(1.04); filter: drop-shadow(0 0 26px rgba(255, 31, 165, 0.8)) drop-shadow(0 0 70px rgba(124, 58, 237, 0.35)); }
.site-header-inner .log-in,
.site-header-inner .toggle-navigation,
.site-header-inner .user-actions .btn-tertiary,
.site-header-inner .open-basket {
  border: 1px solid var(--er-line); border-radius: 12px; background-color: rgba(17, 18, 25, 0.6); backdrop-filter: blur(8px);
  font-weight: 700; letter-spacing: 0.02em;
}
.site-header-inner .log-in:hover,
.site-header-inner .open-basket:hover { border-color: rgba(255, 31, 165, 0.6); box-shadow: 0 0 18px rgba(255, 31, 165, 0.25); }
.site-header-inner .info {
  padding: 10px 16px; border: 1px solid var(--er-line); border-radius: 14px; background: var(--er-card); backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header-inner .info:hover { border-color: rgba(88, 101, 242, 0.7); box-shadow: 0 0 22px rgba(88, 101, 242, 0.3); }
.site-header-inner .info .title { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 20px; letter-spacing: 0.05em; }
.site-header-inner .info .action { color: var(--er-pink); }
/* Vanilla and Modded Discord buttons and Login side by side at the top right (header.twig .er-top): same height, shape and type. */
.site-header-inner .er-top { position: absolute; top: 24px; right: 0; z-index: 3; display: flex; align-items: center; gap: 8px; --btn-size: 40px; }
.site-header-inner .er-top > .log-in,
.site-header-inner .er-top > .user-actions { position: static; inset: auto; margin: 0; }
.site-header-inner .er-top > .log-in { display: inline-flex; align-items: center; height: var(--btn-size); min-height: 0; padding: 0 14px; font-size: 14px; line-height: 1; }
.site-header-inner .er-top .info.discord {
  position: static; display: inline-flex; align-items: center; gap: 8px; width: auto; height: var(--btn-size); padding: 0 14px 0 11px;
  border-color: rgba(88, 101, 242, 0.55); border-radius: 12px; box-sizing: border-box;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.35), rgba(88, 101, 242, 0.12));
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.22);
}
.site-header-inner .er-top .info.discord .image { position: static; inset: auto; order: -1; width: 20px; height: 20px; margin: 0; }
.site-header-inner .er-top .info.discord .title,
.site-header-inner .er-top .info.discord .title-short { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.02em; line-height: 1; color: #fff; }
.site-header-inner .er-top .info.discord .action { display: none; }
.site-header-inner .er-top .info.discord:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(88, 101, 242, 0.45); }
.site-header-inner .er-top .info.discord.er-discord-modded { border-color: rgba(255, 31, 165, 0.5); background: linear-gradient(135deg, rgba(255, 31, 165, 0.3), rgba(88, 101, 242, 0.12)); box-shadow: 0 6px 18px rgba(255, 31, 165, 0.2); }
.site-header-inner .er-top .info.discord.er-discord-modded:hover { box-shadow: 0 10px 26px rgba(255, 31, 165, 0.4); }
.site-header-inner .er-top .info.discord .title-short { display: none; }

/* ── Menu ── */
.navigation-horizontal .menu {
  gap: 4px; padding: 6px; border: 1px solid var(--er-line); border-radius: 16px;
  background: rgba(23, 25, 35, 0.75); backdrop-filter: blur(10px);
  font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 21px; letter-spacing: 0.05em;
}
.navigation-horizontal .menu > li { border-radius: 11px; transition: background 0.2s ease; }
.navigation-horizontal .menu > li:hover { background: rgba(255, 31, 165, 0.08); }
.navigation-horizontal .menu > li > a { padding: 10px 14px; }
.navigation-horizontal .menu > li.active { background: rgba(255, 31, 165, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 31, 165, 0.35); }
.navigation-horizontal .menu > li.active > a,
.navigation-horizontal a.link-active { color: #fff; text-shadow: 0 0 14px rgba(255, 31, 165, 0.8); }
.navigation-horizontal .has-children > ul {
  border: 1px solid var(--er-line); border-radius: 14px; background: rgba(17, 18, 25, 0.92);
  font-family: "DM Sans", sans-serif; font-size: 15px; letter-spacing: 0; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.navigation-horizontal .has-children > ul a { padding: 8px 16px; }
.navigation-horizontal .has-children > ul a:hover,
.navigation-horizontal .has-children > ul .active > a { color: var(--er-pink); }

/* ── Buttons ── */
.btn-primary {
  border: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--er-pink), #d10f86);
  color: #fff; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(255, 31, 165, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-primary:hover, .btn-primary:focus { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 10px 28px rgba(255, 31, 165, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-secondary { border-radius: 12px; }
.btn-tertiary { border-radius: 10px; }
.quantity-field { border: 1px solid rgba(255, 31, 165, 0.45); border-radius: 12px; background: rgba(255, 31, 165, 0.08); }

/* ── Category: packages as cards ── */
.site-content { padding-top: 8px; padding-bottom: 40px; }
.store-products-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.store-product {
  position: relative; border: 1px solid var(--er-line); border-radius: var(--er-radius);
  background: linear-gradient(180deg, var(--er-card-2), var(--er-card));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.store-product:hover { transform: translateY(-4px); border-color: rgba(255, 31, 165, 0.5); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 31, 165, 0.15); }
.store-products-list .store-product { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; text-align: center; }
.store-products-list .store-product .image-link {
  display: grid; place-items: center; margin: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px;
  background: radial-gradient(circle at 50% 60%, rgba(255, 31, 165, 0.18), transparent 65%), rgba(0, 0, 0, 0.25);
}
.store-products-list .store-product .image { width: auto; max-width: 70%; max-height: 110px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)); transition: transform 0.3s ease; }
.store-products-list .store-product:hover .image { transform: scale(1.06); }
.store-products-list .store-product .product-title { margin: 0; font-size: 25px; line-height: 1.05; }
.store-products-list .store-product .actions { flex-direction: column; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: auto; }
.store-products-list .store-product .price { width: auto; margin: 0; font-size: 24px; font-weight: 700; color: #fff; }
.store-products-list .store-product .price del,
.store-products-list .store-product .price s { margin-right: 6px; color: var(--er-muted); font-size: 16px; font-weight: 400; }
.store-products-list .store-product .actions .wide { width: 100%; min-width: 0; }

/* ── Home, category text, package text ── */
.store-text,
.category-description {
  border: 1px solid var(--er-line); border-radius: var(--er-radius);
  background: linear-gradient(180deg, var(--er-card-2), var(--er-card));
  color: var(--er-text); line-height: 1.65;
}
.store-text h1, .store-text h2, .store-text h3,
.category-description h1, .category-description h2, .category-description h3 { color: #fff; font-size: 30px; }
/* Links in texts written in Tebex: readable pink, underlined. Fonts pasted into those texts (for example Impact) are ignored. */
.store-text a, .category-description a, .store-product .descr a { color: var(--er-pink-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.store-text a:hover, .category-description a:hover, .store-product .descr a:hover { color: #fff; }
.text-content [style*="font-family"], .store-product .descr [style*="font-family"] { font-family: inherit !important; }
.store-text ul li::marker, .category-description ul li::marker { color: var(--er-pink); }
.site-home-categories .category {
  border: 1px solid var(--er-line); border-radius: var(--er-radius);
  background: linear-gradient(180deg, var(--er-card-2), var(--er-card));
  font-family: "Bebas Neue", sans-serif; font-weight: 400; letter-spacing: 0.04em;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-home-categories .category:hover { transform: translateY(-4px); border-color: rgba(255, 31, 165, 0.5); box-shadow: 0 0 30px rgba(255, 31, 165, 0.15); }

/* ── Home: welcome title and the two big server tiles (animated banners from index.html) ── */
.er-hero { margin: -26px auto 26px; padding: 0 var(--content-padding); max-width: var(--content-width); text-align: center; }
.er-hero-title {
  margin: 0; font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: clamp(54px, 9vw, 104px); line-height: 0.95; letter-spacing: 0.03em;
  color: #f7efe0; text-shadow: 0 0 22px rgba(255, 255, 255, 0.12);
}
.er-hero-title span { color: var(--er-pink); text-shadow: 0 0 18px rgba(255, 31, 165, 0.75), 0 0 48px rgba(255, 31, 165, 0.35); }
.er-hero-text { margin: 0 auto; max-width: 620px; color: #cfc9d9; font-size: 17px; line-height: 1.6; }
.er-hero-title + .er-hero-text { margin-top: 14px; }
.site-home-categories { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-bottom: 30px; }
.site-home-categories .category.er-art { padding: 0 0 18px; overflow: hidden; gap: 16px; font-size: 32px; }
.site-home-categories .category.er-art .image {
  width: 100%; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; margin: 0;
  border-bottom: 1px solid var(--er-line); transition: transform 0.4s ease, filter 0.4s ease;
}
.site-home-categories .category.er-art:hover .image { transform: scale(1.03); filter: saturate(1.15); }
.site-home-categories .category.er-art .er-go { display: block; margin-top: -8px; font-family: "DM Sans", sans-serif; font-size: 14px; letter-spacing: 0; color: var(--er-pink); }

/* ── Category pages: server art and title strip (category.html) ── */
.er-cat-head {
  display: flex; align-items: center; gap: 18px; margin-bottom: 18px; padding: 14px 18px; border: 1px solid var(--er-line); border-radius: var(--er-radius);
  background: linear-gradient(135deg, rgba(255, 31, 165, 0.12), rgba(124, 58, 237, 0.06) 60%, transparent), var(--er-card);
}
.er-cat-art { width: 84px; height: 84px; flex: none; border-radius: 14px; object-fit: cover; box-shadow: 0 0 24px rgba(255, 31, 165, 0.25); }
.er-cat-kicker { display: block; color: var(--er-pink); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.er-cat-title { margin: 2px 0 0; font-size: 40px; line-height: 1; color: #fff; }

/* ── Server choice on a category that only holds other categories (category.html) ── */
.er-choice { margin-bottom: 8px; }
.er-choice-title { margin: 6px 0 4px; font-size: 34px; color: #fff; }
.er-choice-text { margin: 0 0 18px; color: var(--er-muted); }
.er-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.er-choice-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 16px 18px; text-align: center; text-decoration: none;
  color: var(--er-text); border: 1px solid var(--er-line); border-radius: var(--er-radius);
  background: linear-gradient(180deg, var(--er-card-2), var(--er-card));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.er-choice-card:hover { transform: translateY(-4px); border-color: rgba(255, 31, 165, 0.5); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 31, 165, 0.15); }
.er-choice-media {
  position: relative; width: 100%; aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, rgba(255, 31, 165, 0.18), transparent 65%), rgba(0, 0, 0, 0.25);
}
.er-choice-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.er-choice-card:hover .er-choice-media img { transform: scale(1.05); }
.er-choice-name { font-family: "Bebas Neue", sans-serif; font-size: 26px; letter-spacing: 0.04em; line-height: 1.05; color: #fff; }
.er-choice-card .er-go { font-size: 14px; color: var(--er-pink); }

/* ── Crypto page (cms/page.html): banner, texts and the Discord ticket button from the EnjoyRust options ── */
.er-crypto-banner { display: block; width: 100%; max-width: 720px; height: auto; margin: 4px 0 18px; border: 1px solid var(--er-line); border-radius: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.er-crypto p { margin: 0 0 12px; }
.store-text a.er-crypto-button { display: inline-flex; align-items: center; margin: 6px 0 4px; padding: 12px 22px; color: #fff; font-weight: 700; text-decoration: none; }
.er-crypto .er-crypto-warn { margin-top: 18px; padding: 10px 14px; border: 1px solid rgba(255, 196, 0, 0.35); border-radius: 12px; background: rgba(255, 196, 0, 0.08); color: #ffd666; font-size: 14px; }

/* ── Sidebar ── */
.widget {
  overflow: hidden; border: 1px solid var(--er-line); border-radius: var(--er-radius);
  background: linear-gradient(180deg, var(--er-card-2), var(--er-card));
}
.widget-title { padding: 14px 18px 0; font-size: 24px; color: #fff; }
.widget .store-product { border: 0; background: none; text-align: center; }
.widget .store-product:hover { transform: none; box-shadow: none; }
.widget .store-product .image { max-height: 160px; width: auto; object-fit: contain; }
.widget .store-product .product-title { font-size: 24px; }

/* ── Featured package in the sidebar (Tuborg for Admins): floating can, beer bubbles, cheers on hover ── */
.widget-featured { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.widget-featured:hover { border-color: rgba(255, 190, 40, 0.45); box-shadow: 0 0 34px rgba(255, 190, 40, 0.15); }
.widget.widget-featured .widget-title { font-size: 22px; white-space: nowrap; }
.widget-featured .widget-title::after { content: " 🍻"; }
.widget.widget-featured .store-product .image-link {
  position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 14px;
  width: 100%; box-sizing: border-box; margin: 0; padding: 24px 0 28px;
  background: radial-gradient(circle at 50% 60%, rgba(255, 190, 40, 0.28), transparent 62%);
}
.widget-featured .image-link::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.7;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 214, 102, 0.55) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 1.5px, transparent 2.5px);
  background-size: 60px 90px, 90px 120px, 45px 70px;
  background-position: 10px 0, 40px 30px, 25px 10px;
  animation: er-bubbles 7s linear infinite;
}
.widget-featured:hover .image-link::before { animation-duration: 2.5s; }
.widget.widget-featured .store-product .image { max-height: 140px; width: auto; }
.widget-featured .image { position: relative; transform-origin: 50% 90%; animation: er-float 3.2s ease-in-out infinite; }
.widget-featured:hover .image { animation: er-cheers 0.8s ease-in-out infinite alternate; }
.widget-featured .btn-primary:hover { animation: er-clink 0.45s ease; }
@keyframes er-bubbles { to { background-position: 10px -180px, 40px -210px, 25px -130px; } }
@keyframes er-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes er-cheers { from { transform: rotate(-16deg) scale(1.06); } to { transform: rotate(6deg) scale(1.1); } }
@keyframes er-clink { 25% { transform: rotate(-2.5deg); } 75% { transform: rotate(2.5deg); } }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--er-line); background: rgba(10, 11, 16, 0.6); }
.site-footer .we-accept img { opacity: 0.85; filter: grayscale(0.2); }
.site-footer .copyright { color: var(--er-muted); }

/* ── Basket panel ── */
.basket .basket-header { background: linear-gradient(135deg, rgba(255, 31, 165, 0.18), rgba(124, 58, 237, 0.12)); font-family: "Bebas Neue", sans-serif; font-weight: 400; letter-spacing: 0.05em; font-size: 30px; }

/* ── Phones ── */
@media (max-width: 700px) {
  .site-header-inner .site-title img { max-height: 120px; }
  .er-hero { margin-top: 0; }
  .store-products-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .store-products-list .store-product { padding: 12px; }
  .store-products-list .store-product .image-link { aspect-ratio: 2 / 1; }
  .store-products-list .store-product .product-title { font-size: 20px; }
  .store-products-list .store-product .price { font-size: 20px; }
  .site-home-categories { grid-template-columns: 1fr; }
  .er-cat-art { width: 64px; height: 64px; }
  .er-cat-title { font-size: 32px; }
  .er-choice-title { font-size: 28px; }
  .er-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .er-choice-card { gap: 8px; padding: 10px 10px 12px; }
  .er-choice-name { font-size: 20px; }
}
@media (max-width: 600px) {
  .site-header-inner .er-top { gap: 6px; }
  .site-header-inner .er-top .info.discord { gap: 6px; padding: 0 10px; }
  .site-header-inner .er-top .info.discord .image { width: 18px; height: 18px; }
  .site-header-inner .er-top .info.discord .title { display: none; }
  .site-header-inner .er-top .info.discord .title-short { display: inline; font-size: 13px; }
}
@media (max-width: 420px) {
  .store-products-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .store-product, .store-product .image, .btn-primary, .site-header-inner .site-title img { transition: none; }
  .store-product:hover, .btn-primary:hover { transform: none; }
  .widget-featured .image, .widget-featured .image-link::before, .widget-featured .btn-primary:hover { animation: none; }
}
