:root {
    --primary-blue: #002D72;
    --dark-blue: #0a192f;
    --accent-blue: #172a45;
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    --topgolf-neon: #b3ff00;
    --text-white: #ffffff;
    --text-gray: #a8b2d1;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.min-container {
    max-width: 800px;
}

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.text-accent {
    color: var(--topgolf-neon);
}

.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-header h2 span {
    color: var(--google-blue);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    height: 40px;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.divider {
    height: 30px;
    width: 1px;
    background: #e2e8f0;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.desktop-nav a:hover {
    color: var(--google-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--google-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(66, 133, 244, 0.3);
}

.btn-primary-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.6rem 1.5rem;
}

.btn-primary-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-secondary {
    background: #fff;
    color: var(--dark-blue);
    border: 1px solid #e2e8f0;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark-blue);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(66, 133, 244, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(179, 255, 0, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a192f 0%, #172a45 100%);
    color: white;
    padding-top: 80px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(179, 255, 0, 0.15), transparent 40%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.badge {
    display: inline-flex;
    /* changed */
    align-items: center;
    /* vertical centering */
    gap: 0.6rem;
    /* space between logo and text */
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.badge img {
    height: 60px;
    /* increase size here */
    width: auto;
    display: block;
}



.badge-old {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.4rem;
    max-width: 700px;
    margin-bottom: 3rem;
    color: var(--text-gray);
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.detail-item i {
    color: var(--topgolf-neon);
    font-size: 1.2rem;
}

/* Cards & Sections */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.why-attend .card {
    background: white;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.why-attend .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--google-blue);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--google-blue);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* Stats Section */
.stats-section {
    background: var(--dark-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    transform: rotate(15deg);
}

.stats-grid {
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--topgolf-neon);
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Logistics Table */
.logistics-table-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.logistics-table {
    width: 100%;
    border-collapse: collapse;
}

.logistics-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.logistics-table tr:last-child td {
    border-bottom: none;
}

.logistics-table td:first-child {
    font-weight: 700;
    color: var(--primary-blue);
    width: 30%;
}

.logistics-table td i {
    margin-right: 0.5rem;
    color: var(--google-blue);
}

/* Form Styles */
.registration {
    background: #f0f2f5;
}

.form-container {
    background: white;
    padding: 4rem;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--google-blue);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.1);
    background: white;
}

.error-msg {
    color: var(--google-red);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.hidden {
    display: none;
}

/* Thank You State */
#thankYouState {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--google-green);
    margin-bottom: 1.5rem;
}

.calendar-actions {
    margin-top: 2rem;
}

/* Footer */
.main-footer {
    background: var(--dark-blue);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin-bottom: 2rem;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-gray);
}

.social-links a:hover {
    color: white;
}

/* Mobile Sticky Footer */
.mobile-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .main-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .desktop-nav {
        display: none;
    }

    .hero-details {
        flex-direction: column;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem;
    }

    .mobile-sticky-footer {
        display: block;
    }

    body {
        padding-bottom: 80px;
        /* Space for sticky footer */
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(2) {
    transition-delay: 0.2s;
}

.card:nth-child(3) {
    transition-delay: 0.4s;
}

#rsvpForm.hidden {
    display: none;
}

/* Admin Features */
.admin-btn {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.admin-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: rotate(90deg);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-lg .modal-content {
    max-width: 1000px;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--primary-blue);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    transform: scale(1.2);
    color: var(--google-red);
}

.modal h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.modal-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Registrants Table */
.registrants-table-container {
    max-height: 60vh;
    overflow-y: auto;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

#registrantsTable {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

#registrantsTable th {
    position: sticky;
    top: 0;
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem;
    text-align: left;
    font-size: 0.8rem;
    z-index: 10;
    white-space: nowrap;
}

#registrantsTable td {
    padding: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: var(--dark-blue);
}

#registrantsTable tr:hover {
    background: #f8fafc;
}

.badge-tag {
    background: #eef2ff;
    color: var(--google-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }

    #registrantsTable {
        display: block;
        overflow-x: auto;
    }

    .admin-btn {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 2001;
        background: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}