:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --dark: #1a252f;
    --light: #ecf0f1;
    --success: #27ae60;
    --warning: #f39c12;
    --gold: #f1c40f;
    --silver: #bdc3c7;
    --bronze: #cd7f32;
    --board-light: #f0d9b5;
    --board-dark: #b58863;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('Concept Background.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--light);
    min-height: 100vh;
    margin-left: 250px;
}

.container {
    max-width: none;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    background: url('Concept Background.png') no-repeat center center;
    background-size: cover;
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    left: 0;
    top: 0;
    height: auto;
    min-height: 100vh;
    width: 261px;
    z-index: 1000;
    border-right: 2px solid #35b0b2;
    overflow-y: auto;
}

.logo-area {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.nav-link:hover {
    background: rgba(52, 152, 219, 0.2);
    color: var(--secondary);
}

.nav-link.active {
    background: var(--secondary);
    color: white;
}

.user-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    margin-top: auto;
}

.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    cursor: pointer;
    object-fit: cover;
}

/* New Game Quick Action */
.new-game-quick {
    background: linear-gradient(45deg, var(--accent), #c0392b);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--accent);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-game-quick:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary), #2980b9);
    color: white;
}

.btn-success {
    background: linear-gradient(45deg, var(--success), #229954);
    color: white;
}

.btn-warning {
    background: linear-gradient(45deg, var(--warning), #d68910);
    color: white;
}

.btn-danger {
    background: linear-gradient(45deg, var(--accent), #c0392b);
    color: white;
}

.btn-gold {
    background: linear-gradient(45deg, var(--gold), #d4ac0d);
    color: #2c3e50;
}

.btn-new-game {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn-new-game:hover {
    background: linear-gradient(45deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid white;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

/* Avatar Styles */
.avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.8);
}

/* New Game Focus Styles */
.new-game-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.new-game-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
    border-color: var(--gold);
}

.new-game-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.new-game-card h3 {
    color: var(--light);
    margin-bottom: 10px;
}

.new-game-card p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.new-game-card .time {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: bold;
    margin: 10px 0;
}

.time-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.time-btn {
    padding: 8px 16px;
    border: 2px solid var(--secondary);
    background: rgba(52, 152, 219, 0.1);
    color: var(--light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.time-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.time-btn.active {
    background: var(--secondary);
    border-color: var(--gold);
}

.match-search {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
}

.opponent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.opponent-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.opponent-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.opponent-card.selected {
    border-color: var(--gold);
    background: rgba(241, 196, 15, 0.1);
}

.opponent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 0;
    border: none;
    margin: 0 auto 10px;
    object-fit: cover;
}

.opponent-name {
    font-weight: bold;
    color: var(--light);
    margin-bottom: 5px;
}

.opponent-rating {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.select-btn {
    background: var(--success);
    color: white;
}

.skip-btn {
    background: var(--accent);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Game Offers */
.game-offers {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.offer-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.offer-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.offer-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    transform: translateX(5px);
}

.offer-player {
    display: flex;
    align-items: center;
    gap: 15px;
}

.offer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    object-fit: cover;
}

.offer-details {
    flex: 1;
}

.offer-name {
    font-weight: bold;
    color: var(--light);
    margin-bottom: 5px;
}

.offer-time {
    color: var(--gold);
    font-size: 0.9rem;
}

.offer-rating {
    color: #95a5a6;
    font-size: 0.9rem;
}

.accept-offer-btn {
    background: var(--success);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.accept-offer-btn:hover {
    background: #229954;
    transform: translateY(-2px);
}

/* Chess Board */
.chess-board {
    width: 600px;
    height: 600px;
    margin: 0 auto;
    border: 3px solid #333;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Chat Styles */
.chat-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 15px;
}

.chat-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    max-width: 80%;
}

.chat-message.self {
    margin-left: auto;
    background: rgba(52, 152, 219, 0.3);
}

.chat-input {
    display: flex;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(26, 37, 47, 0.95);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid var(--gold);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Game Controls */
.game-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.control-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-btn:hover {
    background: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.control-btn.active {
    background: var(--secondary);
    color: white;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--success);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* Tournament Styles */
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tournament-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
    border: 2px solid var(--secondary);
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    border-color: var(--gold);
}

.tournament-timer {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    text-align: center;
    margin: 10px 0;
}

/* Leaderboard Styles */
.leaderboard {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.leaderboard th {
    background: rgba(52, 152, 219, 0.3);
    padding: 15px;
    text-align: left;
    color: var(--gold);
}

.leaderboard td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard .position {
    width: 60px;
    text-align: center;
    font-weight: bold;
}

.leaderboard .position-1 { color: var(--gold); }
.leaderboard .position-2 { color: var(--silver); }
.leaderboard .position-3 { color: var(--bronze); }

/* New Game Matchmaking */
.matchmaking-search {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(231, 76, 60, 0.1));
    border: 2px solid var(--accent);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.search-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.search-dots {
    display: flex;
    gap: 10px;
}

.search-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--secondary);
    animation: searchPulse 1.5s infinite;
}

.search-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.search-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes searchPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

.estimated-time {
    color: var(--gold);
    font-size: 1.2rem;
    margin: 20px 0;
}

.cancel-search-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cancel-search-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 10px 15px;
        flex-wrap: wrap;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        flex-wrap: wrap;
    }
    
    .chess-board {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
    
    .user-area {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .new-game-container {
        grid-template-columns: 1fr;
    }
    
    .opponent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .tournament-grid {
        grid-template-columns: 1fr;
    }
    
    .opponent-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-in {
    animation: slideIn 0.5s ease;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Header/Navigation Panel Scrollbar - Black */
.header::-webkit-scrollbar {
    width: 8px;
}

.header::-webkit-scrollbar-track {
    background: #000;
    border-radius: 5px;
}

.header::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

.header::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Dark Mode Overrides */
.dark-mode {
    background: #0a0a0a;
    color: #e0e0e0;
}

.dark-mode .card {
    background: rgba(30, 30, 30, 0.9);
}

.dark-mode .form-control {
    background: rgba(50, 50, 50, 0.5);
    border-color: #444;
}

/* Quick Play Button */
.quick-play-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.quick-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
}

.quick-play-btn.pulse {
    animation: quickPlayPulse 2s infinite;
}

@keyframes quickPlayPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    }
    50% {
        box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4), 0 0 0 10px rgba(231, 76, 60, 0.2);
    }
}

@keyframes leaderboardGlow {
    0% {
        border-left-color: rgba(241, 196, 15, 0.5);
        border-bottom-color: rgba(241, 196, 15, 0.5);
        border-left-width: 3px;
        border-bottom-width: 3px;
    }
    100% {
        border-left-color: rgba(241, 196, 15, 1);
        border-bottom-color: rgba(241, 196, 15, 1);
        border-left-width: 4px;
        border-bottom-width: 4px;
    }
}

/* Token Leaderboard Styles */
.token-leaderboard-sidebar {
    position: fixed;
    left: 0;
    top: 350px;
    width: 240px;
    background: url('Concept Background.png') center/cover;
    backdrop-filter: blur(10px);
    border: 2px solid white;
    border-radius: 15px;
    padding: 20px;
    z-index: 1001;
    animation: leaderboardGlow 3s ease-in-out infinite alternate;
}

.token-leaderboard-sidebar h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.token-leaderboard-sidebar .leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.token-leaderboard-sidebar .leaderboard-list::-webkit-scrollbar {
    width: 6px;
}

.token-leaderboard-sidebar .leaderboard-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.token-leaderboard-sidebar .leaderboard-list::-webkit-scrollbar-thumb {
    background: rgba(241, 196, 15, 0.6);
    border-radius: 3px;
}

.token-leaderboard-sidebar .leaderboard-list::-webkit-scrollbar-thumb:hover {
    background: rgba(241, 196, 15, 0.8);
}

.token-leaderboard-sidebar .leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.token-leaderboard-sidebar .leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.token-leaderboard-sidebar .leaderboard-item.top-player {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(231, 76, 60, 0.1));
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.token-leaderboard-sidebar .leaderboard-item .rank {
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

.token-leaderboard-sidebar .leaderboard-item .player-name {
    flex: 1;
    color: var(--light);
    font-weight: 500;
    margin: 0 10px;
}

        .token-leaderboard-sidebar .leaderboard-item .token-count {
            color: white;
            font-weight: 600;
            font-size: 11px;
        }

        /* Navigation Button Styles */
        .nav-btn {
            position: relative;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--glass-border);
            color: var(--text-primary);
            padding: 6px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            backdrop-filter: blur(10px);
            width: 72px;
            height: 72px;
            min-width: 72px;
            min-height: 72px;
        }

        .nav-btn:hover {
            background: rgba(53, 176, 178, 0.15);
            border-color: var(--accent-teal);
            transform: translateY(-2px) scale(1.1);
            box-shadow: 0 6px 20px rgba(53, 176, 178, 0.3);
        }

        .nav-btn i {
            font-size: 3.2rem;
            color: #f0d9b5;
        }

        .nav-links {
            display: flex;
            gap: 0.6rem;
            align-items: center;
            justify-content: center;
            width: fit-content;
            max-width: 100%;
            padding: 0.4rem 0.8rem;
            margin: 0 auto;
            border-radius: 8px;
            background: rgba(10, 26, 48, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .notification-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--gradient-primary);
            color: white;
            font-size: 0.7rem;
            font-weight: bold;
            padding: 2px 5px;
            border-radius: 10px;
            min-width: 16px;
            text-align: center;
            box-shadow: 0 2px 6px rgba(53, 176, 178, 0.4);
            animation: pulse 2s infinite;
            z-index: 10;
        }

        /* Logo hover effect */
        .logo i {
            transition: all 0.3s ease;
        }

        .logo:hover i {
            transform: scale(1.1) rotate(15deg);
            text-shadow: 0 0 25px rgba(53, 176, 178, 0.8);
            color: #4bc0c2;
        }

        /* Ensure theme switcher button inherits nav-btn styles */
        .theme-switcher .nav-btn {
            width: 72px;
            height: 72px;
        }
