/* ========================================================
   GOGETA - CORE STYLES (ngocrong.css)
   Inspired by Chibi Super Saiyan Blue Gogeta Watercolor Style
   ======================================================== */

:root {
  --site-zoom: 0.95;
}

body {
  zoom: var(--site-zoom);
}

@media (max-width: 768px) {
  body {
    zoom: 1;
  }
}

/* ========================================================
   🧱 Reset & Base
   ======================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #bae6fd;
  background-image: url("/Assets/images/gogeta_sky_bg.jpg");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  background-attachment: fixed;
  font-family: "Nunito", Arial, sans-serif;
  color: #0f172a;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ========================================================
   🚫 Notice 18+ (Comic Pill Banner)
   ======================================================== */
.nro-notice-outer {
  max-width: 740px;
  margin: 10px auto 8px;
  padding: 0 10px;
}

.nro-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid #0f172a;
  border-radius: 50px;
  padding: 6px 16px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15), 2px 2px 0 #0f172a;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  font-family: "Nunito", "Baloo 2", sans-serif;
}

.nro-notice .icon-18 {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* ========================================================
   🟧 Khung Chính (.main-wrapper) - Gogeta Badge Style
   ======================================================== */
.main-wrapper {
  max-width: 740px;
  margin: 0 auto 30px;
  background: #ffffff;
  border: 3.5px solid #0f172a;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(2, 132, 199, 0.28), 0 0 0 4px #ffffff, 5px 7px 0px #0f172a;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease;
}

/* ========================================================
   🎴 Header Logo Area
   ======================================================== */
.header-logo {
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 55%, #0284c7 100%);
  padding: 16px 12px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3.5px solid #0f172a;
}

/* Subtle watercolor clouds texture effect in header */
.header-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/Assets/images/gogeta_sky_bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Gentle energy aura pulse for horizontal logo */
.header-logo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 140px;
  background: radial-gradient(ellipse, rgba(255, 200, 0, 0.45) 0%, rgba(0, 240, 255, 0.3) 50%, transparent 75%);
  filter: blur(24px);
  pointer-events: none;
  animation: gogetaAuraPulse 3.5s ease-in-out infinite alternate;
}

@keyframes gogetaAuraPulse {
  0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.96); }
  100% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.08); }
}

.header-logo a {
  display: inline-block;
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.header-logo img {
  display: inline-block;
  max-width: 350px !important;
  width: auto !important;
  height: auto !important;
  max-height: 120px !important;
  filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.38)) drop-shadow(0 0 14px rgba(255, 183, 3, 0.4));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  position: relative;
  z-index: 2;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.header-logo img:hover {
  transform: scale(1.04) rotate(-0.5deg);
  filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.48)) drop-shadow(0 0 22px rgba(255, 183, 3, 0.7));
}

/* ========================================================
   🟨 Navigation Menu - Midnight Ink & Metamoran Gold
   ======================================================== */
.nav-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #0f172a;
  padding: 8px 10px;
  border-bottom: 3.5px solid #0f172a;
  position: relative;
  z-index: 10;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #f1f5f9;
  text-decoration: none;
  font-family: "Nunito", "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 10px 4px;
  border: 2px solid #334155;
  border-radius: 10px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.nav-btn:hover {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4), 0 2px 0 #0f172a;
}

.nav-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Nút Active: Metamoran Golden-Orange (Gogeta typography style) */
.nav-btn.active {
  background: linear-gradient(180deg, #ffe066 0%, #ff9800 55%, #e65100 100%);
  color: #0f172a;
  border-color: #0f172a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 0 #0f172a;
  position: relative;
}

.nav-btn.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 4px;
  background: #38bdf8;
  border-radius: 2px;
}

/* ========================================================
   🎮 Game Banner
   ======================================================== */
.game-banner {
  width: 100%;
  overflow: hidden;
  border-bottom: 3.5px solid #0f172a;
  line-height: 0;
  background: #e0f2fe;
}

.game-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-banner img:hover {
  transform: scale(1.02);
}

/* ========================================================
   🧩 Content Wrapper & Intro Container
   ======================================================== */
.intro-container {
  background: #ffffff;
  padding: 0;
}

.content-wrapper {
  background: #ffffff;
  padding: 20px;
  max-width: 740px;
  margin: 0 auto;
}

/* ========================================================
   🗨️ Forum Post & Comments Cards (diendan integration)
   ======================================================== */
.forum-card {
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 15px;
  box-shadow: 3px 3px 0 #0f172a;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.forum-card:hover {
  transform: translateY(-2px);
  box-shadow: 4px 5px 0 #0f172a, 0 6px 15px rgba(2, 132, 199, 0.12);
}

.forum-card .forum-meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 600;
}

.forum-card .forum-content {
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  line-height: 1.6;
}

.forum-card .forum-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Comments List */
.forum-comments {
  margin-top: 15px;
}

.comment-sep {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: "Nunito", "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin: 14px 0;
  border: 2px solid #0f172a;
  box-shadow: 2px 2px 0 #0f172a;
}

.comment-item {
  background: #ffffff;
  border: 2px solid #0f172a;
  border-left: 6px solid #0284c7;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0;
  box-shadow: 2px 2px 0 #0f172a;
}

.comment-item .comment-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 600;
}

.post-title {
  color: #0284c7;
  font-family: "Nunito", "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
}

.comment-item .btn.btn-xs.btn-danger {
  float: right;
  background: #ef4444;
  color: #fff;
  border: 1.5px solid #0f172a;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* Comment Form */
.comment-form-box {
  background: #f0f9ff;
  border: 2px solid #0f172a;
  border-radius: 12px;
  padding: 14px;
  margin-top: 15px;
  box-shadow: 3px 3px 0 #0f172a;
}

.comment-textarea {
  width: 100%;
  min-height: 90px;
  border: 2px solid #0f172a;
  border-radius: 8px;
  outline: none;
  padding: 10px;
  resize: vertical;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-textarea:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35);
}

.comment-toolbar {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emoji-btn {
  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 1px 1px 0 #0f172a;
  transition: transform 0.1s;
}

.emoji-btn:hover {
  transform: translateY(-1px);
}

.comment-panel {
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 12px;
  padding: 14px;
}

/* ========================================================
   📜 License & Footer Area
   ======================================================== */
#nro-license-wrap {
  display: none !important;
}

.nro-license-content {
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  font-family: "Nunito", "Baloo 2", sans-serif;
}

.nro-license-content div {
  margin-bottom: 2px;
}

.nro-license-content .license-link {
  color: #ffb703;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s;
}

.nro-license-content .license-link:hover {
  color: #ffe066;
  text-decoration: underline;
}

.footer-switcher-wrap {
  margin-top: 10px;
}

.footer-switcher {
  background: #1e293b;
  color: #f1f5f9;
  border: 2px solid #38bdf8;
  border-radius: 8px;
  padding: 5px 12px;
  font-family: "Nunito", "Baloo 2", sans-serif;
  font-size: 12px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.footer-switcher:focus {
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* ========================================================
   📱 Mobile Responsiveness
   ======================================================== */
@media (max-width: 768px) {
  .main-wrapper {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }

  .nav-btn {
    font-size: 11px;
    padding: 8px 2px;
  }

  .header-logo img {
    max-width: 270px !important;
    max-height: 90px !important;
  }
}
