@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #0A0A0A;
    --surface-color: #1A1A1A;
    --accent-color: #00FF88;
    --accent-glow: rgba(0, 255, 136, 0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --error-color: #FF4B2B;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, #00FF88 0%, #00D16B 100%);
    color: #000;
    box-shadow: 0 4px 15px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary.pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 var(--accent-glow); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Cards */
.card {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Match Cards */
.match-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #1A1A1A 0%, #2A2A2A 100%);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid var(--accent-color);
}

.match-info {
    flex: 1;
}

.match-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.match-status {
    font-size: 0.75rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.match-status::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.match-odds {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Header */
.top-header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 40px 0 20px;
    text-align: center;
}

.hero-img-container {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headline {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.headline span {
    color: var(--accent-color);
}

.subheadline {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.user-avatars {
    display: flex;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    margin-left: -8px;
    background: #444;
}

.avatar:first-child {
    margin-left: 0;
}

/* Bridge Page Styles */
.step-header {
    margin-top: 30px;
    margin-bottom: 30px;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 10px;
    width: 33%;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--accent-glow);
}

.quiz-container {
    padding-top: 20px;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.quiz-step.active {
    display: block;
}

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

.option-btn {
    display: block;
    width: 100%;
    padding: 18px;
    margin-bottom: 15px;
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.option-btn:hover, .option-btn:active {
    border-color: var(--accent-color);
    background: rgba(0, 255, 136, 0.05);
}

/* Loader */
.loader-screen {
    text-align: center;
    padding: 60px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Success Card */
.success-check {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #000;
    font-size: 2rem;
}
