/*
Theme Name: Liga Apuestas Theme
Theme URI: https://antigravity.dev
Author: Antigravity
Description: A premium, dark-mode theme for the Liga Apuestas betting system.
Version: 1.0.0
Text Domain: liga-theme
*/

:root {
    --color-bg: #0f172a;
    /* Slate 900 */
    --color-card: #1e293b;
    /* Slate 800 */
    --color-text: #f8fafc;
    /* Slate 50 */
    --color-text-muted: #94a3b8;
    /* Slate 400 */
    --color-primary: #38bdf8;
    /* Sky 400 */
    --color-primary-hover: #0ea5e9;
    /* Sky 500 */
    --color-accent: #f43f5e;
    /* Rose 500 */
    --color-success: #22c55e;
    /* Green 500 */

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-primary-hover);
}

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

/* Header */
.site-header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.header-left,
.header-right {
    flex: 1;
    /* Equal width to ensure center is true center */
    display: flex;
    align-items: center;
}

.header-right {
    justify-content: flex-end;
}

.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

/* Logo */
.brand-link {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--color-text-muted);
    font-weight: 500;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--color-text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.1s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--color-primary);
    color: #0f172a;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* Cards */
.card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Forms */
input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    margin-bottom: 1rem;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.text-muted {
    color: var(--color-text-muted);
}