/* College Pool - Main Stylesheet */

/* Login Form Styles */
.login-section {
    margin: 40px auto;
    max-width: 400px;
    padding: 0 20px;
}

.login-container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #ffffff;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.readonly-field {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

.readonly-field:focus {
    border-color: #dee2e6 !important;
    box-shadow: none !important;
}

.field-note {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 4px;
    display: block;
}

.login-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.success {
    background-color: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password p {
    margin: 0;
}

.forgot-password a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #007bff;
    text-decoration: underline;
}

.signup-link p {
    margin: 0;
}

.signup-link a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.welcome-message {
    color: white;
    font-weight: 600;
    margin-right: 15px;
    font-size: 0.9rem;
}

/* Week Score Tooltip Styles */
.week-score {
    position: relative;
    cursor: pointer;
    background-color: #f0f9ff !important;
    transition: background-color 0.2s ease;
}

.week-score:hover {
    background-color: #dbeafe !important;
}

/* Sortable Week Header Styles */
.sortable-week,
.sortable-total {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
    position: relative;
}

.sortable-week:hover,
.sortable-total:hover {
    background-color: #e5e7eb !important;
}

.sort-arrow {
    font-size: 0.8em;
    margin-left: 4px;
    color: #6b7280;
}

.sortable-week:hover .sort-arrow,
.sortable-total:hover .sort-arrow {
    color: #374151;
}

/* Tooltip Toggle Styles */
.tooltip-toggle {
    margin-top: 10px;
}

.tooltip-toggle label {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
}

.tooltip-toggle input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.week-score[title]:hover:after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: pre-line;
    z-index: 1000;
    font-size: 0.85rem;
    line-height: 1.4;
    min-width: 180px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
    display: none; /* Hidden by default */
}

.week-score.tooltips-enabled[title]:hover:after {
    display: block; /* Show only when tooltips are enabled */
}

.week-score[title]:hover:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937;
    z-index: 1001;
    display: none; /* Hidden by default */
}

.week-score.tooltips-enabled[title]:hover:before {
    display: block; /* Show only when tooltips are enabled */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header nav a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.25) !important;
    font-size: 0.9rem;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header nav a:hover {
    color: #1e3a8a !important;
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-shadow: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu a:hover {
    color: #1e3a8a;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dropdown Navigation Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.25) !important;
    font-size: 0.9rem;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.dropdown-toggle:after {
    content: ' ▼';
    font-size: 0.7em;
    margin-left: 5px;
}

.dropdown:hover .dropdown-toggle {
    color: #1e3a8a !important;
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-shadow: none;
}

.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    z-index: 1000;
    margin-top: 0px;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
}

.dropdown-menu a {
    color: #ffffff !important;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    transform: none !important;
    box-shadow: none !important;
    margin: 2px;
    border-radius: 4px;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    transform: translateX(2px);
}

.dropdown-menu a:first-child {
    border-radius: 6px 6px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 6px 6px;
}

/* Modern Table Styles for Picker Records */
.picker-records {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.picker-records h2 {
    color: #1e3a8a;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.records-section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.records-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.15);
}

.records-section h3 {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
    padding: 1.5rem 2rem;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.records-section table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

.records-section thead {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.records-section thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.records-section tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.records-section tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.records-section tbody tr:hover {
    background-color: #e0f2fe;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.records-section tbody td {
    padding: 1rem 1.5rem;
    color: #374151;
    vertical-align: middle;
}

.records-section tbody td:first-child {
    font-weight: 700;
    color: #1e3a8a;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    text-align: center;
    border-radius: 6px;
    margin: 4px;
    width: 60px;
}

.records-section tbody tr:nth-child(1) td:first-child {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    color: #92400e;
}

.records-section tbody tr:nth-child(2) td:first-child {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #374151;
}

.records-section tbody tr:nth-child(3) td:first-child {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #9a3412;
}

.records-section tbody td strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .records-section {
        margin: 0 0.5rem 2rem 0.5rem;
        border-radius: 8px;
    }
    
    .records-section h3 {
        padding: 1rem 1.5rem;
        font-size: 1.25rem;
    }
    
    .records-section table {
        font-size: 0.85rem;
    }
    
    .records-section thead th,
    .records-section tbody td {
        padding: 0.75rem 1rem;
    }
    
    .picker-records h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .records-section thead th,
    .records-section tbody td {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .records-section h3 {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }
}

/* Modern Table Styles for Pool Results */
.participants-list {
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.participants-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.15);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.results-table thead {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
}

.results-table thead th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
}

.results-table thead th:first-child {
    text-align: left;
    min-width: 120px;
}

.results-table thead th:nth-child(2) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    font-weight: 700;
    min-width: 80px;
}

.results-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.results-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.results-table tbody tr:hover {
    background-color: #e0f2fe;
    transform: scale(1.005);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.results-table tbody td {
    padding: 0.75rem;
    color: #374151;
    vertical-align: middle;
    font-size: 0.85rem;
}

.results-table tbody td:first-child {
    font-weight: 600;
    color: #1e3a8a;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 6px;
    margin: 2px;
}

.results-table tbody td:nth-child(2) {
    font-weight: 700;
    color: #059669;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 6px;
    text-align: center;
}

/* Ranking styles for first three positions */
.results-table tbody tr:nth-child(1) td:first-child {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    color: #92400e;
    font-weight: 700;
}

.results-table tbody tr:nth-child(1) td:nth-child(2) {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    color: #92400e;
}

.results-table tbody tr:nth-child(2) td:first-child {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #374151;
    font-weight: 700;
}

.results-table tbody tr:nth-child(2) td:nth-child(2) {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #374151;
}

.results-table tbody tr:nth-child(3) td:first-child {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #9a3412;
    font-weight: 700;
}

.results-table tbody tr:nth-child(3) td:nth-child(2) {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #9a3412;
}

/* Week score styling */
.week-score {
    text-align: center;
    font-weight: 500;
    padding: 0.5rem !important;
    border-radius: 4px;
    margin: 1px;
    min-width: 50px;
}

.week-score:hover {
    background-color: #dbeafe !important;
    transform: scale(1.05);
    font-weight: 600;
}

/* Sortable column styling */
.sortable-week,
.sortable-total {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.sortable-week:hover,
.sortable-total:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px);
}

.sort-arrow {
    font-size: 0.7em;
    margin-left: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.sortable-week:hover .sort-arrow,
.sortable-total:hover .sort-arrow {
    opacity: 1;
}

/* Status and utility classes */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.no-results p {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 500;
}

.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    color: #059669;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 500;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Database test section styling */
.db-test {
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.status-box {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Responsive design for pool results */
@media (max-width: 768px) {
    .results-table {
        font-size: 0.75rem;
    }
    
    .results-table thead th,
    .results-table tbody td {
        padding: 0.5rem 0.25rem;
    }
    
    .results-table thead th:first-child,
    .results-table tbody td:first-child {
        min-width: 80px;
    }
    
    .week-score {
        min-width: 35px;
        padding: 0.25rem !important;
    }
    
    .participants-list {
        margin: 1rem 0;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .results-table {
        font-size: 0.7rem;
    }
    
    .results-table thead th,
    .results-table tbody td {
        padding: 0.25rem;
    }
    
    .week-score {
        min-width: 30px;
    }
}

/* Navigation for other pages */
nav,
.navbar nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a,
.navbar nav a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

nav a:hover,
nav a.active,
.navbar nav a:hover,
.navbar nav a.active {
    color: #1e3a8a !important;
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    color: white;
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-2px);
}

/* Hero Image/Placeholder */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.football-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.football-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.football-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e40af;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Picker Count Indicator */
.picker-count {
    font-size: 0.85em;
    color: #6b7280;
    font-weight: normal;
}

/* Picker Tooltip Styles */
.picker-tooltip {
    position: relative;
    cursor: pointer;
    color: #3730a3;
    font-weight: 600;
}

/* Win/Loss/Push Styling */
.wins {
    color: #059669;
    font-weight: 600;
}

.losses {
    color: #dc2626;
    font-weight: 600;
}

.pushes {
    color: #d97706;
    font-weight: 600;
}

.positive-weeks {
    color: #059669;
    font-weight: 600;
}

.negative-weeks {
    color: #dc2626;
    font-weight: 600;
}

.picker-tooltip:hover {
    background-color: #f0f9ff !important;
}

.picker-tooltip[title]:hover:after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 1000;
    font-size: 0.85rem;
    line-height: 1.4;
    min-width: 200px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
    font-weight: normal;
}

.picker-tooltip[title]:hover:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937;
    z-index: 1001;
}

.game-description {
            background-color: #e1f5fe;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
            border-left: 4px solid #1e3a8a;
        }
        .how-to-play {
            background-color: #e3f2fd;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
            border-left: 4px solid #3730a3;
        }
        .competition-section {
            background-color: #f3e5f5;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
            border-left: 4px solid #7c3aed;
        }
        .create-competition-btn {
            display: inline-block;
            background-color: #1e3a8a;
            color: white;
            padding: 15px 25px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            margin-top: 15px;
            transition: background-color 0.3s;
        }
        .create-competition-btn:hover {
            background-color: #3730a3;
        }
        ul {
            padding-left: 20px;
        }
        li {
            margin-bottom: 8px;
        }
        .highlight {
            background-color: #ffeb3b;
            padding: 2px 4px;
            border-radius: 3px;
        }