/* Dashboard Specific Styles */

.dashboard-page {
    background-color: #f8f9fa;
    touch-action: manipulation;
}

.dashboard-page .hero-section {
    padding: 100px 0;
}

.dashboard-page .hero-section h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.dashboard-page .stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    will-change: auto;
}

.dashboard-page .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.dashboard-page .stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dashboard-page .stat-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.dashboard-page .stat-card .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: #007bff;
}

/* Wallet Info */
.wallet-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.wallet-info i {
    font-size: 1.2rem;
}

.wallet-info span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Activity Feed */
.activity-feed {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.activity-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.activity-content h5 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.activity-content p {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.activity-content small {
    font-size: 0.8rem;
}

/* Tournament Cards */
.dashboard-page .card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    will-change: auto;
}

.dashboard-page .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.dashboard-page .card-img-top {
    height: 180px;
    object-fit: cover;
}

.dashboard-page .card-title {
    font-weight: 700;
    color: #333;
}

.dashboard-page .card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

/* Game Filters */
.game-filters .btn {
    min-width: 100px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.game-filters .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.game-filters .btn.active {
    background-color: #39ff14;
    border-color: #39ff14;
    color: #000;
    font-weight: 600;
}

/* Prevent font scaling in landscape */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Ensure proper sizing on mobile */
body {
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

/* Additional mobile responsive improvements */
.dashboard-page .stat-card {
  max-width: 100%;
  margin: 0 auto 20px auto;
}

/* Ensure consistent sizing across devices */
.dashboard-page .stat-card .display-4 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-page .hero-section {
        padding: 60px 0;
    }
    
    .dashboard-page .hero-section h1 {
        font-size: 2rem;
    }
    
    .dashboard-page .stat-card .display-4 {
        font-size: 1.8rem;
    }
    
    .wallet-info span {
        font-size: 1rem;
    }
    
    .activity-content h5 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .dashboard-page .hero-section {
        padding: 40px 0;
    }
    
    .dashboard-page .hero-section h1 {
        font-size: 1.7rem;
    }
    
    .dashboard-page .stat-card {
        padding: 1rem;
    }
    
    .dashboard-page .stat-card .display-4 {
        font-size: 1.5rem;
    }
    
    .wallet-info {
        padding: 6px 12px;
    }
    
    .wallet-info span {
        font-size: 0.9rem;
    }
    
    .notification-bell {
        font-size: 1.2rem;
    }
}