/* Core Variables & Pristine Reset */
:root {
    --bg-light: #f4f5f7; /* Very soft, premium icy gray */
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --accent-blue: #2563eb;
    --accent-green: #10b981;
    --accent-red: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

body {
    background: var(--bg-light);
    color: var(--text-main);
    min-height: 100vh;
    padding-bottom: 50px;
    -webkit-font-smoothing: antialiased;
}

.app-container { max-width: 480px; margin: 0 auto; padding: 20px; }

/* Vibrant Header */
.hub-header { text-align: center; margin: 20px 0 30px 0; }
.logo-text { font-size: 28px; font-weight: 900; letter-spacing: 1px; color: var(--accent-blue); }
.subtitle { font-size: 13px; font-weight: 700; color: var(--text-muted); letter-spacing: 3px; margin-top: 4px; }

/* Premium Floating Cards */
.premium-card {
    background: var(--card-bg);
    border-radius: 28px; /* Extremely soft, luxurious curves */
    padding: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* Smooth Pill Tabs */
.sport-tabs { display: flex; gap: 12px; margin-bottom: 24px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
.sport-tabs::-webkit-scrollbar { display: none; }
.tab {
    background: #ffffff; color: var(--text-muted); padding: 12px 28px;
    border: none; border-radius: 9999px; font-size: 15px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: all 0.2s;
}
.tab.active { background: var(--text-main); color: #ffffff; transform: scale(1.05); }

/* The Scoreboard Card */
.scoreboard-feed { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.match-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #f3f4f6; }
.league-tag { font-size: 12px; font-weight: 800; color: var(--text-muted); letter-spacing: 1px; }

/* Pulsing LIVE Animation */
.live-indicator { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent-red); }
.pulse-dot { width: 8px; height: 8px; background-color: var(--accent-red); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

/* Teams & Giant Scores */
.team-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.team-row:last-child { margin-bottom: 0; }
.team-info { display: flex; align-items: center; gap: 14px; }
.team-color-bubble { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.team-name { font-size: 20px; font-weight: 800; color: var(--text-main); }
.score-cluster { display: flex; align-items: center; gap: 20px; }
.score { font-size: 32px; font-weight: 900; color: var(--text-muted); }
.winning-score { color: var(--text-main); }

/* Interactive Icons */
.icon-btn { background: #f3f4f6; border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-muted); transition: all 0.2s; cursor: pointer; }
.action-heart:active { background: #fee2e2; color: var(--accent-red); transform: scale(0.9); }
.action-chat:active { background: #dbeafe; color: var(--accent-blue); transform: scale(0.9); }

/* Vibrant Ecosystem Pillars */
.ecosystem-grid { display: flex; flex-direction: column; gap: 16px; }
.ecosystem-card {
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
    color: white; border: none; position: relative; overflow: hidden;
}
.ecosystem-card:active { transform: scale(0.97); }
.card-content h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.card-content p { font-size: 14px; font-weight: 500; opacity: 0.9; }
.card-icon-large { font-size: 48px; opacity: 0.8; }

/* Dedicated Channel Gradients */
.universe-card { background: linear-gradient(135deg, #111827, #374151); box-shadow: 0 10px 30px rgba(17, 24, 39, 0.3); }
.fashionista-card { background: linear-gradient(135deg, #ec4899, #8b5cf6); box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3); }
.fitness-card { background: linear-gradient(135deg, #f97316, #ef4444); box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3); }

/* Bright Velvet Rope Modal */
.velvet-rope-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 24, 39, 0.4); backdrop-filter: blur(8px);
    display: flex; align-items: flex-end; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.velvet-rope-overlay.active { opacity: 1; pointer-events: all; }
.velvet-rope-modal {
    width: 100%; background: #ffffff; padding: 40px 24px 50px 24px;
    border-radius: 40px 40px 0 0; position: relative;
    transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1); text-align: center;
}
.velvet-rope-overlay.active .velvet-rope-modal { transform: translateY(0); }
.modal-icon-wrapper { font-size: 48px; color: var(--accent-blue); margin-bottom: 16px; }
.velvet-rope-modal h2 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.velvet-rope-modal p { color: var(--text-muted); font-size: 15px; margin-bottom: 30px; line-height: 1.5; }
.close-btn { position: absolute; top: 24px; right: 24px; background: #f3f4f6; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; color: var(--text-main); }
.luxury-input {
    width: 100%; background: #f9fafb; border: 2px solid #e5e7eb; border-radius: 20px;
    padding: 18px; font-size: 18px; font-weight: 600; margin-bottom: 16px; outline: none; transition: border 0.3s;
}
.luxury-input:focus { border-color: var(--accent-blue); background: #ffffff; }
.primary-btn {
    width: 100%; background: var(--text-main); color: #fff; border: none; border-radius: 20px;
    padding: 18px; font-size: 18px; font-weight: 800; cursor: pointer; transition: transform 0.2s;
}
.primary-btn:active { transform: scale(0.98); }
.switch-auth { margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--text-muted); cursor: pointer; }