/* ===== Dark Theme - Pokechill ===== */

/* CSS Variables */
:root {
    /* Primary Colors - Blue Theme */
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --primary-bg: rgba(59, 130, 246, 0.1);
    --primary-border: rgba(59, 130, 246, 0.3);
    
    --secondary-color: #1d4ed8;
    --accent-color: #60a5fa;
    
    /* Dark Backgrounds */
    --bg-color: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-card: #252b3b;
    --bg-hero: linear-gradient(180deg, #1a1f2e 0%, #0f1419 100%);
    
    /* Text Colors */
    --text-color: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-light: #6b7280;
    
    /* Border Colors */
    --border-color: rgba(59, 130, 246, 0.2);
    --border-light: rgba(255, 255, 255, 0.05);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-primary: 0 4px 15px rgba(59, 130, 246, 0.4);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ===== Header & Navigation ===== */
header.topbar-gradient {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.custom-nav {
    background: transparent;
    padding: 14px 0;
}

.navbar.custom-nav .navbar-brand img {
    border-radius: var(--radius-sm);
}

.navbar.custom-nav .brand-gradient {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.navbar.custom-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-right: 4px;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.navbar.custom-nav .nav-link:hover {
    color: var(--primary-color);
    background: var(--primary-bg);
}

.navbar.custom-nav .nav-link .small-icon {
    color: var(--text-light);
    font-size: 0.8125rem;
    margin-right: 0.25rem;
    transition: color 0.2s ease;
}

.navbar.custom-nav .nav-link:hover .small-icon {
    color: var(--primary-color);
}

/* Language Button */
.language-btn {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    padding: 0.4375rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.language-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--primary-bg);
}

.language-btn .fa-globe {
    color: var(--text-light);
}

.language-btn:hover .fa-globe {
    color: var(--primary-color);
}

/* Start Button (CTA in nav) */
.nav-cta-btn {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-green);
}

/* Dropdown */
.dropdown-menu {
    border-radius: var(--radius-md) !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 0.5rem !important;
}

.dropdown-item {
    color: var(--text-color) !important;
    padding: 0.625rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--primary-bg) !important;
    color: var(--primary-color) !important;
}

/* Mobile Toggle */
.navbar-toggler {
    border-color: var(--border-color);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.15);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Footer ===== */
footer {
    background: var(--bg-card) !important;
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
}

footer .text-muted {
    color: var(--text-secondary) !important;
    font-size: 0.875rem;
}

footer .text-muted:hover {
    color: var(--primary-color) !important;
}

footer h4 {
    color: var(--text-color);
    font-size: 1.125rem;
}

footer h6 {
    color: var(--text-color);
    font-size: 0.9375rem;
    font-weight: 600;
}

footer .footer-divider {
    border-color: var(--border-color);
}

footer p.max-w-520 {
    font-size: 0.8125rem;
    line-height: 1.6;
}

/* ===== Page Layout ===== */
body.page {
    background: var(--bg-color);
}

body.page main {
    background: transparent;
}

.page {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-bottom: 0;
}

.page a {
    color: inherit;
    text-decoration: none;
}

.page a:hover {
    color: var(--primary-color);
}

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 2.5rem 0 4rem;
    background: var(--bg-hero);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(96, 165, 250, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

/* FREE Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.375rem 0.5rem 0.375rem 0.375rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
}

.badge-free {
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.hero-title {
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Lyrics Generator Layout ===== */
.lyrics-generator-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.25rem;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Input Panel */
.generator-input-panel {
    display: flex;
    flex-direction: column;
}

.input-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.credits-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.08));
    border: 1px solid var(--primary-border);
    border-radius: 999px;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    align-self: flex-start;
}

/* Form Elements */
.form-group {
    margin-bottom: 0.875rem;
}

.form-group.half {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 0.625rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.375rem;
}

.form-textarea {
    width: 100%;
    min-height: 90px;
    padding: 0.75rem 0.875rem;
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08);
    background: #fff;
}

.form-textarea::placeholder {
    color: #9ca3af;
    font-size: 0.8125rem;
}

.try-sample-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 0.375rem;
    padding: 0.3125rem 0.625rem;
    background: transparent;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.try-sample-btn:hover {
    background: var(--primary-bg);
    border-color: var(--primary-color);
    border-style: solid;
    color: var(--primary-color);
}

/* Custom Select */
.custom-select {
    position: relative;
}

.custom-select select {
    width: 100%;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-color);
    font-size: 0.8125rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    transition: all 0.2s ease;
}

.custom-select select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

.custom-select i {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    font-size: 0.625rem;
}

.custom-select select option {
    background: var(--bg-card);
    color: var(--text-color);
}

/* Generate Button */
.generate-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    margin-top: auto;
}

.generate-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.generate-btn:active {
    transform: translateY(0);
}

.generate-btn i {
    font-size: 0.9375rem;
}

.generate-btn .fa-sparkles,
.generate-btn .fa-wand-magic-sparkles {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ===== Output Panel ===== */
.generator-output-panel {
    display: flex;
    flex-direction: column;
}

.lyrics-preview-card {
    background: linear-gradient(135deg, #fffcf9 0%, #fff9f5 100%);
    border: 2px dashed rgba(249, 115, 22, 0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.lyrics-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.preview-default,
.preview-loading,
.preview-result {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px dashed var(--border-color);
}

.preview-badge {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    background: var(--primary-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.625rem;
}

.preview-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: inline;
}

.preview-actions {
    display: flex;
    gap: 0.375rem;
}

.preview-actions .icon-btn,
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Sample Lyrics */
.preview-content {
    flex: 1;
}

.sample-lyrics,
.generated-lyrics {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.9;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.125rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-label:first-child {
    margin-top: 0;
}

.lyrics-line {
    color: #4b5563;
    font-size: 0.9375rem;
    margin: 0.1875rem 0;
    font-style: italic;
}

/* Loading State */
.preview-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

.loading-animation {
    margin-bottom: 1.5rem;
}

.typing-indicator {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.typing-indicator span {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
    30% { transform: translateY(-8px); opacity: 1; }
}

.loading-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

/* Loading Steps */
.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    width: 100%;
    max-width: 260px;
    margin-top: 1.25rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.875rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.step i {
    font-size: 0.875rem;
    color: var(--text-light);
}

.step span {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.step.active i {
    color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

.step.step-complete {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.2);
}

.step.step-complete i {
    color: var(--success);
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Result Footer */
.preview-result .preview-content {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.preview-result .preview-content::-webkit-scrollbar {
    width: 5px;
}

.preview-result .preview-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.preview-result .preview-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.preview-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.regenerate-btn {
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.regenerate-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ===== Section Styles ===== */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2,
.steps h2,
.faq h2 {
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.625rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* ===== Examples Section ===== */
#examples {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-color) 100%);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.example-card {
    border-radius: var(--radius-xl);
    border: none;
    padding: 2px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.4) 0%, rgba(251, 146, 60, 0.25) 50%, rgba(249, 115, 22, 0.4) 100%);
}

.example-card::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-card);
    border-radius: calc(var(--radius-xl) - 2px);
    z-index: 0;
}

.example-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.15), 0 8px 25px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.6) 0%, rgba(251, 146, 60, 0.4) 50%, rgba(249, 115, 22, 0.6) 100%);
}

.example-card img {
    width: 100%;
    display: block;
    border-radius: calc(var(--radius-xl) - 2px);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.example-card:hover img {
    transform: scale(1.02);
}

/* ===== Steps Section ===== */
.steps {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.steps h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}

.step-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

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

.step-label {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.875rem;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.625rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    font-size: 0.875rem;
}

/* ===== Features Section ===== */
.features {
    padding: 4rem 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.feature-card--reverse {
    direction: rtl;
}

.feature-card--reverse > * {
    direction: ltr;
}

.feature-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.feature-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

.feature-media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    padding: 2px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.4) 0%, rgba(251, 146, 60, 0.25) 50%, rgba(249, 115, 22, 0.4) 100%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-media:hover {
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.15);
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.6) 0%, rgba(251, 146, 60, 0.4) 50%, rgba(249, 115, 22, 0.6) 100%);
}

.feature-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-xl) - 3px);
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-media img {
    transform: scale(1.02);
}

/* ===== Body Fat Chart Section ===== */
.bodyfat-chart-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.bodyfat-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

.bodyfat-table-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.table-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-title i {
    color: var(--primary-color);
}

.bodyfat-table {
    width: 100%;
    border-collapse: collapse;
}

.bodyfat-table th,
.bodyfat-table td {
    padding: 0.625rem 0.875rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8125rem;
}

.bodyfat-table th {
    font-weight: 600;
    color: var(--text-color);
    background: var(--bg-secondary);
}

.bodyfat-table td {
    color: var(--text-secondary);
}

.bodyfat-table tr:last-child td {
    border-bottom: none;
}

.category-essential .category-name { color: var(--success); font-weight: 600; }
.category-athletic .category-name { color: var(--primary-color); font-weight: 600; }
.category-fitness .category-name { color: var(--info); font-weight: 600; }
.category-average .category-name { color: var(--text-color); font-weight: 600; }
.category-above .category-name { color: var(--warning); font-weight: 600; }
.category-obese .category-name { color: var(--danger); font-weight: 600; }

/* ===== FAQ Section ===== */
.faq-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
}

.faq-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.faq-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.875rem 0;
    line-height: 1.5;
}

.faq-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.faq-item p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-item p a:hover {
    text-decoration: underline;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .lyrics-generator-wrapper {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .generator-input-panel {
        position: static;
    }

    .generator-output-panel {
        min-height: auto;
    }

    .lyrics-preview-card {
        min-height: 380px;
    }

    .feature-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card--reverse {
        direction: ltr;
    }

    .bodyfat-tables {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 3rem;
    }

    .section, .steps, .features, .faq {
        padding: 3rem 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .input-card {
        padding: 1.25rem;
    }

    .preview-default,
    .preview-loading,
    .preview-result {
        padding: 1.25rem;
    }

    .preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .examples-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .example-card:hover {
        transform: translateY(-4px);
    }

    .feature-text h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .section-header h2,
    .steps h2,
    .faq h2 {
        font-size: 1.5rem;
    }
}

/* ===== BallSheet Homepage ===== */
body.ballsheet-page {
    --ballsheet-bg: #070707;
    --ballsheet-surface: #101214;
    --ballsheet-surface-2: #171a1d;
    --ballsheet-panel: #1e2227;
    --ballsheet-line: rgba(0, 255, 230, 0.22);
    --ballsheet-line-soft: rgba(255, 255, 255, 0.08);
    --ballsheet-text: #f4f7f6;
    --ballsheet-muted: #a8b3b0;
    --ballsheet-cyan: #00ffe6;
    --ballsheet-pink: #fa96c8;
    --ballsheet-lime: #c8ff00;
    --ballsheet-red: #ff355f;
    --ballsheet-radius: 8px;
    background: var(--ballsheet-bg);
    color: var(--ballsheet-text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.ballsheet-page main {
    background: var(--ballsheet-bg);
}

.ballsheet-page .container {
    width: min(1160px, 94vw);
}

.ballsheet-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 7, 7, 0.94);
    border-bottom: 1px solid var(--ballsheet-line);
    backdrop-filter: blur(14px);
}

.ballsheet-nav {
    min-height: 72px;
    padding: 0.75rem 0;
}

.ballsheet-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ballsheet-text);
    text-decoration: none;
}

.ballsheet-brand:hover {
    color: var(--ballsheet-text);
}

.ballsheet-brand-mark {
    width: 34px;
    height: 34px;
    border: 2px solid var(--ballsheet-cyan);
    border-radius: 50%;
    background: radial-gradient(circle at 36% 35%, var(--ballsheet-pink) 0 22%, #050505 24% 100%);
    box-shadow: 0 0 24px rgba(0, 255, 230, 0.28);
    flex: 0 0 auto;
}

.ballsheet-brand-name {
    display: block;
    color: var(--ballsheet-cyan);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.ballsheet-brand-label {
    display: block;
    color: var(--ballsheet-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

.ballsheet-menu-button {
    border-color: var(--ballsheet-line);
    min-width: 44px;
    min-height: 44px;
}

.ballsheet-nav-links {
    gap: 0.25rem;
}

.ballsheet-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ballsheet-nav .nav-link {
    color: var(--ballsheet-muted);
    border-radius: var(--ballsheet-radius);
    font-size: 0.94rem;
    font-weight: 600;
    min-height: 44px;
    padding: 0.65rem 0.9rem;
}

.ballsheet-nav .nav-link:hover,
.ballsheet-nav .nav-link:focus {
    color: var(--ballsheet-cyan);
    background: rgba(0, 255, 230, 0.08);
}

.ballsheet-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.68rem 1.15rem;
    border: 1px solid var(--ballsheet-cyan);
    border-radius: var(--ballsheet-radius);
    background: var(--ballsheet-cyan);
    color: #03110f;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 0 22px rgba(0, 255, 230, 0.22);
}

.ballsheet-nav-cta:hover,
.ballsheet-nav-cta:focus {
    color: #03110f;
    background: var(--ballsheet-lime);
    border-color: var(--ballsheet-lime);
}

.ballsheet-language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.62rem 0.9rem;
    border: 1px solid var(--ballsheet-line);
    border-radius: var(--ballsheet-radius);
    background: rgba(0, 255, 230, 0.06);
    color: var(--ballsheet-text);
    font-weight: 700;
}

.ballsheet-language-btn:hover,
.ballsheet-language-btn:focus {
    color: var(--ballsheet-cyan);
    background: rgba(0, 255, 230, 0.12);
    border-color: var(--ballsheet-cyan);
}

.ballsheet-language-menu {
    min-width: 150px;
}

.ballsheet-tool-section,
.ballsheet-hero-section,
.ballsheet-stats-section,
.ballsheet-what-section,
.ballsheet-how-section,
.ballsheet-why-section,
.ballsheet-faq-section {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.ballsheet-tool-section {
    padding-top: clamp(2rem, 4vw, 3.5rem);
    background:
        linear-gradient(180deg, rgba(0, 255, 230, 0.08), transparent 34%),
        var(--ballsheet-bg);
}

.ballsheet-hero-section,
.ballsheet-what-section,
.ballsheet-why-section {
    background: var(--ballsheet-surface);
}

.ballsheet-stats-section,
.ballsheet-how-section,
.ballsheet-faq-section {
    background: var(--ballsheet-bg);
}

.ballsheet-tool-copy,
.ballsheet-section-header {
    max-width: 820px;
    margin: 0 auto 2rem;
    text-align: center;
}

.ballsheet-tool-copy h1,
.ballsheet-section-header h2 {
    margin: 0 0 1rem;
    color: var(--ballsheet-text);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
}

.ballsheet-tool-copy h1 {
    font-size: clamp(2.15rem, 6vw, 4.4rem);
}

.ballsheet-section-header h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

.ballsheet-section-header p,
.ballsheet-lede,
.ballsheet-play-note,
.ballsheet-control-hint {
    color: var(--ballsheet-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.ballsheet-lede {
    max-width: 760px;
    margin: 0 auto 0.75rem;
}

.ballsheet-play-note {
    margin: 0;
    color: var(--ballsheet-pink);
    font-weight: 700;
}

.ballsheet-eyebrow {
    margin: 0 0 0.7rem;
    color: var(--ballsheet-cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ballsheet-game-shell {
    position: relative;
    width: min(800px, 100%);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border: 1px solid var(--ballsheet-line);
    border-radius: var(--ballsheet-radius);
    background: #000;
    box-shadow: 0 0 42px rgba(0, 255, 230, 0.16);
    overflow: hidden;
    scroll-margin-top: 92px;
}

.ballsheet-game-frame-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ballsheet-game-frame-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    overflow: hidden;
    background: #000;
}

.ballsheet-fullscreen-btn {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ballsheet-line);
    border-radius: var(--ballsheet-radius);
    background: rgba(7, 7, 7, 0.86);
    color: var(--ballsheet-cyan);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ballsheet-fullscreen-btn:hover,
.ballsheet-fullscreen-btn:focus {
    background: var(--ballsheet-cyan);
    border-color: var(--ballsheet-cyan);
    color: #03110f;
    transform: translateY(-1px);
}

.ballsheet-game-shell:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    background: #000;
}

.ballsheet-game-shell:fullscreen .ballsheet-game-frame-wrap {
    width: min(100vw, 100vh);
    height: min(100vw, 100vh);
    margin: auto;
}

.ballsheet-game-shell:fullscreen iframe {
    width: 100%;
    height: 100%;
}

.ballsheet-game-shell:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border: 0;
    border-radius: 0;
    background: #000;
}

.ballsheet-game-shell:-webkit-full-screen .ballsheet-game-frame-wrap {
    width: min(100vw, 100vh);
    height: min(100vw, 100vh);
    margin: auto;
}

.ballsheet-control-hint {
    width: min(800px, 100%);
    margin: 1rem auto 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ballsheet-line-soft);
    border-radius: var(--ballsheet-radius);
    background: var(--ballsheet-surface);
    color: var(--ballsheet-text);
    text-align: center;
}

.ballsheet-feature-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ballsheet-feature-pill {
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--ballsheet-line);
    border-radius: var(--ballsheet-radius);
    background: rgba(0, 255, 230, 0.06);
    color: var(--ballsheet-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.ballsheet-card-grid {
    display: grid;
    gap: 1rem;
}

.ballsheet-card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ballsheet-card-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ballsheet-info-card,
.ballsheet-inline-callout,
.ballsheet-controls-panel,
.ballsheet-faq-item {
    border: 1px solid var(--ballsheet-line-soft);
    border-radius: var(--ballsheet-radius);
    background: var(--ballsheet-panel);
}

.ballsheet-info-card {
    padding: 1.25rem;
}

.ballsheet-info-card h3,
.ballsheet-inline-callout h3,
.ballsheet-controls-panel h3,
.ballsheet-step h3,
.ballsheet-faq-item h3 {
    margin: 0 0 0.65rem;
    color: var(--ballsheet-text);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.ballsheet-info-card p,
.ballsheet-inline-callout p,
.ballsheet-step p,
.ballsheet-faq-item p,
.ballsheet-control-item p {
    margin: 0;
    color: var(--ballsheet-muted);
    line-height: 1.65;
}

.ballsheet-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.ballsheet-stat-card {
    padding: 1.2rem;
    border: 1px solid var(--ballsheet-line-soft);
    border-radius: var(--ballsheet-radius);
    background: var(--ballsheet-panel);
}

.ballsheet-stat-label {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--ballsheet-line);
    border-radius: var(--ballsheet-radius);
    color: var(--ballsheet-cyan);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ballsheet-stat-card h3 {
    margin: 0 0 0.65rem;
    color: var(--ballsheet-text);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.ballsheet-stat-card p {
    margin: 0;
    color: var(--ballsheet-muted);
    line-height: 1.65;
}

.ballsheet-stats-callout {
    max-width: 920px;
    margin: 1rem auto 0;
}

.ballsheet-fact-table-wrap,
.ballsheet-comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--ballsheet-line-soft);
    border-radius: var(--ballsheet-radius);
    background: var(--ballsheet-panel);
}

.ballsheet-fact-table,
.ballsheet-comparison-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--ballsheet-text);
}

.ballsheet-fact-table th,
.ballsheet-fact-table td,
.ballsheet-comparison-table th,
.ballsheet-comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--ballsheet-line-soft);
    vertical-align: top;
}

.ballsheet-fact-table tr:last-child th,
.ballsheet-fact-table tr:last-child td,
.ballsheet-comparison-table tr:last-child th,
.ballsheet-comparison-table tr:last-child td {
    border-bottom: 0;
}

.ballsheet-fact-table th,
.ballsheet-comparison-table th {
    color: var(--ballsheet-cyan);
    font-weight: 800;
}

.ballsheet-fact-table td,
.ballsheet-comparison-table td {
    color: var(--ballsheet-muted);
}

.ballsheet-comparison-table caption {
    caption-side: top;
    padding: 1rem;
    color: var(--ballsheet-pink);
    font-weight: 800;
    text-align: left;
}

.ballsheet-inline-callout {
    margin-top: 1rem;
    padding: 1.25rem;
    border-color: var(--ballsheet-line);
}

.ballsheet-steps {
    display: grid;
    gap: 1rem;
    max-width: 920px;
    margin: 0 auto 2rem;
}

.ballsheet-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--ballsheet-line-soft);
    border-radius: var(--ballsheet-radius);
    background: var(--ballsheet-surface-2);
}

.ballsheet-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ballsheet-cyan);
    color: #03110f;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ballsheet-controls-panel {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25rem;
}

.ballsheet-controls-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.ballsheet-control-item {
    padding: 0.85rem;
    border: 1px solid var(--ballsheet-line-soft);
    border-radius: var(--ballsheet-radius);
    background: var(--ballsheet-surface);
}

.ballsheet-control-item span {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--ballsheet-pink);
    font-size: 0.92rem;
    font-weight: 800;
}

.ballsheet-faq-list {
    display: grid;
    gap: 0.85rem;
    max-width: 920px;
    margin: 0 auto;
}

.ballsheet-faq-item {
    padding: 1.15rem 1.25rem;
}

.ballsheet-footer {
    padding: 3.5rem 0 2rem;
    border-top: 1px solid var(--ballsheet-line);
    background: var(--ballsheet-surface);
}

.ballsheet-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
}

.ballsheet-footer h2,
.ballsheet-footer h3 {
    margin: 0 0 0.85rem;
    color: var(--ballsheet-text);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-weight: 700;
}

.ballsheet-footer h2 {
    font-size: 1.4rem;
}

.ballsheet-footer h3 {
    font-size: 1rem;
}

.ballsheet-footer p,
.ballsheet-footer a {
    color: var(--ballsheet-muted);
}

.ballsheet-footer ul {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ballsheet-footer a {
    text-decoration: none;
}

.ballsheet-footer a:hover,
.ballsheet-footer a:focus {
    color: var(--ballsheet-cyan);
}

.ballsheet-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ballsheet-line-soft);
}

.ballsheet-footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
}

@media (max-width: 991px) {
    .ballsheet-nav-links {
        margin-top: 1rem;
    }

    .ballsheet-nav-cta {
        width: 100%;
        margin-top: 0.75rem;
    }

    .ballsheet-nav-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 0.75rem;
    }

    .ballsheet-language-btn {
        width: 100%;
    }

    .ballsheet-card-grid-three,
    .ballsheet-card-grid-four,
    .ballsheet-stats-grid,
    .ballsheet-controls-grid,
    .ballsheet-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ballsheet-page .container {
        width: min(100% - 1rem, 1160px);
        padding: 0 0.5rem;
    }

    .ballsheet-tool-section,
    .ballsheet-hero-section,
    .ballsheet-stats-section,
    .ballsheet-what-section,
    .ballsheet-how-section,
    .ballsheet-why-section,
    .ballsheet-faq-section {
        padding: 2.5rem 0;
    }

    .ballsheet-tool-copy,
    .ballsheet-section-header {
        text-align: left;
    }

    .ballsheet-game-shell {
        border-radius: 0;
    }

    .ballsheet-fullscreen-btn {
        width: 44px;
        height: 44px;
        right: 0.65rem;
        bottom: 0.65rem;
    }

    .ballsheet-card-grid-three,
    .ballsheet-card-grid-four,
    .ballsheet-stats-grid,
    .ballsheet-controls-grid,
    .ballsheet-footer-grid {
        grid-template-columns: 1fr;
    }

    .ballsheet-step {
        grid-template-columns: 1fr;
    }

    .ballsheet-footer-bottom {
        display: grid;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Max Width */
.max-w-520 { max-width: 520px; }

/* Brand Icon */
.brand-icon-img {
    border-radius: var(--radius-sm);
}

/* Notification */
.notification {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Upload Button Secondary */
.upload-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-btn:hover {
    background: var(--primary-dark);
}

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

.upload-btn.btn-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Action Buttons */
.action-btn {
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-share {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.btn-share:hover {
    background: var(--info);
    color: #fff;
}

.btn-download {
    background: var(--primary-bg);
    color: var(--primary-color);
    border: 1px solid var(--primary-border);
}

.btn-download:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Result Actions Grid */
.result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

/* Upload Icon Circle */
.upload-icon-circle {
    width: 64px;
    height: 64px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.upload-icon-circle i {
    font-size: 1.5rem;
    color: var(--primary-color);
}


/* ===== Pokechill Specific Styles ===== */

/* CTA Button in Hero */
.cta-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    color: #fff;
}

/* Game Iframe Section */
.game-container {
    background: var(--bg-secondary);
}

.game-wrapper {
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 2px solid var(--border-color);
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #1a1f2e 0%, #252b3b 100%);
}

/* Game Splash Screen */
.game-splash {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background: linear-gradient(135deg, #1a1f2e 0%, #252b3b 100%);
    position: relative;
    overflow: hidden;
}

.game-splash::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/images/pokechill.png');
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    opacity: 0.3;
    transform: scale(1.1);
    pointer-events: none;
}

.game-splash::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.85) 0%, rgba(37, 43, 59, 0.85) 100%);
    pointer-events: none;
}

.splash-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
    padding: 3rem 1.5rem;
}

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

.game-preview-image {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    border: 2px solid var(--border-color);
    animation: float 3s ease-in-out infinite;
}

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

.game-title {
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.game-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.play-game-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.play-game-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.play-game-btn:active {
    transform: translateY(0);
}

.play-game-btn i {
    font-size: 1.25rem;
}

/* Game Iframe Container */
.game-iframe-container {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.game-iframe-container iframe {
    display: block;
    width: 100%;
    min-height: 600px;
    border: none;
}

/* Fullscreen Button */
.fullscreen-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: #fff;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.fullscreen-btn:hover {
    background: rgba(59, 130, 246, 0.9);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.fullscreen-btn:active {
    transform: scale(0.95);
}

/* Fullscreen Mode */
.game-wrapper:fullscreen {
    max-width: 100%;
    border-radius: 0;
    border: none;
}

.game-wrapper:fullscreen .game-iframe-container iframe {
    min-height: 100vh;
}

.game-wrapper:-webkit-full-screen {
    max-width: 100%;
    border-radius: 0;
    border: none;
}

.game-wrapper:-webkit-full-screen .game-iframe-container iframe {
    min-height: 100vh;
}

.game-wrapper:-moz-full-screen {
    max-width: 100%;
    border-radius: 0;
    border: none;
}

.game-wrapper:-moz-full-screen .game-iframe-container iframe {
    min-height: 100vh;
}

.game-wrapper:-ms-fullscreen {
    max-width: 100%;
    border-radius: 0;
    border: none;
}

.game-wrapper:-ms-fullscreen .game-iframe-container iframe {
    min-height: 100vh;
}

.game-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Video Section */
.video-section {
    background: var(--bg-color);
}

.video-wrapper {
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 2px solid var(--border-color);
}

.video-wrapper iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    max-width: 720px;
    margin: 0 auto;
}

/* What Is Section */
.what-is-pokechill {
    background: var(--bg-color);
}

.intro-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-heading,
.starters-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Starters Grid */
.starters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 920px;
    margin: 0 auto;
}

.starter-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.starter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.starter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.starter-card:hover::before {
    top: -25%;
    right: -25%;
}

.starter-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.starter-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.375rem;
    position: relative;
    z-index: 1;
}

.starter-type {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.starter-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* How To Section */
.how-to-play {
    background: var(--bg-secondary);
}

.steps-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.25s ease;
}

.step-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Tips Box */
.tips-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.08) 100%);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 860px;
    margin: 0 auto;
}

.tips-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tips-list li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding-left: 0;
}

/* Why Section */
.why-pokechill {
    background: var(--bg-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.benefit-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .game-wrapper iframe {
        min-height: 450px;
    }
    
    .game-splash {
        min-height: 450px;
    }
    
    .splash-content {
        padding: 2rem 1.5rem;
    }
    
    .game-preview-image {
        max-width: 220px;
        margin-bottom: 1.5rem;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .game-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .play-game-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .fullscreen-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .starters-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .step-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .tips-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .game-wrapper iframe {
        min-height: 400px;
    }
    
    .game-splash {
        min-height: 400px;
    }
    
    .splash-content {
        padding: 1.5rem 1rem;
    }
    
    .game-preview-image {
        max-width: 200px;
        margin-bottom: 1.25rem;
    }
    
    .game-title {
        font-size: 1.75rem;
    }
    
    .game-subtitle {
        margin-bottom: 1.75rem;
    }
    
    .play-game-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .starter-icon {
        font-size: 3rem;
    }

    .starter-name {
        font-size: 1.25rem;
    }
}

/* ===================================
   Guide Page Styles
   =================================== */

/* Guide Hero Section */
.guide-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 10px;
}

/* Quick Navigation Grid */
.guide-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Section Cards */
.guide-section {
    margin-bottom: 3rem;
}

.guide-section .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.guide-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Starter Pokemon Cards */
.starter-card {
    transition: transform 0.2s;
}

.starter-card:hover {
    transform: scale(1.02);
}

/* Type Effectiveness Table */
.type-chart-table {
    font-size: 0.9rem;
}

.type-chart-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: center;
}

.type-chart-table td {
    vertical-align: middle;
}

/* Evolution Path Cards */
.evolution-path {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    border-radius: 8px;
    padding: 1rem;
}

/* IV Quality Badges */
.iv-badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
}

/* Tips Cards */
.tip-card {
    border-left: 4px solid #667eea;
    background-color: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Accordion Customization */
.accordion-button:not(.collapsed) {
    background-color: #667eea;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #667eea;
}

/* Resource Cards */
.resource-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s;
}

.resource-card:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}

.resource-card i {
    transition: transform 0.3s;
}

.resource-card:hover i {
    transform: scale(1.1);
}

/* Responsive Tables */
@media (max-width: 768px) {
    .type-chart-table {
        font-size: 0.75rem;
    }
    
    .type-chart-table th,
    .type-chart-table td {
        padding: 0.5rem 0.25rem;
    }
}

/* Alert Boxes */
.alert-info {
    border-left: 4px solid #0dcaf0;
}

.alert-success {
    border-left: 4px solid #198754;
}

.alert-warning {
    border-left: 4px solid #ffc107;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Anchors */
section[id] {
    scroll-margin-top: 80px;
}

/* ===================================
   Evolution Page Styles
   =================================== */

/* Evolution Showcase */
.evolution-showcase {
    margin-bottom: 2rem;
}

.evolution-stage {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.evolution-stage:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.pokemon-name-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Evolution Arrow Animation */
.evolution-showcase .fa-arrow-right {
    transition: transform 0.3s;
}

.evolution-showcase:hover .fa-arrow-right {
    transform: translateX(5px);
}

/* Evolution Table */
.evolution-chart-table {
    font-size: 0.9rem;
}

.evolution-chart-table .badge {
    font-size: 0.75rem;
    margin: 0.1rem;
}

/* Type Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Evolution Priority Cards */
.evolution-priority-card {
    border-left: 4px solid;
    padding: 1rem;
    margin-bottom: 1rem;
}

.evolution-priority-card.high {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.evolution-priority-card.medium {
    border-color: #ffc107;
    background-color: #fff3cd;
}

.evolution-priority-card.low {
    border-color: #6c757d;
    background-color: #e2e3e5;
}

/* Responsive Evolution Display */
@media (max-width: 768px) {
    .evolution-stage {
        margin-bottom: 1rem;
    }
    
    .evolution-showcase .fa-arrow-right {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .evolution-showcase:hover .fa-arrow-right {
        transform: rotate(90deg) translateX(5px);
    }
}

/* Evolution Card Borders */
.card.border-primary {
    border-width: 2px;
}

.card.border-danger {
    border-width: 2px;
}

.card.border-success {
    border-width: 2px;
}

/* Accordion Styling for Evolution Page */
.accordion-button {
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: #667eea;
    color: white;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* Evolution Info Alerts */
.alert-primary {
    border-left: 4px solid #0d6efd;
}

.alert-danger {
    border-left: 4px solid #dc3545;
}

.alert-success {
    border-left: 4px solid #198754;
}

/* ===================================
   Tier List Page Styles
   =================================== */

/* Tier Badges */
.tier-badge, .tier-badge-large {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: 'Arial Black', sans-serif;
}

.tier-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    min-width: 30px;
}

.tier-badge-large {
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    min-width: 60px;
}

/* S-Tier (Gold/Red) */
.tier-badge.s-tier, .tier-badge-large.s-tier {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* A-Tier (Silver/Blue) */
.tier-badge.a-tier, .tier-badge-large.a-tier {
    background: linear-gradient(135deg, #C0C0C0, #4169E1);
    color: #fff;
    box-shadow: 0 2px 8px rgba(65, 105, 225, 0.3);
}

/* B-Tier (Bronze/Green) */
.tier-badge.b-tier, .tier-badge-large.b-tier {
    background: linear-gradient(135deg, #CD7F32, #228B22);
    color: #fff;
    box-shadow: 0 2px 8px rgba(34, 139, 34, 0.3);
}

/* C-Tier (Gray) */
.tier-badge.c-tier, .tier-badge-large.c-tier {
    background: linear-gradient(135deg, #808080, #A9A9A9);
    color: #fff;
    box-shadow: 0 2px 8px rgba(128, 128, 128, 0.3);
}

/* D-Tier (Dark Gray) */
.tier-badge.d-tier, .tier-badge-large.d-tier {
    background: linear-gradient(135deg, #696969, #2F4F4F);
    color: #fff;
    box-shadow: 0 2px 8px rgba(47, 79, 79, 0.3);
}

/* Tier Sections */
.tier-section {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid;
}

.tier-section.s-tier-section {
    border-color: #FFD700;
}

.tier-section.a-tier-section {
    border-color: #4169E1;
}

.tier-section.b-tier-section {
    border-color: #228B22;
}

.tier-section.c-tier-section {
    border-color: #808080;
}

.tier-section.d-tier-section {
    border-color: #696969;
}

/* Tier Headers */
.tier-header {
    padding: 1rem;
    color: white;
    font-weight: 600;
}

.s-tier-header {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.a-tier-header {
    background: linear-gradient(135deg, #C0C0C0, #4169E1);
}

.b-tier-header {
    background: linear-gradient(135deg, #CD7F32, #228B22);
}

.c-tier-header {
    background: linear-gradient(135deg, #808080, #A9A9A9);
}

.d-tier-header {
    background: linear-gradient(135deg, #696969, #2F4F4F);
}

/* Tier Content */
.tier-content {
    padding: 1.5rem;
    background-color: #f8f9fa;
}

/* Pokemon Cards */
.pokemon-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    height: 100%;
    transition: all 0.3s;
}

.pokemon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pokemon-card-compact {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    text-align: center;
    transition: all 0.2s;
}

.pokemon-card-compact:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.pokemon-card-mini {
    background: white;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    text-align: center;
    transition: all 0.2s;
}

.pokemon-card-mini:hover {
    background: #e9ecef;
}

/* Tier Explanation Cards */
.tier-explanation {
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
    background: white;
    height: 100%;
}

.tier-explanation.s-tier {
    border-color: #FFD700;
    background: linear-gradient(to right, #FFF9E6, white);
}

.tier-explanation.a-tier {
    border-color: #4169E1;
    background: linear-gradient(to right, #E6F0FF, white);
}

.tier-explanation.b-tier {
    border-color: #228B22;
    background: linear-gradient(to right, #E6F7E6, white);
}

.tier-explanation.c-tier {
    border-color: #808080;
    background: linear-gradient(to right, #F0F0F0, white);
}

.tier-explanation.d-tier {
    border-color: #696969;
    background: linear-gradient(to right, #E8E8E8, white);
}

/* Dream Team Slots */
.dream-team-slot {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 2px solid #dee2e6;
    transition: all 0.3s;
}

.dream-team-slot:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* Criteria Cards */
.criteria-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    height: 100%;
    transition: all 0.2s;
}

.criteria-card:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tier-badge-large {
        font-size: 1.2rem;
        padding: 0.4rem 0.8rem;
    }
    
    .pokemon-card {
        margin-bottom: 1rem;
    }
    
    .tier-content {
        padding: 1rem;
    }
}

/* Hover Effects */
.tier-section {
    transition: all 0.3s;
}

.tier-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ===================================
   Homepage New Sections Styles
   =================================== */

/* Evolution Preview Section */
.evolution-preview-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.evolution-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.evolution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.evolution-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
}

.evolution-stage {
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    width: 100%;
    margin: 0.5rem 0;
}

.evolution-stage.final {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.evolution-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #667eea;
    margin: 0.5rem 0;
}

.evolution-arrow i {
    font-size: 1.5rem;
}

/* Related Resources Section */
.resource-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.resource-icon {
    transition: transform 0.3s;
}

.resource-card:hover .resource-icon {
    transform: scale(1.1);
}

/* SEO Content Section */
.seo-content-section {
    background: #f8f9fa;
}

.seo-content-section .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Pokemon Showcase Section */
.pokemon-showcase-card {
    border: 2px solid #dee2e6;
    transition: all 0.3s;
}

.pokemon-showcase-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Starter Comparison Section */
.starter-comparison-section table {
    background: white;
}

.starter-comparison-section .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Game Mechanics Section */
.mechanic-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.mechanic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.mechanic-icon {
    transition: transform 0.3s;
}

.mechanic-card:hover .mechanic-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Quick Stats Section */
.quick-stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.stat-number {
    font-size: 1.5rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .evolution-path {
        padding: 0.5rem 0;
    }
    
    .evolution-stage {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }
    
    .evolution-arrow {
        margin: 0.25rem 0;
    }
    
    .evolution-arrow i {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .starter-comparison-section table {
        font-size: 0.85rem;
    }
}

/* Section Spacing */
.evolution-preview-section,
.related-resources-section,
.pokemon-showcase-section,
.game-mechanics-section,
.starter-comparison-section,
.seo-content-section {
    position: relative;
}

/* Smooth Transitions */
.card, .evolution-card, .resource-card, .mechanic-card, .pokemon-showcase-card {
    transition: all 0.3s ease-in-out;
}

/* CTA Buttons Enhancement */
.evolution-preview-section .btn,
.related-resources-section .btn,
.pokemon-showcase-section .btn {
    transition: all 0.3s;
}

.evolution-preview-section .btn:hover,
.related-resources-section .btn:hover,
.pokemon-showcase-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
