/* Throwdown Events - Main Stylesheet */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

/* Custom Fonts */
@font-face {
    font-family: 'Horizon';
    src: local('Horizon'), local('Horizon-Regular'), url('../assets/fonts/Horizon.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.font-horizon {
    font-family: 'Horizon', 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    min-height: 100vh;
}

body {
    font-family: 'Orbitron', monospace;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Main content wrapper for pages with multiple sections */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #00d4ff;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #ff0040);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Sections */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10;
}

/* Video Overlay for Text Readability */
.hero-full::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20;
    pointer-events: none;
}

/* For index page - full height hero */
.hero-full {
    flex: 1;
}

/* For other pages - minimum height hero */
.hero-standard {
    min-height: 60vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 64, 0.2) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
    z-index: 1;
}

/* Disable the gradient overlay for hero-full (homepage with video) */
.hero-full::before {
    display: none;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 30;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #00d4ff, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Event Hero Variations */
.event-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2e1a1a, #3e1616, #600f0f);
    position: relative;
    overflow: hidden;
}

.event-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 64, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.2) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

.event-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.event-logo-large {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #ff0040, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.event-tagline {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 2rem;
    font-weight: 400;
}

.event-description-hero {
    font-size: 1.2rem;
    color: #bbb;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Hero */
.contact-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 64, 0.2) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #ff0040;
    transform: translateX(-5px);
}

.back-button::before {
    content: '←';
    transition: transform 0.3s ease;
}

.back-button:hover::before {
    transform: translateX(-5px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00d4ff, #ff0040);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
}

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

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: linear-gradient(45deg, #ff0040, #00d4ff);
}

.btn-secondary:hover {
    box-shadow: 0 10px 30px rgba(255, 0, 64, 0.3);
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
    margin-bottom: 2rem;
}

.content-section:nth-child(even) {
    background: #111;
}

/* General section spacing */
section {
    margin-bottom: 3rem;
}

section:last-of-type {
    margin-bottom: 0;
}

/* Section Divider */
.section-divider {
    height: 80px;
    background: #000;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    opacity: 0.5;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #00d4ff;
    text-align: center;
}

.section-title.red {
    color: #ff0040;
}

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

.section-text {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: center;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
}

.feature-card.red {
    border-color: rgba(255, 0, 64, 0.2);
}

.feature-card.red:hover {
    border-color: #ff0040;
    box-shadow: 0 15px 30px rgba(255, 0, 64, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.feature-icon.red {
    color: #ff0040;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-description {
    color: #ccc;
    line-height: 1.6;
}

/* Values Content */
.values-content {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
}

.values-content p {
    color: #cccccc;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

/* Parent Company Section */
.parent-company {
    margin-bottom: 6rem;
    padding: 3rem 0;
}

.parent-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.parent-text {
    color: #cccccc;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.parent-link {
    display: inline-block;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: 2px solid #00d4ff;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.parent-link:hover {
    background: #00d4ff;
    color: #000;
    transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.event-image {
    height: 200px;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.event-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 0, 64, 0.2) 0%, transparent 50%);
}

.event-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
}

.event-content {
    padding: 2rem;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.event-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-description-lg {
    font-size: 1.25rem;
}

.event-lineup {
    color: #ccc;
    margin: 0.5rem 0 1.5rem 1.25rem;
}

.event-lineup li { margin-bottom: 0.35rem; }

.event-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #00d4ff, #ff0040);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* One-Off Events Poster Styling */
.one-off-section {
    padding: 4rem 0;
}

.poster-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #000;
}

.poster-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Collaborations Grid */
.collabs-section { padding: 4rem 0; }

/* Compact grid and card for collaborations */
.collabs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.collab-item {
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.collab-item:hover {
    transform: translateY(-3px);
    border-color: #00d4ff;
    box-shadow: 0 10px 24px rgba(0, 212, 255, 0.15);
}

.collab-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Event IP Showcase */
.event-ip-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.event-ip-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 64, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.event-ip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.event-ip-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-ip-card:hover {
    transform: translateY(-15px);
    border-color: #00d4ff;
    box-shadow: 
        0 25px 50px rgba(0, 212, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.1);
}

.event-ip-card:nth-child(2):hover {
    border-color: #ff0040;
    box-shadow: 
        0 25px 50px rgba(255, 0, 64, 0.2),
        0 0 0 1px rgba(255, 0, 64, 0.1);
}

.event-ip-logo {
    height: 200px;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.event-ip-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    transition: all 0.3s ease;
}

.event-ip-card:nth-child(2) .event-ip-logo::before {
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 0, 64, 0.2) 0%, transparent 70%);
}

.ip-logo-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.event-ip-card:nth-child(2) .ip-logo-image {
    filter: drop-shadow(0 0 20px rgba(255, 0, 64, 0.3));
}

.event-ip-card:hover .ip-logo-image {
    transform: scale(1.05);
}

.event-ip-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-ip-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-ip-card:nth-child(2) .event-ip-title {
    background: linear-gradient(45deg, #ff0040, #cc0033);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-ip-description {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    flex-grow: 1;
}

.event-ip-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.ip-feature {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.event-ip-card:nth-child(2) .ip-feature {
    background: rgba(255, 0, 64, 0.1);
    color: #ff0040;
    border-color: rgba(255, 0, 64, 0.3);
}

.ip-feature:hover {
    transform: translateY(-2px);
    background: rgba(0, 212, 255, 0.2);
}

.event-ip-card:nth-child(2) .ip-feature:hover {
    background: rgba(255, 0, 64, 0.2);
}

.event-ip-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
}

.ip-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.ip-btn.primary {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #fff;
}

.ip-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.ip-btn.secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.ip-btn.secondary:hover {
    background: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-3px);
}

.event-ip-card:nth-child(2) .ip-btn.primary {
    background: linear-gradient(45deg, #ff0040, #cc0033);
}

.event-ip-card:nth-child(2) .ip-btn.primary:hover {
    box-shadow: 0 10px 25px rgba(255, 0, 64, 0.4);
}

.event-ip-card:nth-child(2) .ip-btn.secondary {
    color: #ff0040;
    border-color: #ff0040;
}

.event-ip-card:nth-child(2) .ip-btn.secondary:hover {
    background: #ff0040;
    color: #0a0a0a;
}

/* Responsive Design for Event IP */
@media (max-width: 768px) {
    .event-ip-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .event-ip-card {
        margin: 0 1rem;
    }
    
    .event-ip-content {
        padding: 2rem;
    }
    
    .event-ip-title {
        font-size: 1.8rem;
    }
    
    .event-ip-actions {
        flex-direction: column;
    }
    
    .ip-btn {
        width: 100%;
        text-align: center;
    }
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 0, 64, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: #ff0040;
    transform: translateY(-3px);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff0040;
}

.tech-name {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tech-description {
    font-size: 0.9rem;
    color: #999;
}

/* Network Visualization */
.network-visual {
    position: relative;
    height: 300px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    margin: 3rem 0;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 64, 0.2);
}

.network-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(255, 0, 64, 0.1) 20px,
            rgba(255, 0, 64, 0.1) 21px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(255, 0, 64, 0.1) 20px,
            rgba(255, 0, 64, 0.1) 21px
        );
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.network-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.network-text {
    color: #ff0040;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 0, 64, 0.5);
}

/* Timeline */
.timeline {
    position: relative;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00d4ff, #ff0040);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin: 0 2rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.timeline-item:nth-child(even) .timeline-content {
    border-color: rgba(255, 0, 64, 0.2);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid #000;
}

.timeline-item:nth-child(even) .timeline-marker {
    background: #ff0040;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.timeline-item:nth-child(even) .timeline-title {
    color: #ff0040;
}

.timeline-description {
    color: #ccc;
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info */
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #00d4ff;
}

.info-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-left: 4px solid #00d4ff;
}

.info-label {
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.info-value a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: #ff0040;
}

/* Contact Form Container */
.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding: 4rem 0;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem 5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 64, 0.2);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: #ff0040;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

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

/* Form Validation */
.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: #ff0040;
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.3);
}

.error-message {
    color: #ff0040;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, #ff0040, #00d4ff);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

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

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 64, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.form-message.success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.form-message.error {
    background: rgba(255, 0, 64, 0.1);
    border: 1px solid rgba(255, 0, 64, 0.3);
    color: #ff0040;
}

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

/* Success Message */
.success-message {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: none;
    text-align: center;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    padding: 4rem 0;
    text-align: center;
}

.cta-section.red {
    background: linear-gradient(135deg, #2e1a1a, #3e1616, #600f0f);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-text {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff0040, #00d4ff);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 64, 0.3);
}

/* Footer */
.footer {
    background: #000;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: auto;
}

.footer p {
    color: #999;
    font-size: 0.9rem;
}

.footer a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff0040;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-image {
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .event-logo-large {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }

    .timeline-content {
        margin: 0;
    }

    .timeline-marker {
        left: 20px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .event-logo-large {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

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

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

/* Event IP Pages Styles */
.event-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.event-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

.event-logo-container {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.event-logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.1em;
}

.event-logo p {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.05em;
}

.event-logo-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.8));
}

/* Poster Hero (One-Off) */
.poster-hero {
    height: auto;
    min-height: unset;
    padding: 1.5rem 0; /* shorter top/bottom margins */
    margin-top: 80px; /* offset fixed header height */
}

.poster-hero::after {
    display: none; /* remove dark overlay for static poster */
}

.poster-hero .container {
    max-width: 1400px; /* nearly full width but still contained */
}

.poster-hero .event-logo-container {
    max-width: none;
    padding: 0;
}

.poster-hero .event-logo-image {
    max-width: none;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 0; /* tighten spacing under poster */
}

/* Odyssey specific styling */
.odyssey-logo h1 {
    background: linear-gradient(45deg, #00d4ff, #ff0040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grid specific styling */
.grid-logo h1 {
    background: linear-gradient(45deg, #00ff88, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Event Content Section */
.event-content {
    padding: 4rem 0;
    background: #0a0a0a;
    color: white;
    min-height: 100vh;
}

/* Compact event content variant for shorter cards */
.event-content-compact {
    min-height: auto;
    padding: 2rem 0;
}

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

.content-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.content-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.content-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Red glow for schedule status */
.status-tba {
    color: #ff0040;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(255, 0, 64, 0.8), 0 0 12px rgba(255, 0, 64, 0.6);
}

/* Gallery Styles */
.video-gallery, .photo-gallery {
    margin: 3rem 0;
}

.gallery-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #00d4ff;
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-credit {
    text-align: center;
    color: #999;
    font-size: 1rem;
    margin-top: -0.75rem;
    margin-bottom: 1.5rem;
}

.gallery-credit a {
    color: #00d4ff;
    text-decoration: none;
}

.gallery-credit a:hover {
    color: #ff0040;
}

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

.video-card {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

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

.photo-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card:hover img {
    transform: scale(1.05);
}

/* Responsive Design for Event Pages */
@media (max-width: 768px) {
    .event-logo h1 {
        font-size: 2.5rem;
    }
    
    .event-logo p {
        font-size: 1.2rem;
    }
    
    .event-logo-container {
        padding: 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-content {
        padding: 2rem 0;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .gallery-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .event-logo h1 {
        font-size: 2rem;
    }
    
    .event-logo p {
        font-size: 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Image Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #00d4ff;
}

.gallery-image {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}
