/* Global CSS Variables & Reset */
:root {
    --primary: #8a63e5;
    --primary-light: #b19ffb;
    --accent-pink: #ffccd5;
    --accent-blue: #cce3de;
    --pastel-pink: #ffeef2;
    --pastel-blue: #e8f0fe;
    --pastel-mint: #e8f8f5;
    --pastel-purple: #f3ebfa;
    --pastel-yellow: #fef9e7;
    --pastel-cream: #faf5eb;
    --pastel-green: #eefcee;
    --pastel-green-border: #c6f6d5;
    --text-main: #2b3a4a;
    --text-muted: #5e6e7f;
    --bg-white: #ffffff;
    --bg-light: #fafbfc;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 10px 30px -10px rgba(138, 99, 229, 0.12);
    --shadow-hover: 0 20px 40px -15px rgba(138, 99, 229, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-emoji {
    animation: rotateEmoji 3s ease infinite alternate;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
}

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

.nav-link-btn {
    font-weight: 600;
    background-color: var(--primary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(138, 99, 229, 0.25);
}

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

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Common Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--pastel-purple);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Card Style */
.card {
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(138, 99, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 99, 229, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    background: linear-gradient(135deg, var(--pastel-cream) 0%, var(--pastel-pink) 50%, var(--pastel-green) 100%);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: rgba(255, 204, 213, 0.6);
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: rgba(138, 99, 229, 0.2);
    bottom: -100px;
    right: -100px;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background-color: rgba(204, 227, 222, 0.5);
    top: 40%;
    left: 70%;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-desc strong {
    color: var(--primary);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-card {
    position: relative;
    width: 320px;
    height: 380px;
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.floating-tag {
    position: absolute;
    padding: 10px 18px;
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 4s ease-in-out infinite;
}

.tag-baking {
    top: 30px;
    left: -40px;
    animation-delay: 0s;
}

.tag-karate {
    bottom: 50px;
    right: -40px;
    animation-delay: 1.3s;
}

.tag-law {
    top: 50%;
    left: -60px;
    animation-delay: 2.6s;
}

/* Bio Section */
.bio-section {
    padding: 100px 0;
    background-color: var(--pastel-cream);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.bio-profile-card {
    padding: 36px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--pastel-pink) 100%);
    position: sticky;
    top: 100px;
}

.bio-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.bio-avatar {
    width: 64px;
    height: 64px;
    background-color: var(--pastel-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 16px rgba(138, 99, 229, 0.1);
}

.bio-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bio-profile-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
}

.bio-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bio-detail-label {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bio-detail-val {
    color: var(--text-muted);
    font-size: 1rem;
}

.bio-story-content h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.bio-story-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.bio-story-text strong {
    color: var(--primary);
}

.bio-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bio-pillar-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: var(--bg-white);
}

.bio-pillar-card:nth-child(1) { border-left: 4px solid var(--primary-light); }
.bio-pillar-card:nth-child(2) { border-left: 4px solid #ecc94b; }
.bio-pillar-card:nth-child(3) { border-left: 4px solid var(--accent-pink); }

.bio-pillar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-law { background-color: var(--pastel-purple); }
.icon-karate { background-color: var(--pastel-yellow); }
.icon-baking { background-color: var(--pastel-pink); }

.bio-pillar-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.bio-pillar-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Karate Section & Belt Progression */
.karate-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.belt-roadmap {
    position: relative;
    margin: 80px 0 60px 0;
    padding: 0 40px;
}

.belt-track {
    position: absolute;
    top: 50px;
    left: 60px;
    right: 60px;
    height: 4px;
    background-color: #e2e8f0;
    z-index: 1;
}

.belt-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.belt-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    cursor: pointer;
}

.belt-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
}

.belt-strap {
    width: 32px;
    height: 12px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Belt Colors */
.belt-white { background-color: #f7fafc; border: 1px solid #cbd5e0; }
.belt-yellow { background-color: #ffde59; border: 1px solid #ecc94b; }
.belt-green { background-color: #48bb78; }
.belt-blue { background-color: #4299e1; }
.belt-purple { background-color: #9f7aea; }
.belt-brown { background-color: #a0aec0; } /* Brown substitute */
.belt-black { background-color: #1a202c; }

.belt-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
    text-align: center;
}

.belt-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: 12px;
    background-color: #edf2f7;
}

/* Active & Completed States */
.belt-step.completed .belt-icon-container {
    border-color: var(--primary-light);
    background-color: var(--pastel-purple);
}

.belt-step.completed .belt-status {
    color: var(--primary);
    background-color: var(--pastel-purple);
}

.belt-step.active {
    position: relative;
}

.belt-step.active .belt-icon-container {
    border-color: #ecc94b; /* yellow */
    background-color: var(--pastel-yellow);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 222, 89, 0.4);
}

.belt-pulse-effect {
    position: absolute;
    top: -5px;
    left: 25px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 222, 89, 0.2);
    z-index: -1;
    animation: pulse 2s infinite;
}

.current-badge {
    background-color: #ffde59 !important;
    color: #744210 !important;
    font-weight: 700;
}

/* Belt Detail panel */
.belt-detail-panel {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    max-width: 800px;
    margin: 40px auto 0 auto;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--pastel-yellow) 100%);
}

.belt-detail-icon {
    font-size: 3rem;
}

.belt-detail-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.belt-detail-content p {
    color: var(--text-muted);
}

/* Baking Section */
.baking-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.baking-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.baking-card {
    overflow: hidden;
    background-color: var(--bg-white);
}

.baking-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: var(--pastel-pink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.baking-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.baking-card:hover .baking-img {
    transform: scale(1.08);
}

.baking-info {
    padding: 24px;
}

.baking-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--pastel-pink);
    color: #e56b8f;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.baking-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.baking-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Law & Quiz Section */
.law-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.law-container {
    max-width: 1000px;
    margin: 0 auto;
}

.law-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    background-color: var(--bg-light);
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.law-tab-btn {
    border: none;
    background: none;
    padding: 12px 32px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.law-tab-btn.active {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.law-panel {
    display: none;
}

.law-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

/* Alert Box */
.alert-box {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.alert-box.note {
    background-color: var(--pastel-mint);
    border-left: 4px solid #38b2ac;
    color: #234e52;
}

/* Law Cards Grid */
.law-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.law-card {
    padding: 28px;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.law-card:nth-child(4n+1) { border-top: 4px solid var(--primary-light); }
.law-card:nth-child(4n+2) { border-top: 4px solid var(--accent-pink); }
.law-card:nth-child(4n+3) { border-top: 4px solid var(--pastel-green-border); }
.law-card:nth-child(4n) { border-top: 4px solid #ecc94b; }

.law-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.law-article-num {
    padding: 4px 12px;
    background-color: var(--pastel-purple);
    color: var(--primary);
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.85rem;
}

.law-card-header h4 {
    font-size: 1.15rem;
}

.law-clause {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.law-penalty {
    padding: 12px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
}

.penalty-tag {
    font-weight: 700;
    color: var(--text-main);
    font-style: normal;
    display: block;
    margin-bottom: 4px;
}

.center-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Game Interface */
.game-screen {
    animation: fadeIn 0.4s ease-out;
}

.game-intro-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.text-center {
    text-align: center;
}

.game-scale-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    animation: rotateScale 4s ease infinite;
}

.game-intro-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.game-intro-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.anti-cheat-status {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background-color: var(--pastel-pink);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    text-align: left;
    font-size: 0.85rem;
    color: #c53030;
}

.pulse-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e53e3e;
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    animation: pulseGlow 1.5s infinite;
    flex-shrink: 0;
}

/* Quiz play screen HUD */
.game-progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: #edf2f7;
    border-radius: 50px;
    margin-bottom: 24px;
    overflow: hidden;
}

.game-progress-bar {
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: var(--transition);
}

.game-hud {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 1rem;
}

.hud-item strong {
    color: var(--primary);
}

.case-card {
    padding: 32px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--pastel-blue) 100%);
    margin-bottom: 32px;
}

.case-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
}

.case-header h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.case-body {
    font-size: 1.05rem;
    line-height: 1.7;
}

.game-question h5 {
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.option-btn {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background-color: var(--bg-white);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    transition: var(--transition);
}

.option-btn:hover {
    border-color: var(--primary-light);
    background-color: var(--pastel-purple);
    transform: translateY(-2px);
}

.option-btn.selected {
    border-color: var(--primary);
    background-color: var(--pastel-purple);
}

.option-btn.correct {
    border-color: #48bb78;
    background-color: #f0fff4;
    color: #22543d;
}

.option-btn.incorrect {
    border-color: #f56565;
    background-color: #fff5f5;
    color: #742a2a;
}

/* Result Screen */
.result-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.result-trophy {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

.result-card h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.result-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.result-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    padding: 20px;
    background-color: var(--pastel-blue);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
}

.stat-box:nth-child(2) {
    background-color: var(--pastel-mint);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Anti-Cheat Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 32, 44, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: rotateEmoji 1.5s infinite alternate;
}

.modal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #e53e3e;
}

.modal-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Footer */
.footer-section {
    padding: 40px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--glass-border);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(229, 62, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0); }
}

@keyframes rotateEmoji {
    0% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

@keyframes rotateScale {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

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

/* Utility classes */
.hidden {
    display: none !important;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .bio-profile-card {
        position: static;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image-container {
        order: -1;
    }
    .baking-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .law-cards-grid {
        grid-template-columns: 1fr;
    }
    .options-grid {
        grid-template-columns: 1fr;
    }
    .belt-roadmap {
        padding: 0 10px;
        overflow-x: auto;
    }
    .belt-steps {
        width: 800px;
        padding-bottom: 20px;
    }
    .belt-track {
        width: 700px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu can be toggled if implemented, or simplified to just jump links */
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .baking-gallery {
        grid-template-columns: 1fr;
    }
    .belt-detail-panel {
        flex-direction: column;
        text-align: center;
    }
}

/* Verdict Typing Game Styles */
.verdict-input-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    background: var(--bg-white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    max-width: 500px;
}

.verdict-prefix {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.verdict-input {
    border: none;
    border-bottom: 3px solid #cbd5e0;
    outline: none;
    padding: 8px 4px;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary);
    width: 120px;
    text-align: center;
    background: transparent;
    transition: var(--transition);
}

.verdict-input:focus {
    border-color: var(--primary);
}

.verdict-feedback {
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid;
    animation: fadeIn 0.4s ease-out;
}

.verdict-feedback.correct {
    background-color: #f0fff4;
    border-color: #c6f6d5;
    color: #22543d;
}

.verdict-feedback.incorrect {
    background-color: #fff5f5;
    border-color: #fed7d7;
    color: #742a2a;
}

.feedback-status {
    font-weight: 800;
    font-size: 1.15rem;
}

.feedback-text {
    font-size: 1.05rem;
    line-height: 1.6;
}

.feedback-text strong {
    color: inherit;
}
