/* Frogmare Rising — exact layout pass based on the approved dragon reference. */
:root {
  --v5-gold: #c8a36a;
  --v5-gold-bright: #efd59a;
  --v5-red: #bb1835;
  --v5-line: rgba(168, 153, 145, .24);
  --v5-panel: rgba(10, 10, 16, .93);
  --v5-width: 1150px;
  --v5-serif: Georgia, "Times New Roman", serif;
  --v5-ui: "Segoe UI", Arial, sans-serif;
}

body { background: #07070b !important; }
.page-home .wrapper {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at -4% 72%, rgba(139, 16, 39, .16), transparent 23rem),
    radial-gradient(ellipse at 104% 72%, rgba(139, 16, 39, .14), transparent 23rem),
    radial-gradient(circle at 50% 36%, rgba(86, 26, 75, .16), transparent 42rem),
    linear-gradient(180deg, #08070c 0, #07070b 100%) !important;
}

/* Exact compact navigation */
.menu-top {
  height: 39px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 20px !important;
  padding: 0 max(24px, calc((100vw - var(--v5-width)) / 2)) !important;
  border-bottom: 1px solid rgba(196, 141, 95, .17) !important;
  background: rgba(8, 7, 13, .79) !important;
  box-shadow: none !important;
  backdrop-filter: blur(11px) saturate(1.1);
}
.site-brand { display: none !important; }
.site-drawer { display: contents; }
.site-navigation {
  grid-column: 1 !important;
  justify-self: start;
  justify-content: flex-start !important;
  gap: 35px !important;
}
.site-navigation a,
.site-account-nav a {
  min-height: 39px !important;
  padding: 0 !important;
  color: #a8a5ad !important;
  font: 650 8px/1 var(--v5-ui) !important;
  letter-spacing: .13em !important;
}
.site-navigation a.active,
.site-navigation a:hover { background: transparent !important; color: #e8cda7 !important; }
.site-navigation a.active::after {
  right: -12px !important;
  bottom: 0 !important;
  left: -12px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #e5354d 30%, #ff725f 50%, #e5354d 70%, transparent) !important;
  box-shadow: 0 0 8px #ff304e !important;
}
.site-account-nav {
  grid-column: 2 !important;
  gap: 19px !important;
}
.nav-divider { width: 1px; height: 19px; background: rgba(223, 205, 188, .45); }
.language-picker { position: relative; }
.language-picker summary {
  min-width: 43px;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa6ad;
  font: 650 8px var(--v5-ui);
  letter-spacing: .12em;
  list-style: none;
  cursor: pointer;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after { content: "⌄"; margin-left: 6px; }
.language-picker > div {
  position: absolute;
  top: 38px;
  right: 0;
  width: 145px;
  padding: 10px;
  border: 1px solid var(--v5-line);
  background: rgba(10, 9, 15, .98);
  box-shadow: 0 15px 35px #000;
}
.language-picker > div > * { display: block; padding: 7px 9px; color: #d3c6b8; font-size: 10px; }
.language-picker > div span { color: #6f6b73; }
.site-login-link {
  width: 86px !important;
  min-width: 86px !important;
  min-height: 28px !important;
  justify-content: center;
  padding: 0 12px !important;
  border: 1px solid rgba(223, 42, 70, .68) !important;
  border-radius: 3px !important;
  background: rgba(44, 12, 24, .45) !important;
  color: #d7bdab !important;
  font-size: 9px !important;
}

/* Dragon hero */
.page-home .header {
  height: 423px !important;
  min-height: 423px !important;
  background: url(../images/frogmare-dragon-hero-v3.png) center 46% / cover no-repeat !important;
}
.page-home .header::before {
  background:
    linear-gradient(180deg, rgba(5, 4, 9, .02) 0, rgba(5, 4, 9, .03) 53%, rgba(5, 4, 9, .2) 72%, #08070c 100%),
    radial-gradient(ellipse at center, transparent 20%, rgba(5, 4, 9, .18) 72%, rgba(5, 4, 9, .54) 100%) !important;
}
.page-home .site-hero {
  width: min(var(--v5-width), calc(100% - 32px)) !important;
  padding-top: 165px !important;
  text-align: center;
}
.hero-brand {
  position: relative;
  width: max-content;
  margin: 0 auto;
  color: #d2b16f;
  text-transform: uppercase;
  text-shadow: 0 2px 1px #140b04, 0 0 9px rgba(237, 184, 102, .25);
}
.hero-brand-mark {
  position: absolute;
  top: -36px;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translateX(-50%);
  background: url(../images/frogmare-mark-v2.png) center / contain no-repeat;
  filter: sepia(1) saturate(.75) brightness(1.12) drop-shadow(0 0 7px rgba(210, 152, 76, .35));
  opacity: .9;
}
.hero-brand strong,
.hero-brand small { position: relative; z-index: 2; display: block; font-family: var(--v5-serif); }
.hero-brand strong { font-size: 48px; font-weight: 600; letter-spacing: .035em; line-height: .92; transform: scaleX(.86); }
.hero-brand small { font-size: 29px; font-weight: 600; letter-spacing: .14em; line-height: 1; transform: scaleX(.86); }
.page-home .site-hero h1 {
  margin: 14px 0 0 !important;
  color: #e7e6e5 !important;
  font: 700 28px/1 var(--v5-serif) !important;
  letter-spacing: .035em;
  text-shadow: 0 2px 8px #000;
}
.page-home .site-hero-actions { justify-content: center; gap: 20px; margin-top: 14px; }
.page-home .site-cta {
  width: 252px;
  min-width: 0;
  min-height: 47px;
  border: 1px solid rgba(203, 165, 103, .72);
  border-radius: 3px;
  background: rgba(10, 10, 16, .78);
  color: #eee8e3 !important;
  font: 700 14px/1 var(--v5-ui);
  letter-spacing: .08em;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.8), 0 0 20px rgba(0,0,0,.24);
}
.page-home .site-cta.primary {
  border-color: #d7a55f;
  background: linear-gradient(180deg, #a71c37, #7c1028);
  box-shadow: inset 0 0 0 2px rgba(248,198,111,.26), 0 0 15px rgba(204,29,63,.25);
}
.page-home .site-cta.secondary { width: 228px; }

/* Three large status values */
.page-home .live-status {
  width: min(850px, calc(100% - 32px)) !important;
  height: 59px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: -59px auto 0 !important;
  overflow: visible;
  border: 1px solid rgba(191, 153, 89, .5) !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(15, 15, 22, .98), rgba(8, 9, 14, .99)) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.55) !important;
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
}
.page-home .live-status::before {
  content: "✦";
  position: absolute;
  top: -12px;
  left: 50%;
  color: var(--v5-gold);
  font-size: 24px;
  transform: translateX(-50%);
  text-shadow: 0 0 8px #000;
}
.page-home .live-status > div {
  min-height: 57px;
  gap: 12px;
  padding: 8px 30px;
  border-right-color: rgba(194, 150, 87, .35);
}
.page-home .live-status small {
  color: #9f98a0;
  font: 650 9px/1 var(--v5-ui);
  letter-spacing: .13em;
}
.page-home .live-status strong {
  margin-top: 3px;
  color: var(--v5-gold-bright);
  font: 750 17px/1 var(--v5-ui);
  letter-spacing: .04em;
}
.page-home .live-status > div:first-child strong { color: #41e697; text-transform: uppercase; }
.page-home .status-dot { width: 16px; height: 16px; flex-basis: 16px; box-shadow: none; background: #81d88b; }
.page-home .status-icon { flex-basis: 24px; color: #c1c1c7; font-size: 22px; text-shadow: none; }

/* Exact 1150px content frame */
.page-home .container {
  width: min(var(--v5-width), calc(100% - 32px)) !important;
  max-width: var(--v5-width) !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.page-home .container > .content { width: 100% !important; height: auto !important; min-height: 0 !important; }
.content > .v5-dashboard {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.news-section-head {
  height: 55px;
  display: flex;
  align-items: center;
  gap: 16px;
  scroll-margin-top: 50px;
}
.news-section-head h2 {
  margin: 0 !important;
  color: #e7e3e2 !important;
  font: 500 24px/1 var(--v5-serif) !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.news-section-head > span { position: relative; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(200,163,106,.55), rgba(200,163,106,.12)); }
.news-section-head > span::before { content: "✦"; position: absolute; top: -7px; left: -6px; color: #e43b51; font-size: 11px; }
.news-section-head a { color: #a39ca3 !important; font: 650 8px var(--v5-ui); letter-spacing: .11em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }

.news-showcase {
  height: 164px;
  display: grid;
  grid-template-columns: 600fr 262fr 262fr;
  gap: 12px;
}
.news-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 123, 132, .34);
  border-radius: 4px;
  background: #111019;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.27);
}
.news-tile > img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; filter: saturate(.78) contrast(1.08); transition: transform .3s ease; }
.news-tile:hover > img { transform: scale(1.025); }
.news-tile-featured > img { object-position: center 51%; }
.news-tile-auction > img { object-position: left center; }
.news-tile-party > img { object-position: right center; }
.news-tile-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,12,.88), rgba(8,7,12,.15) 72%), linear-gradient(0deg, rgba(8,7,12,.8), transparent 72%); }
.news-tile-small .news-tile-shade { background: linear-gradient(0deg, rgba(8,7,12,.95), rgba(8,7,12,.05) 76%); }
.news-tile-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 19px 22px; }
.news-tag { position: absolute; top: 18px; left: 22px; padding: 5px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 2px; background: rgba(150, 26, 52, .82); color: #f0c3c9; font: 700 8px/1 var(--v5-ui); letter-spacing: .13em; text-transform: uppercase; }
.news-tag.event { background: rgba(75, 51, 123, .84); color: #d4c8f0; }
.news-tag.news { background: rgba(28, 31, 43, .84); color: #d3d5df; }
.news-tile-content > strong { max-width: 92%; overflow: hidden; color: #fff; font: 700 19px/1.06 var(--v5-serif); letter-spacing: .015em; text-overflow: ellipsis; text-shadow: 0 2px 8px #000; text-transform: uppercase; white-space: nowrap; }
.news-tile-featured .news-tile-content > strong { max-width: 390px; white-space: normal; }
.news-tile-small .news-tile-content > strong { max-width: 100%; font-size: 15px; white-space: normal; }
.news-tile-content > small { max-width: 82%; margin-top: 7px; overflow: hidden; color: #d1cbd0; font: 11px/1.35 var(--v5-ui); text-overflow: ellipsis; white-space: nowrap; }
.news-tile-small .news-tile-content > small { max-width: 100%; display: -webkit-box; margin-top: 5px; font-size: 10px; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-tile-content time { margin-top: 9px; color: #969098; font: 9px var(--v5-ui); }
.news-tile-content i { position: absolute; right: 22px; bottom: 16px; color: var(--v5-gold-bright); font-size: 20px; font-style: normal; }

.portal-bottom-row {
  height: 113px;
  display: grid;
  grid-template-columns: 385fr 369fr 374fr;
  gap: 12px;
  margin-top: 12px;
}
.compact-account,
.compact-ranking,
.legend-banner {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 123, 132, .31);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(15,14,21,.97), rgba(8,8,13,.98));
}
.compact-account header,
.compact-ranking header { height: 32px; display: flex; align-items: center; gap: 9px; padding: 0 18px; }
.compact-account header span { color: #b5b2b8; font-size: 14px; }
.compact-ranking header span { color: var(--v5-gold-bright); font-size: 15px; }
.compact-account h2,
.compact-ranking h2 { margin: 0 !important; color: #eae6e6 !important; font: 700 11px/1 var(--v5-ui) !important; letter-spacing: .09em; text-transform: uppercase; }
.compact-account form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 11px; padding: 0 19px 10px; }
.compact-account input { width: 100%; height: 30px; padding: 0 11px; border: 1px solid rgba(126,123,132,.3) !important; border-radius: 3px !important; outline: 0; background: rgba(22,21,29,.94) !important; color: #fff !important; font: 9px var(--v5-ui) !important; }
.compact-account input:focus { border-color: rgba(221, 53, 79, .75) !important; }
.compact-account button { width: 163px; height: 30px; border: 1px solid rgba(236,58,86,.42); border-radius: 3px; background: linear-gradient(180deg,#c51e3c,#99132e); color: #fff; font: 700 9px var(--v5-ui); letter-spacing: .11em; text-transform: uppercase; cursor: pointer; }
.compact-account form > a { align-self: center; justify-self: end; color: #8f8992 !important; font-size: 9px; text-decoration: underline; }
.compact-account-signed { display: flex; align-items: center; gap: 14px; padding: 10px 18px; }
.compact-account-signed strong { color: var(--v5-gold-bright); font-size: 20px; }
.compact-account-signed a { color: #aaa3aa !important; font-size: 10px; }

.compact-ranking header a { margin-left: auto; color: #c4a168 !important; font: 650 7px var(--v5-ui); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.compact-ranking ol { margin: 0; padding: 0 20px 8px; list-style: none; }
.compact-ranking li { height: 24px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; border-top: 1px solid rgba(126,123,132,.12); }
.compact-ranking li.empty-state { display: flex; align-items: center; color: #8f8992; font-size: 10px; }
.compact-ranking li > span { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: #bca367; color: #1a1510; font-size: 8px; font-weight: 800; }
.compact-ranking li:nth-child(2) > span { background: #b9bbc1; }
.compact-ranking li:nth-child(3) > span { background: #b97952; }
.compact-ranking li strong { color: #dfdadd; font-size: 9.5px; font-weight: 600; }
.compact-ranking li small { color: #9a949c; font-size: 8.5px; }

.legend-banner {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 35px;
  background:
    linear-gradient(90deg, rgba(9,8,13,.98) 0%, rgba(9,8,13,.7) 43%, rgba(9,8,13,.12) 100%),
    url(../images/frogmare-legend-banner-v3.png) center / cover no-repeat,
    linear-gradient(135deg, #111018, #050509);
  color: #d8c19d !important;
  text-decoration: none !important;
}
.legend-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 42%, rgba(4,4,7,.12)); }
.legend-banner > span { position: relative; z-index: 2; font: 500 14px/1.12 var(--v5-serif); letter-spacing: .06em; text-transform: uppercase; }
.legend-banner strong { font-size: 18px; font-weight: 500; }
.legend-banner i { position: relative; z-index: 2; margin-left: auto; color: var(--v5-gold-bright); font-style: normal; }

.portal-signoff { height: 42px; display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 14px; color: #615d65; }
.portal-signoff > span { height: 1px; background: linear-gradient(90deg, transparent, rgba(200,163,106,.4)); }
.portal-signoff > span:nth-of-type(2) { background: linear-gradient(90deg, rgba(200,163,106,.4), transparent); }
.portal-signoff b,
.portal-signoff em { font: 600 7px var(--v5-ui); letter-spacing: .32em; text-transform: uppercase; }
.portal-signoff em { margin-left: 15px; font-style: normal; letter-spacing: .2em; }
.page-home footer { display: none !important; }

@media (max-width: 1100px) {
  .menu-top { height: 60px !important; padding: 0 16px !important; }
  .site-brand { display: inline-flex !important; }
  .site-drawer { display: none; }
  .menu-top .site-menu-toggle { width: 44px !important; height: 44px !important; }
  .site-brand-name { font-size: 17px !important; }
  .site-brand-mark { width: 38px !important; height: 38px !important; flex-basis: 38px !important; }
  .site-nav-open .menu-top { grid-template-rows: 60px minmax(0, 1fr) !important; }
  .site-nav-open .site-drawer { width: calc(100% + 32px) !important; display: flex; margin-left: -16px !important; }
  .site-nav-open .site-navigation { gap: 10px !important; }
  .site-nav-open .site-navigation a { min-height: 52px !important; font-size: 11px !important; }
  .site-nav-open .site-account-nav { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; }
  .site-nav-open .nav-divider { display: none; }
  .site-nav-open .language-picker summary,
  .site-nav-open .site-login-link { width: 100% !important; min-width: 0 !important; min-height: 48px !important; border: 1px solid var(--v5-line) !important; border-radius: 4px !important; background: #0d0c13 !important; }
  .site-nav-open .site-hero,
  .site-nav-open .live-status,
  .site-nav-open .container,
  .site-nav-open footer { display: none !important; }
  .page-home .header { height: 500px !important; min-height: 500px !important; background-position: center 45% !important; }
  .page-home .site-hero { padding-top: 175px !important; }
  .page-home .live-status { margin-top: -59px !important; }
  .news-showcase { grid-template-columns: 1.4fr 1fr; height: auto; }
  .news-tile { min-height: 190px; }
  .news-tile-featured { grid-row: span 2; min-height: 392px; }
  .portal-bottom-row { height: auto; grid-template-columns: 1fr 1fr; }
  .compact-account, .compact-ranking { min-height: 120px; }
  .legend-banner { grid-column: 1 / -1; min-height: 140px; }
}

@media (max-width: 700px) {
  .site-nav-open .site-account-nav { gap: 10px !important; }
  .site-nav-open .language-picker summary,
  .site-nav-open .site-login-link { font-size: 11px !important; }
  .site-nav-open .language-picker > div { top: auto; right: 0; bottom: 52px; z-index: 5; }
  .page-home .header { height: 540px !important; min-height: 540px !important; background-size: auto 540px !important; background-position: center top !important; }
  .page-home .header::before { background: linear-gradient(180deg,rgba(5,4,9,.08),rgba(5,4,9,.18) 55%,#08070c 100%) !important; }
  .page-home .site-hero { width: calc(100% - 28px) !important; padding-top: 176px !important; }
  .hero-brand strong { font-size: 41px; }
  .hero-brand small { font-size: 24px; }
  .hero-brand-mark { top: -31px; width: 62px; height: 62px; }
  .page-home .site-hero h1 { margin-top: 13px !important; font-size: 22px !important; }
  .page-home .site-hero-actions { width: min(340px, 100%); display: grid; grid-template-columns: 1fr; gap: 9px; margin: 16px auto 0; }
  .page-home .site-cta,
  .page-home .site-cta.secondary { width: 100%; min-height: 47px; }
  .page-home .live-status { width: calc(100% - 24px) !important; height: auto !important; grid-template-columns: 1fr !important; margin-top: -34px !important; clip-path: none; }
  .page-home .live-status::before { display: none; }
  .page-home .live-status > div { min-height: 64px; justify-content: flex-start; padding: 10px 26px; border-right: 0; border-bottom: 1px solid rgba(194,150,87,.28); }
  .page-home .live-status > div:last-child { border-bottom: 0; }
  .page-home .container { width: calc(100% - 24px) !important; }
  .news-section-head { height: 68px; flex-wrap: wrap; align-content: center; gap: 5px 10px; }
  .news-section-head h2 { width: 100%; font-size: 21px !important; }
  .news-section-head > span { display: none; }
  .news-section-head a { min-height: 44px; display: inline-flex; align-items: center; font-size: 11px; }
  .news-showcase { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .news-tile,
  .news-tile-featured { min-height: 210px; grid-row: auto; }
  .news-tile-content > strong { white-space: normal; }
  .news-tile-content > small { max-width: 100%; white-space: normal; }
  .portal-bottom-row { grid-template-columns: 1fr; gap: 10px; }
  .compact-account, .compact-ranking { min-height: 155px; }
  .compact-account header, .compact-ranking header { height: 42px; }
  .compact-account form { grid-template-columns: 1fr; }
  .compact-account input, .compact-account button { width: 100%; height: 44px; }
  .compact-account form > a { min-height: 44px; display: inline-flex; align-items: center; justify-self: center; font-size: 11px; }
  .compact-ranking header a { min-height: 44px; display: inline-flex; align-items: center; font-size: 10px; }
  .compact-ranking li { height: 30px; }
  .legend-banner { min-height: 170px; }
  .portal-signoff { grid-template-columns: 1fr auto 1fr; }
  .portal-signoff em { display: none; }
}

@media (max-width: 360px) {
  .hero-brand strong { font-size: 34px; }
  .hero-brand small { font-size: 20px; }
  .page-home .site-hero h1 { font-size: 19px !important; }
}
