* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif; 
    overflow: hidden; 
    background-color: #000;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 50px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.navbar .logo {
    width: 35px;
    height: 35px;
    background: white;
    mask: url('photos/logo.png') no-repeat center;
    -webkit-mask: url('photos/logo.png') no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    transition: 0.3s;
}

.navbar .nav-links {
    display: flex;
    gap: 40px;
}

.navbar .nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: 0.3s ease;
}

.navbar .nav-links a:hover {
    color: #6EBFC4;
}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%; 
    height: 100vh;
    background-image: url('photos/ggpoz.png'); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-image 0.5s ease-in-out;
}

/* OVERLAY */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); 
    z-index: 1;
}

/* SREDIŠNJI TEKST */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    padding: 0 20px;
    margin-top: -50px; 
}

.hero h1 {
    font-size: 80px;
    margin-bottom: 20px;
    color: white;
    font-family: 'Playfair Display SC', serif;
    letter-spacing: 4px;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.9); 
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 600;
    color: #f0f0f0;
    font-family: 'Playfair Display SC', serif;
    letter-spacing: 2px;
    line-height: 1.4;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.8);
}

/* GUMB */
.btn {
    padding: 16px 45px;
    background: white;
    color: #1A1A1A; 
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn:hover {
    background-color: var(--theme-color);
    color: white;
    box-shadow: 0 6px 20px var(--theme-color);
    transform: translateY(-2px);
}

/* GAME SELECTOR (DESKTOP) */
.game-selector {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1700px; 
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    align-items: center;
    z-index: 2;
}

.game-selector div {
    margin: 0 auto; 
    width: max-content; 
    padding: 12px 25px; 
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Playfair Display SC', serif;
    font-size: 24px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    border: 2px solid transparent; 
    border-radius: 8px; 
}

.game-selector div:hover {
    color: white;
    text-shadow: 0 0 10px var(--theme-color);
}

.game-selector div.active {
    color: white;
    border-color: var(--theme-color); 
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    background-color: transparent; 
    box-shadow: inset 0 0 15px var(--theme-color);
}

/* SREDNJI EKRANI */
@media (max-width: 1350px) {
    .game-selector { max-width: 1000px; }
}

@media (max-width: 900px) {
    .hero h1 { font-size: 60px; }
    .game-selector { max-width: 100%; padding: 0 20px;}
    .game-selector div { font-size: 18px; padding: 10px 15px; }
}

/* MOBITELI: POTPUNO ČISTI EKRAN (Bez gumbiju) */
@media (max-width: 768px) {
    /* Minimalistička navigacija na vrhu */
    .navbar { padding: 0 10px; justify-content: center; }
    .navbar .logo { display: none; }
    .navbar .nav-links { gap: 15px; width: 100%; justify-content: center; }
    .navbar .nav-links a { font-size: 11px; padding: 10px 5px; }

    /* Središnji tekst spušten savršeno na sredinu jer nema donjih gumba */
    .hero-content { margin-top: 0px; }
    .hero h1 { font-size: 45px; margin-bottom: 15px; letter-spacing: 2px;}
    .hero p { font-size: 14px; margin-bottom: 30px; padding: 0 10px;}
    .btn { padding: 12px 30px; font-size: 14px; }
    
    /* BRIŠEMO RUŽNE GUMBE NA MOBITELU */
    .game-selector { 
        display: none;
    }
}