/* =========================================================================
   Pitaya2 — Klasik Portal teması (data-theme="portal", body.is-portal)
   Renk token'ları app.css'te. Bu dosya düzeni ve hareketli süslemeleri içerir:
   üst şerit, afiş (dönen ışık, alevler, kıvılcımlar), sol menü plakaları,
   süslü çerçeveler, madalyon ayraçlar, vitrin ve alt şerit amblemi.
   Bütün süslemeler CSS/SVG; dışarıdan görsel yok. Hareket azaltma tercihinde durur.
   ========================================================================= */

.is-portal {
  --header-h: 0px;
  --container: 1280px;
  --pt-gold: #e3b35a;
  --pt-gold-2: #f6dc8c;
  --pt-gold-dark: #8a5d22;
  --pt-red: #9e1f16;
  --pt-red-dark: #4a0c08;
  --pt-plaque: linear-gradient(180deg, #8c1d13 0%, #5d100a 55%, #3f0906 100%);
  --pt-plaque-hover: linear-gradient(180deg, #b0291b 0%, #761710 55%, #4f0c07 100%);
  --pt-panel: linear-gradient(180deg, rgba(227, 179, 90, .06), rgba(227, 179, 90, 0) 120px), linear-gradient(180deg, #1e0d0a, #150806);
  --pt-corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cg fill='none' stroke='%23e3b35a'%3E%3Cpath d='M1.5 27V9.5a8 8 0 0 1 8-8H27' stroke-width='2'/%3E%3Cpath d='M6 27V13a7 7 0 0 1 7-7h14' stroke-opacity='.4'/%3E%3Cpath d='M9.5 14.5c-1-3 1-5 5-5' stroke-opacity='.8'/%3E%3C/g%3E%3Ccircle cx='9.5' cy='9.5' r='2.6' fill='%23f6dc8c'/%3E%3C/svg%3E");
  --pt-corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cg transform='matrix(-1 0 0 1 28 0)'%3E%3Cg fill='none' stroke='%23e3b35a'%3E%3Cpath d='M1.5 27V9.5a8 8 0 0 1 8-8H27' stroke-width='2'/%3E%3Cpath d='M6 27V13a7 7 0 0 1 7-7h14' stroke-opacity='.4'/%3E%3Cpath d='M9.5 14.5c-1-3 1-5 5-5' stroke-opacity='.8'/%3E%3C/g%3E%3Ccircle cx='9.5' cy='9.5' r='2.6' fill='%23f6dc8c'/%3E%3C/g%3E%3C/svg%3E");
  --pt-corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cg transform='matrix(1 0 0 -1 0 28)'%3E%3Cg fill='none' stroke='%23e3b35a'%3E%3Cpath d='M1.5 27V9.5a8 8 0 0 1 8-8H27' stroke-width='2'/%3E%3Cpath d='M6 27V13a7 7 0 0 1 7-7h14' stroke-opacity='.4'/%3E%3Cpath d='M9.5 14.5c-1-3 1-5 5-5' stroke-opacity='.8'/%3E%3C/g%3E%3Ccircle cx='9.5' cy='9.5' r='2.6' fill='%23f6dc8c'/%3E%3C/g%3E%3C/svg%3E");
  --pt-corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cg transform='matrix(-1 0 0 -1 28 28)'%3E%3Cg fill='none' stroke='%23e3b35a'%3E%3Cpath d='M1.5 27V9.5a8 8 0 0 1 8-8H27' stroke-width='2'/%3E%3Cpath d='M6 27V13a7 7 0 0 1 7-7h14' stroke-opacity='.4'/%3E%3Cpath d='M9.5 14.5c-1-3 1-5 5-5' stroke-opacity='.8'/%3E%3C/g%3E%3Ccircle cx='9.5' cy='9.5' r='2.6' fill='%23f6dc8c'/%3E%3C/g%3E%3C/svg%3E");
  --pt-cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='24' viewBox='0 0 140 24'%3E%3Cg fill='none' stroke='%23e3b35a' stroke-width='1.5'%3E%3Cpath d='M4 6c20 0 30 12 52 12 6 0 10-3 14-8 4 5 8 8 14 8 22 0 32-12 52-12'/%3E%3Cpath d='M40 6c10 0 14 6 22 6M100 6c-10 0-14 6-22 6' stroke-opacity='.5'/%3E%3C/g%3E%3Cpath d='M70 2l6 8-6 10-6-10z' fill='%23b8261a' stroke='%23f6dc8c'/%3E%3C/svg%3E");
  --pt-chain: repeating-linear-gradient(90deg, var(--pt-gold) 0 7px, transparent 7px 10px);
}

body.is-portal {
  background:
    radial-gradient(1200px 520px at 50% 0, rgba(158, 31, 22, .28), transparent 70%),
    radial-gradient(900px 600px at 50% 100%, rgba(158, 31, 22, .16), transparent 70%),
    var(--pattern), var(--background);
}

/* ---- Üst şerit -------------------------------------------------------------- */
.pt-topbar { position: relative; z-index: 40; background: linear-gradient(180deg, #1d0b08, #0e0504); border-bottom: 1px solid rgba(227, 179, 90, .35); box-shadow: 0 1px 0 rgba(0, 0, 0, .6); font-size: var(--fs-xs); }
.pt-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 46px; }
.pt-live { display: flex; align-items: center; gap: .55rem; margin: 0; color: var(--text-muted); flex-wrap: wrap; }
.pt-live strong { color: var(--pt-gold-2); letter-spacing: .02em; }
.pt-live-players { padding-left: .55rem; border-left: 1px solid var(--border); }
.pt-topbar-actions { display: flex; align-items: center; gap: .45rem; }
.pt-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 4px; border: 1px solid rgba(227, 179, 90, .55); background: linear-gradient(180deg, #a8341c, #6e170d); color: #fff3d6; font-weight: 700; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 220, 160, .3); transition: filter var(--dur), transform var(--dur); }
.pt-chip:hover { color: #fff; filter: brightness(1.15); transform: translateY(-1px); }
.pt-chip .icon { width: 1rem; height: 1rem; }
.pt-chip-discord { background: linear-gradient(180deg, #6d78f7, #4450c8); border-color: rgba(190, 196, 255, .55); }
.pt-topbar .lang-btn { color: var(--pt-gold-2); }
.pt-topbar .dropdown { z-index: 60; }
.pt-menu-toggle { width: 40px; height: 40px; border-color: rgba(227, 179, 90, .4); }

/* ---- Afiş ------------------------------------------------------------------ */
.pt-banner { position: relative; isolation: isolate; overflow: hidden; min-height: 230px; display: grid; align-items: center; border-bottom: 2px solid var(--pt-gold-dark); box-shadow: 0 1px 0 rgba(246, 220, 140, .35), 0 18px 40px -18px #000; }
.pt-banner.is-home { min-height: clamp(320px, 22vw + 120px, 440px); }
.pt-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 45%, transparent 0, rgba(16, 6, 6, .55) 70%, rgba(16, 6, 6, .92) 100%), linear-gradient(0deg, var(--background) 0, transparent 45%); }
.pt-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--pt-chain) center / 100% 2px no-repeat, linear-gradient(0deg, rgba(227, 179, 90, .25), transparent); }
.pt-banner-art { position: absolute; inset: 0; z-index: -3; }
.pt-banner-art picture { display: block; width: 100%; height: 100%; }
.pt-banner-art img, .pt-banner-art .hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: pt-drift 30s ease-in-out infinite alternate; }
.pt-banner-fx { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.pt-banner .hero-embers { z-index: 0; }
.pt-banner .hero-embers i:nth-child(1) { left: 8%; } .pt-banner .hero-embers i:nth-child(2) { left: 18%; }
.pt-banner .hero-embers i:nth-child(3) { left: 31%; } .pt-banner .hero-embers i:nth-child(4) { left: 44%; }
.pt-banner .hero-embers i:nth-child(5) { left: 57%; } .pt-banner .hero-embers i:nth-child(6) { left: 69%; }
.pt-banner .hero-embers i:nth-child(7) { left: 81%; } .pt-banner .hero-embers i:nth-child(8) { left: 92%; }
.pt-banner-inner { position: relative; display: grid; justify-items: center; gap: 1.1rem; padding-block: 1.5rem 1.75rem; text-align: center; }

/* Logonun arkasında yavaşça dönen altın ışık huzmeleri */
.pt-rays { position: absolute; left: 50%; top: 46%; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; opacity: .5; mix-blend-mode: screen;
  background: repeating-conic-gradient(from 0deg, rgba(255, 214, 140, .32) 0 4deg, transparent 4deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, .6) 30%, transparent 68%); mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, .6) 30%, transparent 68%);
  animation: pt-spin 60s linear infinite; }

.pt-logo { display: inline-flex; text-decoration: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8)); animation: pt-glow 4s ease-in-out infinite alternate; }
.pt-logo .logo { gap: 1rem; }
.pt-logo .logo-mark { width: 62px; }
.pt-logo .logo-word { height: 44px; }
.pt-banner.is-home .pt-logo .logo-mark { width: 84px; }
.pt-banner.is-home .pt-logo .logo-word { height: 62px; }
.pt-logo img { max-height: 120px; max-width: min(420px, 80vw); width: auto; height: auto; object-fit: contain; }
.pt-banner.is-home .pt-logo img { max-height: clamp(130px, 8vw + 70px, 190px); }

/* Afişteki plaka: başlık + Kayıt / İndir */
.pt-plate { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.4rem; border: 1px solid var(--pt-gold); border-radius: 4px; background: linear-gradient(180deg, rgba(110, 18, 11, .88), rgba(45, 8, 5, .92)); box-shadow: inset 0 0 0 3px rgba(20, 5, 3, .8), inset 0 0 0 4px rgba(227, 179, 90, .35), 0 12px 30px -10px #000; }
.pt-plate-body { display: grid; gap: .6rem; justify-items: center; }
.pt-plate-title { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, .9rem + 1vw, 1.6rem); line-height: 1.2; background: var(--grad-heading); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .7)); }
.pt-plate-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.pt-plate-actions .btn { min-height: 42px; }

/* Parlayan taş */
.pt-gem { width: 12px; height: 12px; flex: none; transform: rotate(45deg); border: 1px solid var(--pt-gold-2); background: radial-gradient(circle at 35% 35%, #fff 0, #ff8a62 22%, #c4261a 55%, #5a0a06 100%); animation: pt-gem 2.4s ease-in-out infinite alternate; }

/* Alev: üç katman, farklı hızlarda titrer */
.pt-flame { position: absolute; bottom: 14%; width: 46px; height: 84px; }
.pt-flame-l { left: max(2%, calc(50% - 600px)); }
.pt-flame-r { right: max(2%, calc(50% - 600px)); }
.pt-flame::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 54px; height: 14px; margin-left: -27px; border-radius: 0 0 50% 50%; background: linear-gradient(180deg, var(--pt-gold-2), var(--pt-gold-dark)); box-shadow: 0 0 18px rgba(255, 150, 60, .55); }
.pt-flame i { position: absolute; left: 50%; bottom: 0; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%; transform-origin: 50% 100%; mix-blend-mode: screen; }
.pt-flame i:nth-child(1) { width: 46px; height: 80px; margin-left: -23px; background: radial-gradient(ellipse at 50% 80%, rgba(255, 120, 30, .95), rgba(200, 30, 10, .6) 55%, transparent 72%); filter: blur(2px); animation: pt-flicker .9s ease-in-out infinite alternate; }
.pt-flame i:nth-child(2) { width: 30px; height: 58px; margin-left: -15px; background: radial-gradient(ellipse at 50% 80%, #ffe08a, rgba(255, 150, 40, .85) 50%, transparent 72%); animation: pt-flicker .6s ease-in-out infinite alternate-reverse; }
.pt-flame i:nth-child(3) { width: 14px; height: 30px; margin-left: -7px; background: radial-gradient(ellipse at 50% 85%, #fff, #fff1b8 45%, transparent 75%); animation: pt-flicker .45s ease-in-out infinite alternate; }
.pt-flame-sm { position: absolute; left: 50%; bottom: 6px; width: 30px; height: 50px; margin-left: -15px; opacity: .8; }
.pt-flame-sm::after { display: none; }
.pt-flame-sm i:nth-child(1) { width: 30px; height: 50px; margin-left: -15px; }
.pt-flame-sm i:nth-child(2) { width: 20px; height: 36px; margin-left: -10px; }
.pt-flame-sm i:nth-child(3) { width: 9px; height: 18px; margin-left: -4.5px; }

.pt-bounce { display: inline-flex; animation: pt-bounce 1.6s ease-in-out infinite; }

/* ---- Üç sütun --------------------------------------------------------------- */
.pt-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr) 250px; grid-template-areas: "left main right"; gap: 1.25rem; align-items: start; padding-block: 1.75rem 3.5rem; position: relative; }
.pt-left { grid-area: left; }
.pt-main { grid-area: main; }
.pt-right { grid-area: right; }
.pt-col { display: grid; align-content: start; min-width: 0; }

/* Orta alan: koyu deri dokulu panel, köşe süsleri */
.pt-main { position: relative; min-width: 0; min-height: 60vh; padding: 1.5rem clamp(1rem, .6rem + 1vw, 1.75rem) 2rem; border: 1px solid var(--pt-gold-dark); border-radius: 4px; background: var(--pt-panel); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 0 0 4px #24100c, inset 0 0 0 5px rgba(227, 179, 90, .3), inset 0 0 80px rgba(0, 0, 0, .55), 0 18px 40px -20px #000; }
.pt-main::before, .pt-frame::before { content: ""; position: absolute; inset: 5px; pointer-events: none; background: var(--pt-corner-tl) top left no-repeat, var(--pt-corner-tr) top right no-repeat, var(--pt-corner-bl) bottom left no-repeat, var(--pt-corner-br) bottom right no-repeat; }
.pt-main > * { position: relative; }

/* Orta alandaki sayfalar: tam genişlik bileşenleri sütuna uydur */
.is-portal .pt-main .container { max-width: none; padding-inline: 0; }
.is-portal .pt-main .section { padding-block: 1.75rem; }
.is-portal .pt-main .section-alt { background: none; }
.is-portal .page-head { padding-top: .25rem; padding-bottom: 1.25rem; border-bottom: 0; overflow: visible; margin-bottom: .5rem; }
.is-portal .page-head::before { background: none; }
.is-portal .page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: var(--pt-cap) center / 140px 24px no-repeat, linear-gradient(90deg, transparent, rgba(227, 179, 90, .6), transparent) center 6px / 100% 1px no-repeat; }
.is-portal .page-head h1 { font-size: var(--fs-2xl); background: var(--grad-heading); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-portal .page-body { padding-block: 1.25rem .5rem; }
.is-portal .pt-main h2 { font-size: var(--fs-2xl); }
.is-portal .pt-main :is(.about-grid, .news-grid, .rank-grid, .events-grid, .download-layout, .auth-layout, .guide-layout) { grid-template-columns: minmax(0, 1fr); }
.is-portal .pt-main :is(.features, .news-index) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-portal .pt-main .auth-aside { order: 2; }
.is-portal .panel-shell { padding-top: 1.75rem; }
.is-portal .panel-side { top: 1rem; }

/* ---- Süslü çerçeve ---------------------------------------------------------- */
.pt-frame { position: relative; margin: 1.15rem 0 1.4rem; padding: 2.2rem .95rem 1.25rem; border: 1px solid var(--pt-gold-dark); border-radius: 4px; background: var(--pt-panel); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 0 0 4px #24100c, inset 0 0 0 5px rgba(227, 179, 90, .3), 0 14px 30px -16px #000; }
.pt-frame::after { content: ""; position: absolute; left: 50%; bottom: -13px; width: 140px; height: 24px; margin-left: -70px; background: var(--pt-cap) center / contain no-repeat; pointer-events: none; }
.pt-frame > * { position: relative; }
.pt-main .pt-frame { margin-block: 1.9rem 1.6rem; padding-inline: clamp(.95rem, .6rem + 1vw, 1.5rem); }

/* Başlık plakası: altın çerçeve > kırmızı lake, uçlarda parlayan taş, üzerinden geçen ışık */
.pt-frame-title { position: absolute !important; top: -15px; left: 50%; transform: translateX(-50%); z-index: 2; margin: 0; padding: 2px; min-width: min(78%, 260px); max-width: calc(100% - 1rem);
  background: linear-gradient(180deg, var(--pt-gold-2), var(--pt-gold) 45%, var(--pt-gold-dark));
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
  font: 700 var(--fs-sm)/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-align: center; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .7)); }
.pt-frame-title > span { position: relative; display: block; padding: .5rem 1.9rem; color: #fff1c4; text-shadow: 0 1px 0 #000, 0 0 8px rgba(255, 180, 80, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 13px 100%, 0 50%);
  background: linear-gradient(105deg, transparent 42%, rgba(255, 236, 190, .45) 50%, transparent 58%) no-repeat, var(--pt-plaque);
  background-size: 260% 100%, auto; background-position: 160% 0, 0 0; animation: pt-shine 7s ease-in-out infinite; }
.pt-frame-title > span::before, .pt-frame-title > span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; transform: rotate(45deg); border: 1px solid var(--pt-gold-2); background: radial-gradient(circle at 35% 35%, #fff 0, #ff8a62 25%, #c4261a 60%, #5a0a06 100%); animation: pt-gem 2.4s ease-in-out infinite alternate; }
.pt-frame-title > span::before { left: 12px; }
.pt-frame-title > span::after { right: 12px; animation-delay: 1.2s; }
.is-portal .pt-main .pt-frame-title { min-width: min(70%, 340px); font-size: var(--fs-md); }

/* Madalyon ayraç: zincir + dönen halka + nabız gibi parlayan taş */
.pt-medal { position: relative; height: 30px; margin: -.35rem 0 -.6rem; background: var(--pt-chain) center / 100% 2px no-repeat; }
.pt-medal::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid var(--pt-gold); background: radial-gradient(circle, #3a120b 0, #150605 70%); box-shadow: 0 0 0 3px #1a0806, 0 0 14px rgba(255, 170, 60, .45); }
.pt-medal::after { content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px dashed rgba(246, 220, 140, .7); animation: pt-spin 12s linear infinite; }
.pt-medal i { position: absolute; left: 50%; top: 50%; z-index: 1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #ff9a5a 30%, #c4261a 70%); animation: pt-pulse 2s ease-in-out infinite; }

/* ---- Sol menü ---------------------------------------------------------------- */
.pt-nav { display: grid; gap: .45rem; }
.pt-plaque { position: relative; overflow: hidden; display: flex; align-items: center; gap: .6rem; min-height: 40px; padding: .5rem .85rem; border: 1px solid #a8782b; border-radius: 3px; background: var(--pt-plaque); color: #f8e7bd; font: 700 var(--fs-sm)/1.2 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; list-style: none; box-shadow: inset 0 1px 0 rgba(255, 220, 150, .3), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 2px 4px rgba(0, 0, 0, .5); text-shadow: 0 1px 0 #000; transition: background-color var(--dur), transform var(--dur) var(--ease), box-shadow var(--dur), color var(--dur); }
.pt-plaque::-webkit-details-marker { display: none; }
.pt-plaque > span { flex: 1; min-width: 0; }
.pt-plaque .icon { color: var(--pt-gold-2); filter: drop-shadow(0 0 4px rgba(255, 170, 60, .5)); }
.pt-plaque::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 190, .35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .6s var(--ease); pointer-events: none; }
.pt-plaque:hover, .pt-plaque:focus-visible { color: #fff; background: var(--pt-plaque-hover); transform: translateX(3px); box-shadow: inset 0 1px 0 rgba(255, 220, 150, .4), 0 0 0 1px rgba(246, 220, 140, .4), 0 0 16px rgba(255, 140, 50, .35); }
.pt-plaque:hover::after, .pt-plaque:focus-visible::after { transform: translateX(120%); }
.pt-plaque.is-current { border-color: var(--pt-gold-2); background: var(--pt-plaque-hover); box-shadow: inset 0 1px 0 rgba(255, 220, 150, .45), 0 0 0 1px rgba(246, 220, 140, .5), 0 0 18px rgba(255, 140, 50, .4); }
.pt-plaque.is-current > span::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: .5rem; transform: rotate(45deg); background: var(--pt-gold-2); box-shadow: 0 0 8px var(--pt-gold); vertical-align: middle; animation: pt-gem 1.6s ease-in-out infinite alternate; }
.pt-plaque.is-cta { border-color: var(--pt-gold-2); background: linear-gradient(180deg, #f6dc8c, #d9a441 50%, #a8742a); color: #2a0f06; text-shadow: 0 1px 0 rgba(255, 245, 210, .6); }
.pt-plaque.is-cta .icon { color: #4a1a08; filter: none; }
.pt-plaque .chev { width: .9em; height: .9em; transition: transform var(--dur); }
.pt-nav-group[open] > .pt-plaque .chev { transform: rotate(180deg); }
.pt-nav-sub { display: grid; gap: .1rem; padding: .4rem .25rem .25rem .6rem; margin-left: .55rem; border-left: 1px solid rgba(227, 179, 90, .35); }
.pt-nav-sub a, .pt-links a { display: flex; align-items: center; gap: .55rem; padding: .45rem .55rem; border-radius: 3px; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; transition: color var(--dur), background-color var(--dur); }
.pt-nav-sub a:hover, .pt-nav-sub a[aria-current], .pt-links a:hover { color: var(--pt-gold-2); background: rgba(227, 179, 90, .08); }
.pt-nav-sub .icon, .pt-links .icon { color: var(--pt-gold); width: 1rem; height: 1rem; }

.pt-download-link { display: grid; justify-items: center; gap: .35rem; text-align: center; text-decoration: none; color: var(--text); }
.pt-download-link strong { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-lg); color: var(--pt-gold-2); }
.pt-download-link .faint { font-size: var(--fs-xs); }
.pt-download-icon { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: .3rem; border: 2px solid var(--pt-gold); border-radius: 6px; background: radial-gradient(circle at 50% 70%, #5d140c, #1a0806 75%); box-shadow: inset 0 0 0 3px #1a0806, inset 0 0 0 4px rgba(227, 179, 90, .4), 0 0 18px rgba(255, 140, 50, .25); transition: box-shadow var(--dur); }
.pt-download-icon .pt-bounce { position: relative; color: #fff3d0; }
.pt-download-icon .pt-bounce .icon { width: 30px; height: 30px; filter: drop-shadow(0 2px 2px #000); }
.pt-download-link:hover .pt-download-icon { box-shadow: inset 0 0 0 3px #1a0806, inset 0 0 0 4px rgba(246, 220, 140, .7), 0 0 26px rgba(255, 150, 60, .55); }

/* ---- Sağ sütun ---------------------------------------------------------------- */
.pt-login { display: grid; gap: .35rem; }
.pt-login label { color: var(--pt-gold); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pt-login .input { min-height: 40px; margin-bottom: .35rem; background: #0f0504; border-color: rgba(227, 179, 90, .35); }
.pt-login .btn { margin-top: .3rem; min-height: 42px; }
.pt-login-links { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin: .75rem 0 0; font-size: var(--fs-xs); }
.pt-account { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.pt-account > div { display: grid; min-width: 0; }
.pt-account strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pt-gold-2); }
.pt-account .faint { font-size: var(--fs-xs); }
.pt-account .panel-avatar { border: 2px solid var(--pt-gold); box-shadow: 0 0 12px rgba(255, 150, 60, .35); }
.pt-links { display: grid; gap: .1rem; margin-bottom: .75rem; }

.pt-server-switch { margin-bottom: .75rem; }
.pt-status { display: grid; gap: .25rem; margin-bottom: .65rem; }
.pt-status p { margin: 0; display: flex; align-items: center; gap: .5rem; }
.pt-status-line { font-weight: 700; }
.pt-status-players strong { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); color: var(--pt-gold-2); }
.pt-status-players span { color: var(--text-muted); font-size: var(--fs-sm); }
.pt-stats { margin: 0 0 .8rem; display: grid; gap: .1rem; font-size: var(--fs-sm); }
.pt-stats div { display: flex; justify-content: space-between; gap: .5rem; padding: .3rem .1rem; border-bottom: 1px dotted rgba(227, 179, 90, .25); }
.pt-stats dt { color: var(--text-muted); }
.pt-stats dd { margin: 0; font-weight: 700; color: var(--pt-gold-2); }

.pt-top { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .2rem; font-size: var(--fs-sm); }
.pt-top li { display: flex; align-items: center; gap: .5rem; padding: .32rem .45rem; border-radius: 3px; background: rgba(227, 179, 90, .04); border: 1px solid transparent; }
.pt-top li:nth-child(odd) { background: rgba(227, 179, 90, .08); }
.pt-top-rank { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid rgba(227, 179, 90, .5); font-size: .72rem; font-weight: 700; color: var(--text-muted); }
.pt-top li.top-1 .pt-top-rank { background: radial-gradient(circle at 35% 35%, #fff3c4, #e3b35a 55%, #8a5d22); color: #2a1306; border-color: #f6dc8c; box-shadow: 0 0 10px rgba(255, 200, 90, .6); animation: pt-pulse 2.6s ease-in-out infinite; }
.pt-top li.top-2 .pt-top-rank { background: radial-gradient(circle at 35% 35%, #fff, #c9ced6 55%, #6f7680); color: #1d2026; }
.pt-top li.top-3 .pt-top-rank { background: radial-gradient(circle at 35% 35%, #ffe0c4, #c98a52 55%, #6e4220); color: #2a1306; }
.pt-top .class-ico { width: 18px; height: 18px; color: var(--pt-gold); flex: none; }
.pt-top-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.pt-top-level { color: var(--pt-gold-2); font-weight: 700; font-variant-numeric: tabular-nums; }

.pt-community { display: grid; gap: .55rem; }
.pt-community-link { display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem; border: 1px solid rgba(227, 179, 90, .3); border-radius: 4px; background: rgba(0, 0, 0, .25); color: var(--text); text-decoration: none; transition: border-color var(--dur), background-color var(--dur); }
.pt-community-link:hover { color: var(--text); border-color: var(--pt-gold); background: rgba(227, 179, 90, .08); }
.pt-community-link > span:last-child { display: grid; }
.pt-community-link .faint { font-size: var(--fs-xs); }

/* Dönen kesik çizgili halka içinde simge */
.pt-ring { position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 2px solid var(--pt-gold); background: radial-gradient(circle at 50% 35%, #8c1d13, #2a0806 75%); color: #fff1c4; box-shadow: 0 0 12px rgba(255, 140, 50, .3); }
.pt-ring::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(246, 220, 140, .55); animation: pt-spin 14s linear infinite; }
.pt-ring .icon { width: 20px; height: 20px; }
.is-discord .pt-ring { background: radial-gradient(circle at 50% 35%, #6d78f7, #232a7a 75%); }

/* ---- Ana sayfa: vitrin ------------------------------------------------------- */
.pt-slider { position: relative; margin-bottom: 1rem; border: 1px solid var(--pt-gold-dark); border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), 0 0 0 4px #1d0b08, 0 0 0 5px rgba(227, 179, 90, .35), 0 16px 30px -14px #000; }
.pt-slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.pt-slides::-webkit-scrollbar { display: none; }
.pt-slide { position: relative; isolation: isolate; scroll-snap-align: start; aspect-ratio: 16 / 7; min-height: 240px; display: flex; align-items: flex-end; }
.pt-slide .pt-slide-img, .pt-slide picture { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.pt-slide img { width: 100%; height: 100%; object-fit: cover; }
.pt-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 3, 2, .95) 0, rgba(10, 3, 2, .55) 45%, transparent 75%); }
.pt-slide-body { padding: 1.25rem 3.6rem 1.5rem; max-width: 40rem; }
.pt-slide-body h2 { margin: .45rem 0 .35rem; font-size: var(--fs-xl) !important; background: var(--grad-heading); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 #000); }
.pt-slide-body p { margin: 0 0 .8rem; color: var(--text-muted); font-size: var(--fs-sm); }
.pt-slider-btn { position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--pt-gold); background: radial-gradient(circle at 50% 35%, #8c1d13, #2a0806 80%); color: #fff1c4; cursor: pointer; box-shadow: 0 0 12px rgba(0, 0, 0, .7); transition: filter var(--dur), transform var(--dur); }
.pt-slider-btn:hover { filter: brightness(1.25); transform: scale(1.06); }
.pt-slider-btn.is-prev { left: .6rem; }
.pt-slider-btn.is-next { right: .6rem; }
.pt-dots { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; display: flex; gap: .4rem; }
.pt-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 1px solid var(--pt-gold); background: rgba(0, 0, 0, .5); cursor: pointer; }
.pt-dots button[aria-current] { background: var(--pt-gold-2); box-shadow: 0 0 8px var(--pt-gold); }

.pt-welcome-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.pt-welcome-grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.pt-welcome .prose p:last-child { margin-bottom: 0; }
.pt-facts { margin: 0; padding: .5rem .8rem; border: 1px solid rgba(227, 179, 90, .25); border-radius: 4px; background: rgba(0, 0, 0, .25); font-size: var(--fs-sm); }
.pt-facts div { display: flex; justify-content: space-between; gap: .75rem; padding: .4rem 0; border-bottom: 1px dotted rgba(227, 179, 90, .25); }
.pt-facts div:last-child { border-bottom: 0; }
.pt-facts dt { color: var(--text-muted); }
.pt-facts dd { margin: 0; font-weight: 700; color: var(--pt-gold-2); text-align: right; }

.pt-tools { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pt-tools-end { justify-content: flex-end; margin: .8rem 0 0; }
.pt-news { display: grid; gap: .6rem; }
.pt-news-item { border: 1px solid rgba(227, 179, 90, .28); border-radius: 4px; background: rgba(0, 0, 0, .28); }
.pt-news-item[open] { border-color: rgba(227, 179, 90, .55); box-shadow: 0 0 18px -6px rgba(255, 150, 60, .35); }
.pt-news-item summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; align-items: center; padding: .8rem 1rem; cursor: pointer; list-style: none; }
.pt-news-item summary::-webkit-details-marker { display: none; }
.pt-news-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-muted); }
.pt-news-meta time { display: inline-flex; align-items: center; gap: .35rem; }
.pt-news-meta .icon { width: .95rem; height: .95rem; color: var(--pt-gold); }
.pt-news-title { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.25; color: var(--text); }
.pt-news-toggle { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border: 1px solid rgba(227, 179, 90, .55); border-radius: 3px; color: var(--pt-gold-2); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.pt-news-toggle .chev { width: .9em; height: .9em; transition: transform var(--dur); }
.pt-news-item[open] .pt-news-toggle .chev { transform: rotate(180deg); }
.pt-news-item summary:hover .pt-news-title { color: var(--pt-gold-2); }
.pt-news-body { padding: 0 1rem 1rem; border-top: 1px solid rgba(227, 179, 90, .18); padding-top: .85rem; }
.pt-news-body p { color: var(--text-muted); }

.pt-event-next { margin-bottom: 1.25rem; text-align: center; }
.pt-event-next .countdown { justify-content: center; }
.pt-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.pt-features li { display: flex; gap: .85rem; align-items: flex-start; }
.pt-features h3 { font-size: var(--fs-md); margin-bottom: .25rem; color: var(--pt-gold-2); }
.pt-features p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---- Alt şerit --------------------------------------------------------------- */
.is-portal .site-footer { margin-top: 2.5rem; padding-top: 5rem; border-top: 2px solid var(--pt-gold-dark); background: radial-gradient(70% 140% at 50% 0, rgba(190, 40, 25, .45), transparent 70%), linear-gradient(180deg, #4a0c08 0, #260605 45%, #100404 100%); box-shadow: inset 0 1px 0 rgba(246, 220, 140, .3); }
.is-portal .site-footer::before { top: 6px; height: 2px; background: var(--pt-chain) center / 100% 2px no-repeat; opacity: .6; }
.is-portal .footer-bottom { justify-content: center; text-align: center; flex-direction: column; align-items: center; border-top-color: rgba(227, 179, 90, .25); }
.pt-emblem { position: absolute; left: 50%; top: 0; z-index: 3; width: 104px; height: 104px; margin: -54px 0 0 -52px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--pt-gold); background: radial-gradient(circle at 50% 40%, #5d140c, #1a0605 72%); box-shadow: 0 0 0 4px #1a0605, 0 0 0 5px rgba(227, 179, 90, .45), 0 0 34px rgba(255, 140, 50, .45); overflow: hidden; isolation: isolate; }
.pt-emblem .pt-rays { width: 180px; height: 180px; margin: -90px 0 0 -90px; top: 50%; z-index: -1; opacity: .7; animation-duration: 24s; }
.pt-emblem img { width: 78px; height: 78px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255, 170, 60, .6)); }
.pt-emblem .logo-mark { width: 54px; filter: drop-shadow(0 0 10px rgba(255, 170, 60, .7)); animation: pt-glow 3.5s ease-in-out infinite alternate; }

/* ---- Hareketler ---------------------------------------------------------------- */
@keyframes pt-spin { to { transform: rotate(360deg); } }
@keyframes pt-drift { from { transform: scale(1.08) translateX(-1.5%); } to { transform: scale(1.08) translateX(1.5%); } }
@keyframes pt-glow { from { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8)) drop-shadow(0 0 6px rgba(255, 170, 60, .25)); } to { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8)) drop-shadow(0 0 22px rgba(255, 170, 60, .75)); } }
@keyframes pt-gem { from { box-shadow: 0 0 2px 0 rgba(255, 90, 60, .4); filter: brightness(.85); } to { box-shadow: 0 0 10px 3px rgba(255, 120, 70, .85); filter: brightness(1.25); } }
@keyframes pt-pulse { 0%, 100% { transform: scale(.85); box-shadow: 0 0 4px rgba(255, 120, 60, .5); } 50% { transform: scale(1.1); box-shadow: 0 0 14px 3px rgba(255, 150, 70, .9); } }
@keyframes pt-flicker { 0% { transform: scale(1, 1) skewX(0); opacity: .9; } 35% { transform: scale(.94, 1.06) skewX(2deg); } 70% { transform: scale(1.04, .95) skewX(-2deg); opacity: 1; } 100% { transform: scale(.97, 1.08) skewX(1deg); opacity: .85; } }
@keyframes pt-shine { 0%, 55% { background-position: 160% 0, 0 0; } 85%, 100% { background-position: -60% 0, 0 0; } }
@keyframes pt-bounce { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---- Dar ekranlar ---------------------------------------------------------------- */
@media (min-width: 900px) { .pt-menu-toggle { display: none !important; } }
@media (max-width: 1199px) {
  .pt-shell { grid-template-columns: 220px minmax(0, 1fr); grid-template-areas: "left main" "left right"; }
  .pt-right { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; align-items: start; }
  .pt-right .pt-medal { display: none; }
}
@media (max-width: 899px) {
  .pt-shell { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "right"; padding-top: 1.25rem; }
  .pt-left { display: none; }
  .pt-menu-toggle { display: grid; }
  .pt-flame { display: none; }
  .pt-live-state { display: none; }
  .pt-banner { min-height: 170px; }
  .pt-banner.is-home { min-height: 280px; }
  .is-portal .pt-main :is(.features, .news-index) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pt-topbar .pt-chip span { display: none; }
  .pt-live-players { display: none; }
  .pt-logo .logo-mark { width: 46px; }
  .pt-logo .logo-word { height: 32px; }
  .pt-banner.is-home .pt-logo .logo-mark { width: 58px; }
  .pt-banner.is-home .pt-logo .logo-word { height: 42px; }
  .pt-plate { padding: .75rem .85rem; }
  .pt-plate .pt-gem { display: none; }
  .pt-welcome-grid, .pt-features { grid-template-columns: minmax(0, 1fr); }
  .pt-slide { aspect-ratio: auto; min-height: 280px; }
  .pt-main { padding-inline: .85rem; }
  .pt-rays { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-rays, .pt-flame, .pt-banner .hero-embers { display: none; }
  .pt-slides { scroll-behavior: auto; }
}
