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

:root {
    --primary: #e0550b;
    --primary-dark: #b33c08;
    --accent: #facc15;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --bg: #f8fafc;
    --bg-secondary: rgba(255, 255, 255, 0.76);
    --border: rgba(148, 163, 184, 0.24);
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.18);
}

html {
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.2), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(224, 85, 11, 0.18), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: transparent;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
    pointer-events: none;
}

.container {
    max-width: 700px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

header {
    margin-bottom: 2rem;
}

.app-icon {
    width: 132px;
    height: 132px;
    margin: 0 auto 1.5rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.tagline {
    font-size: 1.075rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 42rem;
    margin: 0 auto;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--text-primary), #111827);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.store-label {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

.store-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.qr-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.qr-section h3 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.qr-section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.qr-code {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

footer {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .store-buttons {
        flex-direction: row;
    }

    .store-btn {
        flex: 1;
    }
}

@media (max-width: 640px) {
    body {
        padding: 1rem;
    }

    .container {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .store-text {
        min-width: 0;
    }

    .store-name {
        font-size: 1.1rem;
    }
}
