:root {
    --primary-gold: #d4af37;
    --soft-white: #f8f9fa;
    --deep-bg: #0b0d17;
    --accent-glow: rgba(212, 175, 55, 0.4);
    --glass: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--deep-bg);
    color: var(--soft-white);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    width: 100vw;
    min-height: 100vh;
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: var(--deep-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 1s ease-out, visibility 1s;
}

.loader-content {
    text-align: center;
}

.glow-text {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary-gold);
    text-shadow: 0 0 20px var(--accent-glow);
    animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
    0%, 100% { text-shadow: 0 0 10px var(--accent-glow); }
    50% { text-shadow: 0 0 30px var(--primary-gold); }
}

/* Main Content */
.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#main-content {
    transition: opacity 2s ease-in;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Stars Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1b2735 0%, #090a0f 100%);
    z-index: -2;
}

.stars::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 100px 150px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 200px 300px, #ddd, rgba(0,0,0,0));
    background-size: 200px 300px;
    opacity: 0.3;
    animation: stars-twinkle 4s infinite linear;
}

@keyframes stars-twinkle {
    from { transform: translateY(0); }
    to { transform: translateY(-300px); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding: 10vh 2rem 2rem 2rem;
    overflow: hidden;
}

.image-wrapper {
    width: 350px;
    height: 450px;
    position: relative;
    perspective: 1000px;
    margin-bottom: 3rem;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    border-radius: 15px;
    overflow: visible;
}

.fragment {
    position: absolute;
    background-size: 350px 450px;
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    border: 0.5px solid rgba(255,255,255,0.1);
}

.content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--primary-gold), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.quote-box {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    font-style: italic;
    font-weight: 300;
}

/* Feathers */
.feather {
    position: fixed;
    top: -50px;
    background: white;
    width: 15px;
    height: 5px;
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    filter: blur(1px);
    box-shadow: 0 0 10px white;
}

/* Messaging Cards */
.messages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 90%;
    max-width: 1200px;
    padding: 4rem 0;
}

.card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.5s ease, border-color 0.5s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
}

.card h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.card p {
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

footer {
    padding: 4rem;
    text-align: center;
    width: 100%;
}

footer p {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

/* Animations */
.fade-up {
    animation: fadeUp 1s forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 2s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 5vh;
        justify-content: flex-start;
    }
    .main-title { 
        font-size: 1.8rem; 
        padding: 0 5px;
        line-height: 1.2;
    }
    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    .image-wrapper { 
        width: 75vw; 
        max-width: 250px;
        height: auto;
        aspect-ratio: 7 / 9;
        margin-bottom: 1.5rem;
    }
    .quote-box {
        padding: 1.5rem;
        font-size: 0.95rem;
        margin: 0 1rem;
    }
    .messages {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    .card {
        padding: 1.5rem;
    }
    footer p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .main-title { font-size: 1.6rem; }
    .image-wrapper { 
        width: 80vw; 
        max-width: 220px;
    }
    .glow-text { font-size: 2.5rem; }
}
