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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #333;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tournament-info {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 20px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.nav-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: #4CAF50;
    border-color: #4CAF50;
}

.section {
    display: none;
    padding: 30px;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-card, .message-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.welcome-card h2, .message-card h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.rules {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    text-align: left;
}

.rules h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
}

.rules ul {
    list-style-position: inside;
    line-height: 1.8;
}

.primary-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.primary-btn:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.primary-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.secondary-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.secondary-btn:hover {
    background: #da190b;
}

.participant-form {
    margin-bottom: 30px;
}

.participant-form label {
    display: block;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
}

.participant-form input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.participant-form input:focus {
    outline: none;
    border-color: #4CAF50;
}

.tier-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.tier-section h3 {
    color: #2c5364;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 10px;
}

.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.player-card {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #4CAF50;
}

.player-card.selected {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.player-card .player-name {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.player-card .player-odds {
    font-size: 0.9em;
    opacity: 0.8;
}

.draft-summary {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.draft-summary h3 {
    color: #2c5364;
    margin-bottom: 15px;
    font-size: 1.4em;
}

#selectedPlayers p {
    font-size: 1.1em;
    margin: 10px 0;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

#selectedPlayers span {
    font-weight: bold;
    color: #4CAF50;
}

.last-updated {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

#leaderboardTable {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

tbody tr:hover {
    background: #f5f5f5;
}

tbody tr.leader {
    background: #fff9c4;
    font-weight: bold;
}

.player-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
}

.player-status.cut {
    background: #ffebee;
    color: #c62828;
}

.player-status.active {
    background: #e8f5e9;
    color: #2e7d32;
}

#adminLogin {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

#adminLogin input {
    width: 100%;
    padding: 12px;
    margin: 20px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}

.admin-panel {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.admin-panel h3 {
    color: #2c5364;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.admin-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    background: #0b7dda;
}

.admin-panel input, .admin-panel select {
    padding: 10px;
    margin: 5px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
}

#allPicks {
    max-height: 400px;
    overflow-y: auto;
    background: white;
    padding: 15px;
    border-radius: 8px;
}

.pick-card {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.pick-card h4 {
    color: #2c5364;
    margin-bottom: 10px;
}

.pick-card ul {
    list-style: none;
    padding-left: 0;
}

.pick-card li {
    padding: 5px 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    
    .player-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    nav {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
    }
}

/* Made with Bob */
