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

:root {
    --purple-glow: #c792ff;
    --lavender: #f0e6ff;
    --midnight: #1a1730;
    --coral: #ff8c5a;
    --mint: #7cdeab;
    --rose: #e8a0bf;
    --deep-night: #0d0f1a;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(160deg, #0d0f1a 0%, #1a1730 40%, #0d0f1a 100%);
    color: #f0e6ff;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

#fireflies {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Moths */
.moth {
    position: fixed;
    width: 60px;
    height: 40px;
    opacity: 0.15;
    z-index: 2;
    pointer-events: none;
    clip-path: polygon(50% 0%, 0% 40%, 20% 100%, 50% 70%, 80% 100%, 100% 40%);
    background: var(--purple-glow);
    animation: moth-drift 20s infinite ease-in-out;
}

.moth-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.moth-2 {
    top: 55%;
    left: 5%;
    width: 45px;
    height: 30px;
    animation-delay: -7s;
    background: var(--rose);
}

.moth-3 {
    bottom: 20%;
    right: 20%;
    width: 35px;
    height: 25px;
    animation-delay: -13s;
    background: var(--mint);
}

@keyframes moth-drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-15px, 15px) rotate(-3deg); }
    75% { transform: translate(10px, 25px) rotate(2deg); }
}

/* Diagonal Grid */
.diagonal-grid {
    position: relative;
    z-index: 10;
    transform: rotate(0deg);
    padding: 0 5vw;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    transform: translateX(3vw);
}

.domain-name {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f0e6ff;
    text-shadow:
        0 0 10px rgba(199, 146, 255, 0.8),
        0 0 30px rgba(199, 146, 255, 0.5),
        0 0 60px rgba(199, 146, 255, 0.3);
    margin-bottom: 1rem;
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% { text-shadow: 0 0 10px rgba(199, 146, 255, 0.8), 0 0 30px rgba(199, 146, 255, 0.5), 0 0 60px rgba(199, 146, 255, 0.3); }
    100% { text-shadow: 0 0 15px rgba(199, 146, 255, 1), 0 0 40px rgba(199, 146, 255, 0.7), 0 0 80px rgba(199, 146, 255, 0.4); }
}

.tagline {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--rose);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.terminal-prompt {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    color: var(--mint);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(13, 15, 26, 0.7);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(199, 146, 255, 0.2);
}

.prompt-symbol {
    color: var(--coral);
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--purple-glow);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Sections */
section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.content-block {
    max-width: 600px;
    position: relative;
    padding: 3rem;
    background: rgba(26, 23, 48, 0.5);
    border: 1px solid rgba(199, 146, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.about .content-block {
    margin-left: 10vw;
    transform: translateX(2vw);
}

.features .content-block {
    margin-left: auto;
    margin-right: 8vw;
    transform: translateX(-1vw);
}

.contact .content-block {
    margin-left: 15vw;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--purple-glow);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.body-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--lavender);
    margin-bottom: 1rem;
}

.annotation {
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color: var(--coral);
    opacity: 0.8;
    margin-top: 1rem;
}

/* Features */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(199, 146, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateX(8px);
    border-color: var(--purple-glow);
}

.feature-icon {
    color: var(--mint);
    font-size: 1.2rem;
}

.feature-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--lavender);
}

/* Contact */
.enchanted-link {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: var(--coral);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--coral);
    border-radius: 4px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.enchanted-link:hover {
    background: rgba(255, 140, 90, 0.15);
    box-shadow: 0 0 20px rgba(255, 140, 90, 0.3);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-text {
    font-family: 'Caveat', cursive;
    font-size: 0.9rem;
    color: var(--rose);
    display: block;
    margin-bottom: 0.3rem;
}

.scroll-arrow {
    color: var(--purple-glow);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Responsive */
@media (max-width: 768px) {
    .content-block {
        margin-left: 5vw !important;
        margin-right: 5vw !important;
        transform: none !important;
        padding: 2rem;
    }

    .hero-content {
        transform: none;
    }
}
