
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700;900&display=swap');

:root {
    
    --f1-red: #FF1801;
    --f1-black: #15151E; 
    --f1-dark-gray: #38383f;
    --f1-light-gray: #d0d0d2;
    --f1-white: #ffffff;
    
    
    --bg-color: #111111; 
    --card-bg: #1e1e24;
    --text-primary: #ffffff;
    --text-secondary: #949498;
    
    
    --container-max-width: 1400px;
    --header-height: 80px;
    --border-radius: 8px; 
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Titillium Web', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}


.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-red { color: var(--f1-red); }
.text-uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--f1-red);
    color: var(--f1-white);
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--f1-red);
    border-radius: 4px; 
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%); 
}

.btn:hover {
    background-color: transparent;
    color: var(--f1-red);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--f1-white);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.btn-outline:hover {
    background-color: var(--f1-white);
    color: var(--f1-black);
}


input, select, textarea {
    background-color: var(--f1-dark-gray);
    border: 1px solid transparent;
    color: var(--f1-white);
    padding: 12px 16px;
    font-family: inherit;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--f1-red);
}


header {
    height: var(--header-height);
    background-color: rgba(21, 21, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--f1-red);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -1px;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--f1-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}


footer {
    background-color: var(--f1-black);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 5px solid var(--f1-red);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--f1-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border-left: 3px solid var(--f1-red);
    padding-left: 10px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--f1-red);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
    border-top: 1px solid #333;
    padding-top: 20px;
}


.table-container {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    background: var(--card-bg);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #2a2a2f;
}

th {
    background-color: #1a1a1e;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: #25252b;
    color: var(--f1-white);
}

.pos-1 { border-left: 4px solid var(--f1-red); }
.pos-2 { border-left: 4px solid #aaa; }
.pos-3 { border-left: 4px solid #cd7f32; }

@media (max-width: 768px) { .container { padding: 0 15px; } header { height: auto; position: relative; padding: 15px 0; } .nav-container { flex-direction: column; gap: 15px; } .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; font-size: 0.8rem; } main { padding-top: 20px; } .hero h1, h1 { font-size: 2.5rem !important; } .hero p { font-size: 1.1rem !important; } div[style*='grid-template-columns'] { grid-template-columns: 1fr !important; } .stats-card { margin-bottom: 20px; } .footer-content { grid-template-columns: 1fr; text-align: center; } .footer-col h3 { border-left: none; border-bottom: 3px solid var(--f1-red); display: inline-block; padding-bottom: 5px; padding-left: 0; } .table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; } }
