/* ============================================
   LokiMoki — Landing Page
   Simple & Wow: dark, purple, minimal
   ============================================ */

:root {
    --bg: #07070d;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.07);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(124,58,237,0.4);
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-glow: rgba(124,58,237,0.25);
    --accent-gradient: linear-gradient(135deg, #7c3aed, #a78bfa);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #475569;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: 0.22s cubic-bezier(0.4,0,0.2,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--text); }

/* --- Layout --- */
.lk-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.lk-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(7,7,13,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.lk-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lk-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.lk-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.lk-logo-name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lk-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lk-nav-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--ease);
}
.lk-nav-link:hover { color: var(--text); background: var(--bg-card); }

/* ============================================
   HERO
   ============================================ */
.lk-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.lk-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.lk-aurora::before {
    content: '';
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.16) 0%, transparent 68%);
    border-radius: 50%;
    animation: auroraFloat 9s ease-in-out infinite;
}

.lk-aurora::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(167,139,250,0.07) 0%, transparent 70%);
    border-radius: 50%;
    animation: auroraFloat 13s ease-in-out infinite reverse;
}

@keyframes auroraFloat {
    0%,100% { transform: translateX(-50%) translateY(0); opacity: .7; }
    50%      { transform: translateX(-50%) translateY(-24px); opacity: 1; }
}

.lk-hero .lk-container { position: relative; z-index: 1; }

.lk-hero-content {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

/* Badge */
.lk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.22);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 28px;
    animation: fadeUp .6s ease both;
}

.lk-badge-dot {
    width: 6px; height: 6px;
    background: var(--accent-light);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.4; transform:scale(.7); }
}

/* Heading */
.lk-hero-title {
    font-size: clamp(42px, 7.5vw, 80px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.03;
    margin-bottom: 24px;
    animation: fadeUp .6s .08s ease both;
}

.lk-hero-title .grad {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.lk-hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 48px;
    line-height: 1.7;
    animation: fadeUp .6s .16s ease both;
}

/* --- Join Form --- */
.lk-join {
    animation: fadeUp .6s .24s ease both;
}

.lk-join-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.lk-join-row {
    display: flex;
    gap: 10px;
    max-width: 540px;
    margin: 0 auto 10px;
}

.lk-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font);
    transition: all var(--ease);
    outline: none;
}
.lk-input:focus {
    border-color: var(--accent);
    background: rgba(124,58,237,0.07);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.lk-input::placeholder { color: var(--text-dim); }

.lk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 15px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: all var(--ease);
    white-space: nowrap;
}

.lk-btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.lk-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(124,58,237,.45);
    filter: brightness(1.08);
}
.lk-btn-primary:active { transform: translateY(0); }

.lk-btn-icon {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 15px 16px;
}
.lk-btn-icon:hover { background: var(--bg-card-hover); border-color: var(--border-hover); color: var(--text); }

.lk-btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    max-width: 540px;
    width: 100%;
    margin-top: 2px;
}
.lk-btn-ghost:hover { border-color: var(--border-hover); color: var(--text); background: var(--bg-card); }

.lk-join-recent {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 16px;
}
.lk-join-recent a { color: var(--accent-light); font-weight: 500; }
.lk-join-recent a:hover { text-decoration: underline; }

/* ============================================
   FEATURES
   ============================================ */
.lk-features {
    padding: 80px 0 100px;
}

.lk-section-tag {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.lk-section-heading {
    text-align: center;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.lk-section-sub {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    max-width: 460px;
    margin: 0 auto 52px;
    line-height: 1.65;
}

.lk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.lk-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    transition: all var(--ease);
    position: relative;
    overflow: hidden;
    animation: fadeUp .5s ease both;
}

.lk-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    opacity: 0;
    transition: opacity var(--ease);
}

.lk-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(124,58,237,0.1);
}
.lk-card:hover::before { opacity: 1; }

.lk-card-icon {
    width: 44px; height: 44px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.18);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
    transition: all var(--ease);
}
.lk-card:hover .lk-card-icon {
    background: rgba(124,58,237,0.18);
    border-color: rgba(124,58,237,0.4);
    transform: scale(1.06);
}

.lk-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}

.lk-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.lk-card:nth-child(1) { animation-delay:.04s; }
.lk-card:nth-child(2) { animation-delay:.08s; }
.lk-card:nth-child(3) { animation-delay:.12s; }
.lk-card:nth-child(4) { animation-delay:.16s; }
.lk-card:nth-child(5) { animation-delay:.20s; }
.lk-card:nth-child(6) { animation-delay:.24s; }

/* ============================================
   FOUNDERS
   ============================================ */
.lk-founders {
    padding: 40px 0 60px;
}

.lk-founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 40px auto 0;
}

.lk-founder {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    text-align: center;
    transition: all var(--ease);
    animation: fadeUp .5s ease both;
    position: relative;
    overflow: hidden;
}

.lk-founder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    opacity: 0;
    transition: opacity var(--ease);
}

.lk-founder:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(124,58,237,0.12);
}
.lk-founder:hover::before { opacity: 1; }

.lk-founder-avatar {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 0 8px 28px var(--accent-glow);
    transition: transform var(--ease);
}

.lk-founder-avatar-alt {
    background: linear-gradient(135deg, #a78bfa, #c4b5fd);
}

.lk-founder:hover .lk-founder-avatar {
    transform: scale(1.06);
}

.lk-founder-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.lk-founder-role {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 600px) {
    .lk-founders-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.lk-faq {
    padding: 40px 0 100px;
}

.lk-faq-list {
    max-width: 720px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lk-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--ease);
}

.lk-faq-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.lk-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    transition: color var(--ease);
}
.lk-faq-item summary::-webkit-details-marker { display: none; }
.lk-faq-item summary:hover { color: var(--accent-light); }

.lk-faq-item summary i {
    color: var(--text-dim);
    font-size: 13px;
    transition: transform var(--ease), color var(--ease);
}

.lk-faq-item[open] summary i {
    transform: rotate(180deg);
    color: var(--accent-light);
}

.lk-faq-item p {
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.lk-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.lk-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lk-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lk-footer-logo img { width: 22px; height: 22px; object-fit: contain; }
.lk-footer-logo-name {
    font-size: 14px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lk-footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}
.lk-footer-links a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color var(--ease);
}
.lk-footer-links a:hover { color: var(--text-muted); }

.lk-footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from { opacity:0; transform:translateY(18px); }
    to   { opacity:1; transform:translateY(0);    }
}

/* ============================================
   HIDE LEGACY SECTIONS
   ============================================ */
#topSponsors, #teams, #tryEasier, #poweredBy,
#sponsors, #pastSponsors, #advertisers, #supportUs,
#snow-container, .hero-figure,
.site-header, .site-footer,
.body-wrap > main > section.hero,
.body-wrap > main > section.cta { display: none !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .lk-hero { padding: 100px 0 60px; }
    .lk-join-row { flex-direction: column; }
    .lk-btn-icon { display: none; }
    .lk-grid { grid-template-columns: repeat(2,1fr); }
    .lk-footer-inner { flex-direction: column; text-align: center; }
    .lk-footer-links { flex-wrap: wrap; justify-content: center; gap: 14px; }
}

@media (max-width: 480px) {
    .lk-grid { grid-template-columns: 1fr; }
    .lk-nav { display: none; }
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
