/*
Theme Name: WWE RPG Portal
Theme URI: https://example.com/wwe-rpg-portal
Author: Alperen C + ChatGPT
Author URI: https://example.com
Description: WWE 2K TR RPG için şov, roster, profil, chat, tweet ve iletişim portalı.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wwe-rpg-portal
Tags: custom, entertainment, community, dark
*/
:root{--bg:#07090f;--panel:#0d111c;--panel2:#111827;--soft:#1f2937;--line:rgba(255,255,255,.10);--text:#f9fafb;--muted:#aeb7c7;--red:#ef233c;--red2:#b91c1c;--gold:#fbbf24;--blue:#38bdf8;--green:#22c55e;--radius:18px;--shadow:0 24px 80px rgba(0,0,0,.42)}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at 10% 0%,rgba(239,35,60,.22),transparent 34%),radial-gradient(circle at 90% 10%,rgba(56,189,248,.14),transparent 30%),var(--bg);color:var(--text)} a{color:inherit;text-decoration:none} button,input,textarea,select{font:inherit}.site-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:18px;padding:14px 22px;background:rgba(7,9,15,.84);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;min-width:250px}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,var(--red),#7f1d1d);font-weight:900;letter-spacing:-1px;box-shadow:0 12px 30px rgba(239,35,60,.25)}.brand strong{display:block;font-size:18px}.brand small{display:block;color:var(--muted);font-size:12px}nav{display:flex;gap:10px;align-items:center;flex:1}nav a{padding:10px 13px;border-radius:999px;color:var(--muted);font-weight:700;font-size:14px}nav a:hover,nav a.active{background:rgba(255,255,255,.08);color:var(--text)}.auth-box{display:flex;align-items:center;gap:10px}.mobile-menu{display:none;background:var(--soft);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:9px 12px}main{max-width:1220px;margin:0 auto;padding:26px 18px 60px}.hero{position:relative;overflow:hidden;min-height:430px;border-radius:28px;padding:42px;background:linear-gradient(90deg,rgba(7,9,15,.96),rgba(7,9,15,.55)),var(--hero-url) center/cover no-repeat;border:1px solid var(--line);box-shadow:var(--shadow)}.kicker{display:inline-flex;gap:8px;align-items:center;color:#fecaca;background:rgba(239,35,60,.15);border:1px solid rgba(239,35,60,.35);padding:8px 12px;border-radius:999px;font-weight:800;font-size:13px}.hero h1{font-size:clamp(38px,6vw,78px);line-height:.92;margin:20px 0 14px;max-width:760px;letter-spacing:-3px}.hero p{font-size:18px;color:#d1d5db;max-width:720px;line-height:1.6}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.primary,.secondary,.danger,.ghost{border:0;border-radius:14px;padding:12px 16px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.primary{background:linear-gradient(135deg,var(--red),var(--red2));color:#fff}.secondary{background:#fff;color:#111827}.ghost{background:rgba(255,255,255,.08);color:#fff;border:1px solid var(--line)}.danger{background:#7f1d1d;color:#fff}.grid{display:grid;gap:18px}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.section{margin-top:34px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}.section h2{font-size:30px;margin:0;letter-spacing:-1px}.muted{color:var(--muted)}.card{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 18px 50px rgba(0,0,0,.22);overflow:hidden}.card.pad{padding:18px}.champ-card{position:relative;min-height:170px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 100% 0%,rgba(251,191,36,.25),transparent 44%),linear-gradient(145deg,rgba(239,35,60,.22),rgba(255,255,255,.035))}.champ-title{color:var(--gold);font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.7px}.champ-holder{font-size:24px;font-weight:950;letter-spacing:-1px}.badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.badge{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;font-size:12px;font-weight:900;background:rgba(255,255,255,.08);border:1px solid var(--line);color:#e5e7eb}.badge.gold{background:rgba(251,191,36,.14);border-color:rgba(251,191,36,.3);color:#fde68a}.badge.red{background:rgba(239,35,60,.14);border-color:rgba(239,35,60,.3);color:#fecaca}.badge.blue{background:rgba(56,189,248,.13);border-color:rgba(56,189,248,.3);color:#bae6fd}.badge.green{background:rgba(34,197,94,.13);border-color:rgba(34,197,94,.3);color:#bbf7d0}.tabs{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 18px}.tab{background:rgba(255,255,255,.06);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer}.tab.active{background:var(--red);border-color:var(--red);color:#fff}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.filters input,.filters select,.modal input,.editor input,.editor textarea,.editor select{width:100%;background:rgba(255,255,255,.07);color:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 13px;outline:none}.filters input{max-width:390px}.filters select{max-width:200px}.roster-card{display:flex;flex-direction:column;min-height:100%;transition:.18s transform,.18s border-color}.roster-card:hover{transform:translateY(-3px);border-color:rgba(239,35,60,.55)}.roster-card img{width:100%;aspect-ratio:4/5;object-fit:cover;background:#111}.roster-body{padding:14px}.roster-body h3{margin:0;font-size:18px;letter-spacing:-.3px}.roster-body p{margin:6px 0 0;color:var(--muted);font-size:13px}.show-card img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#111}.show-card .content{padding:16px}.show-card h3{margin:0 0 8px;font-size:21px}.show-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:13px;margin-bottom:10px}.profile{display:grid;grid-template-columns:340px 1fr;gap:22px;align-items:start}.profile-photo{width:100%;border-radius:24px;border:1px solid var(--line);box-shadow:var(--shadow)}.profile h1{font-size:48px;margin:0 0 8px;letter-spacing:-2px}.stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.stat{background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:16px;padding:13px}.stat strong{display:block;font-size:24px}.stat span{font-size:12px;color:var(--muted);font-weight:800;text-transform:uppercase}.info-list{display:grid;gap:12px;margin-top:14px}.info-row{padding:14px;border-radius:16px;background:rgba(255,255,255,.045);border:1px solid var(--line)}.info-row strong{display:block;margin-bottom:6px}.show-detail-cover{width:100%;border-radius:24px;border:1px solid var(--line);box-shadow:var(--shadow);aspect-ratio:16/7;object-fit:cover}.part{padding:18px;margin:14px 0;border-left:4px solid var(--red);background:rgba(255,255,255,.045);border-radius:0 16px 16px 0}.part h3{margin:0 0 8px}.reactions{display:flex;gap:8px;flex-wrap:wrap}.react{cursor:pointer;border:1px solid var(--line);background:rgba(255,255,255,.06);color:#fff;border-radius:999px;padding:8px 11px;font-weight:900}.comments{margin-top:18px}.comment{padding:13px;border-radius:14px;background:rgba(255,255,255,.055);border:1px solid var(--line);margin-top:10px}.comment strong{display:block}.comment small{color:var(--muted)}.comment-form,.compose{display:grid;gap:10px;margin-top:12px}.comment-form textarea,.compose textarea{min-height:92px;resize:vertical;background:rgba(255,255,255,.07);color:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}.compose select,.compose input{background:rgba(255,255,255,.07);color:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}.editor{margin-top:18px;padding:18px;border-radius:20px;border:1px dashed rgba(251,191,36,.4);background:rgba(251,191,36,.06)}.editor .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.editor textarea{min-height:160px;resize:vertical}.modal{border:0;padding:0;background:transparent}.modal::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}.modal-card{position:relative;width:min(440px,calc(100vw - 28px));padding:24px;background:#0c111d;border:1px solid var(--line);border-radius:24px;color:#fff;box-shadow:var(--shadow);display:grid;gap:12px}.modal-card label{display:grid;gap:6px;font-weight:800}.modal-close{position:absolute;right:14px;top:14px;border:0;background:rgba(255,255,255,.1);color:#fff;border-radius:10px;width:34px;height:34px;font-size:22px;cursor:pointer}.hint{font-size:12px;color:var(--muted);line-height:1.45}.toast{position:fixed;right:18px;bottom:18px;z-index:80;padding:12px 14px;border-radius:14px;background:#111827;border:1px solid var(--line);color:#fff;box-shadow:var(--shadow);opacity:0;transform:translateY(15px);pointer-events:none;transition:.22s}.toast.show{opacity:1;transform:translateY(0)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px}table{width:100%;border-collapse:collapse;min-width:700px}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left}th{color:#fecaca;font-size:12px;text-transform:uppercase;letter-spacing:.7px}tr:hover td{background:rgba(255,255,255,.035)}.footer{max-width:1220px;margin:0 auto 30px;padding:20px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line)}.chat-layout{display:grid;grid-template-columns:1.4fr .9fr;gap:18px;align-items:start}.feed{display:grid;gap:12px}.message,.tweet{padding:14px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid var(--line)}.message-head,.tweet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.message-head strong,.tweet-head strong{font-size:15px}.message-head small,.tweet-head small{color:var(--muted);font-size:12px}.message p,.tweet p{margin:0;line-height:1.55}.dm-thread{max-height:520px;overflow:auto;display:grid;gap:10px;padding-right:4px}.dm-bubble{padding:12px 13px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.055)}.dm-bubble.me{background:rgba(239,35,60,.16);border-color:rgba(239,35,60,.34)}.tweet-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.tweet-actions button{cursor:pointer;border:1px solid var(--line);background:rgba(255,255,255,.06);color:#fff;border-radius:999px;padding:7px 10px;font-weight:900}.contact-card{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contact-card textarea{min-height:160px;resize:vertical;background:rgba(255,255,255,.07);color:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}.contact-card input{background:rgba(255,255,255,.07);color:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}
@media(max-width:920px){.site-header{flex-wrap:wrap}.mobile-menu{display:block;margin-left:auto}nav{display:none;order:4;width:100%;flex-direction:column;align-items:stretch}nav.open{display:flex}.auth-box{margin-left:auto}.grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.profile{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout,.contact-card{grid-template-columns:1fr}}
@media(max-width:620px){main{padding-inline:12px}.hero{padding:26px;min-height:390px}.grid.cols-2,.grid.cols-3,.grid.cols-4{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.editor .row{grid-template-columns:1fr}.brand{min-width:0}.brand small{display:none}.auth-box{width:100%;justify-content:flex-start}}


/* v1.2 admin/editing additions */
.admin-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.admin-toolbar button{
  border:1px solid var(--line);
  background:rgba(255,255,255,.07);
  color:#fff;
  border-radius:12px;
  padding:9px 12px;
  font-weight:900;
  cursor:pointer;
}
.admin-toolbar button:hover{border-color:rgba(239,35,60,.55)}
.danger-outline{
  border-color:rgba(239,35,60,.5)!important;
  color:#fecaca!important;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.gallery-grid img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
}
.preview-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.preview-grid img{
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line);
}
.tweet-image{
  width:100%;
  max-height:360px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--line);
  margin-top:12px;
}
.disclaimer{
  max-width:1220px;
  margin:30px auto;
  padding:18px;
  border:1px solid rgba(251,191,36,.26);
  background:rgba(251,191,36,.06);
  border-radius:18px;
  color:#d1d5db;
  line-height:1.6;
  font-size:13px;
}
.disclaimer strong{color:#fde68a}
@media(max-width:720px){
  .gallery-grid,.preview-grid{grid-template-columns:1fr 1fr}
}


/* v1.3 album/media/ownership additions */
.dropzone{
  border:2px dashed rgba(251,191,36,.45);
  background:rgba(251,191,36,.06);
  border-radius:20px;
  padding:22px;
  text-align:center;
  color:#fde68a;
  font-weight:900;
  cursor:pointer;
  transition:.18s;
}
.dropzone.dragover{
  background:rgba(251,191,36,.14);
  border-color:#fbbf24;
  transform:translateY(-1px);
}
.album-editor-list{
  display:grid;
  gap:14px;
  margin-top:14px;
}
.album-editor-item{
  display:grid;
  grid-template-columns:220px 1fr auto;
  gap:12px;
  align-items:start;
  padding:12px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.045);
}
.album-editor-item img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
}
.album-editor-item textarea{
  min-height:150px!important;
  white-space:pre-wrap;
}
.album-post{
  margin:18px 0;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.045);
  overflow:hidden;
}
.album-post img{
  width:100%;
  max-height:780px;
  object-fit:contain;
  background:#000;
  display:block;
}
.album-caption{
  padding:18px;
  white-space:pre-wrap;
  line-height:1.65;
}
.media-attachment{
  margin-top:10px;
  max-width:100%;
  max-height:420px;
  object-fit:contain;
  border-radius:14px;
  border:1px solid var(--line);
  background:#000;
}
.emoji-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:4px;
}
.emoji-row button{
  border:1px solid var(--line);
  background:rgba(255,255,255,.07);
  color:#fff;
  border-radius:10px;
  padding:7px 9px;
  cursor:pointer;
}
.compose label.file-label{
  display:grid;
  gap:6px;
  color:var(--muted);
  font-weight:800;
}
.message p,.tweet p,.comment p,.part p{
  white-space:pre-wrap;
}
.reaction-note{
  font-size:12px;
  color:var(--muted);
  margin-top:8px;
}
@media(max-width:760px){
  .album-editor-item{
    grid-template-columns:1fr;
  }
}


/* v1.4 shared persistence/reaction/comment additions */
.album-interactions{
  padding:16px 18px 18px;
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.12);
}
.album-photo-comments{
  margin-top:14px;
}
.inline-comment{
  margin-top:10px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.045);
}
.inline-comment p{white-space:pre-wrap;margin:.4rem 0}
.save-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:var(--muted);
  margin-left:8px;
}
.react.active{
  outline:2px solid rgba(251,191,36,.75);
  background:rgba(251,191,36,.18);
  color:#fde68a;
}
.w2t-site {
    max-width: 1220px;
    margin: 0 auto;
    padding: 32px 18px;
    color: #f9fafb;
}

.w2t-hero {
    padding: 46px 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(239, 68, 68, .22), transparent 35%),
        linear-gradient(135deg, #050505, #111827);
    border: 1px solid rgba(255,255,255,.12);
    margin-bottom: 34px;
}

.w2t-hero h1 {
    font-size: clamp(34px, 6vw, 72px);
    margin: 0 0 10px;
    letter-spacing: -2px;
}

.w2t-hero p {
    color: #d1d5db;
    font-size: 18px;
    margin-bottom: 24px;
}

.w2t-brand-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.w2t-brand-menu a {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.12);
}

.w2t-brand-menu a:hover {
    background: rgba(239,68,68,.22);
    border-color: rgba(239,68,68,.55);
}

.w2t-section h2 {
    font-size: 32px;
    margin: 0 0 20px;
}

.w2t-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.w2t-card {
    background: rgba(17, 24, 39, .92);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.w2t-thumb {
    display: block;
    background: #000;
}

.w2t-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.w2t-placeholder {
    height: 230px;
    display: grid;
    place-items: center;
    font-size: 44px;
    font-weight: 900;
    color: #fbbf24;
    background: linear-gradient(135deg, #111827, #030712);
}

.w2t-card-body {
    padding: 18px;
}

.w2t-meta {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 8px;
}

.w2t-meta a {
    color: #fbbf24;
    text-decoration: none;
}

.w2t-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.w2t-card h3 a {
    color: #fff;
    text-decoration: none;
}

.w2t-card p {
    color: #d1d5db;
    line-height: 1.55;
}

.w2t-read-more {
    display: inline-flex;
    margin-top: 10px;
    padding: 10px 13px;
    border-radius: 12px;
    background: #dc2626;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.w2t-single-show {
    background: rgba(17, 24, 39, .94);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    padding: 24px;
}

.w2t-post-header h2 {
    font-size: clamp(30px, 5vw, 58px);
    margin: 0 0 10px;
}

.w2t-featured img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border-radius: 18px;
    margin: 20px 0;
}

.w2t-content {
    color: #f9fafb;
    line-height: 1.75;
    font-size: 17px;
}

.w2t-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 18px 0;
}

.w2t-content p {
    white-space: pre-wrap;
}

.w2t-comments {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.w2t-pagination {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .w2t-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .w2t-grid {
        grid-template-columns: 1fr;
    }

    .w2t-site {
        padding: 18px 12px;
    }
}
.w2t-main-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.w2t-main-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.12);
    transition: .18s ease;
}

.w2t-main-menu a:hover {
    background: rgba(239,68,68,.25);
    border-color: rgba(239,68,68,.65);
    transform: translateY(-1px);
}