:root {
    --bg-pink: #F3D5DE;
    /* Exact pastel pink match from image */
    --hole-color: #D1B3BC;
    /* Darker pink for inside the hole */
    --ink: #101010;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-pink);
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    color: var(--ink);
    overflow-x: hidden;
    /* Prevent scrollbars from parallax */
}

/* --- 1. Full-Page Paper Grain Texture --- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
}

/* --- 2. Header & Logo --- */
header {
    margin-top: 45px;
    text-align: center;
    z-index: 10;
    position: relative;
}

.logo {
    font-family: 'Anton', sans-serif;
    font-size: 3.8rem;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

/* CSS trick for the star-in-A logo */
.logo .star-a {
    position: relative;
    display: inline-block;
    color: var(--ink);
}

.logo .star-a::after {
    content: '★';
    position: absolute;
    font-size: 1.1rem;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-pink);
}

.tagline {
    font-size: 0.9rem;
    color: #444;
    letter-spacing: 0.5px;
    margin-top: 8px;
    font-weight: 600;
}

/* --- 3. The Main Scene (Torn Paper & Doodles) --- */
.scene-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 480px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

/* --- The Torn Paper SVG --- */
.torn-paper-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    /* Subtle parallax effect */
    transition: transform 0.1s ease-out;
}

/* The White Ripped Edge */
.paper-edge {
    fill: #FFFFFF;
    filter: url(#ripFilter);
    /* Applies the realistic torn effect */
}

/* The Inner Dark Hole Background */
.hole-bg {
    fill: var(--hole-color);
}

/* --- Content Inside the Hole --- */
.hole-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-6deg);
    text-align: center;
    z-index: 20;
    width: 100%;
    pointer-events: none;
}

.coming-soon-text {
    font-family: 'Permanent Marker', cursive;
    font-size: 3.8rem;
    line-height: 0.85;
    color: black;
    display: block;
    /* Slight jitter animation */
    animation: jitter 4s infinite ease-in-out;
}

@keyframes jitter {

    0%,
    100% {
        transform: rotate(-6deg) scale(1);
    }

    50% {
        transform: rotate(-5deg) scale(1.02);
    }
}

/* The marker underline */
.marker-underline {
    width: 150px;
    height: 20px;
    margin: 15px auto 0;
    display: block;
}

/* --- The Doodles Layer --- */
.doodles-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Parallax moves opposite to paper for depth */
    transition: transform 0.1s ease-out;
}

.marker-path {
    position: absolute;
    fill: none;
    stroke: black;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
    mix-blend-mode: multiply;
    /* Makes ink look real */
}

/* Doodle Positions */
.d-brand-stars {
    top: 14%;
    left: 12%;
    width: 75px;
    transform: rotate(-10deg);
}

.d-new-badge {
    top: 10%;
    right: 8%;
    width: 135px;
}

.d-arrow {
    bottom: 28%;
    left: 4%;
    width: 75px;
    transform: rotate(15deg);
}

.d-bag {
    bottom: 22%;
    right: 14%;
    width: 60px;
    transform: rotate(8deg);
}

.d-cake {
    bottom: 18%;
    left: 20%;
    width: 55px;
}

/* Handwritten Labels */
.hand-label {
    position: absolute;
    font-family: 'Permanent Marker', cursive;
    color: black;
    mix-blend-mode: multiply;
}

.lbl-brand {
    top: 19%;
    left: 14%;
    transform: rotate(-12deg);
    font-size: 1.1rem;
}

.lbl-new {
    top: 15%;
    right: 15%;
    text-align: center;
    transform: rotate(4deg);
    font-size: 1.2rem;
    line-height: 0.9;
}

.lbl-stay {
    bottom: 16%;
    left: 42%;
    font-size: 1.4rem;
    transform: rotate(-3deg);
}

.lbl-ig {
    bottom: 8%;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 1px;
}


/* --- 4. Footer Section --- */
.footer {
    margin-top: auto;
    margin-bottom: 30px;
    width: 100%;
    max-width: 380px;
    padding: 0 20px;
    text-align: center;
    z-index: 10;
}

.footer h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.signup-form {
    display: flex;
    background: white;
    border: 2px solid black;
    border-radius: 6px;
    overflow: hidden;
    /* Clean, hard shadow */
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
}

input {
    flex: 1;
    padding: 16px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #333;
}

button {
    background: black;
    color: white;
    border: none;
    padding: 0 28px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #333;
}

.nav-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    font-size: 1rem;
}

/* The Sparkle Icon */
.sparkle-icon {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 35px;
    height: 35px;
    fill: white;
    opacity: 0.8;
    z-index: 100;
}
