@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
:root {
    --primary: #00ff88;
    --secondary: #0066ff;
    --accent: #ff0066;
    --dark: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.03);
    --neon-green: #00ff88;
    --neon-blue: #0066ff;
    --neon-pink: #ff0066;
}

* {
    font-family: 'Space Grotesk', sans-serif;
    scroll-behavior: smooth;
}


/* Performance Optimizations */

.card-3d,
.bubble-success,
.bubble-mini,
.holo-btn {
    will-change: transform;
    transform: translateZ(0);
}

.reveal {
    will-change: transform, opacity;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

body {
    background: #0a0a0a;
    overflow-x: hidden;
    cursor: none;
}


/* Reduce motion for users who prefer it */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* Elegant Brand Cursor */

.cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.cursor.hover {
    transform: scale(1.5);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.8) 0%, rgba(0, 102, 255, 0.6) 100%);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.cursor.click {
    transform: scale(0.8);
}


/* Holographic Grid Background */

.holo-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
    z-index: -2;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}


/* Advanced Glass Morphism */

.glass-PHOEBESSAYS {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.05) 50%, rgba(255, 0, 102, 0.1) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(0, 255, 136, 0.1);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(15px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


/* Neon Text Effects */

.neon-text {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green), 0 0 15px var(--neon-green), 0 0 20px var(--neon-green);
    animation: neon-flicker 2s ease-in-out infinite alternate;
}

@keyframes neon-flicker {
    0%,
    100% {
        text-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green), 0 0 15px var(--neon-green), 0 0 20px var(--neon-green);
    }
    50% {
        text-shadow: 0 0 2px var(--neon-green), 0 0 5px var(--neon-green), 0 0 8px var(--neon-green), 0 0 12px var(--neon-green);
    }
}


/* Liquid Morphing Animations */

.liquid-morph {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: liquid-morph 8s ease-in-out infinite;
}

@keyframes liquid-morph {
    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 70% 30% 40% 60% / 40% 70% 60% 30%;
    }
    75% {
        border-radius: 40% 70% 60% 30% / 70% 40% 30% 60%;
    }
}


/* Minimal Particle System - Performance Optimized */

.particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particle-float 8s linear infinite;
    will-change: transform, opacity;
}

@keyframes particle-float {
    0% {
        transform: translate3d(0, 100vh, 0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translate3d(0, 90vh, 0) scale(1);
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translate3d(50px, -50px, 0) scale(0);
        opacity: 0;
    }
}


/* 3D Card Hover Effects */

.card-3d {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-3d:hover {
    transform: rotateX(10deg) rotateY(10deg) translateZ(20px) scale(1.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 255, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


/* Holographic Button */

.holo-btn {
    position: relative;
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 50%, rgba(255, 0, 102, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.holo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.holo-btn:hover::before {
    left: 100%;
}

.holo-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2), 0 0 0 1px rgba(0, 255, 136, 0.5);
    border-color: rgba(0, 255, 136, 0.8);
}


/* Scroll Reveal */

.reveal {
    opacity: 0;
    transform: translateY(100px) rotateX(10deg);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}


/* Loading Animation */

.loading-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue), var(--neon-pink));
    animation: loading-slide 2s ease-in-out infinite;
}

@keyframes loading-slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}


/* Floating Elements */

.float-element {
    animation: float-complex 8s ease-in-out infinite;
}

@keyframes float-complex {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}


/* Bubble Animations */

.bubble-success,
.bubble-mini {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 50%, rgba(255, 0, 102, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: bubble-float 15s ease-in-out infinite;
    overflow: hidden;
}

.bubble-success:hover,
.bubble-mini:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2), 0 0 0 1px rgba(0, 255, 136, 0.5);
    border-color: rgba(0, 255, 136, 0.8);
}

.bubble-inner {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
}

.bubble-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.bubble-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--neon-green);
}

.bubble-grade {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--neon-green);
    margin-bottom: 0.25rem;
}

.bubble-uni {
    font-size: 0.7rem;
    color: #888;
    font-family: 'JetBrains Mono', monospace;
}

@keyframes bubble-float {
    0% {
        transform: translateY(0);
        /* bottom of container */
        opacity: 0.3;
    }
    20% {
        opacity: 1;
        /* fully visible while rising */
    }
    100% {
        transform: translateY(-90%);
        /* almost top (not past it) */
        opacity: 0.2;
        /* fade out near top */
    }
}

.bubble-success,
.bubble-mini {
    position: absolute;
    bottom: 0;
    /* start at bottom */
    animation: bubble-float 15s ease-in-out infinite;
}


/* Modal Styles */

#bubble-modal {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#bubble-modal.active {
    opacity: 1;
    pointer-events: auto;
}

#bubble-modal.active>div {
    transform: scale(1);
}

#bubble-container {
    position: relative;
    overflow: hidden;
    /* hides bubbles when outside */
}


/* Avoid layout cost until revealed */

.reveal {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.bubble-success,
.bubble-mini {
    position: absolute;
    bottom: 0;
    /* start at bottom */
}


/* Paper Gallery Styles */

.paper-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(15px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.paper-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 255, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.paper-preview {
    text-align: center;
    margin-bottom: 1rem;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Filter Buttons */

.filter-btn {
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 50%, rgba(255, 0, 102, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    color: white;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 102, 255, 0.2) 50%, rgba(255, 0, 102, 0.2) 100%);
    border-color: rgba(0, 255, 136, 0.8);
    transform: translateY(-2px);
}


/* Responsive Design */

@media (max-width: 768px) {
    .cursor,
    .cursor-trail {
        display: none;
    }
    body {
        cursor: auto;
    }
    .bubble-success {
        position: relative !important;
        margin: 1rem;
        width: 120px !important;
        height: 120px !important;
        display: inline-block;
    }
    .bubble-mini {
        display: none;
    }
    #bubble-container {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
    .bubble-icon {
        font-size: 2rem !important;
    }
    .bubble-title {
        font-size: 0.8rem !important;
    }
    .bubble-grade {
        font-size: 1rem !important;
    }
    .bubble-uni {
        font-size: 0.6rem !important;
    }
}


/* Scale bubble sizes based on screen width */

.bubble-success,
.bubble-mini {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 50%, rgba(255, 0, 102, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: bubble-float 15s ease-in-out infinite;
    overflow: hidden;
}


/* Responsive scaling */

@media (max-width: 640px) {
    /* Mobile */
    .bubble-success {
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
    }
    .bubble-mini {
        width: 40px;
        height: 40px;
        font-size: 0.6rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    /* Tablet */
    .bubble-success {
        width: 120px;
        height: 120px;
        font-size: 0.9rem;
    }
    .bubble-mini {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
}

@media (min-width: 1025px) {
    /* Desktop */
    .bubble-success {
        width: 160px;
        height: 160px;
        font-size: 1rem;
    }
    .bubble-mini {
        width: 80px;
        height: 80px;
        font-size: 0.9rem;
    }
}


/* Bubble float (ensure it rises to top but stays visible) */

@keyframes bubble-float {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-5%);
        opacity: 0.8;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;600&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    min-height: 100vh;
    padding-top: 80px;
}

.mono {
    font-family: 'Roboto Mono', monospace;
}

.glass-PHOEBESSAYS {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.liquid-morph {
    background: linear-gradient(45deg, #0ea5e9, #0c4a6e, #0369a1);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.neon-text {
    color: #e0f2fe;
    text-shadow: 0 0 5px #0ea5e9, 0 0 10px #0ea5e9, 0 0 15px #0ea5e9;
}

.holo-btn {
    background: linear-gradient(45deg, #0ea5e9, #0c4a6e);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.5);
}

.holo-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    animation: holoEffect 3s linear infinite;
}

@keyframes holoEffect {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.holo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.8);
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.mobile-menu {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: none;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #e0f2fe;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    left: -30px;
}

.hamburger.open span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

@media (max-width: 1023px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
    }
    .anniversary-badge {
        display: none;
    }
    .mobile-menu.active {
        display: block;
    }
}

.content-section {
    padding: 2rem;
    margin: 1rem auto;
    max-width: 1200px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}