/* ==========================================
   全域變數與重設 (Variables & Reset)
   ========================================== */
:root {
    /* 配色系統 (典雅棕色系) */
    --primary-color: #5c3e21;      /* 深胡桃木棕，用於主要標題與重要區塊 */
    --secondary-color: #a67c52;    /* 典雅琥珀棕，用於重點強調與按鈕 */
    --secondary-hover: #8c6239;    /* 深暖棕，用於懸停效果 */
    --bg-dark: #2b1d0f;            /* 極深黑朱古力色，用於深色背景區塊 */
    --bg-light: #f7f3ee;           /* 麥芽奶白，用於淺色卡片與段落底色 */
    --text-dark: #3b2a1c;          /* 暖深炭棕，代替純黑，讓閱讀更溫和 */
    --text-light: #fcfaf7;         /* 奶油白，用於深色背景下的對比文字 */
    --text-muted: #8c7662;         /* 暖灰棕，用於輔助性文字 */
    --accent-success: #606c38;     /* 典雅墨綠，用於答對反饋 */
    --accent-error: #bc6c25;       /* 鐵鏽橘紅，用於答錯反饋 */
    
    /* 字型定義 (中文標楷體，俄文與英文 Times New Roman) */
    --font-serif: "Times New Roman", "DFKai-SB", "BiauKai", "標楷體", serif;
    --font-sans: "Times New Roman", "DFKai-SB", "BiauKai", "標楷體", serif;
    
    /* 其他變數 */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px rgba(166, 124, 82, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================
   排版與通用樣式 (Typography & Utilities)
   ========================================== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subheader {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 20px;
}

/* 標題下方的金色點綴線 */
.header-line {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* 按鈕樣式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 124, 82, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ==========================================
   導覽列 (Navbar)
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(43, 29, 15, 0.95);
    backdrop-filter: blur(10px); /* 玻璃模糊效果 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

/* 網頁滾動時，CSS 可以套用這個類別來縮減導覽列高度（在 script.js 中驅動） */
.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(43, 29, 15, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
}

.logo-ru {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-zh {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: rgba(241, 245, 249, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* 導覽列超連結底線動畫效果 */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

/* 漢堡選單（預設隱藏） */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 4px 0;
    transition: var(--transition-smooth);
}

/* ==========================================
   英雄形象區 (Hero Section)
   ========================================== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(92, 62, 33, 0.85) 0%, rgba(43, 29, 15, 0.85) 100%), url('hero_bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

/* 俄語字母背景點綴 */
.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 8vw;
    font-weight: 900;
    color: rgba(166, 124, 82, 0.03);
    width: 120%;
    line-height: 1.2;
    pointer-events: none;
    user-select: none;
    white-space: normal;
    word-break: break-all;
    text-align: justify;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(166, 124, 82, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    background-color: rgba(166, 124, 82, 0.05);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(241, 245, 249, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

/* 英雄區下滑指示器 */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse-icon {
    width: 26px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: block;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

/* ==========================================
   網站導言區 (Intro Section)
   ========================================== */
.intro-section {
    background-color: #ffffff;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #475569;
}

.intro-quote {
    background-color: var(--bg-light);
    padding: 40px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--card-shadow);
}

.intro-quote blockquote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.intro-quote cite {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    font-style: normal;
}

/* ==========================================
   研究領域區 (Fields Section)
   ========================================== */
.fields-section {
    background-color: var(--bg-light);
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.field-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* 卡片懸浮效果：往上浮起並加強陰影與金色外框 */
.field-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(197, 168, 128, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(26, 42, 58, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.field-card:hover .card-icon {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.field-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.ru-term {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.field-card p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 20px;
}

.field-card ul {
    list-style: none;
}

.field-card li {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.field-card li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ==========================================
   重要學者介紹區 (Linguists Section)
   ========================================== */
.linguists-section {
    background-color: #ffffff;
}

.linguists-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--secondary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
}

/* 頁籤內容過渡動畫 */
.tab-content-container {
    position: relative;
    min-height: 300px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.6s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.linguist-info {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.linguist-meta h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.linguist-en {
    display: block;
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.tagline {
    font-style: italic;
    font-size: 1rem;
    color: #475569;
    line-height: 1.5;
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
}

.linguist-details h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.linguist-details ul {
    list-style: none;
    margin-bottom: 20px;
}

.linguist-details li {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.linguist-details li::before {
    content: '✦';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.linguist-details p {
    font-size: 0.95rem;
    color: #475569;
}

/* ==========================================
   互動測驗區 (Quiz Section)
   ========================================== */
.quiz-section {
    background-color: var(--bg-light);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 進度條 */
.quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    margin-right: 20px;
    position: relative;
    overflow: hidden;
}

/* 進度條填充（會用 JS 動態改變 width） */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 20%);
    background-color: var(--secondary-color);
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* 問題展示卡片 */
.quiz-question-box {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.quiz-sentence {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

/* 用來標註例句中被測驗的單字 */
.quiz-sentence span.highlight {
    color: var(--secondary-color);
    border-bottom: 2px dashed var(--secondary-color);
    padding-bottom: 2px;
}

.quiz-translation {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 15px;
}

.quiz-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* 選項按鈕排版 */
.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.option-btn {
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.option-btn:hover:not(:disabled) {
    border-color: var(--secondary-color);
    background-color: rgba(166, 124, 82, 0.05);
    transform: translateY(-2px);
}

/* 答對、答錯、與禁用狀態的按鈕樣式 */
.option-btn.correct {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-success);
    color: var(--accent-success);
}

.option-btn.wrong {
    background-color: rgba(239, 68, 110, 0.1);
    border-color: var(--accent-error);
    color: var(--accent-error);
}

.option-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* 答題回饋卡片 */
.quiz-feedback {
    margin-top: 30px;
    padding: 25px;
    border-radius: var(--border-radius);
    animation: fadeIn 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quiz-feedback.correct-bg {
    background-color: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.quiz-feedback.wrong-bg {
    background-color: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.feedback-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feedback-message {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.quiz-feedback.correct-bg .feedback-message {
    color: var(--accent-success);
}

.quiz-feedback.wrong-bg .feedback-message {
    color: var(--accent-error);
}

.feedback-explanation {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 20px;
}

/* 結算頁面 */
.quiz-results {
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.quiz-results h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    background-color: rgba(166, 124, 82, 0.05);
}

.score-num {
    font-size: 3rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--primary-color);
}

.score-total {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.result-message {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 30px;
}

.hidden {
    display: none !important;
}

/* ==========================================
   頁尾 (Footer)
   ========================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.7);
    max-width: 500px;
    margin: 0 auto 30px;
}

.footer-divider {
    width: 100%;
    max-width: 600px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto 20px;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(241, 245, 249, 0.5);
}

/* ==========================================
   俄語六大格位解析區 (Cases Section)
   ========================================== */
.cases-section {
    background-color: #ffffff;
}

.cases-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
    max-width: 1000px;
    margin: 0 auto;
}

.cases-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-btn {
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 20px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.case-btn:hover {
    border-color: var(--secondary-color);
    background-color: rgba(166, 124, 82, 0.05);
    transform: translateX(4px);
}

.case-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.case-btn.active:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: none;
}

/* 右側詳細內容卡片 */
.cases-content-container {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    min-height: 380px;
}

.case-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.case-content.active {
    display: block;
}

.case-header {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.case-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.case-questions {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 700;
    background-color: rgba(166, 124, 82, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
}

.case-desc {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 25px;
    line-height: 1.6;
}

.case-examples h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    border-left: 3px solid var(--secondary-color);
    padding-left: 10px;
}

.example-item {
    background-color: var(--bg-light);
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.example-ru {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.example-ru .highlight-word {
    color: var(--secondary-color);
    border-bottom: 2px dashed var(--secondary-color);
}

.example-zh {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 3px;
}

.example-explain {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   響應式設計調整 (Media Queries)
   ========================================== */
@media (max-width: 992px) {
    .cases-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fields-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .linguist-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* 手機版行動選單（預設隱藏在右方，在 script.js 加上 active 類別後滑出） */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background-color: rgba(43, 29, 15, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 40px;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* 漢堡排選單點擊後的動畫變化 */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn.active::after {
        display: none;
    }
    
    .quiz-options {
        grid-template-columns: 1fr;
    }
}
