* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 50%, #f1f5f9 100%);
    min-height: 100vh;
}

header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 48px;
    height: 48px;
    /* background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); */
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: #0f172a;
}

.logo-text p {
    font-size: 0.875rem;
    color: #64748b;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

nav a:hover {
    color: #2563eb;
}

.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 3rem 2rem;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-date {
    color: #bfdbfe;
    font-size: 1.125rem;
}

.register-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #1e40af;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.register-btn:hover {
    background: #dbeafe;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.5rem;
    padding: 1rem;
}

.info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #bfdbfe;
    font-size: 0.875rem;
}

.info-card-value {
    color: white;
    font-weight: 600;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
}

.content-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 1.5rem;
}

.tab {
    padding: 1rem 0.5rem;
    margin-right: 2rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    color: #64748b;
    font-weight: 500;
    transition: all 0.2s;
}

.tab:hover {
    color: #334155;
    border-color: #cbd5e1;
}

.tab.active {
    color: #2563eb;
    border-color: #2563eb;
}

.tab-content {
    padding: 1.5rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead tr {
    border-bottom: 1px solid #e2e8f0;
}

th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

th.center {
    text-align: center;
}

th.highlight {
    background: #eff6ff;
}

tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

tbody tr:hover {
    background: #f8fafc;
}

td {
    padding: 1rem;
    color: #0f172a;
}

td.center {
    text-align: center;
}

td.highlight {
    background: #eff6ff;
}

.position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
}

.position-playoff {
    background: #4371e5;
    color: white;
    border: 2px solid #2c5ac7;
}

.position-regular {
    background: #f1f5f9;
    color: #64748b;
}

.player-name {
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.player-name:hover {
    color: #2563eb;
}

.team-name {
    font-size: 0.875rem;
    color: #64748b;
}

.points {
    font-weight: 700;
    color: #1e40af;
}

.info-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.info-box p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    color: #0f172a;
}

#playoffCanvas {
    width: 100%;
    height: 600px;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.rules-section {
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 4px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 0.25rem;
}

.rules-section.primary {
    border-left-color: #2563eb;
    background: #eff6ff;
}

.rules-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.rules-section p {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.6;
}

.rules-section ul {
    font-size: 0.875rem;
    color: #334155;
    margin-left: 1.5rem;
    line-height: 1.8;
}