:root {
    --bg-color: #020813; /* Very dark blue tint */
    --text-primary: #f0f0f5;
    --text-secondary: #a0aec0;
    --accent-maize: #FFCB05; /* UMich Maize */
    --accent-blue: #00274C; /* UMich Blue */
    --accent-glow: #ffcb05; /* Maize for glows */
    --glass-bg: rgba(0, 39, 76, 0.15); /* UMich blue base for glass */
    --glass-border: rgba(255, 203, 5, 0.15); /* Maize border hint */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--accent-maize);
    text-shadow: 0 0 8px rgba(255, 203, 5, 0.5);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background: rgba(2, 8, 19, 0.85); /* Solidify a bit */
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff, var(--accent-maize));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn {
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-maize);
    color: var(--accent-maize);
}

.btn-primary:hover {
    background: rgba(255, 203, 5, 0.1);
    color: var(--accent-maize);
    box-shadow: 0 0 20px rgba(255, 203, 5, 0.3) inset, 0 0 15px rgba(255, 203, 5, 0.2);
}

.btn-luma {
    background: #FFCB05;
    color: #00274C;
}

.btn-luma:hover {
    background: #ffd633;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 203, 5, 0.2);
}

.btn-glow {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-maize));
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 0 20px rgba(0, 39, 76, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 35px rgba(255, 203, 5, 0.5);
    transform: translateY(-3px);
    color: white;
}

.w-full {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 40%, rgba(0, 39, 76, 0.4) 0%, rgba(2, 8, 19, 0) 60%);
    z-index: -1;
    animation: slowPulse 12s infinite alternate;
}

@keyframes slowPulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(2%, 2%); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, var(--accent-maize));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3rem;
}

.hero-image-container {
    width: 100%;
    max-width: 1100px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(0, 39, 76, 0.4);
    border: 1px solid var(--glass-border);
    margin-top: 1rem;
    position: relative;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.03);
}

/* Event Banner */
.event-banner {
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.event-details {
    background: linear-gradient(135deg, rgba(255, 203, 5, 0.08), rgba(0, 39, 76, 0.3));
    border: 1px solid rgba(255, 203, 5, 0.3);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.glow-orb {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-maize);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.event-details h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-maize); /* ClawCon theme Maize */
    letter-spacing: -1px;
}

.event-details p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

/* News Feed */
.news-feed {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-feed h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -1px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.news-card {
    padding: 2.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 39, 76, 0.4);
    border-color: rgba(255, 203, 5, 0.4);
}

.news-card .date {
    font-size: 0.85rem;
    color: var(--accent-maize);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.news-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.news-card p {
    color: var(--text-secondary);
    flex-grow: 1;
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 39, 76, 0.4), transparent);
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Forms */
.form-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 39, 76, 0.5) 0%, transparent 60%);
    z-index: -1;
}

.form-card {
    padding: 3.5rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -1px;
}

.form-card > p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-maize);
    background: rgba(255, 203, 5, 0.05);
    box-shadow: 0 0 15px rgba(255, 203, 5, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .navbar { 
        padding: 1rem; 
        flex-direction: column;
        gap: 0.8rem;
    }
    nav { 
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    nav a {
        font-size: 0.85rem;
    }
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .hero { padding-top: 12rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .form-container { padding-top: 12rem; }
    .form-card { padding: 2rem; }
    .event-details { padding: 2.5rem 1.5rem; }
    .event-details h2 { font-size: 2.2rem; }
}
