/* ===================================================================
   iDate Universe - Authentic 2011 GameClub Portal Stylesheet
   Captures the classic nostalgic GameClub iDate PH layout, colors & UI
   =================================================================== */

:root {
  --gc-orange-1: #ff8f00;
  --gc-orange-2: #e65100;
  --idate-navy-1: #060a22;
  --idate-navy-2: #0b1542;
  --idate-navy-3: #122262;
  --idate-blue-gloss: #153386;
  --idate-blue-light: #1e50c7;
  --idate-cyan: #00d4ff;
  --idate-cyan-glow: rgba(0, 212, 255, 0.6);
  --idate-pink: #ff2d87;
  --idate-pink-glow: rgba(255, 45, 135, 0.6);
  --idate-purple: #9b26ff;
  --idate-gold: #ffc400;
  --text-primary: #ffffff;
  --text-secondary: #a9b9df;
  --text-muted: #6b7da8;
  --border-blue: #1c3c8e;
  --border-cyan: #00d4ff;
  --success-green: #2ecc71;
  --danger-red: #e74c3c;
}

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

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background-color: var(--idate-navy-1);
  background-image: 
    radial-gradient(circle at 50% 120px, #162a75 0%, #080e2f 45%, #05081c 100%),
    radial-gradient(2px 2px at 40px 60px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 150px 180px, #00d4ff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 280px 90px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 390px 220px, #ffb3ba, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 520px 40px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 640px 140px, #00d4ff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 780px 80px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 890px 190px, #ffdfba, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 980px 50px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 1100px 120px, #00d4ff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 1220px 170px, #fff, rgba(0,0,0,0));
  background-repeat: repeat-y;
  background-size: 100% 400px, 1200px 400px, 1200px 400px, 1200px 400px, 1200px 400px, 1200px 400px, 1200px 400px, 1200px 400px, 1200px 400px, 1200px 400px, 1200px 400px, 1200px 400px;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===================================================================
   1. GameClub Official Top Ribbon
   =================================================================== */
.gc-ribbon {
  background: linear-gradient(180deg, var(--gc-orange-1) 0%, var(--gc-orange-2) 100%);
  border-bottom: 2px solid #b33900;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  font-size: 12px;
  font-weight: bold;
  height: 34px;
  width: 100%;
  position: relative;
  z-index: 100;
}

.gc-ribbon-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.gc-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.gc-brand img {
  height: 20px;
  width: auto;
}

.gc-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.gc-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  transition: color 0.15s;
}

.gc-nav-links a:hover {
  color: #ffe082;
  text-decoration: underline;
}

.gc-auth-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gc-auth-links a {
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  opacity: 0.9;
}

.gc-auth-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===================================================================
   2. Main Container & Portal Wrapper
   =================================================================== */
.portal-container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 0 12px;
  flex: 1;
}

/* ===================================================================
   3. iDate Glossy Blue Header & Nav
   =================================================================== */
.portal-header {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: linear-gradient(180deg, rgba(21, 51, 134, 0.9) 0%, rgba(11, 21, 66, 0.95) 100%);
  border: 1px solid var(--border-blue);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.3);
}

.portal-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.portal-logo {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.portal-tagline {
  font-size: 11px;
  color: var(--idate-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #1b3d9c 0%, #0e2056 100%);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid #2855cf;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.nav-pill:hover {
  background: linear-gradient(180deg, #2857dd 0%, #153386 100%);
  border-color: var(--idate-cyan);
  box-shadow: 0 0 10px var(--idate-cyan-glow), inset 0 1px 0 rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

.nav-pill.active {
  background: linear-gradient(180deg, #00b4db 0%, #0083b0 100%);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 12px var(--idate-cyan-glow), inset 0 1px 2px rgba(255,255,255,0.8);
}

/* ===================================================================
   4. Hero Banner: "Groove your way into love"
   =================================================================== */
.hero-banner {
  position: relative;
  height: 260px;
  width: 100%;
  border-left: 1px solid var(--border-blue);
  border-right: 1px solid var(--border-blue);
  border-bottom: 2px solid var(--idate-cyan);
  background: 
    linear-gradient(90deg, rgba(8, 14, 47, 0.95) 0%, rgba(13, 27, 86, 0.7) 50%, rgba(8, 14, 47, 0.95) 100%),
    url('/assets/splash.jpg') center top / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}

.hero-glow-text {
  max-width: 480px;
  z-index: 2;
}

.hero-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--idate-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-shadow: 0 0 8px var(--idate-cyan-glow);
}

.hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 0%, #8ed6ff 50%, #0099ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 162, 255, 0.8));
  font-style: italic;
  margin-bottom: 14px;
}

.hero-server-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.5);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
  backdrop-filter: blur(4px);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--success-green);
  box-shadow: 0 0 8px var(--success-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 12px var(--success-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-right-badge {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.btn-lounge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #ff4081 0%, #c2185b 100%);
  border: 2px solid #ff80ab;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.6), inset 0 1px 2px rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.btn-lounge:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 64, 129, 0.8), inset 0 1px 3px rgba(255,255,255,0.9);
}

/* ===================================================================
   5. Main Portal Grid (Sidebar, Center, Right)
   =================================================================== */
.portal-grid {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 30px;
}

/* ===================================================================
   6. Left Sidebar: Login Box, Big Download, eCoin
   =================================================================== */
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Member Login Box */
.member-box {
  background: linear-gradient(180deg, #0d1a45 0%, #060c22 100%);
  border: 1px solid #1c3c8e;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.box-header {
  background: linear-gradient(180deg, #1f47b2 0%, #10266b 100%);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #2955cf;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.box-header span.star {
  color: var(--idate-gold);
  font-size: 14px;
}

.member-body {
  padding: 12px;
}

.login-form-group {
  margin-bottom: 8px;
}

.login-form-group label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.login-input {
  width: 100%;
  height: 30px;
  background-color: #08112c;
  border: 1px solid #1f4299;
  border-radius: 4px;
  padding: 0 8px;
  color: #fff;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.login-input:focus {
  border-color: var(--idate-cyan);
  box-shadow: 0 0 6px var(--idate-cyan-glow);
}

.forgot-link-wrap {
  text-align: right;
  margin-bottom: 10px;
}

.forgot-link {
  font-size: 11px;
  color: var(--idate-cyan);
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-login {
  height: 32px;
  border-radius: 4px;
  border: 1px solid #2857dd;
  background: linear-gradient(180deg, #2b61f2 0%, #133ba8 100%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all 0.15s;
}

.btn-login:hover {
  background: linear-gradient(180deg, #3c72ff 0%, #1c49c7 100%);
  box-shadow: 0 0 8px var(--idate-cyan-glow);
}

.btn-register-quick {
  height: 32px;
  border-radius: 4px;
  border: 1px solid #27ae60;
  background: linear-gradient(180deg, #2ecc71 0%, #1e8449 100%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all 0.15s;
}

.btn-register-quick:hover {
  background: linear-gradient(180deg, #48e68c 0%, #239b56 100%);
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

/* User Card when Logged In */
.user-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--idate-cyan) 0%, var(--idate-purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid #fff;
}

.user-card-info h4 {
  font-size: 13px;
  color: #fff;
}

.user-card-info span {
  font-size: 11px;
  color: var(--idate-cyan);
  font-weight: bold;
}

.user-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(0,0,0,0.3);
  padding: 8px;
  border-radius: 4px;
  font-size: 11px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item .lbl {
  color: var(--text-muted);
  font-size: 10px;
}

.stat-item .val {
  color: #ffe082;
  font-weight: bold;
}

/* ===================================================================
   Big Glossy Game Download Button (Image 1, 2, 3 Reference)
   =================================================================== */
.btn-game-download {
  position: relative;
  display: block;
  width: 100%;
  height: 72px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1b4cd3 0%, #0d287e 50%, #061852 100%);
  border: 2px solid #3c7eff;
  box-shadow: 0 4px 15px rgba(0, 85, 255, 0.5), inset 0 1px 1px rgba(255,255,255,0.7);
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-game-download:hover {
  transform: translateY(-2px);
  border-color: #00d4ff;
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.8), inset 0 1px 2px rgba(255,255,255,0.9);
}

.btn-game-download-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.download-text-wrap {
  display: flex;
  flex-direction: column;
}

.download-title {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(179, 38, 255, 0.8);
  font-style: italic;
  letter-spacing: 0.5px;
}

.download-sub {
  font-size: 10px;
  color: #80d8ff;
  font-weight: 600;
}

.download-star-icon {
  font-size: 26px;
  color: #b026ff;
  text-shadow: 0 0 12px #ff2df0;
  animation: spin-glow 4s linear infinite;
}

@keyframes spin-glow {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
  100% { transform: scale(1) rotate(360deg); }
}

/* Patch Download Button (Pink Badge) */
.btn-patch-download {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(180deg, #b21469 0%, #750841 50%, #460426 100%);
  border: 2px solid #ff4098;
  box-shadow: 0 4px 15px rgba(255, 45, 135, 0.4), inset 0 1px 1px rgba(255,255,255,0.7);
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-patch-download:hover {
  transform: translateY(-2px);
  border-color: #ff80bf;
  box-shadow: 0 6px 20px rgba(255, 64, 150, 0.7);
}

.btn-patch-download .btn-game-download-inner {
  justify-content: flex-start;
  gap: 12px;
}

/* ADD eCoin Banner */
.banner-ecoin {
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(180deg, #0099cc 0%, #004d66 100%);
  border: 1px solid #00ccff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  text-decoration: none;
}

.banner-ecoin .ecoin-text {
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.banner-ecoin .coin-badge {
  background: #ffb300;
  color: #000;
  font-weight: 900;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  font-size: 13px;
  box-shadow: 0 0 8px #ffb300;
}

/* Quick Support Links */
.side-support-list {
  background: #08112c;
  border: 1px solid #1a357a;
  border-radius: 6px;
  list-style: none;
  overflow: hidden;
}

.side-support-list li {
  border-bottom: 1px solid #112250;
}

.side-support-list li:last-child {
  border-bottom: none;
}

.side-support-list a {
  display: block;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s;
}

.side-support-list a:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--idate-cyan);
  padding-left: 16px;
}

/* ===================================================================
   7. Center Column (Tabs & Views)
   =================================================================== */
.main-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portal-card {
  background: linear-gradient(180deg, #0c1847 0%, #060c26 100%);
  border: 1px solid var(--border-blue);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* Announcement Tabs Header */
.news-tabs-header {
  display: flex;
  background: #081232;
  border-bottom: 2px solid var(--border-blue);
}

.news-tab-btn {
  padding: 10px 18px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  border-right: 1px solid #14255d;
}

.news-tab-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.news-tab-btn.active {
  background: linear-gradient(180deg, #183e9b 0%, #0c1b4a 100%);
  color: var(--idate-cyan);
  border-bottom: 2px solid var(--idate-cyan);
  margin-bottom: -2px;
}

.news-list {
  list-style: none;
  padding: 8px 12px;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  font-size: 12px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.tag-badge {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.tag-event { background: #e65100; color: #fff; }
.tag-update { background: #0288d1; color: #fff; }
.tag-notice { background: #c2185b; color: #fff; }
.tag-news { background: #388e3c; color: #fff; }

.news-item-title {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item-title:hover {
  color: var(--idate-cyan);
  text-decoration: underline;
}

.news-item-date {
  color: var(--text-muted);
  font-size: 11px;
  flex-shrink: 0;
}

/* ===================================================================
   8. Dedicated Download View (Images 2, 3, 4)
   =================================================================== */
.view-container {
  display: none;
}

.view-container.active-view {
  display: block;
}

.download-view-wrapper {
  padding: 18px;
}

.section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--idate-cyan);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #1a3882;
  padding-bottom: 6px;
}

/* System Requirements Table */
.req-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 12px;
  background: #08112c;
  border: 1px solid #1a3882;
}

.req-table th {
  background: linear-gradient(180deg, #173887 0%, #0d2159 100%);
  color: #fff;
  padding: 10px;
  text-align: left;
  font-weight: bold;
  border: 1px solid #2045a3;
}

.req-table td {
  padding: 8px 10px;
  border: 1px solid #112250;
  color: var(--text-secondary);
}

.req-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.req-table td.spec-name {
  color: #fff;
  font-weight: bold;
  width: 25%;
}

/* Download Cards Grid (Image 3) */
.download-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.download-card {
  background: linear-gradient(180deg, #102159 0%, #08112c 100%);
  border: 1px solid #254db5;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: all 0.2s;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: var(--idate-cyan);
  box-shadow: 0 6px 18px rgba(0, 212, 255, 0.4);
}

.download-card.card-pink {
  border-color: #a81c62;
}

.download-card.card-pink:hover {
  border-color: #ff4098;
  box-shadow: 0 6px 18px rgba(255, 45, 135, 0.4);
}

.download-card h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.download-card p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* Driver Badges (Image 4) */
.drivers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.driver-box {
  background: #09122f;
  border: 1px solid #1a3780;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.driver-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.driver-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
}

.badge-dx { background: #1b5e20; color: #a5d6a7; border: 1px solid #2e7d32; }
.badge-nv { background: #2e7d32; color: #76ff03; border: 1px solid #388e3c; }
.badge-ati { background: #b71c1c; color: #ff8a80; border: 1px solid #d32f2f; }

.driver-name {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
}

.btn-driver-download {
  padding: 4px 10px;
  background: linear-gradient(180deg, #0288d1 0%, #01579b 100%);
  color: #fff;
  border: 1px solid #039be5;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.btn-driver-download:hover {
  background: linear-gradient(180deg, #03a9f4 0%, #0277bd 100%);
}

/* ===================================================================
   9. Registration & Reset Password Forms
   =================================================================== */
.form-card {
  padding: 24px;
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  height: 36px;
  background-color: #070e26;
  border: 1px solid #1a3882;
  border-radius: 4px;
  padding: 0 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus {
  border-color: var(--idate-cyan);
  box-shadow: 0 0 8px var(--idate-cyan-glow);
}

.gender-select-wrap {
  display: flex;
  gap: 20px;
  padding-top: 4px;
}

.gender-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
}

.btn-submit-primary {
  width: 100%;
  height: 42px;
  background: linear-gradient(180deg, #00b4db 0%, #0083b0 100%);
  border: 1px solid #00d4ff;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 180, 219, 0.4), inset 0 1px 0 rgba(255,255,255,0.4);
  margin-top: 10px;
  transition: all 0.2s;
}

.btn-submit-primary:hover {
  background: linear-gradient(180deg, #00c6ff 0%, #0072ff 100%);
  box-shadow: 0 6px 18px rgba(0, 212, 255, 0.6);
}

.form-alert {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 14px;
  display: none;
}

.form-alert.alert-error {
  display: block;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid var(--danger-red);
  color: #ff8a80;
}

.form-alert.alert-success {
  display: block;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid var(--success-green);
  color: #a5d6a7;
}

/* ===================================================================
   10. Right Sidebar (Match Radar & Leaderboard)
   =================================================================== */
.match-radar-box {
  background: linear-gradient(180deg, #0d1a45 0%, #060c22 100%);
  border: 1px solid #1c3c8e;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.match-body {
  padding: 12px;
  font-size: 11px;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.match-select {
  height: 24px;
  background: #08112c;
  border: 1px solid #1c3c8e;
  color: #fff;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 11px;
  width: 120px;
}

/* Top Dancers Leaderboard */
.rankings-list {
  list-style: none;
}

.rank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-num {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
  background: #102154;
  color: #fff;
}

.rank-1 .rank-num { background: #ffb300; color: #000; box-shadow: 0 0 6px #ffb300; }
.rank-2 .rank-num { background: #b0bec5; color: #000; }
.rank-3 .rank-num { background: #cd7f32; color: #fff; }

.rank-name {
  color: #fff;
  font-weight: 600;
}

.rank-level {
  color: var(--idate-cyan);
  font-weight: bold;
  font-size: 11px;
}

/* ===================================================================
   11. Footer
   =================================================================== */
.portal-footer {
  margin-top: auto;
  background: #040714;
  border-top: 1px solid #142247;
  padding: 24px 0;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--idate-cyan);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-col, .right-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .sidebar-col, .right-col {
    grid-template-columns: 1fr;
  }
  .drivers-grid {
    grid-template-columns: 1fr;
  }
  .download-cards-grid {
    grid-template-columns: 1fr;
  }
  .portal-header {
    flex-direction: column;
    gap: 10px;
  }
  .portal-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .gc-nav-links {
    display: none;
  }
}
