/* Dashboard Styles */
.ludo-dashboard {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 15px;
    color: white;
    margin-bottom: 20px;
}

.profile-header .profile-image img {
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
}

.profile-info h2 {
    margin: 0 0 5px 0;
    font-size: 1.5em;
}

.balance-box {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    flex-direction: column;
}

.balance-box .label {
    font-size: 0.7em;
    opacity: 0.9;
}

.balance-box .amount {
    font-size: 1.3em;
    font-weight: bold;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.btn {
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary { background: #667eea; color: white; }
.btn-secondary { background: #48bb78; color: white; }
.btn-success { background: #38a169; color: white; }
.btn-warning { background: #d69e2e; color: white; }

/* Tournament Cards */
.section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section h3 {
    margin-top: 0;
    color: #2d3748;
}

.tournament-card {
    background: #f7fafc;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tournament-info {
    display: flex;
    gap: 15px;
}

.tournament-info span {
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.status {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: bold;
}

.status.open { color: #48bb78; }
.status.active { color: #667eea; }
.status.pending_bet { color: #d69e2e; }

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.menu-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #2d3748;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.menu-item:hover {
    transform: scale(1.05);
}

.menu-item .icon {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

.menu-item .label {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .tournament-card {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}