:root {
    --bg-deep: #000000;
    --bg-gradient-start: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #666666;
    --accent-silver: #c0c0c0;
    --moon-glow: #e8e8e8;
}

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

body {
    background: radial-gradient(ellipse at 20% 10%, var(--bg-gradient-start) 0%, var(--bg-deep) 60%);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* === MOON === */
.moon {
    position: absolute;
    top: 8vh;
    right: 12vw;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff, #e8e8e8 60%, #b0b0b0);
    box-shadow: 
        inset -8px -8px 20px rgba(0, 0, 0, 0.2),
        0 0 40px 8px rgba(255, 255, 255, 0.3),
        0 0 80px 20px rgba(255, 255, 255, 0.15),
        0 0 120px 30px rgba(255, 255, 255, 0.08);
    z-index: 5;
    opacity: 0;
    animation: moonRise 3s ease-out forwards;
    animation-delay: 0.5s;
}

/* Moon craters for realism */
.moon::before,
.moon::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.moon::before {
    width: 20px;
    height: 20px;
    top: 30%;
    left: 45%;
}

.moon::after {
    width: 14px;
    height: 14px;
    top: 55%;
    left: 30%;
}

/* === TYPOGRAPHY === */
.container {
    z-index: 10;
    text-align: center;
    opacity: 0;
    animation: elegantFadeIn 3s ease-out forwards;
    animation-delay: 1s;
    max-width: 800px;
    padding: 60px 40px;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
    line-height: 1.2;
}

.brand-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 0.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
    text-transform: uppercase;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1rem;
    margin-bottom: 4rem;
    font-weight: 200;
    line-height: 1.8;
}

.cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.cta-button {
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 40px;
    font-size: 0.65rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    font-weight: 300;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--text-primary);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    color: var(--bg-deep);
    border-color: var(--text-primary);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.cta-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
}

.cta-secondary::before {
    display: none;
}

/* === STARFIELD === */
.sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
}

/* Shooting stars with pure white trail */
.shooting-star {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 20%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.6) 80%,
        rgba(255, 255, 255, 0) 100%);
    border-radius: 999px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
    transform: rotate(45deg);
    pointer-events: none;
    opacity: 0;
}

/* Minimal decorative corners */
.corner-ornament {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 8;
    pointer-events: none;
}

.corner-ornament.top-left {
    top: 30px;
    left: 30px;
    border-right: none;
    border-bottom: none;
}

.corner-ornament.top-right {
    top: 30px;
    right: 30px;
    border-left: none;
    border-bottom: none;
}

.corner-ornament.bottom-left {
    bottom: 30px;
    left: 30px;
    border-right: none;
    border-top: none;
}

.corner-ornament.bottom-right {
    bottom: 30px;
    right: 30px;
    border-left: none;
    border-top: none;
}

/* === STORY PAGE SPECIFIC === */
.story-container {
    max-width: 900px;
    padding: 100px 60px;
    z-index: 10;
    opacity: 0;
    animation: elegantFadeIn 3s ease-out forwards;
    animation-delay: 1s;
}

.story-header {
    text-align: center;
    margin-bottom: 5rem;
}

.story-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 0.8rem;
}

.story-header .subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.4rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 300;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.story-section {
    opacity: 0;
    animation: sectionFadeIn 1.5s ease-out forwards;
}

.story-section:nth-child(1) { animation-delay: 1.5s; }
.story-section:nth-child(2) { animation-delay: 2s; }
.story-section:nth-child(3) { animation-delay: 2.5s; }
.story-section:nth-child(4) { animation-delay: 3s; }

.story-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--accent-silver);
}

.story-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 200;
    letter-spacing: 0.02rem;
}

.story-divider {
    width: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 3rem auto;
}

.back-link {
    text-align: center;
    margin-top: 5rem;
}

.back-link a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.back-link a:hover {
    border-bottom-color: var(--text-primary);
}

/* === ANIMATIONS === */
@keyframes moonRise {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.8);
    }
    to { 
        opacity: 0.9; 
        transform: translateY(0) scale(1);
    }
}

@keyframes elegantFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(40px); 
        filter: blur(10px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
        filter: blur(0);
    }
}

@keyframes sectionFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.1; 
        transform: scale(0.9); 
    }
    50% { 
        opacity: var(--opacity); 
        transform: scale(1); 
    }
}

@keyframes shootingStar {
    0% {
        transform: translate(0, 0) rotate(45deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) rotate(45deg) scale(1);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate(120vw, 120vh) rotate(45deg) scale(0.5);
        opacity: 0;
    }
}

/* === MOBILE === */
@media (max-width: 768px) {
    h1 { 
        font-size: 3rem; 
        letter-spacing: 0.5rem; 
    }
    
    .moon { 
        width: 90px; 
        height: 90px; 
        top: 5vh; 
        right: 8vw;
    }
    
    .tagline {
        font-size: 0.85rem;
        padding: 0 20px;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
    
    .corner-ornament {
        width: 40px;
        height: 40px;
    }
    
    .corner-ornament.top-left,
    .corner-ornament.top-right {
        top: 20px;
    }
    
    .corner-ornament.bottom-left,
    .corner-ornament.bottom-right {
        bottom: 20px;
    }
    
    .corner-ornament.top-left,
    .corner-ornament.bottom-left {
        left: 20px;
    }
    
    .corner-ornament.top-right,
    .corner-ornament.bottom-right {
        right: 20px;
    }
    
    /* Story page mobile */
    .story-container {
        padding: 80px 30px;
    }
    
    .story-header h1 {
        font-size: 2.5rem;
        letter-spacing: 0.5rem;
    }
    
    .story-section p {
        font-size: 0.95rem;
        line-height: 1.9;
    }
}