:root{
  --bg: #08070C;
  --bg2: #0E0C16;
  --yellow: #F7F727;
  --yellow-bright: #FCFC6E;
  --white: #F5F4FA;
  --grey: #9C99A6;
  --red: #FF3B30;
  --orange: #FF8C00;
  --green: #34C759;
}
*{ margin:0; padding:0; box-sizing:border-box; }
body{
  background: var(--bg);
  color: var(--white);
  font-family: "Segoe UI", Roboto, -apple-system, sans-serif;
  overflow-x:hidden;
}
a{ text-decoration:none; color:inherit; }

/* Roboto Mono za sve naslove i podnaslove kroz cijeli sajt */
h1, h2, h3, h4, h5, h6{
  font-family: "Roboto Mono", monospace;
}

/* ambient glow */
.glow-a, .glow-b{ position:fixed; border-radius:50%; filter: blur(130px); z-index:0; pointer-events:none; }
.glow-a{ width:520px; height:520px; background: var(--yellow); opacity:.20; top:-160px; left:-140px; }
.glow-b{ width:460px; height:460px; background: var(--yellow-bright); opacity:.13; top:200px; right:-160px; }

/* NAVBAR */
.navbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(247,246,40,0.25);
  background: rgba(8,7,12,0.85);
  backdrop-filter: blur(10px);
}
.logo-mark{ height:40px; display:block; }
.nav-links{ display:flex; gap:30px; align-items:center; }
.nav-item{ font-size:13px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; color:var(--grey); cursor:pointer; transition:color .15s; }
.nav-item:hover, .nav-item.active{ color:var(--white); }
.nav-dropdown{ position:relative; }
.nav-dropdown-menu{
  position:absolute; top:100%; left:0; margin-top:14px;
  background:#0b0710; border:1px solid rgba(255,255,255,0.12); border-radius:10px;
  padding:8px; min-width:170px; display:none; flex-direction:column; gap:2px;
  box-shadow:0 14px 32px rgba(0,0,0,0.55); z-index:60;
}
.nav-dropdown-menu a{
  display:block; padding:9px 12px; border-radius:6px; font-size:13px; font-weight:600;
  letter-spacing:.03em; text-transform:uppercase;
  color:var(--grey); transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover{ background:rgba(255,255,255,0.07); color:var(--white); }
.nav-dropdown:hover .nav-dropdown-menu{ display:flex; }
.nav-cta{
  background: linear-gradient(135deg, var(--yellow), var(--yellow-bright));
  border:none; color:#0a080f; font-weight:700; font-size:13px;
  padding:10px 20px; border-radius:8px;
  box-shadow: 0 0 24px rgba(247,246,40,0.5); cursor:pointer;
}
.mobile-toggle{ display:none; background:none; border:none; color:var(--white); font-size:22px; cursor:pointer; }

.cart-badge{
  position:absolute; top:-8px; right:-14px;
  background:var(--yellow-bright); color:#0a080f; font-size:10px; font-weight:800;
  min-width:16px; height:16px; border-radius:99px; display:flex; align-items:center; justify-content:center;
  padding:0 4px;
}
.add-to-cart-btn{
  display:inline-block; width:100%; margin-top:10px; padding:10px 14px; border:none; border-radius:8px;
  background:linear-gradient(135deg, var(--yellow), var(--yellow-bright)); color:#0a080f;
  font-weight:700; font-size:13px; cursor:pointer; text-transform:uppercase; letter-spacing:.03em;
  transition: filter .15s, transform .1s;
}
.add-to-cart-btn:hover{ filter:brightness(1.06); }
.add-to-cart-btn:active{ transform:scale(0.98); }
.add-to-cart-btn.added{ background:linear-gradient(135deg,#34C759,#5CD97B); }
.add-to-cart-btn:disabled{ opacity:.45; cursor:not-allowed; }

.lang-switch{ display:flex; gap:4px; margin-left:18px; }
.lang-item{
  font-size:11px; font-weight:700; letter-spacing:.03em;
  padding:5px 9px; border-radius:6px;
  color:var(--grey); border:1px solid rgba(255,255,255,0.15);
  transition: background .15s, color .15s;
}
.lang-item.active{ color:#0a080f; background:var(--yellow); border-color:var(--yellow); }
.lang-item:not(.active):hover{ color:var(--white); border-color:rgba(255,255,255,0.35); }

.hero-wrap{ position:relative; max-width:1200px; margin:0 auto; overflow:hidden; min-height: calc(100vh - 73px); display:flex; align-items:stretch; background: var(--yellow); }
.hero-flex{
  position:relative; z-index:2; width:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:space-between;
  padding: 70px 40px 50px;
}
.hero-top{ flex:1; display:flex; align-items:center; justify-content:center; }
.hero-bottom{ flex-shrink:0; display:flex; flex-direction:column; align-items:center; }
.hero-watermark{
  position:absolute; inset:0; z-index:1;
  display:flex; align-items:flex-start; justify-content:center;
  padding-top:40px;
  pointer-events:none;
}
.hero-watermark img{
  height: 88%;
  width: auto;
  opacity: 0.5;
}
@media (max-width: 900px){
  .hero-watermark img{ height: 80%; }
}
.hero{ position:relative; z-index:2; max-width:1200px; margin:0 auto; padding: 90px 40px 60px; text-align:left; }
.hero-content{ text-align:left; }
.hero-content .hero-search{ margin: 0 auto 46px; }
.hero-content p{ margin: 0 auto 34px; }
.hero-eyebrow{
  display:inline-block; font-size:12px; font-weight:700; letter-spacing:.14em;
  color: var(--yellow-bright); text-transform:uppercase; margin-bottom:18px;
  border:1px solid rgba(252,251,107,0.4); padding:6px 14px; border-radius:20px;
  background: rgba(247,246,40,0.08);
}
.hero-flex h1{
  font-size: 96px; font-weight:900; line-height:1.05; letter-spacing:2px; font-style: normal;
  text-transform: uppercase; margin-bottom:20px; color:#0a080f; text-align:center;
  animation: coming-soon-pulse 2.6s ease-in-out infinite;
}
@keyframes coming-soon-pulse{
  0%, 100%{ opacity: 1; }
  50%{ opacity: 0; }
}
.hero-flex h1 .accent{ color:#0a080f; }
.hero-flex p{ color:var(--grey); font-size:16px; max-width:560px; margin:0 0 34px; line-height:1.6; }

.hero-search{
  max-width:560px; margin: 0 auto 46px; display:flex; align-items:center;
  background: var(--bg2); border:1.5px solid rgba(247,246,40,0.35);
  border-radius:12px; padding: 6px 6px 6px 18px;
}
.hero-search input{ flex:1; background:none; border:none; outline:none; color:var(--white); font-size:14px; padding:10px 0; }
.hero-search input::placeholder{ color:#5B5866; }
.hero-search button{
  background: linear-gradient(135deg, var(--yellow), var(--yellow-bright));
  border:none; color:#fff; font-weight:700; font-size:13px; padding:12px 22px; border-radius:8px; cursor:pointer;
}

/* condition strip */
.condition-strip{ display:flex; align-items:center; justify-content:center; gap:14px; margin: 76px auto 0; }
.cbar{ display:flex; gap:4px; height:38px; width:360px; border-radius:6px; overflow:hidden; border: 1px solid rgba(10,8,15,0.3); position:relative; box-shadow:none; background:#0d0b12; padding:3px; }
.cbar span{ flex:1; border-radius:2px; }
.cbar .c1{ background:#FF3B30; } .cbar .c2{ background:#FF4F1F; }
.cbar .c3{ background:#FF6710; } .cbar .c4{ background:#FF8C00; }
.cbar .c5{ background:#FFA600; } .cbar .c6{ background:#FFC300; }
.cbar .c7{ background:#FFDA00; } .cbar .c8{ background:#FFEE00; }
.cbar .c9{ background:#E6F000; } .cbar .c10{ background:#B6E63B; }
.cbar .c11{ background:#7ED957; } .cbar .c12{ background:#34C759; }

.cbar-brand{ text-align:center; margin-top:14px; }
.cbar-brand img{
  height:37px; width:auto;
  filter: brightness(0);
}

.cbar-mask{
  position:absolute; top:-2px; bottom:-2px; right:0;
  width:100%;
  background: linear-gradient(180deg, #0d0b12, #08070C 55%, #0d0b12);
  z-index:2;
  animation: cbar-reveal 3.4s cubic-bezier(.65,0,.35,1) infinite;
}
.cbar-mask::before{
  content:"";
  position:absolute; top:0; bottom:0; left:-1px;
  width:3px; border-radius:2px;
  background: #ffffff;
  box-shadow:
    0 0 4px 1px rgba(255,255,255,0.95),
    0 0 9px 2px rgba(252,251,107,0.85),
    0 0 14px 3px rgba(247,246,40,0.5);
}
.cbar-mask::after{
  content:"";
  position:absolute; top:0; bottom:0; left:-18px; width:18px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.2));
  filter: blur(2px);
}

@keyframes cbar-reveal{
  0%    { width:100%; opacity:1; }
  62%   { width:0%;   opacity:1; }
  78%   { width:0%;   opacity:1; }
  84%   { width:0%;   opacity:0; }
  86%   { width:100%; opacity:0; }
  100%  { width:100%; opacity:1; }
}

.condition-label{ font-size:13px; font-weight:700; color:#0a080f; letter-spacing:.06em; text-transform:uppercase; }

/* SECTIONS */
.section{ position:relative; z-index:2; max-width:1200px; margin: 0 auto; padding: 20px 40px 80px; }
.section-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:22px; }
.section-head h2{ font-size:20px; font-weight:800; text-transform:uppercase; font-style:italic; letter-spacing:-0.3px; }
.section-head a{ color:var(--yellow-bright); font-size:13px; font-weight:600; }

/* GAME GRID */
.game-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.game-tile.coming-soon{ cursor:default; opacity:0.55; }
.game-tile.coming-soon:hover{ transform:none; border-color:rgba(139,92,246,0.25); }
.gtag-soon{
  display:inline-block; margin-top:8px; font-size:9px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  padding:2px 8px; border-radius:10px; color:var(--yellow-bright); border:1px solid rgba(252,251,107,0.5);
  background:rgba(247,246,40,0.1);
}
@media (max-width: 1100px){
  .game-grid{ grid-template-columns:repeat(3,1fr); }
}
.game-tile{
  display:block;
  background: #15121c;
  border:1px solid rgba(255,255,255,0.1); border-radius:14px; overflow:hidden;
  text-align:center; position:relative;
  transition: border-color .15s, transform .15s; cursor:pointer;
  aspect-ratio: 5 / 7;
}
.game-tile:hover{ border-color: var(--yellow-bright); transform: translateY(-3px); }
.game-tile .icon{
  width:100%; height:100%; margin:0; border-radius:0;
  display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
}
.game-tile .icon img{ width:100%; height:100%; object-fit:cover; position:relative; z-index:2; }
.icon-placeholder{
  position:absolute; inset:8px; border:1.5px dashed rgba(255,255,255,0.35); border-radius:10px;
  align-items:center; justify-content:center;
  font-size:9px; font-weight:700; letter-spacing:.08em; color:rgba(255,255,255,0.5);
}
.icon-pokemon{ background: #15121c; }
.icon-onepiece{ background: #15121c; }
.icon-yugioh{ background: #15121c; }
.icon-mtg{ background: #15121c; }
.icon-riftbound{ background: #15121c; }
.icon-naruto{ background: #15121c; }
.game-tile .gname{
  position:absolute; left:0; right:0; bottom:0; z-index:3;
  font-weight:800; font-size:14px; letter-spacing:-0.2px; color:#fff;
  padding:26px 8px 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0.5) 60%, transparent 100%);
}
.game-tile .gcount{ font-size:11.5px; color:var(--grey); }
.game-tile .gtag{ display:none; }
.gtag-soon{
  position:absolute; top:10px; right:10px; z-index:3;
  display:inline-block; font-size:9px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  padding:3px 8px; border-radius:10px; color:var(--yellow-bright); border:1px solid rgba(252,251,107,0.5);
  background:rgba(0,0,0,0.6);
}

/* PRODUCT / FLIP CARDS */
.card-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.product-card{ background: var(--bg2); border:1px solid rgba(247,246,40,0.2); border-radius:14px; overflow:hidden; }
.flip-scene{ -webkit-perspective:1000px; perspective: 1000px; aspect-ratio: 5 / 7; width: 100%; }
.flip-inner{
  position: relative; width: 100%; height: 100%;
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(.4,.2,.2,1);
  transition: transform 0.6s cubic-bezier(.4,.2,.2,1);
}
.flip-scene.flipped .flip-inner{
  -webkit-transform: rotateY(180deg); transform: rotateY(180deg);
}
.flip-face{
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display:flex; align-items:center; justify-content:center;
}
.flip-front{
  background: #0B0A10; overflow:hidden; border: 1px solid rgba(247,246,40,0.25); border-radius: inherit;
  -webkit-transform: rotateY(0deg); transform: rotateY(0deg);
}
.flip-front img{ width:100%; height:100%; object-fit: contain; object-position: center; display:block; background:#0B0A10; }
.flip-front .placeholder-icon{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; font-size:44px; opacity:0.35; }
.flip-back{
  -webkit-transform: rotateY(180deg); transform: rotateY(180deg);
  background: #0B0A10;
  border: 1px solid rgba(247,246,40,0.25);
  border-radius: inherit;
  position: relative;
  overflow:hidden;
}
.flip-back img{ width:100%; height:100%; object-fit: cover; object-position: center; display:block; }
.cond-badge{ position:absolute; top:10px; left:10px; font-size:10px; font-weight:700; padding:3px 8px; border-radius:5px; }
.cond-nm{ background: rgba(52,199,89,0.18); color:#5FE083; border:1px solid rgba(52,199,89,0.4); }
.cond-ex{ background: rgba(255,214,10,0.18); color:#FFE258; border:1px solid rgba(255,214,10,0.4); }
.cond-gd{ background: rgba(255,140,0,0.18); color:#FFA94D; border:1px solid rgba(255,140,0,0.4); }
.product-info{ padding:14px; }
.product-info .pname{ font-size:13.5px; font-weight:700; margin-bottom:3px; }
.product-info .pset{ font-size:11.5px; color:var(--grey); margin-bottom:10px; }
.product-info .pprice-row{ display:flex; justify-content:space-between; align-items:center; }
.pprice{ font-size:15px; font-weight:800; color:var(--white); }
.pfrom{ font-size:10px; color:var(--grey); font-weight:500; }
.psellers{ font-size:10.5px; color: var(--yellow-bright); font-weight:600; }

/* FOOTER */
.footer{
  position:relative; z-index:2; border-top:1px solid rgba(247,246,40,0.2);
  padding: 30px 40px; text-align:center; color:var(--grey); font-size:12.5px;
}

/* ABOUT PAGE SPECIFIC */
.story{ position:relative; z-index:2; max-width:720px; margin:0 auto; padding: 40px 40px 100px; }
.founder-row{
  display:flex; align-items:center; gap:18px; margin-bottom:38px;
  padding: 20px 24px; border:1px solid rgba(247,246,40,0.25); border-radius:14px; background: var(--bg2);
}
.avatar{
  width:56px; height:56px; border-radius:50%; flex-shrink:0;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-bright));
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:20px; color:#fff;
}
.founder-name{ font-weight:800; font-size:16px; }
.founder-role{ font-size:12.5px; color: var(--grey); }
.story p{ font-size: 15.5px; line-height: 1.85; color: #D8D6E0; margin-bottom: 22px; }
.story p.lede{ font-size: 17px; color: var(--white); font-weight:600; }
.story .highlight{ color: var(--yellow-bright); font-weight:700; }
.divider{ height:1px; margin: 40px 0; background: linear-gradient(90deg, transparent, rgba(247,246,40,0.4), transparent); }
.closing{ text-align:center; padding: 10px 0 0; }
.closing .mantra{ font-size: 20px; font-weight:900; font-style:italic; text-transform:uppercase; letter-spacing:-0.3px; line-height:1.5; margin-bottom: 16px; }
.closing .mantra .accent{
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.closing .welcome{ font-size:15px; color: var(--grey); }
.closing .welcome b{ color: var(--white); }
.cbar-mini{ display:flex; height:5px; width:180px; margin: 24px auto 0; border-radius:3px; overflow:hidden; border: 1px solid rgba(255,255,255,0.12); }
.cbar-mini span{ flex:1; }
.cbar-mini .s1{ background:var(--red); } .cbar-mini .s2{ background:#FF6A00; }
.cbar-mini .s3{ background:var(--orange); } .cbar-mini .s4{ background:#FFC300; }
.cbar-mini .s5{ background:var(--yellow); } .cbar-mini .s6{ background:#B6E63B; }
.cbar-mini .s7{ background:var(--green); }

@media (max-width: 900px){
  .navbar{ padding:14px 18px; position:relative; }
  .nav-links{ display:none; }
  .nav-links.open{
    display:flex; flex-direction:column; gap:2px; align-items:stretch;
    position:absolute; top:100%; left:0; right:0; z-index:50;
    background:#0b0710; border-top:1px solid rgba(255,255,255,0.1);
    padding:8px 18px 18px;
  }
  .nav-links.open .nav-item{ padding:12px 4px; border-bottom:1px solid rgba(255,255,255,0.06); }
  .nav-links.open .nav-dropdown{ border-bottom:1px solid rgba(255,255,255,0.06); }
  .nav-links.open .nav-dropdown .nav-item{ border-bottom:none; padding-bottom:6px; }
  .nav-links.open .nav-dropdown-menu{
    position:static; display:flex !important; flex-direction:column; gap:2px;
    background:none; border:none;
    box-shadow:none; padding:0 0 8px 14px; margin-top:0;
  }
  .nav-links.open .nav-dropdown-menu a{ padding:8px 4px; font-size:14px; }
  .mobile-toggle{ display:block; }
  .hero{ padding:60px 20px 40px; }
  .hero h1{ font-size:32px; }
  .hero-content{ text-align:center; max-width:100%; margin:0 auto; }
  .hero-content .condition-strip{ justify-content:center !important; }
  .hero-content .cbar-brand{ text-align:center !important; }
  .hero-content .hero-search{ margin:0 auto 46px; }
  .hero-content p{ margin:0 auto 34px; }
  .game-grid, .card-grid{ grid-template-columns: repeat(2,1fr); }
  .section{ padding:16px 18px 50px; }
  .story{ padding:30px 22px 70px; }
  .closing .mantra{ font-size:17px; }

  /* Mobilne veličine hero-a (boje su sad iste kao desktop, ovo samo prilagođava dimenzije) */
  .hero-wrap{ min-height: 100vh; }
  .hero-watermark img{ height: 80%; }
  .cbar{ width: 220px; }
  .cbar-brand img{ max-width:80vw; height:auto; width:260px; }
  .condition-strip{ flex-wrap:wrap; justify-content:center; gap:8px 10px; }
  .condition-label{ font-size:11px; }
}
