/* Home Page Styles */

.main-nav {
    background: var(--panel-black);
    color: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none; /* prevent default anchor purple styling */
    color: inherit;
}

.nav-logo:visited {
    color: inherit;
    text-decoration: none;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-toggle {
    /* display is controlled by styles.css (important for mobile toggle visibility) */
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

/* Upcoming Events Hero Carousel */
.events-hero {
    background: var(--panel-black);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.events-hero-header {
    background: var(--panel-black);
    padding: 40px 24px 24px;
    text-align: center;
}

.events-hero-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

.events-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.events-carousel {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.event-slide {
    min-width: 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    padding: 60px 24px;
}

.event-slide-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.event-slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: white;
}

.event-slide-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.event-slide-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.event-slide-btn {
    display: inline-block;
    position: relative;
    z-index: 4;
    padding: 16px 40px;
    background: var(--primary-color);
    color: var(--text-on-dark);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.event-slide-btn:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-2px);
}

.event-slide-btn.signed-up {
    background: rgba(40, 167, 69, 0.9);
    border-color: rgba(40, 167, 69, 0.9);
    cursor: default;
}

.event-slide-btn.signed-up:hover {
    background: rgba(40, 167, 69, 1);
    transform: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: white;
    border-color: white;
    width: 32px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .events-hero-title {
        font-size: 28px;
    }
    
    .event-slide {
        min-height: 400px;
        padding: 40px 20px;
    }
    
    .event-slide-title {
        font-size: 32px;
    }
    
    .event-slide-description {
        font-size: 16px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--panel-black);
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Features Section */
.features {
    padding: 80px 24px;
    background: var(--background);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--background-alt);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Membership Preview */
.membership-preview {
    padding: 80px 24px;
    background: var(--background-alt);
}

.membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.membership-card-preview {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.membership-card-preview:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.membership-card-preview.featured {
    border: 2px solid var(--primary-color);
}

.membership-card-preview .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.membership-card-preview h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.membership-card-preview .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.membership-card-preview .price span {
    font-size: 18px;
    color: var(--text-secondary);
}

.membership-card-preview .benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.membership-card-preview .benefits li {
    padding: 8px 0;
    color: var(--text-secondary);
}

.membership-card-preview .benefits li:before {
    content: '✓ ';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 8px;
}

/* Footer */
.footer {
    background: var(--panel-black);
    color: white;
    padding: 48px 24px 24px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* About HEMA Ireland Section */
/* About HEMA Ireland Section - Split Layout */
.about-hema {
    padding: 0;
    background: var(--panel-black);
    overflow: hidden;
}

.about-hema-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-hema-logo {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.about-logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-hema-text {
    background: var(--panel-black);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hema-text p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    max-width: 600px;
}

.about-hema-text p:last-child {
    margin-bottom: 0;
}

/* Event Date/Time Styling */
.event-slide-datetime {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.event-date,
.event-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.datetime-icon {
    font-size: 24px;
}

/* Responsive */
@media (max-width: 968px) {
    .about-hema-container {
        grid-template-columns: 1fr;
    }
    
    .about-hema-logo {
        padding: 40px 24px;
    }
    
    .about-logo-img {
        max-width: 300px;
    }
    
    .about-hema-text {
        padding: 40px 24px;
    }
    
    .about-hema-text p {
        font-size: 16px;
        max-width: 100%;
    }
    
    .event-slide-datetime {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .event-date,
    .event-time {
        font-size: 18px;
        padding: 10px 20px;
    }
    
    .clubs-header {
        padding: 60px 24px;
    }
    
    .team-title {
        font-size: 42px;
        text-align: center;
        margin-bottom: 32px;
    }
    
    .team-intro {
        text-align: center;
        max-width: 100%;
    }
    
    .team-intro p {
        font-size: 18px;
    }
    
    .clubs-filter-bar {
        padding: 24px 20px;
    }
    
    .clubs-filter-bar .filter-section {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .clubs-filter-bar .filter-title {
        text-align: center;
    }
    
    .clubs-grid-container {
        padding: 40px 0;
    }
}

/* Clubs of Hema Ireland Section - Improved Layout */
.clubs-team-section {
    padding: 0;
    background: var(--background);
}

/* Header Section: Full-width black background */
.clubs-header {
    background: var(--panel-black);
    color: white;
    padding: 80px 40px;
}

.clubs-header-content {
    max-width: 1000px;
    margin: 0 auto;
}

.team-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
    letter-spacing: 2px;
    text-align: left;
    line-height: 1.2;
}

.team-intro {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.team-intro p {
    font-size: 22px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
}

.team-intro p:last-child {
    margin-bottom: 0;
}

/* Filter Bar: Centered with subtle background */
.clubs-filter-bar {
    background: var(--background-alt);
    padding: 32px 24px;
    border-bottom: 1px solid var(--border-color);
}

.clubs-filter-bar .filter-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

.clubs-filter-bar .filter-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: var(--text-primary);
    white-space: nowrap;
}

.clubs-filter-bar .filter-dropdown-wrapper {
    max-width: 400px;
    width: 100%;
}

/* Light filter bar: dark text (global .filter-dropdown assumes dark panel) */
.clubs-filter-bar .filter-dropdown {
    background: #fff;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.clubs-filter-bar .filter-dropdown option {
    background: #fff;
    color: var(--text-primary);
}

.clubs-filter-bar .filter-dropdown:hover,
.clubs-filter-bar .filter-dropdown:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.15);
}

/* Clubs Grid Container: White background */
.clubs-grid-container {
    background: white;
    padding: 60px 0;
}

.clubs-team-section .container {
    padding: 0 24px;
}

/* Filter Section (general) */
.filter-section {
    width: 100%;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.filter-dropdown-wrapper {
    max-width: 400px;
}

.filter-dropdown {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    font-size: 16px;
    background: var(--panel-black);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.filter-dropdown option {
    background: var(--panel-black);
    color: white;
    padding: 8px;
}

/* Ensure dropdown options are visible on all browsers */
.filter-dropdown::-ms-expand {
    display: none;
}

.clubs-header-text .filter-dropdown {
    background: var(--panel-black);
    color: white;
}

.clubs-header-text .filter-dropdown option {
    background: var(--panel-black);
    color: white;
}

.clubs-header-text .filter-dropdown:hover,
.clubs-header-text .filter-dropdown:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.clubs-header-text .filter-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.filter-dropdown:hover,
.filter-dropdown:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.filter-dropdown:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Clubs Grid */
.clubs-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.club-card-team {
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.club-card-team:hover {
    transform: translateY(-4px);
}

.club-logo-team {
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    background: var(--background-alt);
    transition: var(--transition);
}

.club-card-team:hover .club-logo-team {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.2);
}

.club-logo-team img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-name-team {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 18px;
}

.team-signup {
    text-align: center;
    margin-top: 48px;
}

/* Club Hover Popup */
.club-hover-popup {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-width: 400px;
    width: calc(100% - 40px);
}

@media (max-width: 768px) {
    .club-hover-popup {
        max-width: 90%;
        pointer-events: auto;
    }
    
    .club-hover-popup.active {
        pointer-events: auto;
    }
    
    .popup-content {
        position: relative;
    }
    
    .popup-close {
        position: absolute;
        top: 12px;
        right: 12px;
        background: var(--error-color);
        color: white;
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10001;
    }
}

.club-hover-popup.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.popup-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.popup-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

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

.popup-title h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.popup-location {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.popup-body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.popup-description {
    margin-bottom: 16px;
}

.popup-weapons h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.popup-weapons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.popup-weapons li {
    background: var(--background-alt);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-primary);
}

.map-signup {
    margin-top: 40px;
}

.btn-large {
    padding: 18px 48px;
    font-size: 20px;
    font-weight: 600;
}


.region-section {
    margin-bottom: 60px;
}

.region-section:last-child {
    margin-bottom: 0;
}

.region-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
    text-align: center;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.club-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.club-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.club-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--background-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.club-info {
    flex: 1;
    margin-bottom: 16px;
}

.club-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.club-location {
    font-size: 14px;
    color: var(--text-secondary);
}

.club-founder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

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

/* Club Modal */
.club-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    padding: 40px 20px;
}

.club-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.club-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.club-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.club-modal-close:hover {
    background: var(--background-alt);
    color: var(--text-primary);
}

.club-modal-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.club-modal-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.club-modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-modal-title h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.club-modal-location {
    font-size: 16px;
    color: var(--text-secondary);
}

.club-modal-body-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.club-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.club-weapons h3,
.club-founder-modal h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.club-weapons ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.club-weapons li {
    background: var(--background-alt);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    color: var(--text-primary);
}

.club-founder-modal {
    text-align: center;
}

.founder-photo-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 16px auto;
    border: 3px solid var(--border-color);
}

/* Email Signup Section */
.email-signup-section {
    padding: 80px 24px;
    background: var(--panel-black);
    color: white;
    text-align: center;
}

.email-signup-section .section-title {
    color: white;
    margin-bottom: 12px;
}

.signup-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.email-signup-form {
    max-width: 500px;
    margin: 0 auto;
}

.signup-input-group {
    display: flex;
    gap: 12px;
}

.signup-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.signup-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.signup-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.signup-input-group .btn {
    white-space: nowrap;
    padding: 16px 32px;
}

/* Responsive */
@media (max-width: 768px) {
    /* Do not set .nav-menu { display: none } here — it overrides styles.css slide-out menu */

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .membership-cards {
        grid-template-columns: 1fr;
    }

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

    .club-modal-content {
        padding: 24px;
    }

    .club-modal-header {
        flex-direction: column;
        text-align: center;
    }

    .signup-input-group {
        flex-direction: column;
    }

    .signup-input-group .btn {
        width: 100%;
    }
}
