/* ---------------------------------------------------
   RESET + ROOT
--------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0b0e13;
    --card: #11161f;
    --muted: #9aa4ad;
    --primary: #2ea3ff;

    --sloigre: #bfc3c7;   /* Sivo */
    --removaj: #f39c12;   /* Oranžno */

    --radius: 12px;
    --glass: rgba(255,255,255,0.05);

    font-family: Inter, system-ui, sans-serif;
}

body {
    background: linear-gradient(180deg, #070b10, #0b0e13);
    color: #e6eef6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 40px;
}

/* ---------------------------------------------------
   CONTAINER
--------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* ---------------------------------------------------
   HEADER
--------------------------------------------------- */
.site-header {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 12px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
}

.nav-link:hover {
    background: var(--glass);
}

/* ---------------------------------------------------
   HERO
--------------------------------------------------- */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    margin-top: 28px;
}

.hero {
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 20px;
}

.hero-art {
  width: 300px;
  aspect-ratio: 4 / 3;
  background-image: url("https://i.imgur.com/Cr22Eu7.png");
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}



.hero-info {
    flex: 1;
}

.game-title {
    font-size: 36px;
    margin-bottom: 6px;
}

.meta {
    color: var(--muted);
    margin-bottom: 14px;
}

.description {
    max-width: 60ch;
    margin-bottom: 18px;
}

/* ---------------------------------------------------
   BUTTONS
--------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.primary {
    background: var(--primary);
    color: #041226;
}

.outline {
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--muted);
}

.social-links-row {
   
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.social-btn {
    padding: 8px 14px;
    font-size: 14px;
}

/* ---------------------------------------------------
   BADGE COLORS
--------------------------------------------------- */
.SloIgre {
    background: var(--sloigre) !important;
    color: #0b0e13 !important;
}

.Removaj {
    background: var(--removaj) !important;
    color: #0b0e13 !important;
}

/* ---------------------------------------------------
   SIDEBAR
--------------------------------------------------- */
.sidebar {
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius);
    padding: 16px;
}

.sidebar-title {
    margin-bottom: 12px;
    font-size: 18px;
}

.trending-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trending-item {
    display: flex;
    gap: 12px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
}

.thumb {
    width: 56px;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(135deg, #2b2f36, #111318);
}

/* ---------------------------------------------------
   TRENDING GRID (POSTERS)
--------------------------------------------------- */
.trending-grid-section {
    margin-top: 20px;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

/* POSTER CARD */
.game-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
}

.game-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

/* POSTER IMAGE */
.game-cover {
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
    object-fit: fill;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #28313b, #111318);
    transition: 0.25s ease;
}

/* HOVER OVERLAY */
.game-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.game-hover h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.game-hover p {
    font-size: 14px;
    color: #d0d0d0;
}

/* HOVER EFFECT */
.game-card:hover .game-hover {
    opacity: 1;
}

.game-card:hover .game-cover {
    filter: brightness(0.55);
    transform: scale(1.05);
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
.site-footer {
    margin-top: 28px;
    text-align: center;
    color: var(--muted);
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */
@media (max-width: 980px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        flex-direction: column;
        align-items: center;
    }
    .hero-art {
        width: 100%;
        height: 220px;
    }
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trending-grid {
        grid-template-columns: 1fr;
    }
}
