/* ============================================
   DICELEXIA — Tabletop Gaming Community
   Dark, gritty, Warhammer-inspired theme
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121c;
    --bg-card: #16162280;
    --bg-card-hover: #1e1e2e;
    --text-primary: #e8e4dc;
    --text-secondary: #9a958c;
    --text-muted: #6b6560;
    --accent: #c8a84e;
    --accent-bright: #e8c84e;
    --accent-dim: #8a6e2e;
    --red: #8b1a1a;
    --red-bright: #c0392b;
    --border: #2a2a3a;
    --border-accent: #c8a84e33;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    --shadow-accent: 0 0 20px rgba(200, 168, 78, 0.15);
    --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    position: relative;
}

/* --- Background Grid --- */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(200, 168, 78, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 168, 78, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* --- Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-accent);
    transition: var(--transition);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    height: 42px;
    width: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(200, 168, 78, 0.4));
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(200, 168, 78, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: auto;
    padding: 100px 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at top center, rgba(200, 168, 78, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at bottom left, rgba(139, 26, 26, 0.06) 0%, transparent 50%);
}

.hero-inner {
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: fadeInUp 1s ease-out;
}

.hero-logo-col {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 220px;
    height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(200, 168, 78, 0.3));
    animation: logoFloat 4s ease-in-out infinite;
}

.hero-text-col {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 40px rgba(200, 168, 78, 0.3);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero-subtitle strong {
    color: var(--accent);
    font-weight: 700;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(200, 168, 78, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-bright), var(--accent));
    box-shadow: 0 4px 30px rgba(200, 168, 78, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(200, 168, 78, 0.1);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.85rem;
}

/* --- Stats Banner --- */
.stats-banner {
    background: linear-gradient(135deg, var(--bg-secondary), rgba(139, 26, 26, 0.15));
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--border-accent);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(200, 168, 78, 0.3);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Section Titles --- */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(200, 168, 78, 0.2);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

/* --- About Section --- */
.about-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border);
    transition: var(--transition);
}

.about-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}

.about-card:hover::before {
    background: var(--accent);
}

.about-card.featured {
    border-color: var(--accent-dim);
    background: rgba(200, 168, 78, 0.05);
}

.about-card.featured::before {
    background: var(--accent);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(200, 168, 78, 0.3));
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- Games Section --- */
.games-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(139, 26, 26, 0.06) 0%, transparent 50%),
        var(--bg-primary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--border);
    transition: var(--transition);
}

.game-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}

.game-card:hover::before {
    background: var(--accent);
}

.game-card.priority {
    border-color: var(--accent-dim);
    background: rgba(200, 168, 78, 0.04);
}

.game-card.priority::before {
    background: var(--accent);
}

.game-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
}

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

.game-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.game-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.game-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.game-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* --- CTA Section --- */
.cta-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(139, 26, 26, 0.1), rgba(200, 168, 78, 0.05)),
        var(--bg-secondary);
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(200, 168, 78, 0.2);
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* --- Footer --- */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(200, 168, 78, 0.3));
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navbar Right Section --- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-signin {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
}

.nav-signin:hover {
    text-shadow: 0 0 10px rgba(200, 168, 78, 0.4);
}

/* --- Profile Button --- */
.nav-profile-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--accent-dim);
    background: linear-gradient(135deg, var(--accent-dim), var(--accent));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.nav-profile-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(200, 168, 78, 0.4);
    transform: scale(1.05);
}

.nav-profile-avatar {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--bg-primary);
    line-height: 1;
}

/* --- Profile Dropdown --- */
.profile-dropdown {
    position: fixed;
    top: 70px;
    right: 2rem;
    width: 280px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    overflow: hidden;
}

.profile-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem 1.25rem 0.75rem;
}

.profile-dropdown-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dim), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.profile-dropdown-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.profile-dropdown-email {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

.profile-dropdown-role {
    padding: 0 1.25rem 1rem;
}

.profile-dropdown-role span {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
}

.profile-dropdown-role span.admin {
    background: linear-gradient(135deg, var(--red-bright), var(--red));
}

.profile-dropdown-role span.owner {
    background: linear-gradient(135deg, #c8a84e, #e8c84e);
    color: #1a1a1a;
}

.profile-dropdown-divider {
    height: 1px;
    background: var(--border);
}

.profile-dropdown-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.profile-dropdown-link:hover {
    background: rgba(200, 168, 78, 0.08);
    color: var(--text-primary);
}

.profile-dropdown-signout {
    color: var(--red-bright);
    border-top: 1px solid var(--border);
}

.profile-dropdown-signout:hover {
    background: rgba(139, 26, 26, 0.15);
    color: var(--red-bright);
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-dim);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 12px rgba(200, 168, 78, 0.08);
}

.news-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.news-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: rgba(200, 168, 78, 0.1);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.news-card-summary {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.news-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-card-link {
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.news-card-link:hover {
    color: var(--accent-bright);
}

/* News Loading */
.news-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.news-empty {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .hero-inner { flex-direction: column; text-align: center; }
    .hero-logo { width: 180px; height: 180px; }
    .hero-subtitle { max-width: 600px; margin-left: auto; margin-right: auto; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        border-bottom: 1px solid var(--border-accent);
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle {
        display: flex;
    }

    .profile-dropdown {
        right: 1rem;
        left: 1rem;
        width: auto;
    }

    .hero { padding: 80px 1.5rem 2rem; }
    .hero-logo {
        width: 160px;
        height: 160px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

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

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .container { padding: 0 1rem; }
    .nav-brand-text { font-size: 1.2rem; letter-spacing: 2px; }
    .nav-logo { height: 36px; width: 36px; }
    .section-subtitle { margin-bottom: 1.5rem; font-size: 1rem; }
    .about-card { padding: 1.5rem 1.25rem; }
    .about-icon { font-size: 2.5rem; }
    .news-section { padding: 2.5rem 0; }
    .news-card-body { padding: 1.25rem; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-logo { width: 130px; height: 130px; }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

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

    .container { padding: 0 0.75rem; }
    .nav-brand-text { font-size: 1rem; letter-spacing: 1px; }
    .nav-logo { height: 32px; width: 32px; }
    .about-card { padding: 1.25rem 1rem; }
    .about-icon { font-size: 2rem; }
    .news-section { padding: 2rem 0; }
    .news-card { padding: 1rem; }
    .hero-inner { gap: 1.5rem; }
}
