/**
 * Gaming Website Stylesheet
 * Modern, clean design for board game community
 * Imports unified theme variables from theme.css
 */

@import 'theme.css';

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

/* Old dropdown styles - REMOVED - Using new button-based dropdown only */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login/Register Buttons */
.btn-login,
.btn-register {
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
    font-weight: 500;
}

.btn-login {
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.btn-login:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.btn-register {
    background: var(--primary-color) !important;
    color: white !important;
}

.btn-register:hover {
    opacity: 0.9;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    color: white;
    padding: 6rem 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="5" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="5" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="3" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

.hero-logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 2rem;
    z-index: 2;
    animation: slideInLogo 0.8s ease-out;
}

@keyframes slideInLogo {
    from {
        opacity: 0;
        transform: translateX(-50px) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 20px;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Featured Games Section */
.featured-section {
    padding: 4rem 20px;
    background: white;
}

.featured-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.game-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.game-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: white;
    font-weight: bold;
}

.game-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.game-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.game-genre {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.game-info .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Features Section */
.features-section {
    padding: 4rem 20px;
    background: linear-gradient(to bottom, white, var(--light-bg));
}

.features-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 4rem 20px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #db2777;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: -100%;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .featured-section h2,
    .features-section h2 {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    /* Mobile dropdown — inline within nav menu, fully reachable */
    .user-menu-container {
        position: relative;
        width: 100%;
        padding: 0;
        border-bottom: none;
    }

    .user-menu-btn,
    button#userMenuBtn,
    button.user-menu-btn {
        width: 100% !important;
        padding: 12px 16px !important;
        text-align: left !important;
        background: transparent !important;
        color: var(--text-primary) !important;
        border: none !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        border-radius: 0 !important;
    }

    .user-menu-btn:hover,
    .user-menu-btn.active,
    button#userMenuBtn:hover,
    button#userMenuBtn.active {
        color: var(--primary-color) !important;
        background: transparent !important;
    }

    .user-avatar-thumb {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 2px solid var(--primary-color);
        object-fit: cover;
    }

    /* Dropdown expands inline inside the nav — never floats off-screen */
    #dropdownMenu,
    .user-menu-container .dropdown-menu {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        min-width: unset !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid var(--border-color) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        background: #f5f0ea !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        transition: none !important;
    }

    #dropdownMenu.active,
    .user-menu-container .dropdown-menu.active {
        display: block !important;
    }

    #dropdownMenu a,
    .user-menu-container .dropdown-menu a {
        padding: 11px 32px !important;
        color: var(--text-primary) !important;
        border-bottom: 1px solid var(--border-color) !important;
        border-radius: 0 !important;
        font-size: 0.95rem;
        background: transparent !important;
    }

    #dropdownMenu a:last-child,
    .user-menu-container .dropdown-menu a:last-child {
        border-bottom: none !important;
    }

    #dropdownMenu a:hover,
    .user-menu-container .dropdown-menu a:hover {
        background: rgba(124, 95, 0, 0.08) !important;
        color: var(--primary-color) !important;
        padding-left: 40px !important;
    }

    .user-menu-container .dropdown-divider,
    #dropdownMenu .dropdown-divider {
        background-color: var(--border-color) !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 15px;
    }

    .nav-logo a {
        font-size: 1.25rem;
    }

    .stats-grid {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .featured-section h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Print Styles */
/* Games Page Styles */
.page-header {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    color: white;
    padding: 3rem 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.games-section {
    padding: 3rem 20px;
    background: var(--light-bg);
}

.games-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.games-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: fit-content;
}

.filter-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.filter-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-input {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.genre-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.genre-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.genre-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.genre-item.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border-left-color: white;
}

.info-card {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    color: white;
    padding: 1.5rem;
}

.info-card h3 {
    color: white;
}

.info-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.games-main {
    display: flex;
    flex-direction: column;
}

.games-header {
    margin-bottom: 2rem;
}

.games-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.game-count {
    color: var(--text-secondary);
    font-size: 1rem;
}

.games-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.game-card-full {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 200px 1fr;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-card-full:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.game-image-full {
    width: 100%;
    height: 200px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-image-full-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: white;
    font-size: 3rem;
    text-align: center;
}

.game-content-full {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-content-full h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.game-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

.game-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 1rem 0;
}

.game-links {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.game-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.game-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .games-container {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 768px) {
    .games-container {
        grid-template-columns: 1fr;
    }

    .games-sidebar {
        order: 2;
    }

    .games-main {
        order: 1;
    }

    .game-card-full {
        grid-template-columns: 1fr;
    }

    .game-image-full {
        height: 250px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .games-header h2 {
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .games-container {
        gap: 1rem;
    }

    .game-card-full {
        gap: 0;
    }

    .game-image-full {
        height: 150px;
    }

    .game-content-full {
        padding: 1rem;
    }

    .game-links a {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .filter-card {
        padding: 1rem;
    }

    .filter-card h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Dropdown Menu ===== */
.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-avatar-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

/* Desktop trigger button */
button#userMenuBtn,
button.user-menu-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1rem;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
    font-weight: 500;
}

button#userMenuBtn:hover,
button.user-menu-btn:hover,
button#userMenuBtn.active,
button.user-menu-btn.active {
    color: var(--primary-color);
}

/* Desktop dropdown — floating panel anchored below the button */
#dropdownMenu,
.user-menu-container .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #2d2d2d;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 1050;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#dropdownMenu.active,
.user-menu-container .dropdown-menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#dropdownMenu a,
.user-menu-container .dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #f0ece6;
    text-decoration: none;
    transition: background-color 0.15s ease, padding-left 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

#dropdownMenu a:first-child,
.user-menu-container .dropdown-menu a:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

#dropdownMenu a:last-child,
.user-menu-container .dropdown-menu a:last-child {
    border-bottom: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

#dropdownMenu a:hover,
.user-menu-container .dropdown-menu a:hover {
    background-color: rgba(255, 200, 83, 0.15);
    color: var(--secondary-color);
    padding-left: 20px;
}

.user-menu-container .dropdown-divider,
#dropdownMenu .dropdown-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

/* ===== Game Display Components ===== */

/* Stats Grid for Game Showcase */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--danger-color);
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.stat-card.primary {
    border-left-color: var(--primary-color);
}

.stat-card.success {
    border-left-color: var(--success-color);
}

.stat-card.warning {
    border-left-color: var(--warning-color);
}

.stat-card.info {
    border-left-color: var(--info-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--danger-color);
    margin-bottom: 0.5rem;
}

.stat-card.primary .stat-number {
    color: var(--primary-color);
}

.stat-card.success .stat-number {
    color: var(--success-color);
}

.stat-card.warning .stat-number {
    color: var(--warning-color);
}

.stat-card.info .stat-number {
    color: var(--info-color);
}

.stat-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Quick Links Section */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.quick-link {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.quick-link:hover {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    border-left-color: var(--primary-color);
    transform: translateX(4px);
}

.quick-link h3 {
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.quick-link p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }
}

@media print {
    .navbar,
    .footer,
    .hero-buttons,
    .btn,
    .games-sidebar,
    .dropdown-menu {
        display: none;
    }
}
