:root {
    --bg: #fefefe;
    --surface: rgba(255, 255, 255, 0.95);
    --surface-strong: rgba(255, 255, 255, 1);
    --text: #1a202c;
    --text-secondary: #4a5568;
    --muted: #718096;
    --accent: #e53e3e;
    --accent-light: #fed7d7;
    --gradient-start: #dc2626;
    --gradient-end: #eab308;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 35px 60px -12px rgba(0, 0, 0, 0.2);
    --radius: 28px;
    --border: rgba(255, 255, 255, 0.2);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 50%, #ca8a04 100%);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
    overflow: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-5px) rotate(0.5deg); }
    66% { transform: translateY(3px) rotate(-0.3deg); }
}

.wrapper {
    position: relative;
    z-index: 1;
    max-width: 720px;
    width: 100%;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 520px;
    padding: 64px 36px 36px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.card.loading {
    opacity: 0;
    transform: translateY(20px);
}

.card.loaded {
    opacity: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.8;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.logo {
    max-width: 220px;
    width: 100%;
    display: block;
    margin: 0 auto 42px;
    animation: gentlePulse 4s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
    transition: filter 0.3s ease;
}

.logo:focus {
    outline: 2px solid var(--gradient-start);
    outline-offset: 4px;
    border-radius: 8px;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.02) rotate(0.3deg); opacity: 0.99; }
}

h1 {
    margin: 0 0 48px;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.05); }
}

p {
    margin: 0 auto 32px;
    max-width: 560px;
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--text-secondary);
    font-weight: 400;
}

.text-line {
    display: block;
}

@media (min-width: 768px) {
    .text-line:nth-child(1),
    .text-line:nth-child(2) {
        display: inline-block;
        white-space: nowrap;
    }

    .text-line:nth-child(2)::after {
        content: ' ';
    }

    .text-line:nth-child(3) {
        display: block;
    }
}

@media (min-width: 768px) {
    .text-line:nth-child(1),
    .text-line:nth-child(2) {
        display: inline;
    }
    
    .text-line:nth-child(2)::after {
        content: ' ';
    }
    
    .text-line:nth-child(3) {
        display: block;
    }
}

.info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.pill {
    padding: 16px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.pill:hover::before {
    left: 100%;
}

.pill:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.pill.accent {
    background: linear-gradient(135deg, var(--accent), #c53030);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(229, 62, 62, 0.3);
}

.pill.accent:hover {
    box-shadow: 0 8px 24px rgba(229, 62, 62, 0.4);
}

@media (max-width: 520px) {
    body {
        padding: 20px 16px;
    }

    .card {
        padding: 56px 24px 32px;
        border-radius: 20px;
    }

    .logo {
        max-width: 200px;
        margin-bottom: 32px;
    }

    h1 {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
        margin-bottom: 40px;
    }

    p {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .info {
        gap: 12px;
    }

    .pill {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}
