@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --gold: #ffcc00;
  --gold2: #ffb300;
  --dark: #0a0a0a;
  --mid: #121212;
  --text: #eaeaea;
}

*{margin:0;padding:0;box-sizing:border-box;}
body {
  font-family:'Poppins',sans-serif;
  color:var(--text);
  background:#000;
  overflow-x:hidden;
  position:relative;
  scroll-behavior:smooth;
}

body::before {
  content:"";
  position:fixed;
  inset:0;
  background:radial-gradient(
    circle at 50% 25%,
    rgba(255,204,0,0.15),
    rgba(255,204,0,0.08) 40%,
    rgba(0,0,0,0.95) 100%
  );
  filter:blur(160px);
  z-index:0;
  pointer-events:none;
  animation:moveGlow 18s ease-in-out infinite alternate;
}
/* @keyframes moveGlow {
  0% { background-position:50% 20%; opacity:0.8; }
  50% { background-position:50% 60%; opacity:1; }
  100% { background-position:50% 40%; opacity:0.9; }
} */

.üst {
  text-align:center;
  padding:130px 20px 100px;
  position:relative;
  z-index:2;
}
.üst h1 {
  font-size:clamp(2rem,5vw,3rem);
  background:linear-gradient(90deg,var(--gold),var(--gold2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom:10px;
  text-shadow:0 0 20px rgba(255,204,0,.25);
}

.üst::before {
  content: "";
  position: absolute;
  inset: 0; /* top, right, bottom, left: 0 */
  background-image: url(/test.png);
  background-size: cover;
  background-position: center;
  opacity: 0.1; /* 🔹 Arka plan opaklığı */
  z-index: -1; /* Arka planda kalır */
}
.üst p {
  color:#ccc;
  font-size:1rem;
  line-height:1.8;
  max-width:700px;
  margin:0 auto 25px;
}
.btn-gold {
  background:linear-gradient(90deg,var(--gold),var(--gold2));
  color:#000;
  font-weight:700;
  border:none;
  border-radius:40px;
  padding:14px 32px;
  cursor:pointer;
  transition:0.3s;
  box-shadow:0 8px 25px rgba(255,204,0,.25);
  text-decoration:none;
}
.btn-gold:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(255,204,0,.35);
}

/* Categories */
main {
  position:relative;
  z-index:2;
  max-width:1100px;
  margin:auto;
  padding:0 20px 100px;
}
.category {
  margin:80px 0;
}
.category h2 {
  color:var(--gold);
  font-size:1.8rem;
  margin-bottom:25px;
  text-shadow:0 0 8px rgba(255,204,0,.25);
}

.kartlar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

/* .kartlar:only-child .kart,
.kartlar > .kart:only-child {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
} */

.kartlar:has(.kart:nth-child(3)) .kart {
  max-width: none;
  margin: 0; 
}

.kartlar:not(:has(.kart:nth-child(3))) .kart {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}


.kart {
  background:linear-gradient(160deg,#111,#0a0a0a);
  border:1px solid rgba(255,204,0,.25);
  border-radius:14px;
  padding:20px;
  text-align:center;
  transition:0.3s;
}
.kart:hover {
  transform:translateY(-6px);
  border-color:var(--gold);
  box-shadow:0 0 20px rgba(255,204,0,.15);
}
.avatar-frame {
  background:#0e0e0e;
  border:1px solid rgba(255,255,255,0.05);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  height:120px;
  margin-bottom:12px;
}
.avatar-frame img {
  width:70px;
  image-rendering:pixelated;
}

.otel-frame {
  background:#0e0e0e;
  border:1px solid rgba(255,255,255,0.05);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  height:120px;
  margin-bottom:12px;
}
.otel-frame img {
  width:200px;
  image-rendering:pixelated;
}

.tas-kod-frame {
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  height:170px;
  margin-bottom:12px;
}
.tas-kod-frame img {
  width:340px;
  height: 191.25;
  image-rendering:pixelated;
  border-radius: 14px;
  border: rgba(255,204,0,.25) solid 1px;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.tas-kod-frame video {
  width:340px;
  height: 191.25;
  image-rendering:pixelated;
  border-radius: 14px;
  border: rgba(255,204,0,.25) solid 1px;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
    display: block;
}

.kenarh3 {
  color: white;
  -webkit-text-stroke: 2px black;
  paint-order: stroke fill;
}

.placeholder {
  opacity:0.7;
  font-size:1.8rem;
}
.kart h3 {
  margin:5px 0;
  color:#fff;
}
.kart p {
  color:#bdbdbd;
  font-size:0.9rem;
}

.stats {
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:700px;
  margin:auto;
}
.stat {
  display:flex;
  align-items:center;
  gap:10px;
}
.stat span:first-child { width:90px; font-weight:500; }
.bar {
  flex:1;
  background:rgba(255,255,255,0.1);
  height:10px;
  border-radius:10px;
  overflow:hidden;
}
.fill {
  width:0%;
  height:100%;
  background:linear-gradient(90deg,var(--gold),var(--gold2));
  box-shadow:0 0 12px rgba(255,204,0,.6);
  border-radius:10px;
  transition:width 1.3s ease-out;
}
.percent {
  width:40px;
  color:var(--gold);
  font-weight:700;
  text-align:right;
}

footer {
  position:relative;
  text-align:center;
  padding:60px 0 40px;
  background:#090909;
  border-top:1px solid rgba(255,204,0,0.25);
  z-index:2;
}
footer strong { color:var(--gold); }
.to-top {
  position:absolute;
  top:-22px;
  left:50%;
  transform:translateX(-50%);
  background:linear-gradient(180deg,var(--gold),var(--gold2));
  color:#000;
  border:none;
  border-radius:50%;
  width:44px;
  height:44px;
  font-size:1.2rem;
  cursor:pointer;
  box-shadow:0 0 20px rgba(255,204,0,.25);
  transition:0.3s;
}
.to-top:hover { transform:translateX(-50%) scale(1.1); }

.fade-in { opacity:0; transform:translateY(30px); transition:opacity .6s ease, transform .6s ease; }
.fade-in.show { opacity:1; transform:translateY(0); }

.notice {
  font-size:0.9rem;
  color:#999;
  border:1px dashed rgba(255,204,0,0.3);
  padding:10px 15px;
  border-radius:10px;
  text-align:center;
}

.rs {
  color: white;
  text-decoration: none;
}

@media (max-width:700px) {
  .avatar-frame { height:100px; }
  .avatar-frame img { width:60px; }
  .üst { padding:100px 20px 70px; }
}

@media (max-width: 900px) {
  .kartlar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .kartlar {
    grid-template-columns: 1fr;
  }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f4c542, #c89b00);
    border-radius: 10px;
    border: 2px solid #0d0d0d;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffd95e, #e4b200);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.8);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #f4c542 #0d0d0d;
}

#duck-notice {
    position: fixed;
    right: -350px;
    top: 30px;
    width: 300px;
    background: #0d0d0d;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.35);
    border: 1px solid rgba(255, 200, 0, 0.4);
    font-family: "Poppins", sans-serif;
    z-index: 999999;
    transition: right 0.6s cubic-bezier(.25,.8,.25,1);
}

#duck-notice .dn-title {
    font-size: 18px;
    font-weight: 700;
    color: #f5c242;
    margin-bottom: 4px;
}

#duck-notice .dn-text {
    font-size: 14px;
    line-height: 1.4;
    color: #ddd;
}

#duck-notice .dn-close {
    position: absolute;
    right: 12px;
    top: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #f5c242;
    transition: 0.2s;
}

#duck-notice .dn-close:hover {
    color: #fff;
    transform: scale(1.2);
}

#duck-notice.show {
    right: 20px;
}

.faq-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 20px;
  color: #fff;
}

.faq-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #f5c842;
  text-align: center;
}

.faq-item {
  background: rgba(20,20,20,0.6);
  border: 1px solid rgba(255, 208, 0, 0.3);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  backdrop-filter: blur(5px);
  transition: 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 208, 0, 0.6);
  box-shadow: 0 0 15px rgba(255, 208, 0, 0.2);
}

.faq-question {
  width: 100%;
  padding: 15px 20px;
  background: none;
  color: #fff;
  font-size: 18px;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question span {
  font-weight: bold;
  color: #f5c842;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: rgba(0,0,0,0.3);
  color: #ddd;
  font-size: 16px;
  transition: max-height 0.4s ease;
}

.faq-answer.open {
  max-height: 300px;
  padding: 15px 20px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 1s ease, opacity 1s ease;
}

.faq-answer.open {
  max-height: 1000px;
  opacity: 1;
}

.honor-section {
  margin-top: 80px;
  padding: 20px 0;
  text-align: center;
}

.honor-section h2 {
  color: #ffd54a;
  font-size: 28px;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(255, 213, 74, 0.4);
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 90%;
  margin: 0 auto;
}

.honor-card {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 213, 74, 0.2);
  padding: 20px;
  border-radius: 14px;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(255, 213, 74, 0.06);
}

.honor-card:hover {
  border-color: rgba(255, 213, 74, 0.5);
  box-shadow: 0 0 20px rgba(255, 213, 74, 0.15);
  transform: translateY(-4px);
}

.honor-card h3 {
  color: #ffd54a;
  font-size: 20px;
  margin-bottom: 8px;
}

.honor-card p {
  color: #ddd;
  font-size: 16px;
}

#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #0b0c10;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity .6s ease;
}

.loader-box {
    position: relative;
    text-align: center;
}

.glow-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid rgba(255, 204, 0, 0.4);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.7);
    animation: spin 2.2s linear infinite;
    margin: 0 auto;
}

.duck-icon {
    font-size: 48px;
    position: absolute;
    top: 46px;
    left: 50%;
    transform: translateX(-50%);
    animation: duckFloat 2s ease-in-out infinite;
}

.loading-text {
    margin-top: 20px;
    font-size: 18px;
    color: #ffdc5c;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
    animation: pulse 1.3s infinite;
}

@keyframes spin {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

@keyframes duckFloat {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
}

@keyframes pulse {
    0%, 100% { opacity: .6; }
    50% { opacity: 1; }
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* @media (max-width: 480px) {
  .tas-kod-frame video {
    width: 100%;
    height: auto;
  }
} */

@media (max-width: 480px) {
  .tas-kod-frame video {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .tas-kod-frame img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .tas-kod-frame {
    height: auto;
    min-height: 120px;
  }
}