/**
 * RCYS Public Site Styles - Unified Dark Theme
 * /var/www/rcys-teambuilder/public/assets/css/public.css
 * 
 * Complete replacement - dark/red theme throughout
 */

/* =====================================================
   CSS Variables - Dark Theme
   ===================================================== */
:root {
    /* Primary Colors */
    --rcys-red: #c41e3a;
    --rcys-red-hover: #a01830;
    --rcys-red-light: #d64a5e;
    --rcys-red-glow: rgba(196, 30, 58, 0.3);
    
    /* Dark Backgrounds */
    --rcys-black: #0d1117;
    --rcys-black-light: #161b22;
    --rcys-black-lighter: #21262d;
    --rcys-black-lightest: #30363d;
    
    /* Text Colors */
    --rcys-white: #ffffff;
    --rcys-text: #e6edf3;
    --rcys-text-muted: #8b949e;
    --rcys-silver: #c0c0c0;
    --rcys-silver-dark: #8b949e;
    
    /* Borders & Effects */
    --rcys-border: rgba(192, 192, 192, 0.15);
    --rcys-border-light: rgba(255, 255, 255, 0.1);
    --rcys-card-bg: linear-gradient(135deg, #161b22, #21262d);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Layout */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    
    /* Typography */
    --font-heading: 'Segoe UI', 'Oswald', sans-serif;
    --font-body: 'Segoe UI', 'Open Sans', sans-serif;
}

/* =====================================================
   Reset & Base Styles
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--rcys-text);
    background-color: var(--rcys-black);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: var(--rcys-white);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1rem 0; }

a {
    color: var(--rcys-red-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--rcys-red);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    color: var(--rcys-text-muted);
}

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

/* =====================================================
   Top Bar
   ===================================================== */
.top-bar {
    background-color: var(--rcys-black);
    color: var(--rcys-text-muted);
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--rcys-border);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links a {
    color: var(--rcys-text-muted);
    margin-left: 1.5rem;
    transition: color var(--transition-fast);
}

.top-bar-links a:hover {
    color: var(--rcys-red-light);
}

/* =====================================================
   Header
   ===================================================== */
.site-header {
    background: linear-gradient(
        to right,
        rgba(18, 18, 18, 0.50) 0%,
        rgba(18, 18, 18, 0.72) 30%,
        rgba(18, 18, 18, 0.90) 70%,
        rgba(18, 18, 18, 0.97) 100%
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--rcys-red);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow:
        0 2px 20px rgba(0,0,0,0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

/* Compensate for fixed header */
body {
    padding-top: 85px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-image {
    height: 70px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rcys-red);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--rcys-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--rcys-text);
    font-weight: 600;
    font-size: 1.06rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--rcys-red-light);
    background-color: rgba(196, 30, 58, 0.1);
}

.main-nav .btn-register {
    background-color: var(--rcys-red);
    color: var(--rcys-white) !important;
}

.main-nav .btn-register:hover {
    background-color: var(--rcys-red-hover);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--rcys-text);
    transition: var(--transition-fast);
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--rcys-red);
    color: var(--rcys-white);
    box-shadow: 0 4px 12px var(--rcys-red-glow);
}

.btn-primary:hover {
    background-color: var(--rcys-red-hover);
    color: var(--rcys-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--rcys-red-glow);
}

.btn-secondary {
    background-color: var(--rcys-black-lighter);
    color: var(--rcys-text);
    border: 1px solid var(--rcys-border);
}

.btn-secondary:hover {
    background-color: var(--rcys-black-lightest);
    color: var(--rcys-white);
    border-color: var(--rcys-red);
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--rcys-red);
    border-radius: var(--radius-sm);
    color: var(--rcys-red);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background: var(--rcys-red);
    color: var(--rcys-white);
}

.btn-large,
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -85px;
    padding-top: 85px;
}

.hero-backgrounds {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 0;
    background-color: #1a1a1a;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-background.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 17, 23, 0.5) 0%,
        rgba(13, 17, 23, 0.7) 50%,
        rgba(13, 17, 23, 0.95) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-logo {
    width: 255px;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.hero-content h1 {
    font-size: clamp(1.7rem, 4.25vw, 3rem);
    font-weight: 700;
    color: var(--rcys-white);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    -webkit-text-stroke: 5px rgba(0, 0, 0, 1);
    paint-order: stroke fill;
    text-shadow:
        1px 1px 0 #000,
        2px 2px 0 #000,
        3px 3px 0 #000,
        4px 4px 0 #000,
        5px 5px 0 #000,
        6px 6px 0 #000,
        7px 7px 0 #000,
        8px 8px 0 #000,
        9px 9px 0 #000,
        10px 10px 0 #000,
        11px 11px 0 #000,
        12px 12px 0 #000,
        13px 13px 0 #000,
        14px 14px 0 #000,
        15px 15px 0 #000,
        16px 16px 0 #000,
        17px 17px 0 #000,
        18px 18px 0 #000,
        19px 19px 0 #000,
        20px 20px 0 #000,
        21px 21px 0 rgba(0, 0, 0, 0.95),
        22px 22px 0 rgba(0, 0, 0, 0.9),
        23px 23px 0 rgba(0, 0, 0, 0.85),
        24px 24px 0 rgba(0, 0, 0, 0.8),
        25px 25px 0 rgba(0, 0, 0, 0.75),
        26px 26px 0 rgba(0, 0, 0, 0.7),
        27px 27px 0 rgba(0, 0, 0, 0.65),
        28px 28px 0 rgba(0, 0, 0, 0.6),
        29px 29px 0 rgba(0, 0, 0, 0.55),
        30px 30px 0 rgba(0, 0, 0, 0.5),
        32px 32px 15px rgba(0, 0, 0, 0.5),
        36px 36px 25px rgba(0, 0, 0, 0.45),
        42px 42px 40px rgba(0, 0, 0, 0.4),
        50px 50px 60px rgba(0, 0, 0, 0.35),
        60px 60px 80px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--rcys-red-light);
    margin: 0 0 16px 0;
    font-weight: 600;
}

.hero-mission {
    font-size: 1.125rem;
    color: var(--rcys-silver);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.btn-hero {
    padding: 16px 40px;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px var(--rcys-red-glow);
}

.hero-status {
    margin-top: 24px;
}

.status-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(196, 30, 58, 0.2);
    border: 1px solid var(--rcys-red);
    border-radius: 30px;
    color: var(--rcys-red-light);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-season-status {
    font-size: 1.25rem;
    background-color: rgba(196, 30, 58, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    display: inline-block;
    color: var(--rcys-text);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--rcys-silver);
    opacity: 0.6;
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: opacity var(--transition-fast);
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* =====================================================
   Section Headers
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    color: var(--rcys-white);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin: 0 0 12px 0;
}

.section-header p {
    color: var(--rcys-text-muted);
    font-size: 1.1rem;
    margin: 0;
}

/* =====================================================
   Quick Info Cards Section
   ===================================================== */
.quick-info {
    padding: 80px 0;
    background: var(--rcys-black);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--rcys-card-bg);
    border: 1px solid var(--rcys-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-medium);
}

.info-card:hover {
    border-color: var(--rcys-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(196, 30, 58, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--rcys-red);
}

.info-card h3 {
    color: var(--rcys-white);
    font-size: 1.25rem;
    margin: 0 0 12px 0;
}

.info-card p {
    color: var(--rcys-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.info-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--rcys-red-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-link:hover {
    color: var(--rcys-red);
}

/* Legacy card-grid support */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--rcys-red);
}

/* =====================================================
   Announcements Section
   ===================================================== */
.announcements-section {
    padding: 80px 0;
    background: var(--rcys-black-light);
}

.announcements-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.announcements-grid,
.announcements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.announcement-card {
    background: var(--rcys-card-bg);
    border: 1px solid var(--rcys-border);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    transition: all var(--transition-medium);
}

.announcement-card:hover {
    border-color: rgba(196, 30, 58, 0.4);
}

.announcement-card.pinned {
    border-color: var(--rcys-red);
}

.pinned-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(196, 30, 58, 0.2);
    border-radius: var(--radius-sm);
    color: var(--rcys-red-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.announcement-card h3 {
    color: var(--rcys-white);
    font-size: 1.125rem;
    margin: 0 0 12px 0;
}

.announcement-card p {
    color: var(--rcys-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.announcement-card time {
    color: var(--rcys-silver-dark);
    font-size: 0.85rem;
}

/* =====================================================
   Photo Gallery Preview
   ===================================================== */
.gallery-preview-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--rcys-black) 0%, var(--rcys-black-light) 100%);
}

.gallery-albums-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 992px) {
    .gallery-albums-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-albums-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-album-card {
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--rcys-black-lighter);
    border: 1px solid var(--rcys-border);
    transition: all var(--transition-medium);
}

.gallery-album-card:hover {
    transform: translateY(-4px);
    border-color: var(--rcys-red);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.album-cover {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--rcys-black);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.gallery-album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rcys-black-lightest);
}

.album-placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--rcys-text-muted);
    opacity: 0.5;
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.photo-count {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

.album-info {
    padding: 16px;
}

.album-info h3 {
    color: var(--rcys-white);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.album-info p {
    color: var(--rcys-text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.gallery-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-soft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(196, 30, 58, 0.15);
    border: 1px solid var(--rcys-red);
    color: var(--rcys-red-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-primary-soft:hover {
    background: var(--rcys-red);
    color: white;
}

/* =====================================================
   Accordion
   ===================================================== */
.league-info-section {
    padding: 80px 0;
    background: var(--rcys-black);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--rcys-card-bg);
    border: 1px solid var(--rcys-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.accordion-item:hover {
    border-color: rgba(196, 30, 58, 0.3);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--rcys-white);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(196, 30, 58, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-icon svg {
    width: 18px;
    height: 18px;
    color: var(--rcys-red);
}

.accordion-title {
    flex: 1;
}

.accordion-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--rcys-silver-dark);
    transition: transform var(--transition-medium);
}

.accordion-chevron svg {
    width: 24px;
    height: 24px;
}

.accordion-header[aria-expanded="true"] .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.accordion-body {
    padding: 0 24px 24px 76px;
    color: var(--rcys-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.accordion-body p {
    margin: 0 0 16px 0;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.accordion-body li {
    margin-bottom: 8px;
    color: var(--rcys-text-muted);
}

.accordion-body strong {
    color: var(--rcys-white);
}

/* =====================================================
   Get Involved Section
   ===================================================== */
.get-involved-section {
    padding: 80px 0;
    background: var(--rcys-black-light);
}

.involvement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.involvement-card {
    background: var(--rcys-card-bg);
    border: 1px solid var(--rcys-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-medium);
}

.involvement-card:hover {
    border-color: var(--rcys-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.involvement-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(196, 30, 58, 0.12);
    border: 1px solid rgba(196, 30, 58, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
}

.involvement-card:hover .involvement-icon {
    background: rgba(196, 30, 58, 0.2);
    border-color: var(--rcys-red);
}

.involvement-icon svg {
    width: 32px;
    height: 32px;
    color: var(--rcys-red);
}

.involvement-card h3 {
    color: var(--rcys-white);
    font-size: 1.25rem;
    margin: 0 0 12px 0;
}

.involvement-card p {
    color: var(--rcys-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* =====================================================
   Fields Section
   ===================================================== */
.fields-section {
    padding: 80px 0;
    background: var(--rcys-black);
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.field-card {
    background: var(--rcys-card-bg);
    border: 1px solid var(--rcys-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-medium);
}

.field-card:hover {
    border-color: var(--rcys-red);
}

.field-name {
    color: var(--rcys-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.field-divisions {
    color: var(--rcys-text-muted);
    font-size: 0.9rem;
}

.fields-cta {
    text-align: center;
}

.fields-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--rcys-black-light) 0%, var(--rcys-black) 100%);
    text-align: center;
}

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

.cta-section h2 {
    color: var(--rcys-white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 16px 0;
}

.cta-section p {
    color: var(--rcys-text-muted);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   Social Section
   ===================================================== */
.social-section {
    padding: 60px 0;
    background: var(--rcys-black-lighter);
    text-align: center;
}

.social-section p {
    color: var(--rcys-text-muted);
    font-size: 1rem;
    margin: 0 0 20px 0;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--rcys-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rcys-silver);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--rcys-red);
    border-color: var(--rcys-red);
    color: var(--rcys-white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

/* =====================================================
   Page Content (CMS Pages)
   ===================================================== */
.page-content {
    padding: 3rem 0;
    background: var(--rcys-black);
    min-height: 60vh;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--rcys-border);
}

.page-header h1 {
    color: var(--rcys-white);
}

.page-body {
    max-width: 800px;
    color: var(--rcys-text-muted);
}

.page-body h2 {
    margin-top: 2rem;
    color: var(--rcys-white);
}

.page-body h3 {
    color: var(--rcys-red-light);
}

.page-body ul, .page-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-body li {
    margin-bottom: 0.5rem;
}

.page-body a {
    color: var(--rcys-red-light);
}

.page-body a:hover {
    color: var(--rcys-red);
    text-decoration: underline;
}

/* CMS Content Section */
.cms-content {
    padding: 60px 0;
    background: var(--rcys-black-light);
}

.cms-content h2, .cms-content h3 {
    color: var(--rcys-white);
}

.cms-content p {
    color: var(--rcys-text-muted);
    line-height: 1.7;
}

/* =====================================================
   Contact Page
   ===================================================== */
.contact-page {
    padding: 40px 0 60px;
    background: var(--rcys-black);
}

.contact-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(196, 30, 58, 0.3);
}

.contact-page .page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-page .page-header p {
    color: var(--rcys-silver);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--rcys-card-bg);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--rcys-red);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
    color: var(--rcys-white);
    font-size: 20px;
    margin: 0 0 5px 0;
}

.contact-form-wrapper .form-subtitle {
    color: var(--rcys-silver);
    font-size: 14px;
    margin: 0 0 25px 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--rcys-silver);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form label .required {
    color: var(--rcys-red);
    margin-left: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: var(--radius-sm);
    color: var(--rcys-white);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.contact-form input[type="text"]:hover,
.contact-form input[type="email"]:hover,
.contact-form textarea:hover {
    border-color: rgba(192, 192, 192, 0.4);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--rcys-red);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(192, 192, 192, 0.4);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--rcys-red);
    color: var(--rcys-white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 180px;
}

.contact-form .btn-submit:hover {
    background: var(--rcys-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--rcys-red-glow);
}

/* Contact Info Sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-header {
    margin-bottom: 5px;
}

.contact-info-header h2 {
    color: var(--rcys-white);
    font-size: 18px;
    margin: 0 0 8px 0;
}

.contact-info-header p {
    color: var(--rcys-silver);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.contact-info h3 {
    color: var(--rcys-white);
    margin-bottom: 1.5rem;
}

.contact-method {
    margin-bottom: 1.5rem;
}

.contact-method h4 {
    color: var(--rcys-red);
    margin-bottom: 0.5rem;
}

.contact-method ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
}

/* Info Cards in Contact */
.info-card {
    background: var(--rcys-card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid rgba(192, 192, 192, 0.15);
    transition: all var(--transition-fast);
}

.info-card:hover {
    border-color: rgba(196, 30, 58, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.info-card-header h3 {
    color: var(--rcys-white);
    font-size: 15px;
    margin: 0;
    font-weight: 600;
}

.info-card-content {
    color: var(--rcys-silver);
    font-size: 14px;
    line-height: 1.6;
    padding-left: 52px;
}

.info-card-content a {
    color: var(--rcys-red-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-card-content a:hover {
    color: var(--rcys-red);
    text-decoration: underline;
}

.info-card-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-card-content li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card-content li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--rcys-red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Response Note */
.response-note {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.response-note svg {
    color: #64b5f6;
    flex-shrink: 0;
}

.response-note p {
    margin: 0;
    color: #90caf9;
    font-size: 13px;
    line-height: 1.5;
}

/* =====================================================
   Gallery
   ===================================================== */
.gallery-page {
    padding: 3rem 0;
    background: var(--rcys-black);
    min-height: 60vh;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.album-card {
    display: block;
    background: var(--rcys-card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--rcys-border);
    transition: all var(--transition-medium);
    text-decoration: none;
}

.album-card:hover {
    transform: translateY(-3px);
    border-color: var(--rcys-red);
    box-shadow: var(--shadow-md);
}

.album-cover {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--rcys-black-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--rcys-text-muted);
}

.album-info {
    padding: 1rem;
}

.album-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--rcys-white);
}

.photo-count {
    font-size: 0.875rem;
    color: var(--rcys-text-muted);
}

/* =====================================================
   Alerts
   ===================================================== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
}

.alert-error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ef9a9a;
}

.alert svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.alert p {
    margin: 0;
    line-height: 1.5;
}

.alert strong {
    display: block;
    margin-bottom: 4px;
}

/* Alert Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    animation: slideIn 0.3s ease;
}

/* =====================================================
   Error Page
   ===================================================== */
.error-page {
    padding: 6rem 0;
    text-align: center;
    background: var(--rcys-black);
    min-height: 60vh;
}

.error-page h1 {
    font-size: 3rem;
    color: var(--rcys-red);
}

.error-page p {
    color: var(--rcys-text-muted);
}

/* =====================================================
   No Content
   ===================================================== */
.no-content {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--rcys-text-muted);
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
    background-color: var(--rcys-black-light);
    color: var(--rcys-text);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--rcys-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--rcys-red);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--rcys-text-muted);
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--rcys-text-muted);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--rcys-red-light);
}

.footer-bottom {
    border-top: 1px solid var(--rcys-border);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--rcys-text-muted);
}

/* =====================================================
   Utility Classes
   ===================================================== */
.text-center { text-align: center; }
.text-muted { color: var(--rcys-text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Form Honeypot (hidden) */
.form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        order: -1;
    }
    
    .info-card-content {
        padding-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .top-bar-links a:first-child {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--rcys-black-light);
        border-bottom: 1px solid var(--rcys-border);
        padding: 1rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-logo {
        width: 204px;
    }

    .hero-content {
        padding: 30px 16px;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-tagline {
        font-size: 1.125rem;
    }
    
    .quick-info,
    .announcements-section,
    .league-info-section,
    .get-involved-section,
    .fields-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    .accordion-body {
        padding-left: 24px;
    }
    
    .info-card,
    .involvement-card,
    .field-card {
        padding: 24px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .logo-subtitle {
        display: none;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-logo {
        width: 170px;
    }

    .btn-hero {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .accordion-header {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    
    .accordion-icon {
        width: 32px;
        height: 32px;
    }
    
    .accordion-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .contact-form .btn-submit {
        width: 100%;
    }
}

/* =====================================================
   Print Styles
   ===================================================== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .site-header,
    .site-footer,
    .hero-scroll-indicator,
    .btn,
    .social-section {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-background,
    .hero-overlay {
        display: none;
    }
    
    .hero-content h1 {
        color: black;
        text-shadow: none;
    }
}
/* =====================================================
   HEADER CLASS MAPPING PATCH
   Add this to the end of public.css (or public-dark.css)
   Maps actual class names used in public-header.php
   ===================================================== */

/* Header Inner (alias for header-content) */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Site Logo (alias for logo) - Left justified */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 70px;
    width: auto;
    transition: transform 0.2s ease;
}

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

/* Site Main wrapper */
.site-main {
    min-height: calc(100vh - 200px);
}

/* Footer nav styling */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: var(--rcys-text-muted);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--rcys-red-light);
}
/* =====================================================
   NAVIGATION FIX PATCH
   Add this to the end of public-dark.css
   Fixes vertical nav display issue
   ===================================================== */

/* Force horizontal nav on desktop */
.main-nav {
    display: flex !important;
    align-items: center;
}

.main-nav a {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    color: var(--rcys-text);
    font-weight: 600;
    font-size: 1.06rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--rcys-red-light);
    background-color: rgba(196, 30, 58, 0.1);
}

/* Header layout fix - Glassmorphic effect */
.site-header {
    background: linear-gradient(
        to right,
        rgba(18, 18, 18, 0.50) 0%,
        rgba(18, 18, 18, 0.72) 30%,
        rgba(18, 18, 18, 0.90) 70%,
        rgba(18, 18, 18, 0.97) 100%
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--rcys-red);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow:
        0 2px 20px rgba(0,0,0,0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

/* Compensate for fixed header */
body {
    padding-top: 85px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
    gap: 1.5rem;
}

/* Hide mobile toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Header stays above overlay */
    .site-header {
        z-index: 1001;
    }

    .header-inner {
        padding: 0.5rem 1rem;
    }

    .site-logo img {
        height: 50px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1002;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--rcys-text);
        transition: all 0.3s ease;
    }

    /* Hide inline nav on mobile - use overlay instead */
    .main-nav {
        display: none !important;
    }

    /* Committee link hidden on mobile - it's in the overlay */
    .header-right-section .committee-link {
        display: none;
    }

    /* Header right section on mobile */
    .header-right-section {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

/* Small phone styles */
@media (max-width: 480px) {
    .header-inner {
        padding: 0.4rem 0.75rem;
    }

    .site-logo img {
        height: 40px;
    }
}

/* Very small phone styles */
@media (max-width: 360px) {
    .site-logo img {
        height: 35px;
    }
}

/* Header right section - Committee link on far right */
.header-right-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* =====================================================
   HERO BRIGHTNESS FIX
   Add this to the end of public-dark.css
   Lightens the overlay to show more of the background
   ===================================================== */

/* Brighter hero overlay - less opacity, more image visible */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 17, 23, 0.2) 0%,
        rgba(13, 17, 23, 0.35) 40%,
        rgba(13, 17, 23, 0.75) 85%,
        rgba(13, 17, 23, 0.95) 100%
    );
    z-index: 1;
}

/* Add subtle text shadow for better readability against brighter background */
.hero-content h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-mission {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
/* =====================================================
   UPCOMING REGISTRATION BUTTON STYLES
   Add this to the end of public-dark.css
   ===================================================== */

/* Wrapper for CTA and helper text */
.hero-cta-wrapper {
    text-align: center;
}

/* Upcoming registration button - not clickable but prominent */
.btn-upcoming {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--rcys-black-lighter), var(--rcys-black-lightest));
    border: 2px solid var(--rcys-red);
    border-radius: var(--radius-md);
    cursor: default;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(196, 30, 58, 0.3);
    transition: all var(--transition-medium);
}

.btn-upcoming:hover {
    border-color: var(--rcys-red-light);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 20px var(--rcys-red-glow);
    transform: translateY(-2px);
}

.btn-upcoming-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rcys-silver);
    margin-bottom: 4px;
}

.btn-upcoming-date {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rcys-red-light);
    letter-spacing: 0.5px;
}

/* Helper text below button */
.hero-notify-text {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--rcys-text-muted);
    opacity: 0.8;
}

/* Pulse animation for upcoming button (subtle attention grab) */
@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(196, 30, 58, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--rcys-red-glow); }
}

.btn-upcoming {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.btn-upcoming:hover {
    animation: none;
}
/* ==========================================
   REGISTRATION MODAL STYLES
   Added: December 27, 2025
   ========================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rcys-modal {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 1px solid #c41e3a;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(196, 30, 58, 0.2);
    animation: modalSlideIn 0.3s ease;
}

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

.rcys-modal .modal-header {
    background: linear-gradient(135deg, #c41e3a, #a01830);
    padding: 18px 24px;
    border-radius: 11px 11px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rcys-modal .modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.rcys-modal .modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rcys-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.rcys-modal .modal-body {
    padding: 28px 24px;
}

.modal-icon {
    text-align: center;
    margin-bottom: 20px;
}

.modal-icon svg {
    stroke: #c41e3a;
}

.modal-icon.warning svg {
    stroke: #FFC107;
}

.modal-icon.info svg {
    stroke: #4CAF50;
}

.modal-message {
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal-submessage {
    text-align: center;
    color: #c0c0c0;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Modal Form Styles */
.modal-form .form-group {
    margin-bottom: 18px;
}

.modal-form label {
    display: block;
    color: #c0c0c0;
    font-size: 0.9rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.modal-form label .required {
    color: #c41e3a;
}

.modal-form .form-control {
    width: 100%;
    padding: 12px 14px;
    background: #0d1117;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.modal-form .form-control:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2);
}

.modal-form .form-control::placeholder {
    color: #666;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-form .form-hint {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-top: 4px;
}

.modal-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-form .form-actions .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-form .btn-primary {
    background: linear-gradient(135deg, #c41e3a, #a01830);
    border: none;
    color: #fff;
}

.modal-form .btn-primary:hover {
    background: linear-gradient(135deg, #d64a5e, #c41e3a);
    transform: translateY(-1px);
}

.modal-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modal-form .btn-secondary {
    background: transparent;
    border: 1px solid #3d3d3d;
    color: #c0c0c0;
}

.modal-form .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #666;
}

/* Form Result Messages */
.form-result {
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
    font-weight: 500;
}

.form-result.success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #4CAF50;
}

.form-result.error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.4);
    color: #f44336;
}

/* Responsive */
@media (max-width: 500px) {
    .rcys-modal {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .modal-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-form .form-actions {
        flex-direction: column;
    }
}

/* ==========================================
   COMMITTEE TESTING MODAL STYLES
   Added: December 27, 2025
   ========================================== */

.rcys-modal .modal-header.committee-header {
    background: linear-gradient(135deg, #1e5128, #2d7a3d);
}

.modal-icon.committee svg {
    stroke: #4CAF50;
}

.committee-info {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.committee-info p {
    margin: 0 0 8px 0;
    color: #c0c0c0;
    font-size: 0.9rem;
}

.committee-info p:last-child {
    margin-bottom: 0;
}

.committee-info strong {
    color: #fff;
}

/* =============================================================================
   PORTAL SECONDARY NAVIGATION
   Added: January 1, 2026
   ============================================================================= */

.portal-nav {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
    padding: 20px 0 0 0;
}

.portal-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-nav-links {
    display: flex;
    gap: 0;
}

.portal-nav-links a {
    color: #9ca3af;
    text-decoration: none;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.portal-nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.portal-nav-links a.active {
    color: #dc2626;
    border-bottom-color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.portal-nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-user-name {
    color: #9ca3af;
    font-size: 13px;
}

.portal-logout {
    color: #9ca3af;
    text-decoration: none;
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid #404040;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.portal-logout:hover {
    color: #ffffff;
    border-color: #9ca3af;
}

/* =============================================================================
   MOBILE MENU OVERLAY - Full screen slide-down menu for mobile
   ============================================================================= */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.98);
    z-index: 999;
    overflow-y: auto;
    padding-top: 60px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =============================================================================
   MOBILE MENU SECTION STYLING
   ============================================================================= */

.mobile-menu-section {
    padding: 16px 0;
    border-bottom: 1px solid #333;
}

.mobile-menu-section:last-child {
    border-bottom: none;
}

.mobile-menu-section-title {
    color: #dc2626;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 20px 8px 20px;
    margin-bottom: 4px;
}

.mobile-menu-content a {
    display: block;
    color: #e5e5e5;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.mobile-menu-content a:hover,
.mobile-menu-content a:active {
    background: rgba(220, 38, 38, 0.1);
    color: #ffffff;
}

.mobile-register-btn {
    background: #dc2626 !important;
    color: #ffffff !important;
    margin: 8px 20px;
    padding: 12px 20px !important;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.mobile-logout-btn {
    color: #9ca3af !important;
    border-top: 1px solid #333;
    margin-top: 8px;
}

/* =============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================= */

@media (max-width: 992px) {
    .portal-nav {
        display: none;
    }
    
    /* Portal nav items are in mobile menu instead */
}

@media (min-width: 993px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}
