:root {
    --primary: #86efac; /* Toxic Green */
    --primary-dark: #22c55e;
    --bg-dark: #111827;
    --bg-card: #1f2937;
    --text-light: #f3f4f6;
    --text-dim: #9ca3af;
    --accent-red: #ef4444;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.5;
}

/* LOGO BANNER */
.logo-banner {
    background: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
}

.logo-img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    display: inline-block;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 70vh; /* Reduced height since logo is above */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Removed background-image per request */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(17,24,39,0.7), rgba(17,24,39,1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

/* Removed .hero-logo class since it's gone */

h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(to right, #86efac, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

/* BUTTONS */
.btn-primary {
    background: var(--primary);
    color: #064e3b;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(134, 239, 172, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:active {
    transform: scale(0.95);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(134, 239, 172, 0); }
    100% { box-shadow: 0 0 0 0 rgba(134, 239, 172, 0); }
}

/* HOW IT WORKS */
.how-it-works {
    padding: 2rem 1rem; /* Reduced from 4rem */
    background: var(--bg-dark);
}

.section-title h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem; /* Reduced from 3rem */
    color: var(--primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Increased min-width from 280px to make cards wider */
    gap: 1.5rem; /* Tighter gap */
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%); 
    padding: 0.5rem; /* Reduced even further */
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1);
    color: #111827;
}

/* GIF & Image Styling */
.step-gif, .icon-circle img {
    width: 100%;
    height: 500px; /* Fixed height for consistency */
    object-fit: contain; /* Don't crop, show full image */
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: white; /* Fill empty space with white if ratios differ */
}

/* Hide the icon circle container if we replace it with img */
.icon-circle {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    margin: 0 0 0.5rem;
    display: block;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(134, 239, 172, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-circle i {
    font-size: 2rem;
    color: var(--primary);
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #111827;
}

.step-card p {
    color: #4b5563; /* Dark grey for readability */
}

/* EVENTS SECTION */
.events-section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
}

/* SEARCH & FILTERS */
.search-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.btn-location {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.btn-location:hover {
    background: rgba(134, 239, 172, 0.1);
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

.search-bar input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
}

.filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

select {
    background: var(--bg-card);
    color: white;
    padding: 0.75rem 2rem 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 1rem;
}

/* EVENT LIST */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-header {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    position: relative;
}

.city-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-red);
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

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

.event-date {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
    font-style: italic;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.event-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.card-footer {
    padding: 1.5rem;
    padding-top: 0;
}

.btn-join {
    width: 100%;
    display: block;
    background: var(--text-light);
    color: var(--bg-dark);
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-join:hover {
    background: var(--primary);
}

/* UTILS */
.hidden { display: none; }
.loading-spinner { text-align: center; font-size: 1.5rem; color: var(--primary); margin: 2rem; }
.no-results { text-align: center; padding: 2rem; color: var(--text-dim); }
.no-results i { font-size: 3rem; margin-bottom: 1rem; }

/* FOOTER */
.app-footer {
    background: #000;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: 4rem;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.store-btn {
    background: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #444;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.footer-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.06);
}

.footer-link-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.copyright {
    color: #666;
    font-size: 0.8rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    h1 { font-size: 4rem; }
    /* Force column layout on desktop too */
    .search-controls { flex-direction: column; align-items: center; }
    .search-bar { width: 400px; }
}
