/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark theme primary colors */
    --background: #111111;
    --foreground: #fafafa;
    --card: #1a1a1a;
    --card-foreground: #fafafa;
    --primary: #fafa33;
    --primary-foreground: #111111;
    --secondary: #262626;
    --secondary-foreground: #fafafa;
    --muted: #1f1f1f;
    --muted-foreground: #a6a6a6;
    --accent: #fafa33;
    --accent-foreground: #111111;
    --border: #333333;
    --input: #262626;
    --radius: 0.75rem;

    /* Custom design tokens */
    --gradient-hero: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    --gradient-accent: linear-gradient(135deg, #fafa33 0%, #f5f533 100%);
    --shadow-glow: 0 0 40px rgba(250, 250, 51, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.text-primary {
    color: var(--primary);
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 2rem;
    width: auto;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    background: none;
    border: none;
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background-color: var(--foreground);
    margin: 2px 0;
    transition: var(--transition-smooth);
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    background: none;
    border: none;
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    padding: 0.5rem 0;
    text-align: left;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.bg-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 3s ease-in-out infinite;
}

.bg-circle-1 {
    top: 25%;
    left: 25%;
    width: 16rem;
    height: 16rem;
    background-color: rgba(250, 250, 51, 0.1);
}

.bg-circle-2 {
    top: 75%;
    right: 25%;
    width: 12rem;
    height: 12rem;
    background-color: rgba(250, 250, 51, 0.1);
    animation-delay: 1s;
}

.bg-circle-3 {
    top: 50%;
    left: 50%;
    width: 8rem;
    height: 8rem;
    background-color: rgba(250, 250, 51, 0.05);
    animation-delay: 2s;
}

.hero-container {
    padding: 5rem 1rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 4xl;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    animation: fade-in 0.6s ease-out;
}

.hero-accent {
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: glow 2s ease-in-out infinite;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fade-in 0.6s ease-out 0.2s both;
}

.hero-highlight {
    color: var(--primary);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    animation: fade-in 0.6s ease-out 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: rgba(250, 250, 51, 0.9);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid rgba(250, 250, 51, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(250, 250, 51, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid rgba(250, 250, 51, 0.5);
}

.btn-outline:hover {
    background-color: rgba(250, 250, 51, 0.1);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: var(--transition-smooth);
}

.btn-icon-left {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Events Section */
.events-section {
    padding: 5rem 0;
    background-color: var(--background);
}

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

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.event-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.event-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.event-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.event-badge-meetup {
    background-color: rgba(250, 250, 51, 0.2);
    color: var(--primary);
}

.event-badge-event {
    background-color: rgba(250, 250, 51, 0.2);
    color: var(--accent);
}

.event-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.event-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.event-card:hover .event-title {
    color: var(--primary);
}

.event-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.icon {
    width: 1rem;
    height: 1rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: rgba(38, 38, 38, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 96rem;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    animation: fade-in 0.6s ease-out;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon > div {
    padding: 1rem;
    background-color: rgba(250, 250, 51, 0.1);
    border-radius: 1rem;
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon > div {
    background-color: rgba(250, 250, 51, 0.2);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.feature-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-title {
    color: var(--primary);
}

.feature-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 20rem;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-accent);
    position: relative;
    overflow: hidden;
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
}

.cta-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(250, 250, 51, 0.9);
}

.cta-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(250, 250, 51, 0.8), rgba(245, 245, 51, 0.8));
}

.cta-container {
    position: relative;
    z-index: 10;
}

.cta-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

.cta-accent {
    color: rgba(0, 0, 0, 0.8);
}

.cta-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: rgba(17, 17, 17, 0.9);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    max-width: 28rem;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 0.5rem;
}

.form-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--primary-foreground);
    font-family: 'Inter', sans-serif;
    transition: var(--transition-smooth);
}

.form-input::placeholder {
    color: rgba(17, 17, 17, 0.6);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.form-submit {
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--primary-foreground);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-submit:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.submit-icon {
    width: 1rem;
    height: 1rem;
}

.check-icon {
    color: #22c55e;
}

/* Footer */
.footer {
    background-color: rgba(38, 38, 38, 0.5);
    border-top: 1px solid var(--border);
    padding: 4rem 0;
}

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

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    max-width: 20rem;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0;
}

.footer-link:hover {
    color: var(--primary);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.external-icon {
    width: 0.75rem;
    height: 0.75rem;
    margin-left: 0.25rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.social-link:hover .external-icon {
    opacity: 1;
}

/* Animations */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(250, 250, 51, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(250, 250, 51, 0.6));
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

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

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

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

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

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

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

    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }

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

    .mobile-nav.show {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .form-group {
        flex-direction: column;
    }

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

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

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

/* Focus styles for accessibility */
button:focus,
input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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