:root {
    --bg-dark: #050508;
    --primary: #ff1a40;
    --primary-glow: rgba(255, 26, 64, 0.6);
    --secondary: #6e1bbd;
    --text-main: #f0f0f5;
    --text-muted: #9ba0aa;
    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: "Outfit", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%; left: -10%; opacity: 0.15;
}

.orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -20%; right: -10%; opacity: 0.2;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

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

.glass-container {
    position: relative; z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 4rem;
    text-align: center;
    max-width: 700px; width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
    margin: 2rem 0;
}

.glass-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 26, 64, 0.1);
}

.logo-wrapper { margin-bottom: 1.5rem; display: inline-block; }

.logo {
    width: 120px; height: 120px;
    border-radius: 20px; object-fit: cover;
    box-shadow: 0 0 30px var(--primary-glow);
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(255, 26, 64, 0.4); }
    100% { box-shadow: 0 0 50px rgba(255, 26, 64, 0.8), 0 0 100px rgba(110, 27, 189, 0.4); }
}

.glitch {
    font-size: 3rem; font-weight: 900;
    text-transform: uppercase; position: relative;
    margin-bottom: 0.3rem; letter-spacing: 2px;
    background: linear-gradient(to right, #fff, #ffb3c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
}

.glitch::before {
    left: 2px; text-shadow: -2px 0 var(--primary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
    -webkit-text-fill-color: #fff;
}

.glitch::after {
    left: -2px; text-shadow: -2px 0 var(--secondary);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
    -webkit-text-fill-color: #fff;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 83px, 0); }
    20% { clip: rect(62px, 9999px, 35px, 0); }
    40% { clip: rect(98px, 9999px, 12px, 0); }
    60% { clip: rect(2px, 9999px, 55px, 0); }
    80% { clip: rect(44px, 9999px, 92px, 0); }
    100% { clip: rect(78px, 9999px, 5px, 0); }
}

.tagline {
    font-size: 1.1rem; color: var(--text-muted);
    font-weight: 300; margin-bottom: 2rem; letter-spacing: 1px;
}

.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 50px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88; font-size: 0.85rem;
    font-weight: 700; letter-spacing: 2px; margin-bottom: 2rem;
}

.status-dot {
    width: 8px; height: 8px;
    background: #00ff88; border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: blink 1.5s infinite;
}

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

.models-section { margin-top: 1rem; text-align: left; }
.models-section h2 {
    font-size: 1rem; color: var(--text-muted);
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1rem; text-align: center;
}

.model-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px; padding: 1.2rem;
    margin-bottom: 0.8rem;
    transition: border-color 0.3s, background 0.3s;
}

.model-card:hover {
    border-color: rgba(255, 26, 64, 0.4);
    background: rgba(255, 26, 64, 0.03);
}

.model-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 0.5rem;
}

.model-name { font-size: 1rem; font-weight: 700; color: #fff; }

.model-size {
    font-size: 0.8rem; color: var(--primary);
    background: rgba(255, 26, 64, 0.1);
    padding: 2px 10px; border-radius: 20px;
    font-weight: 500;
}

.model-desc {
    font-size: 0.85rem; color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.model-url {
    display: block; font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    word-break: break-all; margin-bottom: 0.6rem;
    font-family: monospace;
}

.dl-btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff; border: none; padding: 8px 20px;
    border-radius: 8px; font-weight: 700;
    font-family: "Outfit", sans-serif;
    letter-spacing: 1px; cursor: pointer;
    text-decoration: none; font-size: 0.8rem;
    transition: filter 0.2s, transform 0.2s;
}

.dl-btn:hover { filter: brightness(1.2); transform: scale(1.02); }

.api-section {
    margin-top: 2rem; text-align: left;
}

.api-section h2 {
    font-size: 1rem; color: var(--text-muted);
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1rem; text-align: center;
}

.api-block {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px; padding: 1.2rem;
}

.api-block p {
    font-size: 0.85rem; color: var(--text-muted);
    margin-bottom: 0.4rem; font-weight: 500;
}

.api-block pre {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.7rem 1rem; border-radius: 8px;
    overflow-x: auto; margin-bottom: 1rem;
    font-size: 0.78rem; color: #ffb3c1;
    font-family: monospace; border: 1px solid rgba(255,255,255,0.04);
}

.api-block pre:last-child { margin-bottom: 0; }

footer {
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center; color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .glass-container { padding: 2rem 1.5rem; }
    .glitch { font-size: 2rem; }
    .model-header { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}
