:root {
    --bg-dark: #0a0a0b;
    --bg-card: #111113;
    --bg-card-hover: #18181b;
    --accent: #c8ff00;
    --accent-dim: #8aad00;
    --text-primary: #e8e8ec;
    --text-secondary: #6b6b76;
    --text-muted: #3a3a42;
    --border: #1e1e22;
}

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

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Noise overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    opacity: 0.012;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
}

/* Ambient glow */
.glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
}

.glow--1 {
    background: var(--accent);
    opacity: 0.06;
    top: -200px;
    left: -100px;
    animation: drift 20s ease-in-out infinite;
}

.glow--2 {
    background: var(--accent-dim);
    opacity: 0.04;
    bottom: -200px;
    right: -100px;
    animation: drift 20s ease-in-out infinite reverse;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(60px, 40px); }
    66% { transform: translate(-30px, 60px); }
}

.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 40px;
}

/* Logo area */
.brand {
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.brand__logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 5.5rem);
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 12px;
    position: relative;
}

.brand__tagline {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Cards */
.cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    position: relative;
    width: 280px;
    height: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    animation: slideUp 0.8s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card__glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle at 50% 80%, rgba(200, 255, 0, 0.06), transparent 70%);
}

.card:hover .card__glow {
    opacity: 1;
}

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card__icon img {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(200, 255, 0, 0.3));
}

.card__title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.card__desc {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 24px;
    line-height: 1.6;
}

.card__arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card__arrow svg {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.card:hover .card__arrow {
    border-color: transparent;
    background: rgba(200, 255, 0, 0.12);
}

.card:hover .card__arrow svg {
    color: var(--accent);
}

/* Footer hint */
.footer {
    position: fixed;
    bottom: 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.4;
    animation: fadeIn 1.5s ease-out 0.8s backwards;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        gap: 30px;
        padding: 20px;
    }
    .cards {
        flex-direction: column;
    }
    .card {
        width: 100%;
        max-width: 360px;
        height: 260px;
    }
    .brand__tagline {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    .glow {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 400px) {
    .container {
        gap: 24px;
        padding: 16px;
    }
    .card {
        height: 240px;
        gap: 14px;
        border-radius: 12px;
    }
    .card__icon img {
        height: 75px;
    }
    .card__desc {
        padding: 0 16px;
        font-size: 0.8rem;
    }
    .glow {
        width: 240px;
        height: 240px;
    }
}
