/*
Theme Name: VBXA Theme
Theme URI: https://exilesbbx.site
Author: Team Exiles
Author URI: https://exilesbbx.site
Description: VBXA Pre-Registration Theme
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vbxa-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Barlow+Condensed:wght@600;700;800;900&display=swap');

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

:root {
  --bg:           #0a0a0e;
  --surface:      #0e0e18;
  --red:          #c9172b;
  --gold:         #c9a227;
  --gold-bright:  #f0c040;
  --blue:         #1c3d8c;
  --blue-bright:  #2d5fd4;
  --text:         #e8e4d0;
  --muted:        #7a7060;
  --border:       rgba(201,162,39,0.18);
  --border-solid: rgba(201,162,39,0.55);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.site-header {
  width: 100%;
  padding: 28px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.site-header::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-top: 24px;
}

.site-logo {
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-logo img {
  height: 292px;
  width: auto;
  object-fit: contain;
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(201,162,39,0.4);
  text-align: center;
  display: block;
  width: 100%;
}

.site-nav--desktop {
  display: none; 
}

@media (min-width: 768px) {
  .site-nav--desktop {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(10, 10, 14, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-solid);
    box-shadow:
      0 1px 0 rgba(201,162,39,0.12),
      0 8px 32px rgba(0,0,0,0.6);
  }

  
  .site-nav--desktop::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--red) 15%,
      var(--gold) 40%,
      var(--gold-bright) 50%,
      var(--gold) 60%,
      var(--blue-bright) 85%,
      transparent 100%
    );
  }

  .site-nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  
  .site-nav__logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
  }

  .site-nav__logo-link img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(201,162,39,0.3));
    transition: filter 0.2s;
  }

  .site-nav__logo-link:hover img {
    filter: drop-shadow(0 0 12px rgba(201,162,39,0.6));
  }

  .site-nav__logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-bright);
    text-shadow: 0 0 16px rgba(201,162,39,0.4);
  }

  
  .site-nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    padding: 8px 18px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    position: relative;
  }

  .site-nav__link-icon {
    font-size: 13px;
    opacity: 0.7;
    transition: opacity 0.2s;
  }

  .site-nav__link:hover .site-nav__link-icon,
  .site-nav__link.current .site-nav__link-icon {
    opacity: 1;
  }

  
  .site-nav__link:hover {
    color: var(--gold-bright);
    border-color: var(--border-solid);
    background: rgba(201,162,39,0.06);
  }

  
  .site-nav__link--primary {
    background: linear-gradient(135deg, var(--red) 0%, #8c0f1e 100%);
    border-color: rgba(201, 23, 43, 0.7);
    color: #fff;
    box-shadow:
      0 0 14px rgba(201, 23, 43, 0.35),
      inset 0 1px 0 rgba(255,255,255,0.1);
  }

  .site-nav__link--primary:hover {
    background: linear-gradient(135deg, #e0203a 0%, var(--red) 100%);
    border-color: var(--red);
    color: #fff;
    box-shadow:
      0 0 24px rgba(201, 23, 43, 0.55),
      inset 0 1px 0 rgba(255,255,255,0.15);
  }

  .site-nav__link--primary.current {
    background: linear-gradient(135deg, var(--gold) 0%, #9a7a1a 100%);
    border-color: var(--gold-bright);
    color: var(--bg);
    box-shadow: 0 0 18px rgba(201,162,39,0.5);
  }

  .site-nav__link.current:not(.site-nav__link--primary) {
    color: var(--gold-bright);
    border-color: var(--gold);
    background: rgba(201,162,39,0.08);
  }

  
  .site-nav--mobile {
    display: none !important;
  }

  
  body {
    padding-bottom: 0;
  }
}

.site-nav--mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  height: 70px;
  background: rgba(10, 10, 14, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-solid);
  box-shadow:
    0 -1px 0 rgba(201,162,39,0.08),
    0 -12px 40px rgba(0,0,0,0.7);

  
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.site-nav--mobile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--gold) 30%,
    var(--gold-bright) 50%,
    var(--gold) 70%,
    var(--blue-bright) 100%
  );
}

.site-nav__tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.site-nav__tab:first-child {
  border-right: 1px solid var(--border);
}

.site-nav__tab:hover,
.site-nav__tab.current {
  color: var(--gold-bright);
  background: rgba(201,162,39,0.05);
}

.site-nav__tab.current::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 0 0 2px 2px;
  box-shadow: 0 0 8px rgba(240,192,64,0.7);
}

.site-nav__tab-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-nav__tab-icon svg {
  width: 100%;
  height: 100%;
}

.site-nav__tab-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.site-nav__tab:first-child.current {
  color: #ff4d63;
}

.site-nav__tab:first-child.current::after {
  background: var(--red);
  box-shadow: 0 0 10px rgba(201,23,43,0.7);
}

.site-nav__tab:first-child:hover {
  color: #ff4d63;
  background: rgba(201,23,43,0.05);
}

body {
  padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
}

.site-footer {
  text-align: center;
  padding: 24px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer a {
  color: var(--text);
  border-bottom: 1px solid var(--border-solid);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.site-footer a:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 28px;
  text-align: center;
  text-shadow: 0 0 20px rgba(201,162,39,0.35);
}

.entry-content {
  width: 100%;
}

.wp-block-group,
.entry-content > * {
  max-width: 100%;
}

@media (max-width: 767px) {
  .site-main {
    padding: 28px 16px 32px;
  }

  .page-title {
    text-align: center;
    width: 100%;
  }
}
