/* ===== CUSTOM FONTS ===== */
@font-face {
    font-family: 'Spurs';
    src: url('../fonts/SPURS REGULAR.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #f4f4f5;
    color: #1a1a2e;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
a { color: #132257; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ===== HEADER / NAV ===== */
.site-header {
    background: linear-gradient(135deg, #132257 0%, #1a3070 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 24px 7.5px;
    position: relative;
}
.header-logo-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-logo-centered img {
    height: 80px;
    width: auto;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #fff;
}
.header-brand:hover { text-decoration: none; }
.header-crest {
    width: 56px;
    height: 56px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #132257;
    flex-shrink: 0;
    overflow: hidden;
}
.header-crest img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.header-text h1 {
    font-family: 'Spurs', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.2;
}
.header-text .subtitle {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}
.header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
}
.header-auth a {
    color: #94a3b8;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.header-auth a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
}
.header-auth .user-name {
    color: #e2e8f0;
    font-weight: 600;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    position: absolute;
    right: 24px;
}

/* Navigation */
.header-nav {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.header-nav li a {
    display: block;
    padding: 10px 20px;
    color: #94a3b8;
    text-decoration: none;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s, background 0.2s;
}
.header-nav li a:hover,
.header-nav li a.active {
    color: #fff;
    background: rgba(255,255,255,0.06);
    text-decoration: none;
}

/* Vertical Submenu */
.menu-with-submenu {
    position: relative;
}
.submenu-vertical {
    position: absolute;
    top: 100%;
    left: 20px;
    display: none !important;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #0e1a45;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-radius: 0 0 6px 6px;
    z-index: 1000;
}
.menu-with-submenu:hover .submenu-vertical {
    display: flex !important;
}
.submenu-vertical li {
    display: block;
    width: 100%;
}
.submenu-vertical li a {
    display: block;
    padding: 10px 16px;
    color: #94a3b8;
    text-decoration: none;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s, background 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.submenu-vertical li:last-child a {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
}
.submenu-vertical li a:hover,
.submenu-vertical li a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: transform 0.2s, opacity 0.2s;
}
.social-link:hover {
    transform: scale(1.1);
    opacity: 0.9;
    text-decoration: none;
}
.social-instagram {
    color: #E4405F;
}
.social-facebook {
    color: #1877F2;
}
.social-twitter {
    color: #fff;
}

/* Admin Reminder Banner */
.admin-reminder {
    background: rgba(0,0,0,0.3);
    color: #ffd700;
    text-align: center;
    padding: 6px 12px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Yellow Admin Button */
.header-nav li a.nav-admin {
    background: #ffd700;
    color: #132257;
    border-radius: 4px;
    margin: 4px 8px;
    padding: 6px 16px;
}
.header-nav li a.nav-admin:hover,
.header-nav li a.nav-admin.active {
    background: #ffed4a;
    color: #132257;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 0;
    position: relative;
}
.container::before,
.container::after {
    content: '';
    position: fixed;
    top: 100px;
    width: calc(50vw - 526px);
    min-width: 200px;
    height: 100vh;
    background: url('../images/cockerel-bg.png') center center/cover no-repeat;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}
.container::before {
    left: 0;
}
.container::after {
    right: 0;
    transform: scaleX(-1);
}
@media (max-width: 768px) {
    .container::before,
    .container::after {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,41,59,0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 24px;
}
.hero-content h2 {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.1;
}
.hero-content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.6;
}
.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #132257;
    color: #fff;
    border-radius: 8px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.hero-btn:hover {
    background: #1a3070;
    text-decoration: none;
}

/* ===== CARD SECTIONS ===== */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 40px;
    margin-bottom: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
}
.card h2 {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #132257;
    margin-bottom: 20px;
}
.card h3 {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #132257;
    margin-bottom: 12px;
}
.card p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #334155;
}
.card p:last-child { margin-bottom: 0; }

/* Section label */
.section-label {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 8px;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    color: #132257;
    background: #eff6ff;
}

/* ===== NEXT MATCH WIDGET ===== */
.next-match-card {
    background: linear-gradient(135deg, #132257 0%, #1a3070 60%, #334155 100%);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 28px;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.next-match-card .match-label {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #ea580c;
    margin-bottom: 16px;
}
.next-match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 20px 0;
}
.next-match-team {
    text-align: center;
    min-width: 120px;
}
.next-match-team .team-crest {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Segoe UI', sans-serif;
}
.next-match-team .team-name {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}
.next-match-vs {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 2px;
}
.next-match-details {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    color: #94a3b8;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: #e5e7eb;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
}
.gallery-item .gallery-uploader {
    font-size: 0.72rem;
    color: #cbd5e1;
}
.gallery-empty {
    text-align: center;
    padding: 60px 24px;
    color: #64748b;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== UPLOAD FORM ===== */
.upload-form {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 28px;
    text-align: center;
}
.upload-form h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    color: #132257;
    margin-bottom: 16px;
}
.upload-form input[type="file"] {
    margin-bottom: 12px;
}
.upload-form input[type="text"] {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 16px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox.active {
    display: flex;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Segoe UI', sans-serif;
    z-index: 1001;
    line-height: 1;
    padding: 8px;
}
.lightbox-close:hover { color: #94a3b8; }
.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-caption {
    color: #e2e8f0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    margin-top: 16px;
    text-align: center;
    max-width: 600px;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    line-height: 1;
    transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== REPORTS ===== */
.report-list {
    list-style: none;
    margin-top: 20px;
}
.report-list li {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-family: 'Segoe UI', sans-serif;
}
.report-list li:last-child { border-bottom: none; }
.report-list li a {
    color: #132257;
    font-weight: 600;
    font-size: 0.95rem;
}
.report-list li a:hover { color: #1a3070; }
.report-list .report-date {
    font-size: 0.78rem;
    color: #64748b;
    margin-left: 12px;
}
.report-iframe {
    width: 100%;
    height: 800px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

/* ===== FORMS (Login/Register) ===== */
.auth-container {
    max-width: 440px;
    margin: 40px auto;
    padding: 0 24px;
}
.auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
}
.auth-card h2 {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #132257;
    margin-bottom: 24px;
    text-align: center;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'Segoe UI', sans-serif;
    transition: border-color 0.2s;
}
.form-group input:focus {
    outline: none;
    border-color: #132257;
    box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #132257;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
}
.btn:hover {
    background: #1a3070;
    text-decoration: none;
    color: #fff;
}
.btn-full { width: 100%; }
.btn-small {
    padding: 6px 14px;
    font-size: 0.78rem;
}
.btn-danger {
    background: #dc2626;
}
.btn-danger:hover { background: #b91c1c; }
.btn-success {
    background: #059669;
}
.btn-success:hover { background: #047857; }

/* Alert messages */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
}
.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
}
.alert-info {
    background: #eff6ff;
    color: #132257;
    border: 1px solid #93c5fd;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.88rem;
    color: #64748b;
}
.auth-footer a { color: #132257; }

/* ===== CONTACT FORM ===== */
.contact-form {
    margin-top: 24px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'Segoe UI', sans-serif;
    resize: vertical;
    transition: border-color 0.2s;
}
.contact-form textarea:focus {
    outline: none;
    border-color: #132257;
    box-shadow: 0 0 0 3px rgba(19,34,87,0.1);
}

/* ===== UPLOAD PAGE ===== */
.upload-guidelines {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 20px 0;
}
.upload-guidelines ul {
    margin: 12px 0 12px 24px;
    color: #334155;
}
.upload-guidelines li {
    margin-bottom: 6px;
}
.upload-note {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    margin-top: 12px;
    margin-bottom: 0;
}
.upload-page-form {
    margin-top: 24px;
}
.form-hint {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 4px;
}

/* ===== ADMIN ENHANCEMENTS ===== */
.admin-photo-actions {
    padding: 8px 12px;
    background: #fff;
    display: flex;
    gap: 6px;
}
.admin-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.text-muted {
    color: #94a3b8;
    font-size: 0.85rem;
}
.role-superadmin {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* ===== FIXTURES CARD ===== */
.fixtures-card {
    background: #fff;
    border-radius: 0;
    padding: 20px 32px 28px;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
    min-height: calc(100vh - 550px);
}
.fixtures-header {
    margin-bottom: 20px;
    text-align: center;
}
.fixtures-header h2 {
    font-family: 'Spurs', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #132257;
    margin-top: 0;
    text-transform: uppercase;
}
#countdown {
    font-family: 'Spurs', 'Segoe UI', monospace;
    color: #132257;
}
.fixtures-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fixture-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 100px;
}
.fixture-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.fixture-home {
    background: linear-gradient(135deg, rgba(19, 34, 87, 0.75) 0%, rgba(26, 48, 112, 0.75) 100%),
                url('../images/stadium-bg.jpg') center/cover no-repeat;
    border-color: #132257;
    position: relative;
}
.fixture-home .fixture-date,
.fixture-home .fixture-teams,
.fixture-home .fixture-meta {
    color: #fff;
}
.fixture-home .fixture-meta span {
    color: #cbd5e1;
}
.fixture-home .team-spurs {
    color: #fff;
}
.fixture-home .team-opponent {
    color: #e2e8f0;
}
.fixture-next {
    box-shadow: 0 4px 12px rgba(19, 34, 87, 0.3);
}
.fixture-info-boxes {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 380px;
    flex-shrink: 0;
}
.fixture-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 56px;
    padding: 8px 12px;
    background: rgba(19, 34, 87, 0.1);
    border-radius: 6px;
}
.fixture-league-logo {
    min-width: 50px;
    height: 56px;
    padding: 8px 12px;
    justify-content: center;
}
.fixture-league-logo img {
    height: 46px;
    width: auto;
    filter: drop-shadow(0 0 1px white) drop-shadow(0 0 1px white);
    object-fit: contain;
}
.fixture-fairplay,
.fixture-bluefoot {
    flex-shrink: 0;
    flex-grow: 0;
}
.fixture-fairplay img {
    filter: none;
    width: auto;
    height: 36px;
}
.fixture-bluefoot img {
    filter: none;
    width: auto;
    height: 46px;
}
.fixture-bar-logo {
    display: none !important;
    position: absolute;
    visibility: hidden;
}
.fixture-bar-logo img {
    height: 40px;
    width: auto;
}
.fixture-home .fixture-date,
.fixture-home .fixture-league-logo {
    background: rgba(255,255,255,0.15);
}
.fixture-day {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: #132257;
}
.fixture-home .fixture-day {
    color: #fff;
}
.fixture-month {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #cbd5e1;
}
.fixture-home .fixture-month {
    color: #94a3b8;
}
.fixture-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.fixture-teams {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0;
}
.team-vs {
    color: #64748b;
    font-weight: 400;
    font-size: 0.75rem;
}
.fixture-home .team-vs {
    color: #94a3b8;
}
.team-spurs {
    color: #132257;
    font-weight: 700;
}
.team-opponent {
    color: #475569;
}
.fixture-meta {
    display: flex;
    gap: 16px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    justify-content: center;
}
.fixture-stadium {
    font-size: 0.7rem;
}
.fixture-meta .fixture-time,
.fixture-meta .fixture-venue,
.fixture-meta .fixture-competition {
    display: none !important;
}
.fixture-meta span {
    display: flex;
    align-items: center;
}
.fixtures-empty {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-family: 'Segoe UI', sans-serif;
}
.fixture-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.fixture-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== ABOUT PAGE ===== */
.spurs-heading {
    font-family: 'Spurs', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.info-item {
    padding: 24px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}
.info-item h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #132257;
    margin-bottom: 8px;
}
.info-item p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0;
}
a.info-item-link {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.info-item-link:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.email-signup-form {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    max-width: 500px;
}
.email-signup-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: 'Segoe UI', sans-serif;
}
.email-signup-form input[type="email"]:focus {
    outline: none;
    border-color: #132257;
    box-shadow: 0 0 0 3px rgba(19, 34, 87, 0.1);
}
.email-signup-form .btn {
    white-space: nowrap;
}
@media (max-width: 480px) {
    .email-signup-form {
        flex-direction: column;
    }
    .email-signup-form .btn {
        width: 100%;
    }
}

/* ===== FAQ PAGE ===== */
.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}
.faq-item summary {
    padding: 18px 24px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #132257;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: #132257;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item summary:hover {
    background: #f8fafc;
}
.faq-item p {
    padding: 0 24px 18px;
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}
.faq-item[open] summary {
    border-bottom: 1px solid #e5e7eb;
}

/* ===== ADMIN ===== */
.admin-section {
    margin-bottom: 40px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    margin-top: 16px;
}
.admin-table th {
    padding: 10px 14px;
    text-align: left;
    background: #1a3070;
    color: #fff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.admin-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e5e7eb;
    color: #334155;
}
.admin-table tbody tr:hover { background: #f8fafc; }
.admin-table .actions {
    display: flex;
    gap: 8px;
}
.role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.role-pending { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }
.role-member { background: #ecfdf5; color: #166534; border: 1px solid #86efac; }
.role-admin { background: #eff6ff; color: #132257; border: 1px solid #93c5fd; }

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.admin-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.admin-gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.admin-gallery-item .admin-photo-info {
    padding: 8px 12px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    color: #64748b;
    background: #fff;
}
.admin-gallery-item form {
    padding: 0 12px 8px;
    background: #fff;
}
.admin-gallery-item .admin-photo-actions {
    padding: 8px 12px;
    background: #fff;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.admin-gallery-item.photo-hidden {
    opacity: 0.6;
}
.admin-gallery-item .hidden-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
}
.admin-gallery-item {
    position: relative;
}

/* ===== CAROUSEL ===== */
.carousel-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #132257, transparent);
    margin: 10px 0;
}
.carousel-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 0;
    margin-bottom: 10px;
}
.carousel {
    position: relative;
    width: 100%;
    height: 400px;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.carousel-slide.active {
    opacity: 1;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
    border-radius: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #132257 0%, #1a3070 100%);
    color: #94a3b8;
    text-align: center;
    padding: 32px 24px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    margin-top: auto;
}
.site-footer p { margin-bottom: 4px; }
.site-footer a { color: #6b8fd4; }
.site-footer .footer-tagline {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .admin-reminder {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    .header-nav li a.nav-admin {
        margin: 0;
        border-radius: 0;
        background: #ffd700;
        color: #132257;
    }
    /* Mobile buttons in admin cards */
    .admin-section .btn,
    .card > p .btn {
        padding: 8px 16px;
        font-size: 0.82rem;
        margin: 4px 4px;
        width: auto;
        display: inline-block;
    }
    .card > p:last-of-type {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    /* Mobile admin tables */
    .card.admin-section {
        padding: 20px 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .admin-table {
        font-size: 0.8rem;
        min-width: 600px;
        width: max-content;
    }
    .admin-table th,
    .admin-table td {
        padding: 8px 10px;
        white-space: nowrap;
    }
    .admin-table th {
        font-size: 0.7rem;
    }
    .header-top {
        flex-wrap: wrap;
        gap: 12px;
    }
    .header-auth {
        display: none;
    }
    .header-auth.mobile-show {
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .menu-toggle {
        display: block;
    }
    .header-nav {
        display: none;
    }
    .header-nav.open {
        display: block;
    }
    .nav-container {
        flex-direction: column;
        padding: 0;
    }
    .header-nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    .header-nav li a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .submenu-vertical {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.15);
        border-radius: 0;
        min-width: 100%;
        display: none !important;
    }
    .menu-with-submenu:hover .submenu-vertical {
        display: flex !important;
        flex-direction: column;
    }
    .submenu-vertical li a {
        padding: 12px 20px 12px 36px;
        text-align: center;
    }
    .social-links {
        padding: 12px 0;
        border-top: 1px solid rgba(255,255,255,0.05);
        width: 100%;
        justify-content: center;
    }
    /* Fixtures mobile */
    .container {
        padding-top: 15px;
    }
    .fixtures-card {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-bottom: 0;
    }
    .fixtures-header {
        margin-bottom: 15px;
    }
    .fixture-item {
        border-radius: 0;
        margin: 0 -24px;
        width: calc(100% + 48px);
    }
    .fixture-info-boxes {
        justify-content: center;
        width: 100%;
        gap: 8px;
    }
    .fixture-start-time,
    .fixture-league-logo {
        display: flex;
    }
    .fixture-info-boxes .fixture-date {
        min-width: auto;
        padding: 6px 10px;
        height: 48px;
        border-radius: 0;
    }
    .fixture-info-boxes .fixture-day {
        font-size: 1.1rem;
    }
    .fixture-info-boxes .fixture-month {
        font-size: 0.75rem;
        color: #cbd5e1;
    }
    .fixture-league-logo img {
        height: 36px;
    }
    .fixture-fairplay,
    .fixture-bluefoot {
        display: none !important;
    }
    /* Carousel mobile */
    .carousel {
        height: 250px;
    }
    .carousel-slide img {
        object-position: center center;
    }
    .fixture-meta {
        flex-direction: column;
        align-items: center;
    }
    .fixture-bar-logo {
        display: block !important;
        position: static;
        visibility: visible;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    .fixture-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        align-items: center;
    }
    .fixture-date {
        flex-direction: row;
        gap: 8px;
        padding: 6px 12px;
    }
    .fixture-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .fixture-teams {
        font-size: 1.1rem;
    }
    .fixture-stadium {
        font-size: 0.7rem;
        display: block;
        text-align: center;
    }
    .fixture-details {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .fixture-teams,
    .fixture-meta {
        width: 100%;
    }
    .fixture-home .fixture-date {
        margin-bottom: 4px;
    }
    .hero { height: 350px; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .card { padding: 24px 20px; }
    .card h2 { font-size: 1.35rem; }
    .auth-card { padding: 28px 24px; }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    .next-match-teams { gap: 20px; }
    .next-match-team .team-crest { width: 44px; height: 44px; }
    .report-iframe { height: 500px; }
    .lightbox-nav { font-size: 1.8rem; padding: 8px 12px; }
    .admin-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
