/* Base */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #03040a; /* global dark */
    color: #f5f5f5;
}

.profile-card-link {
    color: inherit;
}

.profile-card {
    background: #111827; /* dark slate-ish */
    border-radius: 0.75rem;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.6);
    background: #263556;
    border: 1px solid #ccc;
}

.profile-avatar {
    width: 48px;
    height: 48px;
}

.profile-verified {
    width: 18px;
    height: 18px;
}

.btn-success {
    background-color: #22c55e !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    background-color: #16a34a !important;
    transform: translateY(-2px);
}


/* Navbar */

.main-navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #050814 !important;
}

.robux-icon {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 2px;
}

.discord-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    opacity: .9;
}


.logo {
    height: 48px;
}

.verified {
    height: 24px;
}

/* Hero */

.bg-gradient.hero-section {
    background: url("/static/images/hero.png") center center / cover no-repeat;
    background-attachment: fixed; /* optional parallax */
}

.hero-section {
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url("/static/images/hero.png") center/cover no-repeat !important;
}

.stats-section {
    background: #050814;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card {
    background: #0f1627;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.stat-value {
    font-weight: 600;
}


.hero-section h1 {
    color: #ffffff;
}

.limit-width{
    max-width: 3000px;
    margin: auto
}

.games-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
/* Optional, but helps cards be consistent */
.game-card {
    height: 100%;
}

.admin-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(220,53,69,0.95); /* bootstrap danger red */
    padding: 14px 18px;
    border-radius: 6px;
    z-index: 9999;
    color: white;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 1;
    transition: opacity 0.6s ease-out;
}


.add-game-card {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.add-game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.6);
    border-color: rgba(255, 255, 255, 0.4);
}


.text-muted-hero {
    color: rgba(235, 235, 255, 0.75);
}

/* Dark buttons look fine with Bootstrap defaults */

/* Featured games section wrapper */

.games-section {
    background: #050814;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* Games grid */

.games-strip-wrapper {
    width: 100%;
}

.games-row {
    display: grid;
    gap: 24px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Game card */

.game-card {
    background: #0f1627;
    border-radius: 18px;
    overflow: hidden;
    color: #f5f5f5;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.game-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
    border-color: rgba(88, 153, 255, 0.7);
}

/* Thumbnail */

.game-thumb-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 190px;
}

.game-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.08);
}

.game-thumb-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
}

/* Icon */

.game-icon {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Text helpers */

.text-muted-50 {
    color: rgba(255, 255, 255, 0.55);
}

.badge {
    background: rgba(92, 147, 255, 0.18) !important;
    color: #aac3ff !important;
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 500;
}

/* About section */

.about-section {
    background: #050814;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.about-section h2 {
    color: #ffffff;
}

/* Footer */

.footer-section {
    background: #03040a;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Mobile tweaks */

@media (max-width: 575.98px) {
    .games-row {
        gap: 16px;
    }

    .game-card {
        border-radius: 14px;
    }

    .game-thumb {
        height: 170px;
    }
}
