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

:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-text: #f0f0f0;
    --color-muted: #888;
    --color-accent: #4ecdc4;
    --color-accent-hover: #3dbdb5;
    --max-width: 900px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-text);
}

/* Hero */
.hero {
    text-align: center;
    padding: 3rem 2rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.25rem;
    color: var(--color-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.coming-soon {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid #333;
    border-radius: 10px;
    color: var(--color-muted);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

/* Today's Tip */
.today-tip {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
    text-align: center;
}

.today-tip h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.today-tip-card {
    background: var(--color-surface);
    border: 1px solid #222;
    border-radius: 16px;
    text-align: left;
    transition: border-color 0.2s, transform 0.2s;
    overflow: hidden;
}

.today-tip-card:hover {
    border-color: #333;
}

.today-tip-link {
    display: block;
    padding: 1.75rem;
    color: inherit;
    text-decoration: none;
}

.today-tip-link:hover .today-tip-cta {
    color: var(--color-accent-hover);
}

.today-tip-date {
    display: block;
    font-size: 0.8rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.today-tip-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.today-tip-body {
    color: #c8c8c8;
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.today-tip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.today-tip-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.today-tip-cta {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.today-tip-footer {
    margin-top: 1rem;
    text-align: center;
}

.today-tip-browse {
    color: var(--color-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.today-tip-browse:hover {
    color: var(--color-text);
}

.coming-soon-wrap {
    margin-top: 2rem;
    text-align: center;
}

/* Skeleton loader */
.today-tip-card.skeleton {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skeleton-line {
    display: block;
    height: 1rem;
    border-radius: 4px;
    background: linear-gradient(90deg, #1c1c1c 0%, #262626 50%, #1c1c1c 100%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.4s ease-in-out infinite;
}

.skeleton-line-sm { width: 30%; height: 0.7rem; }
.skeleton-line-lg { width: 70%; height: 1.4rem; margin-bottom: 0.25rem; }

@keyframes skeleton-pulse {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Screenshots carousel */
.screenshots {
    padding: 4rem 0;
    text-align: center;
}

.screenshots h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

.carousel-outer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.screenshot-scroll {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px; /* prevent box-shadow clipping */
}

.screenshot-scroll::-webkit-scrollbar {
    display: none;
}

/* 3 items visible by default */
.screenshot {
    flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
    scroll-snap-align: start;
    text-align: center;
}

.screenshot img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    display: block;
}

.screenshot-label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Carousel buttons — flanking the scroll track */
.carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid #333;
    color: var(--color-text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover:not(:disabled) {
    background: #222;
    border-color: #555;
}

.carousel-btn:disabled {
    opacity: 0.25;
    cursor: default;
}

/* Features */
.features {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.features h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.feature {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 2rem;
}

.feature h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.feature p {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Privacy */
.privacy {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.privacy h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.privacy p {
    color: var(--color-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.privacy ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.privacy li {
    color: var(--color-muted);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.privacy li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.privacy a {
    color: var(--color-accent);
    text-decoration: none;
}

.privacy a:hover {
    text-decoration: underline;
}

.privacy h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.privacy-date {
    font-size: 0.85rem;
    color: #555;
    margin-top: 1rem;
}

/* Support EevieTips (Tip Jar) */
.support-eevie {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.support-eevie h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.support-eevie p {
    color: var(--color-muted);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 1.75rem;
    line-height: 1.55;
}

.bmc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    background: #ffdd00;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(255, 221, 0, 0.15);
}

.bmc-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 221, 0, 0.25);
}

.bmc-icon {
    font-size: 1.2rem;
}

/* Support */
.support {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.support h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.support p {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.support a {
    color: var(--color-accent);
    text-decoration: none;
}

.support a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
    border-top: 1px solid #222;
    text-align: center;
}

footer p {
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--color-muted);
}

/* Responsive — tablet: 2 items */
@media (max-width: 760px) {
    .screenshot {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Responsive — mobile */
@media (max-width: 500px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.05rem;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .carousel-outer {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    /* 1 item + peek at next */
    .screenshot {
        flex: 0 0 80%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
