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

body {
    min-height: 100vh;
    background-color: #0D0806;
    font-family: 'Pixelify Sans', system-ui;
    color: #E6E6FA;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.pixel-art {
    image-rendering: pixelated;
}

.header {
    width: 100%;
    height: 30vh;
    min-height: 350px;
    position: relative;
    overflow: visible;
    background: black;
    padding-top: 0;
}

.sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #000000, #050510, #150520);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.ground {
    position: absolute;
    inset: 50% 0 0 0;
    background: linear-gradient(to bottom, #1A3300, #0D1A00, #0D0806);
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 2rem 2rem 2rem;
    position: relative;
    min-height: 400px;
    margin-top: -1rem;
}

.main-content .main-title {
    position: static;
    font-size: clamp(2rem, 5vw, 5rem);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.gradient-overlay {
    position: absolute;
    inset: -1.5rem 0 auto 0;
    height: 4rem;
    background: linear-gradient(to bottom, transparent, #0D0806);
    pointer-events: none;
}

.dirt-texture {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(160, 82, 45, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    opacity: 0.25;
    pointer-events: none;
}

.content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 64rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
}

.main-title {
    font-size: clamp(2.45rem, 7vw, 7rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    z-index: 50;
}

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

.coming-soon {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.email-form {
    max-width: 28rem;
    margin: 0 auto 1.5rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.email-input {
    flex: 1;
    padding: 0.5rem 1rem;
    background: #1A1210;
    border: 1px solid #3D3027;
    border-radius: 0.25rem;
    color: #E6E6FA;
}

.email-input::placeholder {
    color: rgba(176, 196, 222, 0.5);
}

.submit-btn {
    padding: 0.5rem 1rem;
    background: #FFD700;
    color: black;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-family: 'Pixelify Sans', system-ui;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background: rgba(255, 215, 0, 0.8);
}

.disclaimer {
    font-size: 0.625rem;
    color: rgba(176, 196, 222, 0.6);
    font-style: italic;
    text-align: center;
    margin-top: 0.25rem;
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0.5rem 0 1.5rem;
}

.separator-line {
    height: 1px;
    background: #3D3027;
    flex: 1;
}

.separator-diamond {
    width: 1rem;
    height: 1rem;
    background: #FFD700;
    transform: rotate(45deg);
    margin: 0 1rem;
}

/* Ghost Styles */
.ghost {
    position: absolute;
    width: 2.5rem;
    height: 3.5rem;
}

.ghost-body {
    width: 100%;
    height: 100%;
    background: #E6E6FA;
    border-top-left-radius: 9999px;
    border-top-right-radius: 9999px;
    position: relative;
}

.ghost-foot {
    width: 33%;
    height: 100%;
    background: #E6E6FA;
}

.ghost-eye {
    position: absolute;
    top: 25%;
    width: 0.5rem;
    height: 0.5rem;
    background: #000000;
    border-radius: 9999px;
}

.ghost-eye-left {
    left: 25%;
}

.ghost-eye-right {
    right: 25%;
}

.ghost-message {
    position: absolute;
    top: 10%;
    left: -40%;
    right: auto;
    transform: none;
    background: white;
    color: black;
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
    white-space: normal;
    max-width: 8rem;
    border-radius: 0.25rem;
    z-index: 300;
    line-height: 1.2;
    text-align: center;
    opacity: 1.0;
}

.message-long {
    left: -150%;
    width: 6rem;
}

.ghost-bg .ghost-message {
    left: auto;
    right: 80%;
    opacity: 10;
}

.ghost-main {
    left: 65%;
    bottom: 15%;
    width: 5rem;
    height: 7rem;
    animation: float 3s ease-in-out infinite;
    z-index: 200;
    opacity: 0.8;
}

.ghost-bg {
    left: 0;
    bottom: 8%;
    transform: scale(0.6);
    opacity: 0.5;
    animation: float-alt 4s ease-in-out infinite, slide 30s linear infinite;
    z-index: 0.8;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1rem); }
}

@keyframes float-alt {
    0%, 100% { transform: translateY(0) scale(0.6); }
    50% { transform: translateY(-0.75rem) scale(0.6); }
}

@keyframes slide {
    0% { left: -5%; }
    42% { left: 105%; }
    50% { left: 105%; }
    58% { left: -15%; }
    66% { left: -15%; }
    100% { left: -5%; }
}

/* Tombstone Styles */
.tombstone {
    position: absolute;
    width: 3rem;
    height: 4rem;
    bottom: 2%;
    z-index: 1;
}

/* Size variations for tombstones */
.tombstone-tiny {
    width: 2rem;
    height: 2.5rem;
    transform: rotate(-3deg);
    opacity: 0.5;
    z-index: 1;
}

.tombstone-small {
    width: 2.5rem;
    height: 3.5rem;
    transform: rotate(-2deg);
    z-index: 2;
}

.tombstone-medium {
    width: 3.5rem;
    height: 4.5rem;
    z-index: 3;
}

.tombstone-large {
    width: 4rem;
    height: 5.5rem;
    transform: rotate(5deg);
    transform: scale(1.81) rotate(1deg);
    z-index: 90;
}

/* Central tombstone */
.tombstone-central {
    width: 7rem;
    height: 9rem;
    bottom: -5%;
    z-index: 20;
    left: 35%;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    overflow: visible;
}

.tombstone-central .tombstone-body {
    background: #c0c0c0;
}

.tombstone-central .tombstone-top {
    background: #c0c0c0;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.rip-text {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
}

.name-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    max-width: 90%;
    word-wrap: break-word;
    line-height: 1.2;
}

.small-grave {
    z-index: 0.8;
}

.small-grave-varied {
    transform: scale(0.8) rotate(3deg);
}

.tombstone-body {
    width: 100%;
    height: 75%;
    background: #A9A9A9;
}

.tombstone-top {
    width: 120%;
    height: 35%;
    background: #A9A9A9;
    border-top-left-radius: 0.125rem;
    border-top-right-radius: 0.125rem;
    margin-left: -10%;
}

.small-graves {
    position: absolute;
    bottom: 20%;
    width: 100%;
    pointer-events: none;
    z-index: 1;
}

.small-grave {
    position: absolute;
    width: 1.5rem;
    height: 2rem;
    opacity: 0.7;
    z-index: 1;
}

.small-grave-body {
    width: 100%;
    height: 75%;
    background: #708090;
}

.small-grave-top {
    width: 100%;
    height: 25%;
    background: #708090;
    border-top-left-radius: 0.125rem;
    border-top-right-radius: 0.125rem;
}

/* Star Styles */
.stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFF;
    animation: twinkle 1.5s infinite;
    opacity: 0.9;
}

.star:nth-child(2n) {
    width: 3px;
    height: 3px;
    animation-delay: 0.5s;
}

.star:nth-child(3n) {
    width: 1px;
    height: 1px;
    animation-delay: 1s;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Tree Styles */
.tree {
    position: absolute;
    left: 8%;
    bottom: 22%;
    width: 4rem;
    height: 8rem;
    z-index: 1;
    opacity: 0.8;
}

.tree-bg {
    right: 8%;
    left: auto;
    bottom: 26%;
    width: 3rem;
    height: 6rem;
    transform: scale(0.8);
    opacity: 0.7;
    z-index: 1;
}

/* Additional trees for better distribution */
.tree-left {
    left: 2%;
    bottom: 28%;
    width: 2.5rem;
    height: 5rem;
    transform: scale(0.6) rotate(-5deg);
    opacity: 0.6;
    z-index: 0.5;
}

.tree-center {
    left: 50%;
    bottom: 20%;
    width: 3.5rem;
    height: 7rem;
    transform: scale(0.7) rotate(3deg);
    opacity: 0.5;
    z-index: 0.3;
}

.tree-right {
    right: 2%;
    left: auto;
    bottom: 24%;
    width: 3rem;
    height: 6rem;
    transform: scale(0.75) rotate(-2deg);
    opacity: 0.65;
    z-index: 0.8;
}

/* Additional trees for more natural forest */
.tree-far-left {
    left: 0%;
    bottom: 32%;
    width: 2rem;
    height: 4rem;
    transform: scale(0.5) rotate(-8deg);
    opacity: 0.4;
    z-index: 0.2;
}

.tree-far-right {
    right: 0%;
    left: auto;
    bottom: 28%;
    width: 2.2rem;
    height: 4.5rem;
    transform: scale(0.55) rotate(6deg);
    opacity: 0.45;
    z-index: 0.4;
}

.tree-mid-left {
    left: 25%;
    bottom: 26%;
    width: 3rem;
    height: 6rem;
    transform: scale(0.65) rotate(-3deg);
    opacity: 0.55;
    z-index: 0.6;
}

.tree-mid-right {
    right: 25%;
    left: auto;
    bottom: 22%;
    width: 2.8rem;
    height: 5.5rem;
    transform: scale(0.6) rotate(4deg);
    opacity: 0.5;
    z-index: 0.7;
}

.tree-trunk {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1rem;
    height: 3rem;
    background: #8B4513;
}

.tree-top {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 2rem solid transparent;
    border-right: 2rem solid transparent;
    border-bottom: 4rem solid #1A3300;
}

.tree-middle {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 1.5rem solid transparent;
    border-right: 1.5rem solid transparent;
    border-bottom: 3rem solid #1A3300;
}

.tree-top-small {
    position: absolute;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 1rem solid transparent;
    border-right: 1rem solid transparent;
    border-bottom: 2rem solid #1A3300;
}

/* Fog effect */
.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, rgba(0,10,2,0.2), transparent);
    z-index: 4;
    pointer-events: none;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .ghost-main {
        width: 6rem;
        height: 8.5rem;
        z-index: 1100;
        left: 70%;
        bottom: 10%;
    }

    .ghost-main .ghost-eye {
        width: 0.75rem;
        height: 0.75rem;
        z-index: 1100;
    }

    .ghost-main .ghost-message {
        font-size: 1rem;
        padding: 0.5rem 0.6rem;
        left: -35%;
        max-width: 10rem;
        line-height: 1.3;
    }
    
    .ghost-main .message-long {
        left: -145%;
        width: 8rem;
    }

    .ghost-bg .ghost-message {
        right: 60%;
    }

    .ghost-bg {
        animation: float-alt 3s ease-in-out infinite, slide 45s linear infinite;
    }

    .coming-soon {
        font-size: 1.5rem;
    }

    .email-input {
        font-size: 1.125rem;
        padding: 0.5rem 1.25rem;
    }

    .submit-btn {
        font-size: 1.125rem;
        padding: 0.5rem 1.25rem;
    }

    .disclaimer {
        font-size: 0.75rem;
    }

    .tombstone-tiny {
        width: 3rem;
        height: 4rem;
    }

    .tombstone-small {
        width: 3.5rem;
        height: 5rem;
    }

    .tombstone-medium {
        width: 4.5rem;
        height: 6rem;
    }

    .tombstone-large {
        width: 5.5rem;
        height: 7.5rem;
    }

    .tombstone-central {
        width: 12rem;
        height: 15rem;
        bottom: -5%;
        left: 35%;
        transform: translateX(-50%);
    }

    .rip-text {
        font-size: 1.8rem;
        top: 25%;
    }

    .name-text {
        font-size: 1.4rem;
        top: 42%;
    }

    .small-grave {
        width: 2rem;
        height: 2.5rem;
    }

    .tree {
        left: 8%;
        bottom: 22%;
    }
    
    .tree-bg {
        right: 8%;
        bottom: 26%;
    }

    .tree-left {
        left: 2%;
        bottom: 28%;
        width: 3rem;
        height: 6rem;
    }

    .tree-center {
        left: 50%;
        bottom: 20%;
        width: 4rem;
        height: 8rem;
    }

    .tree-right {
        right: 2%;
        bottom: 24%;
        width: 3.5rem;
        height: 7rem;
    }

    .tree-far-left {
        left: 0%;
        bottom: 32%;
        width: 2.5rem;
        height: 5rem;
    }

    .tree-far-right {
        right: 0%;
        bottom: 28%;
        width: 2.7rem;
        height: 5.5rem;
    }

    .tree-mid-left {
        left: 25%;
        bottom: 26%;
        width: 3.5rem;
        height: 7rem;
    }

    .tree-mid-right {
        right: 25%;
        bottom: 22%;
        width: 3.3rem;
        height: 6.5rem;
    }
    
    .small-graves {
        bottom: 22%;
    }

    .tree-trunk {
        width: 1.5rem;
        height: 4.5rem;
    }

    .tree-top {
        bottom: 3.75rem;
        border-left: 3rem solid transparent;
        border-right: 3rem solid transparent;
        border-bottom: 6rem solid #1A3300;
    }

    .tree-middle {
        bottom: 6rem;
        border-left: 2.25rem solid transparent;
        border-right: 2.25rem solid transparent;
        border-bottom: 4.5rem solid #1A3300;
    }

    .tree-top-small {
        bottom: 8.25rem;
        border-left: 1.5rem solid transparent;
        border-right: 1.5rem solid transparent;
        border-bottom: 3rem solid #1A3300;
    }

    .header {
        min-height: 500px;
        height: 38vh;
    }
    
    .main-title {
        bottom: 58%;
        margin-top: 2rem;
    }

    .content-container {
        gap: 1rem;
        padding-top: 2rem;
    }
    
    .separator {
        margin: 0.75rem 0 1.75rem;
    }
}

@media (min-width: 1024px) {
    .ghost-main {
        width: 8rem;
        height: 12rem;
        left: 75%;
        bottom: 8%;
    }

    .ghost-main .ghost-eye {
        width: 1rem;
        height: 1rem;
    }

    .ghost-main .ghost-message {
        font-size: 1.25rem;
        padding: 0.5rem 0.7rem;
        left: -30%;
        max-width: 12rem;
        line-height: 1.4;
    }
    
    .ghost-main .message-long {
        left: -140%;
        width: 10rem;
    }

    .ghost-bg {
        animation: float-alt 3s ease-in-out infinite, slide 60s linear infinite;
    }

    .coming-soon {
        font-size: 1.75rem;
    }

    .email-input {
        font-size: 1.25rem;
        padding: 0.5rem 1.5rem;
    }

    .submit-btn {
        font-size: 1.25rem;
        padding: 0.5rem 1.5rem;
    }

    .disclaimer {
        font-size: 0.875rem;
    }

    .tombstone-tiny {
        width: 3.5rem;
        height: 4.5rem;
    }

    .tombstone-small {
        width: 4.5rem;
        height: 6rem;
    }

    .tombstone-medium {
        width: 6rem;
        height: 8rem;
    }

    .tombstone-large {
        width: 7rem;
        height: 9.5rem;
    }

    .tombstone-central {
        width: 16rem;
        height: 20rem;
        bottom: -15%;
        left: 30%;
        transform: translateX(-50%);
        z-index: 20;
        overflow: visible;
    }

    .rip-text {
        font-size: 2.5rem;
        top: 22%;
    }

    .name-text {
        font-size: 2rem;
        top: 38%;
    }

    .small-grave {
        width: 2.5rem;
        height: 3rem;
    }

    .tree {
        left: 8%;
        bottom: 24%;
    }
    
    .tree-bg {
        right: 8%;
        bottom: 28%;
    }

    .tree-left {
        left: 2%;
        bottom: 28%;
        width: 4rem;
        height: 8rem;
    }

    .tree-center {
        left: 50%;
        bottom: 20%;
        width: 5rem;
        height: 10rem;
    }

    .tree-right {
        right: 2%;
        bottom: 24%;
        width: 4.5rem;
        height: 9rem;
    }

    .tree-far-left {
        left: 0%;
        bottom: 32%;
        width: 3rem;
        height: 6rem;
    }

    .tree-far-right {
        right: 0%;
        bottom: 28%;
        width: 3.2rem;
        height: 6.5rem;
    }

    .tree-mid-left {
        left: 25%;
        bottom: 26%;
        width: 4rem;
        height: 8rem;
    }

    .tree-mid-right {
        right: 25%;
        bottom: 22%;
        width: 3.8rem;
        height: 7.5rem;
    }

    .header {
        min-height: 550px;
        height: 40vh;
    }
    
    .main-title {
        bottom: 60%;
        margin-top: 2.5rem;
    }

    .content-container {
        padding-top: 2.5rem;
    }
}

@media (min-width: 1440px) {
    .header {
        height: 45vh;
        min-height: 600px;
    }
    
    .ghost-main {
        width: 9rem;
        height: 13rem;
        left: 68%;
        bottom: 13%;
    }
    
    .ghost-main .ghost-eye {
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .ghost-main .ghost-message {
        font-size: 1.3rem;
        padding: 0.6rem;
        left: -35%;
        max-width: 14rem;
        line-height: 1.3;
    }
    
    .ghost-main .message-long {
        left: -145%;
        width: 11rem;
    }

    .ghost-bg {
        animation: float-alt 3s ease-in-out infinite, slide 90s linear infinite;
    }

    .coming-soon {
        font-size: 2rem;
    }

    .email-input {
        font-size: 1.5rem;
        padding: 0.5rem 1.75rem;
    }

    .submit-btn {
        font-size: 1.5rem;
        padding: 0.5rem 1.75rem;
    }

    .disclaimer {
        font-size: 1rem;
    }

    .tombstone-tiny {
        width: 4rem;
        height: 5rem;
    }

    .tombstone-small {
        width: 5.5rem;
        height: 7rem;
    }

    .tombstone-medium {
        width: 7rem;
        height: 9rem;
    }

    .tombstone-large {
        width: 8.5rem;
        height: 11rem;
    }

    .tombstone-central {
        width: 16rem;
        height: 20rem;
        bottom: 0%;
        left: 32%;
    }

    .rip-text {
        font-size: 2.5rem;
        top: 22%;
    }

    .name-text {
        font-size: 2rem;
        top: 38%;
    }

    .small-grave {
        width: 3rem;
        height: 4rem;
    }

    .tree-bg {
        width: 6rem;
        height: 12rem;
    }

    .main-title {
        bottom: 65%;
    }
}

@media (min-width: 1800px) {
    .header {
        height: 50vh;
        min-height: 700px;
    }
    
    .ghost-main {
        width: 11rem;
        height: 16rem;
        left: 68%;
        bottom: 15%;
    }
    
    .ghost-main .ghost-eye {
        width: 1.4rem;
        height: 1.4rem;
    }
    
    .ghost-main .ghost-message {
        font-size: 1.5rem;
        padding: 0.75rem;
        left: -35%;
        max-width: 16rem;
    }
    
    .ghost-main .message-long {
        left: -145%;
        width: 13rem;
    }
    
    .tombstone-central {
        width: 20rem;
        height: 26rem;
        bottom: 0%;
        left: 32%;
    }
    
    .rip-text {
        font-size: 3.5rem;
        top: 20%;
    }

    .name-text {
        font-size: 2.8rem;
        top: 35%;
    }

    .tree {
        width: 8rem;
        height: 16rem;
        left: 8%;
        bottom: 18%;
    }

    .tree-bg {
        width: 7rem;
        height: 14rem;
        right: 8%;
        bottom: 22%;
    }

    .tree-left {
        left: 2%;
        bottom: 24%;
        width: 6rem;
        height: 12rem;
    }

    .tree-center {
        left: 50%;
        bottom: 12%;
        width: 7rem;
        height: 14rem;
    }

    .tree-right {
        right: 2%;
        bottom: 16%;
        width: 6.5rem;
        height: 13rem;
    }

    .tree-far-left {
        left: 0%;
        bottom: 32%;
        width: 4rem;
        height: 8rem;
    }

    .tree-far-right {
        right: 0%;
        bottom: 28%;
        width: 4.2rem;
        height: 8.5rem;
    }

    .tree-mid-left {
        left: 25%;
        bottom: 26%;
        width: 5rem;
        height: 10rem;
    }

    .tree-mid-right {
        right: 25%;
        bottom: 22%;
        width: 4.8rem;
        height: 9.5rem;
    }

    .tree-trunk {
        width: 2rem;
        height: 6rem;
    }

    .tree-top {
        bottom: 5rem;
        border-left: 4rem solid transparent;
        border-right: 4rem solid transparent;
        border-bottom: 8rem solid #1A3300;
    }

    .tree-middle {
        bottom: 8rem;
        border-left: 3rem solid transparent;
        border-right: 3rem solid transparent;
        border-bottom: 6rem solid #1A3300;
    }

    .tree-top-small {
        bottom: 11rem;
        border-left: 2rem solid transparent;
        border-right: 2rem solid transparent;
        border-bottom: 4rem solid #1A3300;
    }

    .main-title {
        bottom: 68%;
    }
} 