/* Basic reset / starter styles */
html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Baloo 2', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: url('../bgbg.gif') no-repeat center center fixed;
    background-size: cover;
    background-color: #000;
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    /* Adjust opacity as needed */
    z-index: 1;
    pointer-events: none;
}

body>* {
    position: relative;
    z-index: 2;
    color: #fff;

}

#app {
    padding: 0;
}

.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
}

.site-header .logo {
    max-width: 220px;
    width: 14%;
    height: auto;
    display: block;
    margin-left: 0;
}

/* inner header: place logo and button at opposite ends */
.site-header-inner {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    box-sizing: border-box;
}

/* decorative ribbon behind header content */
.ribbon {

    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

.site-header-inner {
    position: relative;
    z-index: 15;
}

/* Image button (top-right) */
.svg-btn {
    width: 96px;
    height: auto;
    display: block;
    cursor: pointer;
    z-index: 30;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 120ms ease;
    box-shadow: none;
    filter: none;
    border: none;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
}

.svg-btn:focus {
    outline: none;
}

.svg-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.12);
    outline-offset: 4px;
}

/* remove hover shadow to avoid visible edges */
@media (hover: hover) {
    .svg-btn:hover {
        transform: scale(1.04);
        box-shadow: none;
        filter: none;
    }
}

.svg-btn:active {
    transform: scale(0.98);
}



/* accessibility: larger tap target on small screens */
@media (max-width: 600px) {
    .svg-btn {
        width: 80px;
    }

    .svg-btn svg {
        width: 160px;
        height: 74px;
    }
}

/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: space-around;
    min-height: 100vh;

}

.hero-image {
    max-width: 70%;
    width: 30%;
    height: auto;
    display: block;
}

/* Hover scale for hero image */
.hero-image {
    transition: transform 240ms ease;
    transform-origin: center center;
}

@media (hover: hover) {
    .hero-image:hover {
        transform: scale(1.06);
    }
}

/* Hero caption */
.hero-caption {
    margin: 12px 0 0;
    text-align: center;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

/* Social icons row under hero caption */
.socials {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
}

.socials {
    display: flex;
    gap: 26px;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
}

.social-icon {
    width: 38px;
    height: auto;
    display: inline-block;
    cursor: pointer;
    transition: transform 140ms ease, opacity 140ms ease;
    opacity: 0.98;
}


/* Background GIFs inserted by JS */
.bg-gif {
    position: fixed;
    width: 200px;
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: -1;
    opacity: 0.95;
}

.bg-gif.centered {
    transform: translate(-50%, -50%);
}

.bg-gif.corner {
    transform: none;
}

.footerp {
    margin: 12px 0 0;
    text-align: center;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ff98cc
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footlinks {
    display: flex;
    gap: 24px;
}

@media (max-width: 600px) {
    .footlinks {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .footerp {
        font-size: 2rem;
    }
}

.footlink {
    font-size: 2.2rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.footlink:hover {
    color: #ff98cc
}

/* Photo Grid Styles */
.photo-grid {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 40px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 90%;
    max-width: 1200px;
}

@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footerlinks {
        flex-direction: column;
        gap: 12px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}

.grid-photo {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
    background: #222;
}

/* Floating UwU face animation */
.floating-uwu {
    position: fixed;
    pointer-events: none;
    z-index: -20;
    opacity: 0;
    will-change: left, top, opacity, transform;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 1, 1), transform 0.3s cubic-bezier(0.4, 0, 1, 1);
    filter: drop-shadow(0 2px 12px #ff98cc88);
    width: 50%;
}

.loading-bar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 1, 1);
}

.loading-bar {
    width: 60vw;
    max-width: 400px;
    height: 6px;
    background: #222;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 16px #ff98cc55;
}

.loading-bar-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff98cc 0%, #ff5ec4 100%);
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(0.4, 0, 1, 1);
}

.corner-gif {
    position: absolute;
    width: 70px;
    height: 70px;
    z-index: 100000;
    pointer-events: none;
    opacity: 0.92;
}

.top-left-gif {
    top: 18px;
    left: 18px;
}

.bottom-right-gif {
    bottom: 18px;
    right: 18px;
}

.grid-photo:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 48px 0 #ff98cc, 0 2px 12px 0 #ff98cc88;
}

/* Scrolling ticker styles (namespaced to avoid collisions) */
.uwu-ticker {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0 18px 0;
    background: rgba(0, 0, 0, 0.48);
    padding: 8px 0;
    pointer-events: none;
}

.uwu-ticker-wrap {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.uwu-ticker-move {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 32px;
    will-change: transform;
    flex-wrap: nowrap;
    animation: uwuTickerScroll var(--uwu-ticker-duration, 18s) linear infinite;
}

.uwu-ticker-move>.uwu-ticker-item {
    flex: 0 0 auto;
}

.uwu-ticker-item {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff98cc;
    text-shadow: 0 2px 10px #ff98cc55;
    letter-spacing: 0.08em;
    padding: 6px 0;
}

@keyframes uwuTickerScroll {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 900px) {
    .uwu-ticker-item {
        font-size: 1.6rem;
    }

    .uwu-ticker-move {
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .uwu-ticker-item {
        font-size: 1.2rem;
    }

    .uwu-ticker-move {
        gap: 12px;
    }
}

/* UwU matrix canvas (body background) */
#uwu-matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

/* Make sure the dim overlay still sits above the matrix */
body::before {
    /* slightly less dark so matrix shows through */
    background: rgba(0, 0, 0, 0.7);
}