/* Reset & Base Styles */
:root {
    --bg-color: #050505;
    --bg-secondary: #0f0f0f;
    --primary-red: #ff003c;
    --dark-red: #8a0021;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(15, 15, 15, 0.6);
    --glass-border: rgba(255, 0, 60, 0.2);
    --glass-hover: rgba(255, 0, 60, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(255, 0, 60, 0.5);
    background: var(--glass-hover);
    box-shadow: 0 8px 32px 0 rgba(255, 0, 60, 0.15);
}

/* Typography Enhancements */
.highlight {
    color: var(--primary-red);
}

.blinking-cursor {
    animation: blink 1s step-end infinite;
    color: var(--primary-red);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 60, 0.1);
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 5%;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(255, 0, 60, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn {
    background-color: var(--primary-red);
    color: #fff;
    border: 1px solid var(--primary-red);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

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

.primary-btn:hover {
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.7);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.secondary-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 120px;
    position: relative;
    background: radial-gradient(circle at center, rgba(138, 0, 33, 0.1) 0%, rgba(5, 5, 5, 1) 70%);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-logo {
    max-width: 250px;
    margin: 0 auto 30px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 0, 60, 0.5));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.subtitle {
    font-family: monospace;
    color: var(--primary-red);
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.glitch {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    color: white;
    text-shadow: 0 0 20px rgba(255, 0, 60, 0.5);
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(23px, 9999px, 86px, 0); }
    5% { clip: rect(78px, 9999px, 19px, 0); }
    10% { clip: rect(48px, 9999px, 34px, 0); }
    15% { clip: rect(3px, 9999px, 95px, 0); }
    20% { clip: rect(98px, 9999px, 32px, 0); }
    25% { clip: rect(57px, 9999px, 60px, 0); }
    30% { clip: rect(23px, 9999px, 4px, 0); }
    35% { clip: rect(82px, 9999px, 91px, 0); }
    40% { clip: rect(9px, 9999px, 30px, 0); }
    45% { clip: rect(61px, 9999px, 73px, 0); }
    50% { clip: rect(4px, 9999px, 86px, 0); }
    55% { clip: rect(52px, 9999px, 25px, 0); }
    60% { clip: rect(11px, 9999px, 47px, 0); }
    65% { clip: rect(96px, 9999px, 15px, 0); }
    70% { clip: rect(32px, 9999px, 80px, 0); }
    75% { clip: rect(77px, 9999px, 62px, 0); }
    80% { clip: rect(21px, 9999px, 45px, 0); }
    85% { clip: rect(59px, 9999px, 8px, 0); }
    90% { clip: rect(88px, 9999px, 99px, 0); }
    95% { clip: rect(15px, 9999px, 37px, 0); }
    100% { clip: rect(45px, 9999px, 58px, 0); }
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-height: 750px) {
    .scroll-indicator {
        display: none;
    }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Sections Global */
section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 50px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #fff;
    display: inline-block;
}

.header-line {
    height: 1px;
    background: linear-gradient(90deg, var(--primary-red), transparent);
    width: 100%;
    margin-top: 10px;
}

/* About Section */
.about-content {
    padding: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 20px;
}

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

/* Team Section */
.leadership-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.leadership-grid .team-card {
    flex: 1 1 250px;
    max-width: 350px;
}

.leadership-grid .lead-card {
    transform: scale(1.05);
    z-index: 5;
    border-color: rgba(255, 0, 60, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.2);
}

.leadership-grid .lead-card:hover {
    transform: scale(1.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.member-visual {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.2);
    transition: all 0.4s ease;
}

.team-card:hover .member-visual {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.5);
    border-color: #fff;
}

.member-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--primary-red);
    transition: all 0.4s ease;
    z-index: 2;
}

.team-card:hover .member-icon {
    opacity: 0;
    transform: scale(1.5) rotate(15deg);
    pointer-events: none;
}

.member-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: grayscale(100%) contrast(120%) brightness(0.9);
    transition: all 0.4s ease;
}

.team-card:hover .member-photo {
    filter: grayscale(100%) contrast(130%) brightness(1.1);
}

.member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

.member-role {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.expertise-tags span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Events Section */
.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    padding: 25px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.event-type {
    color: var(--text-secondary);
}

.event-status {
    position: absolute;
    top: 25px;
    right: 30px;
    font-family: monospace;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-preparing .event-status {
    background: rgba(255, 165, 0, 0.1);
    color: orange;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.status-active .event-status {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.event-glow {
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: 0%;
    background: var(--primary-red);
    transform: translateY(-50%);
    transition: height 0.3s ease;
    box-shadow: 0 0 10px var(--primary-red);
}

.event-card:hover .event-glow {
    height: 80%;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 0, 60, 0.2);
    padding: 60px 5% 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: var(--primary-red);
}

.social-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

.placeholder-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .glitch {
        font-size: 3rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: 0.3s;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
