@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Theme Variables --- */
:root {
    /* Fonts */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;

    /* Transition speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Light Theme Settings (Default fallback) */
    --bg-main: hsl(140, 25%, 96%);
    --bg-card: rgba(255, 255, 255, 0.75);
    --border-color: rgba(142, 180, 155, 0.2);
    --text-main: hsl(140, 40%, 15%);
    --text-muted: hsl(140, 12%, 42%);
    --primary: hsl(142, 65%, 36%);
    --primary-glow: rgba(33, 150, 83, 0.15);
    --secondary: hsl(263, 60%, 48%);
    --secondary-glow: rgba(123, 31, 162, 0.15);
    --accent-gold: hsl(43, 96%, 48%);
    --shadow-main: 0 8px 32px 0 rgba(142, 180, 155, 0.1);
    --shadow-glow: 0 0 15px rgba(33, 150, 83, 0.1);
    --glass-blur: blur(12px);
    --header-bg: rgba(255, 255, 255, 0.8);
    --input-bg: rgba(255, 255, 255, 0.9);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-main: hsl(140, 24%, 6%);
    --bg-card: rgba(14, 25, 18, 0.65);
    --border-color: rgba(142, 180, 155, 0.12);
    --text-main: hsl(140, 15%, 94%);
    --text-muted: hsl(140, 8%, 68%);
    --primary: hsl(142, 76%, 42%);
    --primary-glow: rgba(46, 204, 113, 0.3);
    --secondary: hsl(263, 85%, 65%);
    --secondary-glow: rgba(168, 85, 247, 0.35);
    --accent-gold: hsl(43, 96%, 56%);
    --shadow-main: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(46, 204, 113, 0.2);
    --glass-blur: blur(16px);
    --header-bg: rgba(10, 18, 13, 0.8);
    --input-bg: rgba(10, 20, 14, 0.6);
}

/* --- Base Reset & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

p {
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

a:hover {
    color: var(--secondary);
}

ul {
    list-style: none;
}

/* --- Layout Systems --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.main-content {
    flex-grow: 1;
    padding-top: 5rem; /* Space for desktop header */
    padding-bottom: 6rem; /* Space for mobile bottom bar */
}

@media (min-width: 768px) {
    .main-content {
        padding-bottom: 3rem; /* Normal bottom padding on desktop */
    }
}

/* --- Header & Navigation (Desktop first, customized for responsive) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5rem;
    background: var(--header-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background var(--transition-normal), border-color var(--transition-normal);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.navbar-brand span {
    color: var(--primary);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: none; /* Hidden on mobile */
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0.25rem;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Theme Switcher Toggle styling */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.theme-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    transition: transform var(--transition-normal);
}

[data-theme="dark"] .theme-toggle svg {
    transform: rotate(360deg);
}

/* Mobile Navigation Bottom Bar */
.mobile-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4.5rem;
    background: var(--header-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.25rem 0.75rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .mobile-nav-bar {
        display: none;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 500;
    padding: 0.5rem;
    min-width: 3.5rem;
    transition: color var(--transition-fast);
}

.mobile-nav-item svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform var(--transition-fast);
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item.active svg {
    transform: translateY(-2px);
    color: var(--primary);
}

/* --- Premium Cards & Glassmorphism --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-main);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(142, 180, 155, 0.3);
    transform: translateY(-2px);
}

.glass-card.glow-primary:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-main), var(--shadow-glow);
}

.glass-card.glow-secondary:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-main), 0 0 20px rgba(168, 85, 247, 0.15);
}

/* --- Buttons & Call-to-actions --- */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), hsl(142, 70%, 28%));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, var(--primary), hsl(142, 76%, 32%));
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--primary-glow), var(--shadow-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), hsl(263, 60%, 40%));
    color: white;
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.3);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
    color: var(--text-main);
}

/* --- Forms & Inputs --- */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-control {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-main);
    outline: none;
    transition: all var(--transition-fast);
}

.input-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

select.input-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

[data-theme="dark"] select.input-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f5f5f5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}

/* Checkboxes and Multi-select */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-family: var(--font-secondary);
    cursor: pointer;
    text-transform: none;
    color: var(--text-muted);
    user-select: none;
    padding: 0.5rem;
    border-radius: 0.35rem;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.checkbox-label:hover {
    border-color: var(--secondary);
    color: var(--text-main);
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--secondary);
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.checkbox-label.checked {
    border-color: var(--secondary);
    background: var(--secondary-glow);
    color: var(--text-main);
}

/* --- Hero Section & Index Styles --- */
.hero {
    text-align: center;
    padding: 2.5rem 0 3.5rem 0;
    position: relative;
}

.hero-logo {
    width: 7rem;
    height: 7rem;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
    animation: bounce 6s infinite ease-in-out;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 1.5rem auto;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero {
        padding: 4rem 0 5rem 0;
    }
}

/* --- Main Site Grid/Layout for Calculators --- */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .calculator-grid {
        grid-template-columns: 1.3fr 0.7fr;
    }
}

.results-panel {
    background: linear-gradient(135deg, var(--bg-card), rgba(33, 150, 83, 0.05));
    border: 1px dashed var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
}

[data-theme="dark"] .results-panel {
    background: linear-gradient(135deg, var(--bg-card), rgba(46, 204, 113, 0.05));
}

.result-value {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 15px var(--primary-glow);
}

.result-sheckles-icon {
    width: 2.5rem;
    height: 2.5rem;
    fill: var(--accent-gold);
}

.result-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-detail span {
    font-weight: 600;
    color: var(--text-main);
}

/* --- Database Tables (Searchable Databases) --- */
.db-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .db-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .db-controls .search-input {
        width: 300px;
    }
}

.search-input {
    width: 100%;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.filter-tab {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.filter-tab.active, .filter-tab:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.db-table th, .db-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.db-table th {
    font-family: var(--font-primary);
    font-weight: 600;
    background-color: var(--input-bg);
    color: var(--text-main);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    user-select: none;
}

.db-table th:hover {
    color: var(--primary);
}

.db-table tbody tr {
    transition: background-color var(--transition-fast);
}

.db-table tbody tr:hover {
    background-color: rgba(142, 180, 155, 0.05);
}

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

/* Rarity tags */
.rarity-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

.rarity-common { background: rgba(180,180,180,0.15); color: var(--text-muted); }
.rarity-uncommon { background: rgba(33,150,83,0.15); color: var(--primary); }
.rarity-rare { background: rgba(45,156,219,0.15); color: #2d9cdb; }
.rarity-legendary { background: rgba(242,153,74,0.15); color: #f2994a; }
.rarity-godly { background: rgba(155,81,224,0.15); color: var(--secondary); }
.rarity-divine { background: rgba(235,87,87,0.15); color: #eb5757; }

/* Demand stars */
.demand-indicator {
    color: var(--accent-gold);
    font-weight: bold;
}

/* --- FAQ Accordion Section --- */
.faq-section {
    margin-top: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
}

.faq-trigger svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform var(--transition-normal);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
    padding: 0 1.5rem;
}

.faq-content p {
    padding-bottom: 1.25rem;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-content {
    max-height: 500px; /* arbitrary high value for fluid expansion */
    padding-top: 0.25rem;
}

/* --- Crop/Pet/Animal Showcase Cards --- */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 4rem 0;
}

.showcase-card {
    text-align: center;
    padding: 2rem;
}

.showcase-image-container {
    width: 100%;
    height: 180px;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.showcase-card:hover .showcase-image {
    transform: scale(1.05);
}

/* --- SEO & Informational Content styling --- */
.seo-article {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-main);
}

.seo-article h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    border-left: 4px solid var(--primary);
    padding-left: 0.75rem;
}

.seo-article h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.seo-article p {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.seo-article ul, .seo-article ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.seo-article li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.seo-article blockquote {
    border-left: 4px solid var(--secondary);
    padding: 0.75rem 1.25rem;
    background-color: var(--input-bg);
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.seo-article blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-main);
}

/* --- Trade Calculator WFL Verdicts --- */
.trade-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .trade-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.trade-item-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    min-height: 150px;
    border: 1px dashed var(--border-color);
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: var(--input-bg);
}

.trade-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.35rem;
}

.trade-item-remove {
    background: none;
    border: none;
    color: #eb5757;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.wfl-badge {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    display: inline-block;
    text-align: center;
}

.wfl-win {
    color: #2ecc71;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
    border: 2px solid #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

.wfl-fair {
    color: #3498db;
    text-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
    border: 2px solid #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.wfl-loss {
    color: #e74c3c;
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.4);
    border: 2px solid #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

/* --- Footer Area --- */
.footer {
    background-color: var(--header-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 5rem;
    font-family: var(--font-primary);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.footer-brand span {
    color: var(--primary);
}

.footer-text {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow-main); }
    50% { transform: scale(1.02); box-shadow: var(--shadow-main), var(--shadow-glow); }
}
