:root {
    --orange: #FF6600;
    --black: #000000;
    --dark: #0f0f0f;
    --grey: #1e1e1e;
    --text-muted: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background: var(--black); color: white; -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }

/* LOGIN DESIGN */
.login-container { height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #222, #000); padding: 25px; }
.login-box { width: 100%; max-width: 360px; text-align: center; }
.login-logo { width: 100px; margin-bottom: 10px; }
.hero-title { font-weight: 900; font-size: 1.8rem; margin-bottom: 30px; letter-spacing: -1px; }
.hero-title span { color: var(--orange); }
.input-group { margin-bottom: 15px; }
.input-group input { width: 100%; padding: 16px; border-radius: 12px; border: 1px solid #333; background: #111; color: white; outline: none; transition: 0.3s; }
.input-group input:focus { border-color: var(--orange); }
.btn-login { width: 100%; padding: 16px; background: var(--orange); border: none; border-radius: 12px; color: white; font-weight: 900; cursor: pointer; }

/* TOP BAR */
.top-bar { position: fixed; top: 0; width: 100%; height: 70px; background: rgba(0,0,0,0.9); border-bottom: 1.5px solid var(--orange); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; z-index: 1000; backdrop-filter: blur(10px); }
.main-logo { height: 40px; }
.user-badge { background: var(--grey); padding: 5px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: bold; border: 1px solid #333; }

/* LAYOUT */
.container { padding: 90px 15px 110px; max-width: 500px; margin: 0 auto; }
.section-label { font-size: 0.8rem; text-transform: uppercase; color: var(--orange); margin-bottom: 15px; font-weight: 900; letter-spacing: 1px; }

/* INICIO COMPONENTS */
.hero-card { background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.2)), url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?q=80&w=500'); background-size: cover; height: 220px; border-radius: 20px; display: flex; align-items: flex-end; padding: 20px; margin-bottom: 20px; border: 1px solid #333; }
.hero-content h1 { font-size: 1.4rem; font-weight: 900; }
.tag { background: var(--orange); font-size: 0.6rem; padding: 3px 8px; border-radius: 4px; font-weight: bold; }

.quick-stats { display: flex; gap: 10px; margin-bottom: 25px; }
.stat-box { flex: 1; background: var(--dark); border: 1px solid var(--grey); padding: 15px; border-radius: 15px; text-align: center; }
.stat-box span { display: block; font-size: 1.2rem; font-weight: 900; color: var(--orange); }
.stat-box label { font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; }

/* JORNADAS SECTIONS */
.jornada-block { margin-bottom: 25px; }
.block-title { background: var(--grey); padding: 10px 15px; border-radius: 10px; font-size: 0.75rem; font-weight: bold; color: var(--text-muted); margin-bottom: 10px; }
.j-row { display: flex; align-items: center; background: var(--dark); padding: 15px; border-radius: 12px; margin-bottom: 8px; border: 1px solid #222; }
.j-id { font-weight: 900; color: var(--orange); width: 40px; }
.j-teams { flex-grow: 1; font-size: 0.85rem; }
.j-status { font-size: 0.7rem; font-weight: bold; color: var(--text-muted); }
.done { border-left: 4px solid #4caf50; }
.next { border-left: 4px solid var(--orange); }

/* MATCH CARD */
.live-mode { background: #050505; border: 1px solid #ff0000; border-radius: 20px; padding: 20px; position: relative; }
.live-indicator { color: #ff0000; font-size: 0.65rem; font-weight: 900; margin-bottom: 10px; }
.match-teams { display: flex; justify-content: space-around; align-items: center; margin-bottom: 15px; }
.t-col { text-align: center; font-weight: bold; font-size: 0.8rem; }
.t-col img, .dummy-logo { width: 40px; height: 40px; margin-bottom: 5px; background: #333; border-radius: 50%; }
.vs-col { font-weight: 900; color: var(--text-muted); }
.btn-action { display: block; background: #ff0000; text-align: center; padding: 12px; border-radius: 12px; color: white; text-decoration: none; font-weight: 900; font-size: 0.8rem; }

/* NAV */
.bottom-nav { position: fixed; bottom: 0; width: 100%; height: 75px; background: #000; border-top: 1px solid var(--orange); display: flex; justify-content: space-around; align-items: center; }
.nav-item { font-size: 0.65rem; color: #555; text-align: center; cursor: pointer; transition: 0.3s; }
.nav-item.active { color: var(--orange); transform: translateY(-5px); font-weight: 900; }
.nav-item span { display: block; margin-top: 4px; }

/* TABLE */
.table-card { background: var(--dark); border-radius: 15px; overflow: hidden; border: 1px solid var(--grey); }
.minimal-table { width: 100%; border-collapse: collapse; }
.minimal-table th { background: #1a1a1a; padding: 12px; font-size: 0.7rem; color: var(--orange); text-align: center; }
.minimal-table td { padding: 15px; font-size: 0.85rem; text-align: center; border-bottom: 1px solid #222; }
.me { background: rgba(255,102,0,0.1); font-weight: bold; color: var(--orange); }
