/* Professional Performance Sports Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Oswald:wght@500;700;900&display=swap');

:root {
  --theme-dark: #0B1026;       
  --theme-accent: #007BFF;     
  --theme-cyan: #00D2FF;       
  --theme-orange: #FF6B00;     
  --theme-dark-accent: #232946; 
  --theme-white: #FFFFFF;
  --theme-light-bg: #F4F7FA;   
  --stadium-green: #2d5a27;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body, .pro-theme {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  /* 強制所有可能的主容器透明 */
  background: transparent !important;
  background-color: transparent !important;
}

main {
    background: transparent !important;
}

section[id], #main-hero {
  min-height: auto;
  display: flex;
  align-items: center;
  transform: translateZ(0);
  background: transparent !important;
}

/* 確保所有容器層級都沒有背景色遮擋 */
.container, .container-fluid {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

/* 專業數據卡片增加草皮風格 */
.card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: rgba(11, 16, 38, 0.5) !important;
    backdrop-filter: blur(15px);
    color: #fff;
}

.card-header {
    border-top: 3px solid var(--theme-orange);
    background: rgba(0,0,0,0.2) !important;
}

/* 數據表格美化 */
.table thead th {
    background-color: var(--theme-dark);
    color: var(--theme-cyan);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    border: none;
}

.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

/* --- Header / Navbar --- */
.site-header {
  background-color: rgba(11, 16, 38, 0.9);
  backdrop-filter: blur(15px);
  padding: 0.5rem 0; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-bottom: 3px solid var(--theme-accent);
  z-index: 10000 !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,1) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active-highlight {
    color: var(--theme-cyan) !important;
}

.brand-main-text {
    font-size: 1.2rem;
    letter-spacing: -1px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
}

.brand-sub-text {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--theme-pink);
    font-weight: 600;
}

.navbar-nav {
    display: flex;
    align-items: center;
    position: relative; /* Ensure container is relative for absolute indicator */
}

/* 滑動指示器樣式 */
.nav-indicator {
    position: absolute;
    height: 4px;
    bottom: -10px;
    background: linear-gradient(90deg, var(--theme-cyan), var(--theme-accent));
    border-radius: 2px;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
    bottom: 0;
    background: linear-gradient(90deg, var(--theme-accent), var(--theme-cyan));
    border-radius: 2px;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85) !important;
    padding: 10px 16px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--theme-cyan) !important;
    transform: translateY(-1px);
}

/* 移除舊有的靜態背景效果 */
.nav-link.active-highlight {
    background-color: transparent;
    box-shadow: none;
}

.icon-circle-btn {
    width: 42px;
    height: 42px;
    border: 2px solid var(--theme-dark-accent);
    border-radius: 8px; /* Sharp corners for teen style */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-dark-accent);
    font-size: 1.1rem;
    margin-left: 10px;
    background: transparent;
    transition: all 0.3s ease;
}

.icon-circle-btn:hover {
    transform: translateY(-3px);
    background-color: var(--theme-accent);
    border-color: var(--theme-accent);
    color: white;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1547614050-863779e26214?q=80&w=2670&auto=format&fit=crop');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    color: white;
    border-bottom: 3px solid var(--theme-accent);
}

.hero-badge {
    display: inline-block;
    background: var(--theme-accent);
    color: white;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.3);
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.btn-theme-primary {
    background: var(--theme-accent);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-theme-primary:hover {
    background: #0056b3;
    transform: translateY(-3px);
    color: white;
}

/* --- Doodle Elements --- */
.doodle-icon {
    opacity: 0.8;
}

/* --- Layout Utility --- */
.container {
    max-width: 1200px;
}



/* --- Footer --- */
.footer {
    background-color: rgba(11, 16, 38, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    padding: 2rem 0;
}

.footer strong {
    color: #fff;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}