/* ============================================================
   THIN LINE FISHING LEAGUE — Master Stylesheet (v2 Clean)
   ============================================================ */

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

html, body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    color: #333;
    padding-top: 250px; /* Offset for fixed header */
}

body::before {
    content: "";
    position: fixed;
    top: 250px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/images/logos/BORNE2-Edited.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    z-index: -1;
    opacity: 0.8;
}

/* --- HEADER --- */
header {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 250px;
    z-index: 1000;
    overflow: visible;
}

/* --- NEWS TICKER --- */
#newsTicker {
    background: #1a2a6c;
    color: white;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.9rem;
    border-bottom: 4px solid #dc3545;
    position: relative;
    z-index: 90;
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: scrollText 30s linear infinite;
}

.ticker-sentence {
    display: inline-block;
    padding-right: 80px;
}

#newsTicker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes scrollText {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- FLAG BACKGROUND + VERSE AREA --- */
.header-flag-wrap {
    position: absolute;
    top: 45px; /* below the ticker */
    left: 0;
    width: 100%;
    height: 205px;
    z-index: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
}

.flag-video {
    display: none;
}

/* --- BIBLE VERSE (no bubble) --- */
.verse-overlay {
    position: static;
    width: 80%;
    max-width: 900px;
    min-width: 320px;
    padding: 6px 20px;
    background: transparent;
    color: #1a2a6c;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    z-index: 100;
    white-space: normal;
    border-top: 2px solid rgba(220,53,69,0.25);
}

.verse-overlay h2 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #dc3545;
}

.verse-overlay p {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: #1a2a6c;
}

/* --- NAV --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 250px;
    position: relative;
    z-index: 2000;
}

.logo {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.logo a {
    position: relative;
    display: inline-block;
}

.logo-img {
    height: 240px;
    width: auto;
    display: block;
    transform: translateY(-27px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.logo:hover .logo-img {
    transform: translateY(-27px) scale(1.35) rotate(-2deg);
    filter: drop-shadow(0 0 10px rgba(220,53,69,0.5));
}

/* Flying eagle */
.landing-eagle {
    position: fixed;
    width: 150px;
    z-index: 10005;
    pointer-events: none;
    right: -150px;
    top: 50px;
    opacity: 0;
    animation: crossScreenSwoop 10s ease-in-out forwards, wingFlap 0.8s ease-in-out 20;
    transition: transform 0.4s ease;
}

.logo:hover .landing-eagle {
    transform: scale(1.2) translateY(-5px);
}

/* Nav Menu (desktop pill bar) */
.nav-menu {
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 5px 15px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(220,53,69,0.2);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    white-space: nowrap;
    z-index: 9999;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.nav-menu:hover {
    border-color: #dc3545;
    box-shadow: 0 10px 40px rgba(220,53,69,0.3);
}

.nav-item {
    display: flex;
    align-items: center;
}

.user-nav {
    gap: 10px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 14px;
    border-radius: 50px;
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.nav-link:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(255,77,94,0.6), 0 0 20px rgba(220,53,69,0.4);
}

.nav-link.active,
.active-link {
    background: rgba(220,53,69,0.1);
    border-radius: 50px;
}

.btn-logout {
    font-size: 0.8rem;
}

/* Hamburger button — hidden on desktop */
#mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(220,53,69,0.3);
    border-radius: 10px;
    cursor: pointer;
    z-index: 10000;
    padding: 0;
    flex-shrink: 0;
}

#mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #dc3545;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Hamburger → X animation */
#mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mobile-toggle.open span:nth-child(2) { opacity: 0; }
#mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- DROPDOWNS (kept for future use, currently commented out in nav) --- */
.dropdown { position: relative; }

.dropdown-content,
.sub-dropdown-content {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 5px;
    z-index: 1001;
    transition: opacity 0.15s, visibility 0.15s;
    transition-delay: 0.2s;
}

.dropdown:hover > .dropdown-content,
.sub-dropdown:hover > .sub-dropdown-content {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.dropdown-content { top: 100%; left: 0; min-width: 200px; margin-top: 5px; }

.sub-dropdown {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-dropdown-content { left: 100%; top: 0; margin-left: -5px; min-width: 180px; }

.sub-dropdown::after {
    content: ' \25B8';
    font-size: 0.8rem;
    color: #dc3545;
    margin-left: 10px;
}

.dropdown-content a,
.dropdown-item,
.sub-dropdown-content a {
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: #333;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover,
.dropdown-item:hover {
    background: #f0f0f0;
    color: #dc3545;
}

/* --- SLIDER --- */
.slider-container {
    position: relative;
    max-width: 700px;
    height: 600px;
    margin: 50px auto 0;
    overflow: hidden;
    border-radius: 15px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-content {
    position: absolute;
    z-index: 10;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    padding: 2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255,255,255,0.8);
    color: #dc3545;
    border: 2px solid #dc3545;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.prev { left: 20px; }
.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 110;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #dc3545;
    border-color: #dc3545;
    transform: scale(1.3);
}

.dot:hover { background: rgba(255,255,255,0.9); }

/* --- CONTENT SECTIONS --- */
.container {
    max-width: 1400px;
    margin: 60px auto 2rem;
    padding: 0 2rem;
    position: relative;
}

.leaderboard-section,
.welcome-section {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

.welcome-section {
    display: block;
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 700px;
    margin: 3rem auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    animation: fadeInScale 0.5s ease-out;
    position: relative;
    z-index: 1;
}

.welcome-section h2 {
    color: #1a2a6c;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.welcome-section p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* --- BUTTONS --- */
.btn-primary {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: #b02a37;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220,53,69,0.4);
}

.btn-secondary, .cancel-btn {
    background: #fff;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #fff5f5;
    border-color: #ff4d5e;
    color: #ff4d5e;
    transform: translateY(-1px);
}

.btn-cancel {
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.btn-save {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.active-filter {
    background: #667eea;
    color: #fff;
    font-weight: 700;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#authModal { z-index: 100000; }

.modal-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #dc3545;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    font-size: 1rem;
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

#toggleText {
    font-size: 13px;
    white-space: nowrap;
    margin-bottom: 5px;
}

#toggleAuth {
    color: #dc3545;
    font-size: 13px;
    font-weight: bold;
    text-decoration: underline;
}

/* --- PROFILE --- */
.profile-container {
    max-width: 800px;
    margin: 150px auto 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
                url('/images/logos/BORNE2-768x744.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header { margin-bottom: 3rem; }

.profile-header h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.profile-header p {
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

#profileEdit input {
    background: rgba(255,255,255,0.5);
    border: 1px solid #cbd5e0;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s;
}

#profileEdit input:focus {
    background: white;
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.2);
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
    border: 4px solid #fff;
}

.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: 0 auto 1.5rem;
}

.avatar-upload .avatar-edit input { display: none; }

.avatar-upload .avatar-edit label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #dc3545;
    border: 1px solid transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    right: 12px;
    top: 10px;
    z-index: 1;
}

.avatar-upload .avatar-edit label:hover {
    background: #ff4d5e;
    transform: scale(1.1);
}

.avatar-upload .avatar-edit label i {
    color: #fff;
    font-size: 14px;
}

.edit-avatar-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 15px;
    background: #dc3545;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-avatar-btn:hover {
    background: #ff4d5e;
    box-shadow: 0 0 15px rgba(255,77,94,0.5);
    transform: translateY(-2px);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.info-box:first-child { grid-column: span 2; }

.info-box {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    min-height: 100px;
    border: 1px solid rgba(220,53,69,0.2);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, border-color 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);
    border-color: #dc3545;
}

.info-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 700;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0 30px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5000;
}

.back-link:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- CATCH ACTIONS --- */
.catch-actions { display: flex; gap: 8px; }

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-edit { background: #ebf4ff; color: #3182ce; }
.btn-edit:hover { background: #3182ce; color: white; transform: translateY(-2px); }

.btn-delete { background: #fff5f5; color: #e53e3e; }
.btn-delete:hover { background: #e53e3e; color: white; transform: translateY(-2px); }

.empty-leaderboard {
    text-align: center;
    padding: 3rem;
    background: rgba(220,53,69,0.05);
    border: 2px dashed #dc3545;
    border-radius: 15px;
    margin: 20px 0;
}

/* --- FOOTER --- */
footer.site-footer {
    background-color: #ffffff;
    padding: 20px;
    border-top: 3px solid #e53935;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.footer-logo-main {
    max-height: 350px;
    width: auto;
    margin-bottom: 15px;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    gap: 10px;
}

.logo-grid img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.footer-section p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 5px 0;
    gap: 10px;
}

.footer-section p img[src*="TheBeardedGeek"] {
    height: 200px;
    width: auto;
    object-fit: contain;
}

.footer-text, .footer-heading { color: #e53935; }

.designer-text {
    font-size: 1.1rem;
    color: #000;
    font-weight: 600;
}

.social-links img {
    height: 80px;
    width: auto;
    margin: 10px;
    transition: transform 0.2s ease;
}

.social-links a:hover img { transform: scale(1.1); }

/* --- TOAST NOTIFICATIONS --- */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
}

.toast {
    display: flex;
    align-items: center;
    min-width: 300px;
    padding: 16px 24px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: toastSlideIn 0.5s ease forwards;
}

.toast.success {
    background: #28a745;
    border-left: 6px solid #1e7e34;
    box-shadow: 0 0 15px rgba(40,167,69,0.4);
}

.toast.error {
    background: #dc3545;
    border-left: 6px solid #a71d2a;
    box-shadow: 0 0 15px rgba(220,53,69,0.4);
}

.toast-icon { margin-right: 12px; font-size: 1.2rem; }

/* --- ANIMATIONS --- */
@keyframes scrollText {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes crossScreenSwoop {
    0%        { left: 110vw; top: 50px; opacity: 0; transform: rotate(10deg); }
    10%       { opacity: 1; }
    40%       { left: 50vw; top: 500px; transform: rotate(20deg); }
    80%, 96%  { left: 92px; top: 45px; transform: rotate(0); opacity: 1; }
    100%      { left: 92px; top: 45px; opacity: 0; transform: scale(0.8); }
}

@keyframes wingFlap {
    0%, 100% { transform: scaleY(1); }
    50%       { transform: scaleY(0.4); }
}

@keyframes chirpPopup {
    0%   { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes chirpFade {
    to { opacity: 0; transform: scale(0.8); }
}

/* ============================================================
   MOBILE — Hamburger Menu & Layout
   ============================================================ */
@media (max-width: 768px) {

    body {
        padding-top: 0; /* header is not fixed on mobile — it's part of flow */
    }

    body::before {
        top: 0;                          /* add this */
        background-attachment: scroll;
        background-position: center top;
    }

    /* Header becomes relative on mobile so it flows naturally */
    header {
        position: relative;
        height: auto;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Flag wrap: white, flex column on mobile */
    .header-flag-wrap {
        position: relative;
        top: 0;
        height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding: 10px 0;
        min-height: 80px;
    }

    /* Bible verse — clean, no bubble on mobile */
    .verse-overlay {
        position: static;
        width: 95%;
        min-width: 0;
        padding: 6px 12px;
        font-size: .9rem;
        border-radius: 0;
        background: transparent;
        border-top: 2px solid rgba(220,53,69,0.25);
        left: auto;
        transform: none;
        bottom: auto;
    }

    .verse-overlay h2 { font-size: 0.9rem; }
    .verse-overlay p  { font-size: 0.85rem; }

    /* Nav: logo left, hamburger right */
    nav {
        height: auto;
        padding: 10px 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo-img {
        height: 80px;
        transform: none;
    }

    .logo:hover .logo-img {
        transform: scale(1.1);
    }

    .landing-eagle { display: none; }

    /* Show hamburger button */
    #mobile-toggle {
        display: flex;
    }

    /* Nav menu: hidden by default on mobile, slides in when .open */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        border-radius: 0 0 16px 16px;
        gap: 0;
        border: none;
        border-top: 2px solid rgba(220,53,69,0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        /* Hidden state */
        display: none;
        z-index: 9999;
    }

    /* Shown when JS adds .open class */
    .nav-menu.open {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(220,53,69,0.08);
    }

    .nav-item:last-child { border-bottom: none; }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        height: auto;
        padding: 14px 20px;
        border-radius: 0;
        font-size: 1rem;
    }

    .nav-link:hover {
        transform: none;
        background: rgba(220,53,69,0.08);
        color: #dc3545;
        box-shadow: none;
    }

    .user-nav {
        flex-direction: column;
        gap: 0;
    }

    /* Slider */
    .slider-container, .slide {
        width: 95%;
        max-width: 95%;
        height: 320px;
        margin: 20px auto 0;
    }

    /* Content container */
    .container {
        padding: 0 1rem;
        margin-top: 20px;
    }

    /* Profile */
    .profile-container {
        margin-top: 20px;
    }

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

    .info-box:first-child { grid-column: span 1; }
}
