:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #f43f5e; /* Rose Red */
    --accent-hover: #e11d48;
    --secondary-accent: #3b82f6;
    --border-color: rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(244, 63, 94, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* --- Header & Logo --- */
header {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 20px 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -1px;
}

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    fill: var(--accent-color);
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.logo span.text {
    background: linear-gradient(90deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* --- Typography for Articles --- */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 { font-size: 2.5em; font-weight: 800; text-align: center; margin-bottom: 40px; }
h2 { font-size: 2em; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; display: inline-block; }
h3 { font-size: 1.5em; color: var(--secondary-accent); }

p { margin-bottom: 1.5em; color: var(--text-muted); font-size: 1.1em; }

ul, ol { margin-bottom: 1.5em; padding-left: 20px; color: var(--text-muted); }
li { margin-bottom: 10px; }

/* --- Tables --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #253146;
    color: var(--accent-color);
    font-weight: 600;
}

tr:last-child td { border-bottom: none; }
tr:hover { background-color: rgba(255,255,255,0.02); }

/* --- Info Boxes --- */
.info-box, .alert-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--secondary-accent);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.alert-box {
    background: rgba(244, 63, 94, 0.1);
    border-left-color: var(--accent-color);
}

/* --- Forms (Contact) --- */
input, textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2);
}

button {
    background: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1em;
}

button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

/* --- Footer --- */
footer {
    background-color: #0b1120;
    color: var(--text-muted);
    text-align: center;
    padding: 60px 20px;
    margin-top: 100px;
    border-top: 1px solid var(--border-color);
}

footer a {
    color: #cbd5e1;
    margin: 0 15px;
    font-weight: 500;
}

footer a:hover {
    color: var(--accent-color);
}

/* --- Index Specific Components --- */
.video-player {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    width: 100%;
    /* Removed fixed height to reduce empty space */
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 60px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.video-player::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(244, 63, 94, 0.1) 0%, transparent 70%);
}

.sports-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.sport-btn {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px 20px;
    text-align: center;
    border-radius: 24px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sport-btn svg {
    width: 50px;
    height: 50px;
    fill: var(--text-color);
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.sport-btn span.label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    z-index: 1;
}

.sport-btn:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--glow);
}

.sport-btn:hover svg {
    fill: var(--accent-color);
    transform: scale(1.1);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    color: #fff;
}

.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--accent-color);
    margin-top: 10px;
    border-radius: 2px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card:hover {
    transform: translateY(-5px);
    background: #253146;
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.article-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.article-title a:hover {
    color: var(--accent-color);
}

.article-excerpt {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
}

.read-more:hover {
    color: var(--accent-hover);
}

.read-more svg {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    transition: transform 0.2s;
}

.read-more:hover svg {
    transform: translateX(4px);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .sports-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    header {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .logo { font-size: 24px; }
    .section-title { font-size: 26px; }
    .sport-btn { padding: 20px 10px; }
    .sports-buttons { gap: 15px; }
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; }
    .container { padding: 0 15px; }
}
