
/* y2k_vector_styles.css
   A nostalgic 2000s vector flourish aesthetic 
*/

:root {
    --bg-color: #e0f7fa;
    --primary-teal: #008b8b;
    --light-teal: #4db6ac;
    --glossy-white: rgba(255, 255, 255, 0.8);
    --accent-pink: #ff69b4;
    --vector-swirl: #26a69a;
}

/* style.css */

body {
    margin: 0;
    padding: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', sans-serif;
    
    /* THE UPDATED BACKGROUND SECTION */
    background-color: #e0f7fa; /* Fallback color */
    background-image: url('bg.jpg'); /* Make sure filename matches exactly */
    background-attachment: fixed;   /* Keeps the swirls from moving */
    background-position: center;    /* Centers the flourish */
    background-size: cover;         /* Ensures it fills the whole screen */
    
    color: #333;
    overflow-x: hidden;
}

/* Optional: Soften the flourish so the text is easier to read */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(224, 247, 250, 0.3); /* Adds a 30% teal tint */
    z-index: -1;
}

/* Vector Flourish Elements */
.flourish-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

.swirl {
    position: absolute;
    border: 2px solid var(--primary-teal);
    border-radius: 50%;
}

/* Main Layout */
.container {
    max-width: 800px;
    margin: 50px auto;
    background: var(--glossy-white);
    backdrop-filter: blur(5px);
    border: 3px solid var(--primary-teal);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 10px 10px 0px var(--light-teal);
    position: relative;
}

header {
    text-align: center;
    border-bottom: 2px dashed var(--primary-teal);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

h1 {
    font-size: 3em;
    color: var(--primary-teal);
    text-shadow: 2px 2px 0px #fff, 4px 4px 0px var(--light-teal);
    margin: 0;
    letter-spacing: -2px;
}

.subtitle {
    font-style: italic;
    color: var(--accent-pink);
    font-weight: bold;
}

/* Interactive Elements */
.nav-btn {
    display: block;
    width: fit-content;
    margin: 30px auto;
    padding: 15px 40px;
    background: linear-gradient(to bottom, #00ced1, #008b8b);
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5em;
    border-radius: 50px;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.nav-btn:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: linear-gradient(to bottom, #ff69b4, #da1b76);
}

.pixel-sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 2px;
    pointer-events: none;
    animation: blink 0.8s infinite alternate;
}

@keyframes blink {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1.2); }
}

/* Dinosaur Page Specifics */
.dino-info {
    line-height: 1.6;
}

.fact-box {
    background: rgba(0, 139, 139, 0.1);
    border-left: 5px solid var(--primary-teal);
    padding: 15px;
    margin: 20px 0;
}

.hump-feature {
    font-weight: bold;
    color: #d81b60;
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
    color: var(--primary-teal);
}
