@font-face {
    font-family: 'Tekniq Grid';
    src: url('../assets/tekniq-grid.otf') format('opentype');
}

@font-face {
    font-family: 'Baudotpunch';
    src: url('../assets/baudotpunch-regular.otf') format('opentype');
}

@font-face {
    font-family: 'Eurostile';
    src: url('../assets/eurostile.ttf') format('truetype');
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../assets/IBMPlexSans-Regular.ttf') format('truetype');
}


/* Vista Theme CSS Variables */
:root {
    --vista-blue: #4a90e2;
    --vista-teal: #50c5b7;
    --vista-pink: #ff6b9d;
    --vista-yellow: #ffd93d;
    --vista-green: #6bcf7f;
    --vista-purple: #bd93f9;
    
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-light: rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'IBM Plex Sans', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: #7191e8 url('badge.gif') center top no-repeat; /* Blue background with badge GIF */
    background-size: contain;
    min-height: 100vh;
    position: relative;
}

body a {
    color: #ffffff;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* Vista Background */
.vista-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent; /* Now transparent since body handles the background */
}

/* Vista Color Animation */
@keyframes vistaColorFlow {
    0%, 100% {
        background: #00b4d8; /* Vista Aqua Blue */
    }
    16.66% {
        background: #48cae4; /* Light Aqua */
    }
    33.33% {
        background: #90e0ef; /* Sky Blue */
    }
    50% {
        background: #ade8f4; /* Pale Blue */
    }
    66.66% {
        background: #caf0f8; /* Very Light Blue */
    }
    83.33% {
        background: #e0f2fe; /* Off White Blue */
    }
}

/* Glass Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
}

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

/* Floating Navbar */
.floating-navbar {
    position: fixed;
    top: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    width: calc(100vw - 3rem);
    max-width: 72rem;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    background-clip: text;
    font-family: 'Eurostile';
    text-transform: uppercase;
    font-weight: bold;
}

.nav-logo a {
    text-decoration: none;
}

.nav-logo a:hover {
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--vista-blue);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--vista-blue), var(--vista-teal));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: 'Eurostile';
    font-size: 48px;
    font-weight: bold;
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
    background-image: none !important;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.cta-button {
    background: linear-gradient(45deg, var(--vista-blue), var(--vista-teal));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.5);
}

.placeholder-image {
    background: linear-gradient(135deg, var(--vista-blue), var(--vista-teal));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 12px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badge image styling */
.glass-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    mix-blend-mode: screen;
}

/* Featured badge styling */
.featured-badge {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 12px;
    mix-blend-mode: screen;
    filter: drop-shadow(0 8px 32px rgba(31, 38, 135, 0.37));
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

#passphrase {
    padding: 1rem 0;
    display: block;
    margin-top: 8rem;
}

#passphrase .container {
    width: calc(100vw - 3rem);
    max-width: 72rem;
    margin: 0 auto;
    padding: 0;
}

#passphrase input {
    max-height: 20px;
    font-family: 'Eurostile';
    text-transform: uppercase;
    font-weight: bold;
}

.about-section {
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.05) 0%, 
        rgba(80, 197, 183, 0.05) 50%, 
        rgba(255, 107, 157, 0.05) 100%);
}

.details-section {
    background: linear-gradient(135deg, 
        rgba(80, 197, 183, 0.05) 0%, 
        rgba(74, 144, 226, 0.05) 50%, 
        rgba(255, 217, 61, 0.05) 100%);
}

.challenge-section {
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.05) 0%, 
        rgba(74, 144, 226, 0.05) 50%, 
        rgba(80, 197, 183, 0.05) 100%);
}

.rsvp-section {
    background: linear-gradient(135deg, 
        rgba(255, 217, 61, 0.05) 0%, 
        rgba(255, 107, 157, 0.05) 50%, 
        rgba(74, 144, 226, 0.05) 100%);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse > * {
    direction: ltr;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Eurostile';
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    font-family: 'IBM Plex Sans';
    color: #ffffff;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

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

.detail-card {
    text-align: center;
    padding: 2rem;
    color: #ffffff;
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color:#ffffff;
    text-transform: uppercase;
    font-family: 'Eurostile';
}

/* Music Features */
.challenge-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    color: #ffffff;
}

.challenge-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.feature-icon {
    font-size: 1.5rem;
}

/* RSVP Form */
.rsvp-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

#passphrase .container {
    margin-top: 2rem;
}

.passphrase-content {
    width: calc(100vw - 3rem);
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
    padding: 1rem 0;
}

.passphrase-form {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.passphrase-form input,
.passphrase-form .submit-button {
    width: 100%;
    box-sizing: border-box;
}

.passphrase-form input {
    padding: 0.1rem 0.3rem;
    font-size: 0.8rem;
    height: 1.2rem;
}

.rsvp-form {
    margin-top: 3rem;
    text-align: left;
}

.form-group {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #ffffff;
}

.form-group input {
    width: 100%;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 20px;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--vista-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.submit-button {
    width: 100%;
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    /* Match navbar glass effect */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: 'Eurostile';
    text-transform: uppercase;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.1) 0%, 
        rgba(80, 197, 183, 0.1) 50%, 
        rgba(255, 107, 157, 0.1) 100%);
    padding: 4rem 0 2rem;
    color: #ffffff;
    font-family: 'IBM Plex Sans';
}

.footer-content {
    color: #ffffff;
    font-family: 'IBM Plex Sans';
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: 'Eurostile';
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ffffff;
    font-family: 'IBM Plex Sans';
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content,
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-features {
        grid-template-columns: 1fr;
    }
    
    .floating-navbar {
        width: calc(100vw - 2rem);
        padding: 0.5rem 1rem;
        top: 2rem;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 720px) {
    body {
        background-position: center top !important;
        background-size: contain !important;
    }
    
    .floating-navbar {
        padding: 0.4rem 0.8rem;
        top: 1.5rem;
    }
    
    .nav-logo {
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}