@charset "UTF-8";
body {
  margin: 0;
  padding: 0;
  background-color: #0d0d0d;
  color: #e0e0e0;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
  padding: 0;
}

/* --- HEADER / NAV --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 2px solid #ff3a3a;
  position: sticky;
  top: 0;
  z-index: 1000;
  /* --- NAVIGATION CONTAINER --- */
  /* --- MOBILE HAMBURGER --- */
  /* --- RESPONSIVE (MOBILE) --- */
}
.navbar .logo a {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ff3a3a;
  font-family: "Courier New", monospace;
  text-decoration: none;
}
.navbar .nav-container {
  display: flex;
  align-items: center;
  gap: 30px;
}
.navbar .nav-container .nav-links {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.navbar .nav-container .nav-links li a {
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}
.navbar .nav-container .nav-links li a:hover {
  color: #ff3a3a;
  text-shadow: 0 0 5px #ff3a3a;
}
.navbar .nav-container .nav-links li.current-menu-item a {
  color: #ff3a3a;
  border-bottom: 1px solid #ff3a3a;
}
.navbar .nav-container .nav-extras {
  display: flex;
  align-items: center;
}
.navbar .nav-container .nav-extras .store-btn {
  background: #ff3a3a;
  color: #000 !important;
  padding: 5px 15px;
  font-weight: bold;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.navbar .nav-container .nav-extras .store-btn:hover {
  background: #ff5555;
}
.navbar .hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.navbar .hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ff3a3a;
  transition: 0.3s;
}
.navbar .hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar .hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.navbar .hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  .navbar .hamburger {
    display: flex;
  }
  .navbar .nav-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 2px solid #ff3a3a;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
  }
  .navbar .nav-container .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .navbar .nav-container .nav-extras {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  .navbar .nav-container .nav-extras .discord-btn {
    margin-left: 0 !important;
  }
  .navbar .nav-container.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* --- FOOTER (Revised for Widgets) --- */
.site-footer {
  padding: 40px 10% 20px 10%;
  background: #000;
  border-top: 3px solid #ff3a3a;
  color: #fff;
  font-size: 0.9rem;
}

.footer-widgets-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 左側を広め、右側を狭めに */
  gap: 40px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}
@media (max-width: 768px) {
  .footer-widgets-wrap {
    grid-template-columns: 1fr; /* スマホでは縦に並べる */
  }
}
.footer-widgets-wrap .widget-title {
  color: #ff3a3a;
  font-family: "Courier New", monospace;
  font-size: 1rem;
  margin-bottom: 15px;
  border-bottom: 1px dotted #333;
  padding-bottom: 5px;
}
.footer-widgets-wrap ul {
  list-style: none;
  padding: 0;
}
.footer-widgets-wrap ul li {
  padding: 3px 0;
}
.footer-widgets-wrap ul li a {
  color: #888;
  transition: 0.3s;
}
.footer-widgets-wrap ul li a:hover {
  color: #ff3a3a;
}

.footer-copyright {
  text-align: center;
  color: #666;
  font-size: 0.75rem;
}
.footer-copyright .footer-branding {
  margin-top: 5px;
  font-family: "Courier New", monospace;
}

/* --- HERO SECTION --- */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url("https://images.unsplash.com/photo-1542259681-d4cd7193bc71?q=80&w=1920&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border-bottom: 1px solid #333;
}
.hero h1 {
  font-size: 4rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
.hero p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 30px;
  font-family: "Courier New", monospace;
}
.hero .ip-box {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #ff3a3a;
  padding: 15px 30px;
  font-family: "Courier New", monospace;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero .ip-box:hover {
  background: rgba(255, 174, 0, 0.2);
}
.hero .ip-box .ip-copy-text {
  font-size: 0.8rem;
  color: #ff3a3a;
  opacity: 0.7;
}

/* --- WIKI SEARCH --- */
.wiki-search {
  background: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 1px solid #333;
}
.wiki-search .search-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.wiki-search .search-container .search-input {
  flex-grow: 1;
  background: #000;
  border: 1px solid #444;
  color: #fff;
  padding: 15px;
  font-family: "Courier New", monospace;
}
.wiki-search .search-container .search-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 0 25px;
  font-weight: bold;
  cursor: pointer;
}
.wiki-search .search-container .search-btn:hover {
  background: #ff3a3a;
  color: #000;
}

/* --- FEATURES --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 60px 10%;
}
.features .feature-card {
  background: #1a1a1a;
  padding: 30px;
  border-left: 3px solid #ff3a3a;
}
.features .feature-card h3 {
  margin-top: 0;
  color: #ff3a3a;
  font-family: "Courier New", monospace;
}

/* --- SERVER DATA --- */
.server-data {
  background: #111;
  padding: 60px 10%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}
.server-data .status-panel, .server-data .ranking-panel {
  background: #1a1a1a;
  padding: 20px;
  border: 1px solid #333;
}
.server-data .panel-header {
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-family: "Courier New", monospace;
  color: #888;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}
.server-data .online-count {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  color: #fff;
}
.server-data .online-indicator {
  color: #0f0;
  font-size: 1rem;
  vertical-align: middle;
}
.server-data .ranking-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted #333;
  font-family: "Courier New", monospace;
}
.server-data .ranking-list li .rank-num {
  color: #ff3a3a;
  margin-right: 10px;
}

/* --- HOME NEWS SECTION --- */
.home-news {
  padding: 60px 10%;
  border-top: 1px solid #333;
  background: rgb(7.9, 7.9, 7.9);
}
.home-news .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}
.home-news .section-header h2 {
  font-size: 2rem;
  margin: 0;
  color: #ff3a3a;
  font-family: "Courier New", monospace;
}
.home-news .section-header .view-all-btn {
  font-size: 0.9rem;
  color: #888;
  font-family: "Courier New", monospace;
}
.home-news .section-header .view-all-btn:hover {
  color: #ff3a3a;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.home-news-card {
  display: block;
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 20px;
  transition: 0.3s;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.home-news-card:hover {
  background: rgb(38.75, 38.75, 38.75);
  border-left-color: #ff3a3a;
  transform: translateX(5px);
}
.home-news-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
}
.home-news-card .card-meta .date {
  color: #888;
}
.home-news-card .card-meta .cat-badge {
  padding: 2px 6px;
  color: #000;
  font-weight: bold;
  background: #ccc;
}
.home-news-card .card-meta .cat-badge.is-update {
  background: #00ccff;
}
.home-news-card .card-meta .cat-badge.is-event {
  background: #d633ff;
}
.home-news-card .card-meta .cat-badge.is-maintenance {
  background: #ff4444;
}
.home-news-card .card-title {
  margin: 0;
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.4;
}

/* --- COMMON ITEM DETAIL STYLE --- */
.item-detail-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  border: 1px solid #333;
  background: #111;
}

/* ヘッダー */
.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 2px solid #333;
  background: rgba(0, 0, 0, 0.3);
}
.item-header .item-name {
  font-size: 2.5rem;
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
}
.item-header .item-type-badge {
  padding: 5px 15px;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: bold;
  border: 1px solid currentColor;
  background: rgba(0, 0, 0, 0.5);
}

/* ビジュアルエリア */
.item-visual {
  padding: 40px;
  border-bottom: 1px solid #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.item-visual .img-placeholder {
  width: 100%;
  max-width: 500px;
  height: 250px;
  background: radial-gradient(circle, #222 0%, #0d0d0d 70%);
  border: 1px dashed #444;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.item-visual .img-placeholder img {
  max-width: 90%;
  max-height: 90%;
  -o-object-fit: contain;
     object-fit: contain;
}
.item-visual .item-desc {
  color: #aaa;
  font-style: italic;
  line-height: 1.6;
  max-width: 700px;
}

/* ステータスエリア */
.item-stats {
  padding: 30px;
}
.item-stats .stat-row {
  margin-bottom: 25px;
}
.item-stats .stat-row .stat-labels {
  display: flex;
  justify-content: space-between;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #ccc;
}
.item-stats .stat-row .bar-track {
  height: 8px;
  background: #222;
  width: 100%;
  transform: skewX(-15deg);
}
.item-stats .stat-row .bar-track .bar-fill {
  height: 100%;
  box-shadow: 0 0 10px currentColor;
  transition: width 1s ease;
}

/* 特殊効果グリッド */
.effects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
}
.effects-grid .effect-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #1a1a1a;
  padding: 15px;
  border-left: 3px solid #555;
}
.effects-grid .effect-item .effect-icon {
  font-size: 1.8rem;
}
.effects-grid .effect-item .effect-val {
  font-weight: bold;
  color: #fff;
  font-size: 1.1rem;
}
.effects-grid .effect-item .effect-label {
  font-size: 0.75rem;
  color: #888;
  font-family: "Courier New", monospace;
}

/* フッター（トレーダー情報） */
.item-footer {
  border-top: 1px solid #333;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
}
.item-footer .trader-name {
  color: #fff;
  font-weight: bold;
}
.item-footer .price-tag {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "Courier New", monospace;
}

/* 戻るボタンをカード風にする場合 (任意) */
.back-link-area a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #333;
  background: #111;
  color: #888;
  text-decoration: none;
  transition: 0.3s;
}
.back-link-area a:hover {
  border-color: #ff3a3a; /* アクセントカラー */
  color: #fff;
}

.map-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* --- HEADER --- */
.map-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #ff3a3a;
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.map-header .sub-label {
  font-family: "Courier New", monospace;
  color: #888;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
}
.map-header .map-title {
  font-size: 3rem;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.map-header .diff-badge {
  padding: 5px 15px;
  font-family: "Courier New", monospace;
  font-weight: bold;
  background: #333;
  color: #fff;
  border: 1px solid #555;
}
.map-header .diff-badge.is-easy {
  color: #00ffaa;
  border-color: #00ffaa;
}
.map-header .diff-badge.is-normal {
  color: #ff3a3a;
  border-color: #ff3a3a;
}
.map-header .diff-badge.is-hard {
  color: #ff4444;
  border-color: #ff4444;
}
.map-header .diff-badge.is-insane {
  background: #ff4444;
  color: #000;
}

/* --- INTEL BAR (Stats) --- */
.map-intel-bar {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  background: #1a1a1a;
  padding: 20px;
  border: 1px solid #333;
}
@media (max-width: 768px) {
  .map-intel-bar {
    flex-direction: column;
  }
}
.map-intel-bar .intel-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid #333;
}
.map-intel-bar .intel-item:last-child {
  border-right: none;
}
.map-intel-bar .intel-item .icon {
  font-size: 1.5rem;
}
.map-intel-bar .intel-item .label {
  display: block;
  font-size: 0.7rem;
  color: #888;
  font-family: "Courier New", monospace;
}
.map-intel-bar .intel-item .value {
  font-size: 1.1rem;
  font-weight: bold;
  color: #e0e0e0;
}

/* --- MAP VIEWER --- */
.map-viewer {
  margin-bottom: 40px;
}
.map-viewer .map-frame {
  border: 1px solid #ff3a3a;
  background: #000;
  padding: 5px;
  position: relative;
}
.map-viewer .map-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}
.map-viewer .map-frame .main-map {
  width: 100%;
  height: auto;
  display: block;
}
.map-viewer .map-frame .overlay-text {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #ff3a3a;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 8px;
}

/* --- GUIDE CONTENT --- */
.map-guide-content .guide-heading {
  color: #ff3a3a;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  font-family: "Courier New", monospace;
}
.map-guide-content .wp-content {
  color: #ccc;
  line-height: 1.8;
}
.map-guide-content .wp-content h2, .map-guide-content .wp-content h3 {
  color: #fff;
  margin-top: 30px;
}
.map-guide-content .wp-content ul {
  list-style: disc;
  padding-left: 20px;
  color: #888;
}
.map-guide-content .wp-content strong {
  color: #ff3a3a;
}

/* --- MAP ARCHIVE (GALLERY) --- */
.map-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
}
@media (max-width: 768px) {
  .map-archive-grid {
    grid-template-columns: 1fr;
  }
}

.map-archive-card {
  position: relative;
  display: block;
  height: 250px;
  border: 1px solid #333;
  overflow: hidden;
  text-decoration: none;
}
.map-archive-card:hover {
  border-color: #ff3a3a;
}
.map-archive-card:hover .card-bg {
  transform: scale(1.05);
}
.map-archive-card:hover .overlay {
  background: rgba(0, 0, 0, 0.4);
}
.map-archive-card:hover .view-btn {
  background: #ff3a3a;
  color: #000;
}
.map-archive-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}
.map-archive-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
  transition: background 0.3s;
  z-index: 2;
}
.map-archive-card .card-content {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.map-archive-card .card-content .top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.map-archive-card .card-content .top-row .diff-badge {
  font-size: 0.8rem;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #555;
  font-family: "Courier New", monospace;
  font-weight: bold;
}
.map-archive-card .card-content .top-row .diff-badge.is-easy {
  color: #00ffaa;
  border-color: #00ffaa;
}
.map-archive-card .card-content .top-row .diff-badge.is-normal {
  color: #ff3a3a;
  border-color: #ff3a3a;
}
.map-archive-card .card-content .top-row .diff-badge.is-hard {
  color: #ff4444;
  border-color: #ff4444;
}
.map-archive-card .card-content .top-row .raid-time {
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: #ccc;
  background: rgba(0, 0, 0, 0.6);
  padding: 3px 8px;
}
.map-archive-card .card-content .map-name {
  margin: 0;
  font-size: 2rem;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-archive-card .card-content .bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}
.map-archive-card .card-content .bottom-row .players-count {
  color: #ccc;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
}
.map-archive-card .card-content .bottom-row .view-btn {
  font-size: 0.8rem;
  color: #ff3a3a;
  border: 1px solid #ff3a3a;
  padding: 5px 15px;
  transition: 0.3s;
  font-family: "Courier New", monospace;
}

/* --- NEWS ARCHIVE --- */
.news-archive-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}
.news-archive-container .archive-header {
  border-bottom: 2px solid #ff3a3a;
  margin-bottom: 40px;
  padding-bottom: 10px;
}
.news-archive-container .archive-header .page-title {
  font-size: 2.5rem;
  margin: 0;
  color: #fff;
}
.news-archive-container .archive-header .sub-title {
  font-family: "Courier New", monospace;
  color: #888;
  font-size: 0.9rem;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-item {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #222;
  padding-bottom: 30px;
}
@media (max-width: 600px) {
  .news-item {
    flex-direction: column;
    gap: 10px;
  }
}
.news-item .news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  font-family: "Courier New", monospace;
  border-right: 1px solid #ff3a3a;
  padding-right: 20px;
  color: #ff3a3a;
}
.news-item .news-date .year {
  font-size: 0.8rem;
  opacity: 0.7;
}
.news-item .news-date .day {
  font-size: 1.5rem;
  font-weight: bold;
}
.news-item .news-content {
  flex-grow: 1;
}
.news-item .news-content .news-meta {
  margin-bottom: 5px;
}
.news-item .news-content .news-title {
  margin: 5px 0 10px 0;
  font-size: 1.5rem;
}
.news-item .news-content .news-title a {
  color: #e0e0e0;
}
.news-item .news-content .news-title a:hover {
  color: #ff3a3a;
}
.news-item .news-content .news-excerpt {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.6;
}

/* --- CATEGORY BADGES --- */
.news-cat, .post-cat {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  border-radius: 2px;
  color: #000;
  font-weight: bold;
  background: #ff3a3a;
}
.news-cat.is-update, .post-cat.is-update {
  background: #00ccff;
}
.news-cat.is-event, .post-cat.is-event {
  background: #d633ff;
}
.news-cat.is-maintenance, .post-cat.is-maintenance {
  background: #ff4444;
}
.news-cat.is-news, .post-cat.is-news {
  background: #ccc;
}

/* --- SINGLE POST --- */
.single-post-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}
.single-post-container .post-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #333;
  padding-bottom: 20px;
}
.single-post-container .post-header .post-meta-top {
  font-family: "Courier New", monospace;
  color: #888;
  margin-bottom: 10px;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}
.single-post-container .post-header .post-title {
  font-size: 2.5rem;
  color: #fff;
  margin: 0;
}
.single-post-container .post-thumbnail {
  margin-bottom: 40px;
}
.single-post-container .post-thumbnail img {
  width: 100%;
  height: auto;
  border: 1px solid #333;
}
.single-post-container .post-content {
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 60px;
}
.single-post-container .post-content h2 {
  color: #ff3a3a;
  border-left: 4px solid #ff3a3a;
  padding-left: 15px;
  margin-top: 40px;
}
.single-post-container .post-content h3 {
  color: #fff;
  margin-top: 30px;
}
.single-post-container .post-content ul, .single-post-container .post-content ol {
  background: #111;
  padding: 20px 40px;
  border: 1px solid #333;
}
.single-post-container .post-content ul li, .single-post-container .post-content ol li {
  margin-bottom: 10px;
}
.single-post-container .post-content pre {
  background: #000;
  border: 1px solid #444;
  padding: 15px;
  overflow-x: auto;
  color: #0f0;
  font-family: "Courier New", monospace;
}
.single-post-container .post-footer {
  border-top: 1px solid #333;
  padding-top: 20px;
}
.single-post-container .post-footer .back-link {
  font-family: "Courier New", monospace;
  color: #888;
}
.single-post-container .post-footer .back-link:hover {
  color: #ff3a3a;
}

/* --- CONTROLS (NEW) --- */
.ranking-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background: #111;
  padding: 15px;
  border: 1px solid #333;
}
@media (max-width: 600px) {
  .ranking-controls {
    flex-direction: column;
    gap: 20px;
  }
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.control-group label {
  font-family: "Courier New", monospace;
  color: #888;
  font-size: 0.9rem;
}
.control-group select {
  background: #000;
  color: #fff;
  border: 1px solid #ff3a3a;
  padding: 5px 10px;
  font-family: "Courier New", monospace;
  font-weight: bold;
  cursor: pointer;
}

.time-tabs .time-tab {
  background: transparent;
  border: 1px solid #333;
  color: #888;
  padding: 5px 15px;
  font-family: "Courier New", monospace;
  cursor: pointer;
  transition: 0.3s;
}
.time-tabs .time-tab:hover {
  color: #fff;
  border-color: #666;
}
.time-tabs .time-tab.active {
  background: #ff3a3a;
  color: #000;
  border-color: #ff3a3a;
  font-weight: bold;
}

/* --- CONTENT VISIBILITY --- */
.ranking-content {
  display: none;
  animation: fadeIn 0.5s ease;
}
.ranking-content.active {
  display: block;
}

.content-label {
  text-align: center;
  color: #ff3a3a;
  font-family: "Courier New", monospace;
  margin-bottom: 20px;
  border-left: 3px solid #ff3a3a;
  display: inline-block;
  padding-left: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- RANKING PAGE --- */
.ranking-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}
.ranking-container .ranking-header {
  text-align: center;
  border-bottom: 2px solid #ff3a3a;
  margin-bottom: 50px;
  padding-bottom: 20px;
}
.ranking-container .ranking-header .page-title {
  font-size: 3rem;
  margin: 0;
  color: #fff;
  letter-spacing: 5px;
}
.ranking-container .ranking-header .sub-title {
  font-family: "Courier New", monospace;
  color: #888;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.ranking-section {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 20px;
}
.ranking-section .section-title {
  margin-top: 0;
  text-align: center;
  font-family: "Courier New", monospace;
  border-bottom: 1px solid #333;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

/* --- TABLE STYLES --- */
.table-wrapper {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Courier New", monospace;
}
.ranking-table th {
  text-align: left;
  color: #888;
  font-size: 0.8rem;
  padding: 10px;
  border-bottom: 1px solid #444;
}
.ranking-table td {
  padding: 15px 10px;
  border-bottom: 1px solid #222;
  vertical-align: middle;
}
.ranking-table .rank-col {
  width: 50px;
  text-align: center;
}
.ranking-table .val-col {
  text-align: right;
}
.ranking-table .player-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #e0e0e0;
}
.ranking-table .player-name img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}
.ranking-table .stat-val {
  text-align: right;
  font-weight: bold;
  color: #fff;
}
.ranking-table .rank-num {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}
.ranking-table .rank-1 {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
}
.ranking-table .rank-1 .rank-num {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.ranking-table .rank-1 .player-name {
  color: #FFD700;
}
.ranking-table .rank-2 .rank-num {
  color: #C0C0C0;
}
.ranking-table .rank-3 .rank-num {
  color: #CD7F32;
}

/* --- STATS PAGE --- */
.stats-page-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  background: #111;
  border: 1px solid #222;
  padding-bottom: 40px;
}

/* --- PROFILE HEADER --- */
.player-profile-header {
  text-align: center;
  padding: 40px 20px;
  background: #1a1a1a;
  border-bottom: 2px solid #ff3a3a;
  margin-bottom: 30px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid #ff3a3a;
}
.profile-avatar img {
  width: 100%;
  height: auto;
  display: block;
}

.player-name {
  font-size: 2.5rem;
  color: #fff;
  margin: 0 0 5px 0;
}

.stats-status-text {
  font-family: "Courier New", monospace;
  color: #888;
  font-size: 0.9rem;
}

/* --- MAIN STAT BOARD --- */
.main-stat-board {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}
.main-stat-board .stat-item {
  border-left: 3px solid #333;
  padding-left: 15px;
  text-align: left;
}
.main-stat-board .stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #00ffaa;
}
.main-stat-board .stat-label {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  color: #888;
}

/* --- TABS --- */
.stats-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #333;
  margin-bottom: 30px;
  padding: 0 20px;
}
.stats-tabs .tab-link {
  font-family: "Courier New", monospace;
  padding: 10px 20px;
  color: #888;
  transition: 0.3s;
  border-bottom: 3px solid transparent;
  text-transform: uppercase;
}
.stats-tabs .tab-link:hover {
  color: #fff;
}
.stats-tabs .tab-link.active {
  color: #ff3a3a;
  border-bottom-color: #ff3a3a;
}

/* --- CONTENT --- */
.stats-content-area {
  padding: 0 40px;
}

.content-heading {
  color: #e0e0e0;
  font-size: 1.5rem;
  border-left: 4px solid #444;
  padding-left: 10px;
}

/* --- STATS TABLE --- */
.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}
.stats-table th, .stats-table td {
  padding: 10px;
  border-bottom: 1px solid #222;
  font-family: "Courier New", monospace;
}
.stats-table th {
  color: #888;
  text-align: left;
  font-size: 0.8rem;
}
.stats-table td {
  color: #e0e0e0;
  font-weight: bold;
}

/* --- NON-PUBLIC STYLING (非公開設定時) --- */
.private-avatar {
  background: #000;
  border-color: #ff4444;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lock-icon {
  font-size: 2rem;
  color: #ff4444;
}

.private-status {
  color: #ff4444;
  font-weight: bold;
}

/* JavaScript制御用 */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* --- UNIFIED NAVIGATION GRID (GUIDE & DB) --- */
/* コンテナ (共通) */
.guide-index-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ヘッダー (共通) */
.guide-header {
  text-align: center;
  border-bottom: 2px solid #ff3a3a;
  margin-bottom: 50px;
  padding-bottom: 20px;
}
.guide-header .page-title {
  font-size: 3rem;
  margin: 0;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.guide-header .sub-title {
  font-family: "Courier New", monospace;
  color: #888;
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* カードグリッド (共通) */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* ナビゲーションカード (共通) */
.nav-card {
  background: #111;
  border: 1px solid #333;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.nav-card:hover {
  background: #161616;
  border-color: #ff3a3a;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.nav-card:hover .card-title {
  color: #ff3a3a;
  border-bottom-color: #ff3a3a;
}
.nav-card:hover .card-arrow {
  transform: translateX(5px);
  color: #ff3a3a;
}
.nav-card .card-title {
  font-size: 1.4rem;
  color: #fff;
  margin-top: 0;
  font-family: "Courier New", monospace;
  border-bottom: 1px solid #444;
  padding-bottom: 15px;
  margin-bottom: 15px;
  transition: 0.3s;
  letter-spacing: 1px;
}
.nav-card .card-desc {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}
.nav-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-card .card-status {
  font-size: 0.7rem;
  font-family: "Courier New", monospace;
  padding: 4px 8px;
  border-radius: 2px;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
}
.nav-card .card-status.is-red {
  background: #ff4444;
}
.nav-card .card-status.is-blue {
  background: #00ccff;
}
.nav-card .card-status.is-yellow {
  background: #ff3a3a;
}
.nav-card .card-status.is-gray {
  background: #555;
  color: #fff;
}
.nav-card .card-status.is-green {
  background: #00ffaa;
}
.nav-card .card-arrow {
  font-family: "Courier New", monospace;
  color: #555;
  font-weight: bold;
  transition: 0.3s;
}

/* 戻るボタンエリア */
.back-link-area {
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid #222;
  padding-top: 20px;
}
.back-link-area a {
  color: #888;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
}
.back-link-area a:hover {
  color: #ff3a3a;
}

/* --- DEFAULT PAGE STYLING --- */
.standard-page-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  /* 本文エリアの調整 (他のページと共有の wp-content クラスを使用) */
}
.standard-page-container .page-default-header {
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
}
.standard-page-container .page-title {
  font-size: 2.2rem;
  color: #fff;
  margin: 0;
}
.standard-page-container .page-meta {
  font-family: "Courier New", monospace;
  color: #888;
  font-size: 0.8rem;
}
.standard-page-container .wp-content {
  color: #e0e0e0;
  line-height: 1.8;
  font-size: 1rem;
}
.standard-page-container .wp-content h2 {
  color: #ff3a3a;
  margin-top: 35px;
  border-bottom: 1px dashed #333;
  padding-bottom: 5px;
}
.standard-page-container .wp-content h3 {
  color: #ccc;
  margin-top: 25px;
}
.standard-page-container .wp-content ul, .standard-page-container .wp-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

/* --- DATABASE TABLE STYLES --- */
.db-table-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.db-header {
  margin-bottom: 40px;
  border-bottom: 2px solid #ff3a3a;
  padding-bottom: 10px;
}
.db-header .page-title {
  font-size: 2.5rem;
  margin: 0;
  color: #fff;
}
.db-header .sub-title {
  font-family: "Courier New", monospace;
  color: #888;
}

.table-scroll-wrapper {
  overflow-x: auto; /* スマホで横スクロール */
  border: 1px solid #333;
  background: #111;
}

.system-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  min-width: 800px; /* スマホでもこれ以上縮めない */
  /* カラム別スタイル */
}
.system-table thead {
  background: #222;
}
.system-table thead th {
  text-align: left;
  padding: 15px 10px;
  color: #888;
  font-size: 0.8rem;
  border-bottom: 2px solid #444;
}
.system-table tbody tr {
  transition: 0.2s;
  border-bottom: 1px solid #222;
}
.system-table tbody tr:hover {
  background: #1a1a1a;
}
.system-table tbody tr:hover td {
  color: #fff;
}
.system-table tbody tr:hover .col-name {
  color: #ff3a3a;
}
.system-table tbody td {
  padding: 10px;
  color: #e0e0e0;
  vertical-align: middle;
}
.system-table .col-img img {
  width: 40px;
  height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
  background: #000;
  border: 1px solid #333;
}
.system-table .col-name {
  font-weight: bold;
}
.system-table .col-type .type-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  border: 1px solid #555;
  border-radius: 3px;
  color: #aaa;
}
.system-table .col-stat {
  font-weight: bold;
}
.system-table .col-effect {
  color: #888;
  font-size: 0.8rem;
}
.system-table .col-price {
  color: #ff3a3a;
  text-align: right;
}

/* --- SEARCH RESULTS PAGE --- */
.search-results-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.search-header {
  border-bottom: 2px solid #ff3a3a;
  margin-bottom: 40px;
  padding-bottom: 10px;
}
.search-header .sub-title {
  font-family: "Courier New", monospace;
  color: #888;
  font-size: 0.9rem;
}
.search-header .page-title {
  font-size: 3rem;
  margin: 5px 0;
  color: #fff;
  text-transform: uppercase;
}
.search-header .result-count {
  font-family: "Courier New", monospace;
  color: #ff3a3a;
  font-weight: bold;
}

/* グリッドレイアウト */
.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

/* カード共通スタイル */
.search-card {
  background: #111;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  transition: 0.2s;
  height: 200px;
  overflow: hidden;
  /* タイプ別の色分け */
  /* バッジ */
  /* 画像エリア */
  /* 情報エリア */
  /* ニュース(Text Only)用調整 */
  /* マップ用特別スタイル */
}
.search-card:hover {
  transform: translateY(-5px);
  border-color: #fff;
}
.search-card.type-weapon {
  border-top: 3px solid #ff3a3a;
}
.search-card.type-weapon .card-badge {
  color: #ff3a3a;
  border-color: #ff3a3a;
}
.search-card.type-medical {
  border-top: 3px solid #00ffaa;
}
.search-card.type-medical .card-badge {
  color: #00ffaa;
  border-color: #00ffaa;
}
.search-card.type-post {
  border-top: 3px solid #ccc;
}
.search-card.type-post .card-badge {
  color: #ccc;
  border-color: #ccc;
}
.search-card .card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.6rem;
  font-family: "Courier New", monospace;
  padding: 2px 6px;
  border: 1px solid #555;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2;
}
.search-card .card-img {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: radial-gradient(circle, #222 0%, #000 80%);
}
.search-card .card-img img {
  width: 60%;
  height: 60%;
  -o-object-fit: contain;
     object-fit: contain;
}
.search-card .card-info {
  padding: 10px 15px;
  background: #1a1a1a;
  border-top: 1px solid #333;
}
.search-card .card-info .title {
  font-size: 1rem;
  margin: 0 0 5px 0;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-card .card-info .stat {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  color: #888;
}
.search-card.type-post .card-info.text-only {
  height: 100%;
  justify-content: center;
  display: flex;
  flex-direction: column;
  background: #111;
}
.search-card.type-post .card-info.text-only .date {
  font-family: "Courier New", monospace;
  color: #ff3a3a;
  font-size: 0.8rem;
  margin-bottom: 5px;
}
.search-card.type-post .card-info.text-only .title {
  font-size: 1.2rem;
  white-space: normal;
}
.search-card.type-map {
  background-size: cover;
  background-position: center;
  border-top: 3px solid #ff4444;
}
.search-card.type-map .map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}
.search-card.type-map .card-badge {
  color: #ff4444;
  border-color: #ff4444;
}
.search-card.type-map .map-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: transparent;
  border: none;
  z-index: 2;
}

/* データなし */
.no-results {
  text-align: center;
  padding: 50px;
  color: #666;
  font-family: "Courier New", monospace;
}
.no-results .back-btn {
  display: inline-block;
  margin-top: 20px;
  color: #ff3a3a;
  border: 1px solid #ff3a3a;
  padding: 10px 20px;
  text-decoration: none;
}
.no-results .back-btn:hover {
  background: #ff3a3a;
  color: #000;
}/*# sourceMappingURL=style.css.map */
/* ========================================
   Language Switcher
======================================== */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}
.lang-dropdown .lang-current {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 6px 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lang-dropdown .lang-current:hover {
    border-color: #ff3a3a;
    color: #ff3a3a;
}
.lang-dropdown .lang-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    min-width: 100%;
    display: none;
    z-index: 1000;
}
.lang-dropdown:hover .lang-options {
    display: block;
}
.lang-dropdown .lang-option {
    display: block;
    padding: 8px 12px;
    color: #888;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
}
.lang-dropdown .lang-option:hover {
    background: #222;
    color: #fff;
}
.lang-dropdown .lang-option.active {
    color: #ff3a3a;
    background: #222;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
    font-size: 12px;
}
.lang-switcher .current-lang {
    color: #ff3a3a;
    font-weight: bold;
}
.lang-switcher .switch-lang {
    color: #666;
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid #333;
    transition: all 0.2s ease;
}
.lang-switcher .switch-lang:hover {
    color: #fff;
    border-color: #666;
}

@media (max-width: 768px) {
    .lang-dropdown {
        margin-right: 10px;
    }
    .lang-dropdown .lang-current {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* ========================================
   Logo Styles
======================================== */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #ff3a3a;
    font-family: 'Courier New', monospace;
}
.logo-version {
    font-size: 11px;
    color: #666;
    font-family: 'Courier New', monospace;
}
@media (max-width: 768px) {
    .logo-text {
        font-size: 16px;
    }
    .logo-version {
        display: none;
    }
    .logo-img {
        width: 32px;
        height: 32px;
    }
}

/* ========================================
   Breadcrumb
======================================== */
.breadcrumb {
    background: #0a0a0a;
    padding: 12px 20px;
    border-bottom: 1px solid #222;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
}
.breadcrumb-item a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-item a:hover {
    color: #ff3a3a;
}
.breadcrumb-sep {
    color: #444;
    margin: 0 10px;
}
.breadcrumb-item.current span {
    color: #ff3a3a;
}

/* ========================================
   Autocomplete
======================================== */
.autocomplete-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-top: none;
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}
.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #222;
}
.autocomplete-item:last-child {
    border-bottom: none;
}
.autocomplete-item:hover,
.autocomplete-item.selected {
    background: #252525;
}
.autocomplete-item .player-avatar {
    width: 24px;
    height: 24px;
    border-radius: 2px;
}
.autocomplete-item .player-name {
    flex: 1;
    color: #fff;
    font-family: 'Courier New', monospace;
}
.autocomplete-item .player-level {
    color: #888;
    font-size: 12px;
}
.autocomplete-item .private-badge {
    font-size: 12px;
}

/* ========================================
   Fade In Animation
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Glow Effects (Neon Red Theme)
======================================== */
.store-btn {
    color: #ff3a3a !important;
    border: 1px solid #ff3a3a;
    padding: 6px 12px;
    transition: all 0.3s ease;
}
.store-btn:hover {
    background: rgba(255, 58, 58, 0.1);
    box-shadow: 0 0 15px rgba(255, 58, 58, 0.3);
}
.discord-btn {
    color: #7289da !important;
    font-weight: bold;
    margin-left: 15px;
    transition: all 0.3s ease;
}
.discord-btn:hover {
    text-shadow: 0 0 10px rgba(114, 137, 218, 0.5);
}

/* ========================================
   Enhanced Hover Effects
======================================== */
.ranking-table tbody tr {
    transition: all 0.2s ease;
}
.ranking-table tbody tr:hover {
    background: rgba(255, 58, 58, 0.05);
    transform: translateX(5px);
}
.system-table tbody tr {
    transition: all 0.2s ease;
}
.system-table tbody tr:hover {
    background: rgba(255, 58, 58, 0.05);
}
.home-news-card {
    transition: all 0.3s ease;
}
.home-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #ff3a3a;
}
.feature-card {
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: #ff3a3a;
    box-shadow: 0 0 20px rgba(255, 58, 58, 0.1);
}
.search-card {
    transition: all 0.3s ease;
}
.search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.player-chip {
    transition: all 0.2s ease;
}
.player-chip:hover {
    border-color: #ff3a3a;
    background: rgba(255, 58, 58, 0.1);
}

/* ========================================
   Loading Spinner
======================================== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-top-color: #ff3a3a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Smooth Scroll
======================================== */
html {
    scroll-behavior: smooth;
}

/* ========================================
   Player Search Form (Stats Page)
======================================== */
.stats-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.player-profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.player-profile-header .page-title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.player-profile-header .stats-status-text {
    color: #888;
    margin-bottom: 30px;
}

.player-search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 40px;
    position: relative;
}

.player-search-form .search-input {
    flex: 1;
    padding: 15px 20px;
    background: #1a1a1a;
    border: 2px solid #333;
    color: #fff;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.player-search-form .search-input:focus {
    outline: none;
    border-color: #ff3a3a;
    box-shadow: 0 0 15px rgba(255, 58, 58, 0.2);
}

.player-search-form .search-input::placeholder {
    color: #666;
}

.player-search-form .search-btn {
    padding: 15px 30px;
    background: #ff3a3a;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-search-form .search-btn:hover {
    background: #ff5555;
    box-shadow: 0 0 20px rgba(255, 58, 58, 0.4);
}

.recent-players {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.recent-players h3 {
    color: #ff3a3a;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.player-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.player-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    transition: all 0.3s ease;
}

.player-chip:hover {
    border-color: #ff3a3a;
    background: rgba(255, 58, 58, 0.1);
    transform: translateY(-2px);
}

.player-chip img {
    width: 24px;
    height: 24px;
    border-radius: 2px;
}

.player-chip .level-badge {
    background: #333;
    padding: 2px 6px;
    font-size: 11px;
    color: #ff3a3a;
}

/* Profile Header when player found */
.profile-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #1a1a1a;
    border: 3px solid #ff3a3a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar img {
    width: 64px;
    height: 64px;
}

.profile-avatar.private-avatar,
.profile-avatar.not-found-avatar {
    border-color: #666;
}

.profile-avatar .lock-icon,
.profile-avatar .icon {
    font-size: 40px;
}

.player-name {
    font-size: 28px;
    color: #fff;
    margin-bottom: 5px;
}

.main-stat-board {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding: 20px;
    background: #1a1a1a;
    border: 1px solid #333;
}

.main-stat-board .stat-item {
    text-align: center;
}

.main-stat-board .stat-value {
    display: block;
    font-size: 32px;
    color: #ff3a3a;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.main-stat-board .stat-label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* Stats Tabs */
.stats-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    margin: 30px 0 0;
}

.stats-tabs .tab-link {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    color: #888;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.stats-tabs .tab-link:hover {
    color: #fff;
}

.stats-tabs .tab-link.active {
    color: #ff3a3a;
    border-bottom-color: #ff3a3a;
}

/* Tab Content */
.stats-content-area {
    margin-top: 0;
}

.tab-content {
    display: none;
    padding: 30px 0;
}

.tab-content.active {
    display: block;
}

.content-heading {
    font-size: 14px;
    color: #ff3a3a;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #222;
    font-family: 'Courier New', monospace;
}

.stats-table td:first-child {
    color: #888;
}

.stats-table td:last-child {
    text-align: right;
    color: #fff;
    font-size: 18px;
}

.stats-table tr.highlight td {
    background: rgba(255, 58, 58, 0.05);
}

.stats-table tr.highlight td:last-child {
    color: #ff3a3a;
    font-weight: bold;
}

/* Stats Footer */
.stats-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.stats-footer .back-btn {
    color: #888;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    transition: color 0.3s ease;
}

.stats-footer .back-btn:hover {
    color: #ff3a3a;
}

.stats-footer .last-updated {
    color: #666;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* Error states */
.error-status {
    color: #ff4444 !important;
}

.private-status {
    color: #888 !important;
}

@media (max-width: 600px) {
    .player-search-form {
        flex-direction: column;
    }
    
    .main-stat-board {
        flex-direction: column;
        gap: 20px;
    }
    
    .stats-tabs {
        flex-wrap: wrap;
    }
    
    .stats-tabs .tab-link {
        flex: 1 1 auto;
        font-size: 11px;
    }
}

/* ========================================
   Contact Page
======================================== */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header .page-title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.contact-header .sub-title {
    color: #ff3a3a;
    font-family: 'Courier New', monospace;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.contact-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.contact-card:hover {
    border-color: #ff3a3a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-card .card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.contact-card .card-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.contact-card .card-desc {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}

.contact-card.discord-card:hover {
    border-color: #7289da;
}

.contact-card.discord-card .card-icon {
    color: #7289da;
}

.contact-card.twitter-card:hover {
    border-color: #1da1f2;
}

.contact-card.twitter-card .card-icon {
    color: #1da1f2;
}

.contact-info {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    margin-top: 30px;
}

.contact-info h3 {
    color: #ff3a3a;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.contact-info p {
    color: #888;
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-info .server-ip {
    display: inline-block;
    background: #0d0d0d;
    border: 1px solid #333;
    padding: 10px 20px;
    color: #ff3a3a;
    font-family: 'Courier New', monospace;
    margin-top: 10px;
}
