/* =============================================
   PAGES STYLES - KMC Robotics Club
   Multi-page website styles for all pages
   ============================================= */

/* =============================================
   PAGE HEADER STYLES
   ============================================= */
.page-header {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1rem 4rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-header {
        min-height: 50vh;
        padding: 10rem 2rem 5rem;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 10, 20, 0.8) 100%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3.5rem;
        letter-spacing: 5px;
    }
}

.page-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .page-subtitle {
        font-size: 1.25rem;
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    color: #64748b;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ffffff;
}

/* =============================================
   ABOUT PAGE STYLES
   ============================================= */
.about-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .about-section {
        padding: 6rem 0;
    }
}

.mission-card {
    background: linear-gradient(145deg, rgba(15, 26, 46, 0.8) 0%, rgba(8, 15, 30, 0.9) 100%);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .mission-card {
        padding: 3rem;
    }
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 242, 255, 0.1);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

@media (min-width: 768px) {
    .mission-icon {
        width: 70px;
        height: 70px;
    }
}

.mission-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .mission-title {
        font-size: 1.4rem;
    }
}

.mission-text {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(15, 26, 46, 0.5);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.value-item:hover {
    border-color: rgba(0, 242, 255, 0.3);
    transform: translateX(5px);
}

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.value-content h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.value-content p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

@media (min-width: 768px) {
    .timeline {
        padding-left: 3rem;
    }
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(0, 242, 255, 0.1));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

@media (min-width: 768px) {
    .timeline-item {
        padding-left: 2rem;
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
}

@media (min-width: 768px) {
    .timeline-item::before {
        left: -3rem;
    }
}

.timeline-year {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   TEAM PAGE STYLES
   ============================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-card {
    background: linear-gradient(145deg, rgba(15, 26, 46, 0.8) 0%, rgba(8, 15, 30, 0.9) 100%);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 242, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 242, 255, 0.15);
}

.team-card:hover::before {
    opacity: 1;
}

.team-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .team-card-image {
        height: 280px;
    }
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.5s;
    filter: grayscale(30%);
}

.team-card:hover .team-card-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 10, 20, 0.95) 100%);
    z-index: 2;
}

.team-card-info {
    padding: 1.5rem;
    position: relative;
    z-index: 3;
}

.team-card-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.team-card-role {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.team-card-bio {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-card-social {
    display: flex;
    gap: 0.75rem;
}

.team-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    color: var(--accent);
    transition: all 0.3s;
}

.team-social-link:hover {
    background: var(--accent);
    color: #050a14;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.3);
}

/* Leadership Cards - Larger */
.team-card.leadership {
    grid-column: span 1;
}

@media (min-width: 640px) {
    .team-card.leadership {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .team-card.leadership {
        grid-column: span 1;
    }
}

/* =============================================
   EVENTS PAGE STYLES
   ============================================= */
.events-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(15, 26, 46, 0.6);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    color: #94a3b8;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 48px;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.events-timeline {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .events-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

.event-item {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s;
    height: 100%;
}

@media (min-width: 768px) {
    .event-item {
        margin-bottom: 0;
    }
}

.event-item.hidden {
    opacity: 0;
    transform: translateY(20px);
    height: 0;
    margin: 0;
    overflow: hidden;
}

.event-date-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.95) 0%, rgba(0, 200, 255, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    text-align: center;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 242, 255, 0.4);
}

.event-date-day {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #050a14;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-date-month {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: #050a14;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.event-date-year {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: rgba(5, 10, 20, 0.8);
    font-weight: 500;
}

.event-content {
    background: linear-gradient(145deg, rgba(15, 26, 46, 0.95) 0%, rgba(8, 15, 30, 0.98) 100%);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.event-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-content:hover {
    border-color: rgba(0, 242, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 242, 255, 0.2), 0 0 0 1px rgba(0, 242, 255, 0.2);
}

.event-content:hover::before {
    opacity: 1;
}

.event-content:hover::after {
    transform: scaleX(1);
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.15) 0%, rgba(0, 242, 255, 0.05) 100%);
    border: 1px solid rgba(0, 242, 255, 0.4);
    border-radius: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.event-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.event-badge.past {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.15) 0%, rgba(148, 163, 184, 0.05) 100%);
    border-color: rgba(148, 163, 184, 0.4);
    color: #94a3b8;
    box-shadow: none;
}

.event-badge.past::before {
    background: #94a3b8;
    animation: none;
}

.event-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

@media (min-width: 768px) {
    .event-title {
        font-size: 1.75rem;
    }
}

.event-content:hover .event-title {
    color: var(--accent);
}

.event-description {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .event-description {
        font-size: 1rem;
    }
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: #64748b;
    font-size: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 242, 255, 0.1);
}

@media (min-width: 768px) {
    .event-meta {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.event-meta-item:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.event-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    transition: transform 0.3s;
}

.event-meta-item:hover svg {
    transform: scale(1.1);
}

.event-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: 250px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    margin: 0;
    border: none;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.event-content:hover .event-image {
    transform: scale(1.02);
}

.event-text-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (min-width: 768px) {
    .event-text-content {
        padding: 2rem;
    }
}

/* =============================================
   GALLERY PAGE STYLES
   ============================================= */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .gallery-filter {
        gap: 1rem;
        margin-bottom: 3rem;
    }
}

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

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: rgba(15, 26, 46, 0.6);
    border: 1px solid rgba(0, 242, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: 1/2;
}

@media (max-width: 639px) {
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1;
    }
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.5s;
    filter: grayscale(20%) brightness(0.9);
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 242, 255, 0.2);
    z-index: 10;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 10, 20, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.gallery-category {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050a14;
    opacity: 0;
    transition: all 0.3s;
}

.gallery-item:hover .gallery-play-btn {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 1rem;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 8px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: var(--accent);
    color: #050a14;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 8px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-nav:hover {
    background: var(--accent);
    color: #050a14;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

.lightbox-caption {
    text-align: center;
    margin-top: 1rem;
    color: #94a3b8;
    font-family: 'Rajdhani', sans-serif;
}

/* =============================================
   JOIN US PAGE STYLES
   ============================================= */
.join-hero {
    text-align: center;
    padding: 2rem 0 4rem;
}

@media (min-width: 768px) {
    .join-hero {
        padding: 3rem 0 5rem;
    }
}

.join-benefits {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .join-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .join-benefits {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background: linear-gradient(145deg, rgba(15, 26, 46, 0.7) 0%, rgba(8, 15, 30, 0.85) 100%);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 242, 255, 0.1);
}

.benefit-card:hover::before {
    opacity: 1;
    width: 80%;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    transition: all 0.3s;
}

.benefit-card:hover .benefit-icon {
    background: rgba(0, 242, 255, 0.2);
    transform: scale(1.1);
}

.benefit-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.benefit-text {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.join-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.join-form {
    background: linear-gradient(145deg, rgba(15, 26, 46, 0.8) 0%, rgba(8, 15, 30, 0.9) 100%);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .join-form {
        padding: 3rem;
    }
}

.join-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #7000ff, var(--accent));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: rgba(5, 10, 20, 0.6);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    min-height: 48px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1), 0 0 20px rgba(0, 242, 255, 0.1);
    background: rgba(5, 10, 20, 0.8);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #64748b;
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300f2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
    pointer-events: auto;
}

.form-select option {
    background: #0f1a2e;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: none;
    font-size: 1rem;
}

.form-select option:hover {
    background: #1a2a48;
    color: #00f2ff;
}

.form-select option:checked {
    background: linear-gradient(#1a2a48, #1a2a48);
    background-color: #1a2a48;
    color: #00f2ff;
}

.form-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
    min-height: 44px;
}

.form-checkbox:hover {
    border-color: rgba(0, 242, 255, 0.3);
}

.form-checkbox input {
    display: none;
}

.form-checkbox-mark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 242, 255, 0.4);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.form-checkbox input:checked + .form-checkbox-mark {
    background: var(--accent);
    border-color: var(--accent);
}

.form-checkbox input:checked + .form-checkbox-mark svg {
    display: block;
}

.form-checkbox-mark svg {
    display: none;
    width: 14px;
    height: 14px;
    color: #050a14;
}

.form-checkbox-text {
    font-size: 0.9rem;
    color: #94a3b8;
}

.form-checkbox input:checked ~ .form-checkbox-text {
    color: var(--accent);
}

.submit-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, #00c4cc 100%);
    border: none;
    border-radius: 12px;
    color: #050a14;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    min-height: 56px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 242, 255, 0.4), 0 0 30px rgba(0, 242, 255, 0.2);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
}

.form-note {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.85rem;
}

.form-note a {
    color: var(--accent);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 242, 255, 0.1);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

.success-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.success-text {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease forwards;
}

/* Stagger animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* =============================================
   RESPONSIVE UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.section-spacing {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-spacing {
        padding: 6rem 0;
    }
}

/* Hide/Show utilities */
.hidden { display: none !important; }
.visible { display: block !important; }

@media (max-width: 639px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 640px) {
    .hide-desktop { display: none !important; }
}
