:root {
    --primary-yellow: #FFE600;
    --primary-orange: #FF9500;
    --dark-bg: #070709;
    --darker-bg: #030304;
    --text-light: #ffffff;
    --text-muted: #8a8a93;
    --gradient: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
    --glow-color: rgba(255, 149, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Ambient Lights */
.ambient-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.light-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary-orange);
}

.light-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--primary-yellow);
}

/* Typography */
h1, h2, h3, h4 {
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: var(--text-light);
}

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

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Section Titles */
.section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: transparent;
}

.nav-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-left {
    display: flex;
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
}

.nav-icon {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-icon:hover {
    color: var(--primary-yellow);
    transform: translateY(-2px);
}

.store-circle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: #ffffff;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.store-circle-btn:hover {
    transform: translateY(-3px);
    background: var(--primary-yellow);
    color: var(--darker-bg);
}

.logo-img {
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--text-light);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: var(--darker-bg);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 149, 0, 0.3);
}

.btn-glow {
    box-shadow: 0 0 20px var(--glow-color); /* The only acceptable shadow for ultra-premium glowing effect on main CTA */
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 230, 0, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-store {
    background: var(--primary-orange);
    color: var(--darker-bg) !important;
}

.btn-store:hover {
    background: var(--primary-yellow);
    color: var(--darker-bg) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05); /* For slight parallax effect if needed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, rgba(3, 3, 4, 0.95) 0%, rgba(3, 3, 4, 0.6) 40%, rgba(3, 3, 4, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding-top: 80px;
    margin: 0 auto;
}

.hero-title {
    font-size: 5.5rem;
    line-height: 0.95;
    margin-bottom: 20px;
    position: relative;
}

.hero-title span {
    color: var(--primary-yellow);
    display: block;
}

/* Glitch Effect */
.glitch-effect::before, .glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.glitch-effect::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch-effect::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(21px, 9999px, 86px, 0); }
    5% { clip: rect(62px, 9999px, 14px, 0); }
    10% { clip: rect(21px, 9999px, 88px, 0); }
    15% { clip: rect(100px, 9999px, 20px, 0); }
    20% { clip: rect(32px, 9999px, 59px, 0); }
    25% { clip: rect(72px, 9999px, 73px, 0); }
    30% { clip: rect(44px, 9999px, 89px, 0); }
    35% { clip: rect(13px, 9999px, 32px, 0); }
    100% { clip: rect(13px, 9999px, 32px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    5% { clip: rect(52px, 9999px, 74px, 0); }
    10% { clip: rect(79px, 9999px, 85px, 0); }
    15% { clip: rect(75px, 9999px, 5px, 0); }
    20% { clip: rect(67px, 9999px, 61px, 0); }
    25% { clip: rect(14px, 9999px, 79px, 0); }
    30% { clip: rect(1px, 9999px, 66px, 0); }
    35% { clip: rect(86px, 9999px, 30px, 0); }
    100% { clip: rect(86px, 9999px, 30px, 0); }
}


.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Stats Section */
.stats-section {
    padding: 120px 0;
    background-color: var(--darker-bg);
    background-image: linear-gradient(rgba(3, 3, 4, 0.4), rgba(3, 3, 4, 0.4)), url('assets/stats.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Smooth fade prelazi između sekcija */
.stats-section::before,
.stats-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 150px;
    z-index: 0;
    pointer-events: none;
}

.stats-section::before {
    top: 0;
    background: linear-gradient(to bottom, var(--darker-bg) 0%, rgba(3, 3, 4, 0) 100%);
}

.stats-section::after {
    bottom: 0;
    background: linear-gradient(to top, var(--darker-bg) 0%, rgba(3, 3, 4, 0) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3.5rem;
}

.stats-grid {
    position: relative;
    z-index: 1; /* Da tekst i boxovi budu iznad fade gradijenta */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: transparent;
    padding: 50px 30px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: transparent;
}

.stat-icon {
    font-size: 3.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* Floating Animation for Icons */
.float-anim {
    animation: float 4s ease-in-out infinite;
}

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

.stat-info h3 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-info p {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.status-online {
    color: var(--primary-yellow) !important;
}

/* Playtime Rewards Section */
.rewards-section {
    padding: 120px 0;
    background: var(--dark-bg);
}

.rewards-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.rewards-image-wrapper {
    flex: 1;
    position: relative;
}

.rewards-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transform: rotateY(15deg) rotateX(5deg); /* 3D rotacija */
    box-shadow: -20px 20px 40px rgba(0,0,0,0.6);
    transition: transform 0.5s ease;
}

.rewards-image:hover {
    transform: rotateY(5deg) rotateX(2deg);
}

.image-accent {
    position: absolute;
    top: -15px;
    left: -15px;
    right: 25px;
    bottom: 25px;
    border: 3px solid var(--primary-orange);
    z-index: 1;
    border-radius: 8px;
    transform: translateZ(-30px) rotateY(15deg) rotateX(5deg); /* 3D pozadina */
    box-shadow: 0 0 25px rgba(255, 149, 0, 0.2);
    transition: transform 0.5s ease;
}

.rewards-image-wrapper:hover .image-accent {
    transform: translateZ(-20px) rotateY(5deg) rotateX(2deg);
}

.rewards-text {
    flex: 1;
}

.rewards-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.rewards-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.reward-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.reward-box:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.reward-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reward-details h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.reward-details p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 20px;
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links-group h4,
.footer-social-wrapper h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group ul li {
    margin-bottom: 12px;
}

.footer-links-group ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links-group ul li a:hover {
    color: var(--primary-yellow);
    transform: translateX(5px);
}

.footer-contact-mt {
    margin-top: 25px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-email:hover {
    color: var(--primary-yellow);
}

/* Simple Pages (Support, Privacy, Cookies) */
.page-container {
    padding: 150px 0 100px;
    min-height: 70vh;
}

.page-content {
    background: rgba(3, 3, 4, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 800;
    text-align: center;
    letter-spacing: 2px;
}

.page-title span {
    color: var(--primary-yellow);
}

.page-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-text h3 {
    color: var(--text-light);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.page-text p {
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    font-size: 1.5rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    color: var(--darker-bg);
    background: var(--primary-yellow);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-copyright p {
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.footer-legal .dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hamburger-menu:hover {
    color: var(--primary-yellow);
}

/* Responsive / Mobile Styles */
@media (max-width: 992px) {
    .hamburger-menu {
        display: block;
        margin-left: 10px;
    }

    .nav-content {
        display: flex;
        justify-content: space-between;
    }

    .nav-center {
        position: static; /* Dozvoljava nav-links apsolutno pozicioniranje u odnosu na navbar */
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(3, 3, 4, 0.98);
        flex-direction: column;
        padding: 30px 0;
        gap: 25px;
        border-bottom: 2px solid var(--primary-yellow);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h1 span {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rewards-content {
        flex-direction: column;
        text-align: center;
    }

    .rewards-image-wrapper {
        margin-bottom: 50px;
    }

    .reward-box {
        text-align: left;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 span {
        font-size: 2.8rem;
    }

    .nav-icon {
        display: none; /* Sakrij male discord/tiktok ikonice na najmanjim ekranima radi prostora */
    }
    
    .btn-primary {
        padding: 12px 25px;
        font-size: 13px;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-right {
    transform: translateX(-50px);
}

.slide-right.is-visible {
    transform: translateX(0);
}

.slide-left {
    transform: translateX(50px);
}

.slide-left.is-visible {
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
    .rewards-content {
        flex-direction: column;
        gap: 50px;
    }
    
    .rewards-image-wrapper {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}
