:root {
  --bg: #0e0e0e;
  --bg-soft: #141414;
  --text: #eaeaea;
  --muted: #9a9a9a;
  --accent: #e67e22;
  --border: #1f1f1f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Geist', sans-serif;
  background: linear-gradient(45deg, #131927 0%, rgb(48, 57, 79, 100%));
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: #eaeaea;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* malo slabije */
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(230,126,34,.12), transparent 20%),
    radial-gradient(circle at 80% 60%, rgba(230,126,34,.08), transparent 25%);
  z-index: -2;
  animation: glowMove 18s ease-in-out infinite alternate;
}

@keyframes glowMove {
  0% { transform: translate(0,0); }
  100% { transform: translate(-40px, -60px); }
}


.navbar {
  padding: 28px 40px 18px; /* povučen malo dole */
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.nav-logo {
  height: 48px;
  width: auto;

}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 15px;
  padding-bottom: 6px;
  position: relative;
  cursor: pointer; /* dodaj ovo */
}

.nav-links a.active {
  color: #e67e22;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: #e67e22;
  border-radius: 2px;
}

.navbar {
  padding: 20px 32px;
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap:28px;
}

.nav-logo {
  height: 42px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ask-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
}

.welcome-box{
	text-align: center;
}

.rules h2 {
  font-size: 32px;
  line-height: 1.2;
}

.rules p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
}

.rules {
  grid-template-columns: 1fr 1.2fr;
}

.rules img {
  order: -1;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.grid h2 {
  font-size: 50px;
  line-height: 1.25;
  margin-bottom: 24px;
  color:#e67e22;
}


.grid p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  max-width: 720px;
  
}

.grid strong {
  color: #ffffff;
  font-weight: 600;
}

.grid p + p {
  margin-top: 20px;
}

.subtitle {
text-align: center;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 80px;
}

.logo {
  font-weight: 700;
  color: var(--accent);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 24px;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 80px;
}

.grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.card {
  background: rgb(230, 126, 34, 10%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  border-color: #e67e22;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.badge {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  
}

.btn {
  display: inline-block;
  margin-top: 24px;
  padding: 15px 25px;
  background: rgb(230, 126, 34, 10%);
  color: #eaeaea;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid var(--border);
  border-color: #e67e22;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.nav-links a:hover {
  color: var(--accent); /* boja naglaska */
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

/* Button hover */
.btn:hover {
  background: rgb(230, 126, 34, 10%); /* tamnija/naglašena boja za hover */
  transition: all 0.25s ease;
  box-shadow: 0 40px 120px rgba(255,140,0,0.25);
  transform: rotateX(10deg) rotateY(-10deg) scale(1.03);
}


.card:hover, .community-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.btn {
  background: rgb(230, 126, 34, 30%);;
}
.btn:hover {
  background: rgb(230, 126, 34, 50%);;
}

.btn:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.rules {
  margin-top: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.rules img {
  width: 100%;
  border-radius: 12px;
  opacity: .9;
  background: linear-gradient(
    135deg,
    rgba(20, 24, 36, 0.7) 0%,
    rgba(30, 34, 46, 0.7) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.09);

  /* animacija */
  transition: all 0.35s ease;
}



/* HOVER */
.rules img:hover {
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: 0 40px 120px rgba(255,140,0,0.25);
  transform: rotateX(10deg) rotateY(-10deg) scale(1.03);
  border-color: rgba(230, 126, 34, 0.6);
}



footer {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.community {
  margin-top: 140px;
  text-align: center;
}

.community h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.community-subtitle {
  color: var(--muted);
  margin-bottom: 60px;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.community-card {
  background: linear-gradient(
    135deg,
    rgba(20, 24, 36, 0.7) 0%,
    rgba(30, 34, 46, 0.7) 100%
  );
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
  transition: all 0.35s ease;
}

/* HOVER */
.community-card:hover {
  border-color: rgba(230, 126, 34, 0.6);
  transform: translateY(-6px);
  box-shadow: 0 40px 120px rgba(255,140,0,0.25);
  transform: rotateX(10deg) rotateY(-10deg) scale(1.03);
}



.community-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  opacity: 0.9;
}

.community-content {
  padding: 24px;
}

.community-content h3 {
  margin: 0 0 10px;
}

.community-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.brand img {
  height: 48px;      /* idealno za navbar */
  width: auto;
  object-fit: contain;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: #131927;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 149, 0, 0.5);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 149, 0, 0.7);
}

.badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;

  color: #f5f5f5;
  background: linear-gradient(
    90deg,
    rgba(255, 184, 77, 0.12),
    rgba(255, 214, 128, 0.08)
  );

  border: 1px solid rgba(255, 200, 120, 0.25);
  border-radius: 999px;

  box-shadow:
    0 0 0 1px rgba(255, 200, 120, 0.05),
    0 6px 18px rgba(0, 0, 0, 0.35);

  white-space: nowrap;
}

.badge-icon {
  font-size: 12px;
  color: #ffcc66;
  opacity: 0.9;
}


.badge-modern:hover {
  box-shadow:
    0 0 0 1px rgba(255, 200, 120, 0.15),
    0 10px 28px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
  transition: 0.25s ease;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {

  /* Global spacing */
  body {
    font-size: 15px;
  }

  .container {
    padding: 40px 16px;
  }

  /* NAVBAR */
  .navbar {
    padding: 16px 18px;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-left {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 13px;
  }

  /* HERO / TITLES */
  h1 {
    font-size: 32px;
    line-height: 1.2;
    text-align: left;
  }

  h2 {
    font-size: 26px;
  }

  .subtitle {
    font-size: 16px;
    margin-bottom: 48px;
    text-align: left;
  }
  
  .welcome-box {
    text-align: center !important;
  }
  .welcome-box > * {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }


  /* MAIN GRID (About section) */
  .grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }


  /* RULES SECTION */
  .rules {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 80px;
  }

  .rules img {
    order: 0;
  }

  .rules h2 {
    font-size: 26px;
  }

  .rules p {
    font-size: 16px;
  }

  /* CARDS */
  .card {
    padding: 20px;
  }

  /* COMMUNITY */
  .community {
    margin-top: 100px;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .community-card img {
    height: 200px;
  }

  /* BUTTONS */
  .btn {
    width: 100%;
    text-align: center;
  }

  /* BADGES */
  .new-badge {
    font-size: 13px;
    padding: 6px 14px;
  }

  /* FOOTER */
  footer {
    padding: 28px 16px;
    font-size: 13px;
  }
  
}

@keyframes float {
    0%, 100% {
        transform: perspective(1000px) translateY(0px);
    }
    50% {
        transform: perspective(1000px)  translateY(-10px);
    }
}

/* FEATURED (Galerija) */

.featured {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    margin-top: 100px;
    overflow: hidden;
    background: #0c0f16;
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
    border-color: #e67e22;
}

.featured-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .4s ease;
}

.featured-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,.75),
        rgba(0,0,0,.15)
    );
}

.featured-slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    left: 30px;
    bottom: 30px;
    color: #fff;
    max-width: 360px;
}

.overlay h2 {
    font-size: 25px;
    margin-bottom: -10px;
    color: #e67e22;
}

.overlay p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 5px;
}

.cta {
    background: #ff9800;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.6);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ff9800;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
}

.nav.left { left: 12px; }
.nav.right { right: 12px; }


/*  Differences Section */

.differences {
  margin: 140px 0;
}

.differences h2 {
  text-align: center;
  font-size: 34px;
  letter-spacing: 2px;
  margin-bottom: 70px;
  text-transform: uppercase;
}

.differences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

/* CARD */
.difference-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(230, 126, 34, 0.17),
    #131927
  );
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 60px 30px 35px;
  opacity: 0;
  transform: translateY(40px);
  transition: border-color 0.3s ease;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.difference-card:hover {
  border-color: #e67e22;
}

/* ICON BOX (top-left) */
.icon-box {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  background: #1b1b1b;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.icon-box i {
  color: #e67e22;
  font-size: 18px;
}

/* TEXT */
.difference-card h3 {
  margin-top: 35px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.difference-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #bfbfbf;
}


.grid-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to { background-position: 50px 50px; }
}



