/* ============================================
   Clemson Pi Kappa Phi - Shared Design Tokens
   Glassmorphism Design System (NSS-STYLEGUIDE)
   ============================================ */

:root {
    /* Brand Colors */
    --pikapp-blue: rgb(0, 45, 79);
    --pikapp-gold: rgb(86, 61, 9);

    /* Gradient */
    --gradient-start: #002D4F;
    --gradient-end: #563D09;

    /* Background */
    --background-primary: #000000;

    /* Glass Backgrounds */
    --glass-light: rgba(255, 255, 255, 0.1);
    --glass-medium: rgba(255, 255, 255, 0.2);
    --glass-heavy: rgba(255, 255, 255, 0.3);
    --glass-dark: rgba(0, 0, 0, 0.2);
    --glass-darker: rgba(0, 0, 0, 0.3);

    /* Text Colors */
    --text-primary: white;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-s: 8px;
    --spacing-ms: 12px;
    --spacing-m: 16px;
    --spacing-l: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 40px;

    /* Aurora */
    --logo-center-y: 50%;
    --aurora-scale: 1;
}

/* ============================================
   Reset & Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: #000;
}

body {
    font-family: 'Sofia Sans', sans-serif;
    background: linear-gradient(135deg, #002D4F 0%, #000 40%, #000 60%, #563D09 100%) fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #666 #0a0a0a;
}

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

/* Dela Gothic One only for Pi Kapp Greek letters / name */
.pikapp-font {
    font-family: 'Dela Gothic One', cursive;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2em;
}

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

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text {
    background: linear-gradient(to right, #1a6eb5, #c4a035);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Glass Components
   ============================================ */
.glass-container {
    background: var(--glass-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-medium);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-family: 'Sofia Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.glass-button:hover {
    background: var(--glass-heavy);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    color: white;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.fade-in-scale {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
}

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

/* ============================================
   Floating Photo Cards (shared component)
   ============================================ */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    border-radius: 14px;
    background: var(--glass-light);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    opacity: 0.4;
    will-change: transform;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    transition: opacity 0.4s ease, box-shadow 0.4s ease;
}

.floating-card:hover {
    opacity: 0.6;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(255, 255, 255, 0.08);
}

/* Hero sections: cards are more prominent */
.wotr-hero .floating-card {
    opacity: 0.85;
}

.wotr-hero .floating-card:hover {
    opacity: 1;
}

.floating-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

/* ============================================
   Utility Classes
   ============================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Navbar
   ============================================ */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-brand-text {
    font-family: 'Dela Gothic One', cursive;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.rush-btn {
    padding: 8px 20px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .navbar-brand-text {
        font-size: 1.2rem;
    }
    .rush-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* ============================================
   Footer (Partners)
   ============================================ */
.site-footer {
    background: var(--glass-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
}

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

.footer-partners {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-partners a {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.footer-partners a:hover {
    opacity: 0.7;
}

.partner-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-partners a:hover .partner-logo {
    opacity: 1;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        gap: 20px;
    }
    .footer-partners {
        justify-content: center;
        gap: 24px;
    }
    .partner-logo {
        height: 28px;
    }
}