*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Inter',sans-serif;background:#0c0f1e;color:#edeff5;line-height:1.5;padding:16px 12px 30px;min-height:100vh}
.container{max-width:1200px;margin:0 auto;width:100%}
.hero-title{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
  padding:0 4px;
  width:100%;
}
.logo-area{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
}
.avatar-icon{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6e7b0, #f5c45e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(245, 196, 94, 0.5);
  flex-shrink: 0;
}
.avatar-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
}
.logo-area h1{
  font-size:2.2rem;
  font-weight:700;
  background:linear-gradient(135deg,#f6e7b0,#f5c45e);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  letter-spacing:1.5px;
  white-space: nowrap;
}
.new-tag{
  background:#d9b650;
  color:#0b0f1a;
  padding:4px 14px;
  border-radius:40px;
  font-weight:700;
  font-size:0.85rem;
  border:1px solid #ffe28b;
  white-space: nowrap;
}
.right-content{
  display:flex;
  align-items:center;
  gap:15px;
  flex-wrap:nowrap;
}
.online-badge{
  display:flex;
  align-items:center;
  gap:15px;
  flex-wrap:nowrap;
}
.sub-line{
  color:#95a9d4;
  background:rgba(255,255,255,.02);
  padding:4px 14px;
  border-radius:40px;
  border:1px dashed #3f4b6e;
  font-size:.9rem;
  white-space: nowrap;
}
.domain-card{
  background:linear-gradient(105deg,#1e2640,#151e32);
  border-radius:28px;
  padding:20px 24px;
  margin-bottom:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid rgba(255,210,100,.25);
  box-shadow:0 20px 30px -10px rgba(0,0,0,.7);
  min-height: 80px;
}
.domain-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.domain-icon{font-size:1.8rem;color:#f3b33d;filter:drop-shadow(0 0 5px #f3b33d)}
.domain-text{font-size:1.5rem;font-weight:700;background:linear-gradient(145deg,#fff1cf,#ffdca8);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.domain-small{color:#a1b5e6;font-size:.95rem;background:rgba(0,0,0,.3);padding:4px 14px;border-radius:40px}
.collect-btn{
  background:rgba(0,0,0,.35);
  border:1.5px solid #ffcf7a;
  color:#ffd88f;
  padding:10px 24px;
  border-radius:50px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px;
  min-width: 140px;
  justify-content: center;
  cursor: pointer;
}
.collect-btn:hover{background:#ffcf7a20;border-color:#ffbc4a;color:#ffe6b3}
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  border: 1px solid #f5c45e;
  font-size: 1rem;
  z-index: 9999;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 20px rgba(245, 196, 94, 0.3);
}
.toast.show { opacity: 1; }
.toast i { color: #f5c45e; font-size: 1.5rem; margin-bottom: 10px; display: block; }
.agent-section{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:30px}
.agent-card{
  flex:2;
  min-width:260px;
  background:#1c253e;
  border-radius:30px;
  padding:20px 24px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  border:1px solid #4f5e88;
  background-image:radial-gradient(circle at 0% 30%,#2e3d6b 0%,transparent 50%)
}
.agent-info h3{font-size:1.5rem;font-weight:700;display:flex;align-items:center;gap:8px}
.agent-info h3 span{background:#ebc25e;color:#141b2b;padding:2px 14px;border-radius:60px;font-size:.9rem;font-weight:800}
.agent-desc{color:#b9cbff;margin-top:5px}
.agent-btn{
  background:#f3b84b;
  color:#0f1422;
  padding:14px 15px;
  border-radius:60px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:6px;
  border:none;
  box-shadow:0 6px 0 #8e621f;
  cursor:pointer;
  text-decoration: none;
}
.agent-btn:hover{background:#f5c45e;box-shadow:0 6px 0 #a07328;}
.announcement-bar {
  width: 100%;
  height: 48px;
  line-height: 48px;
  background: linear-gradient(135deg, #1a1f38 0%, #252c4a 100%);
  border-radius: 24px;
  margin: 0 0 20px 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 94, 0.2);
  position: relative;
}
.announcement-icon {
  color: #f5c45e;
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
  animation: bell-shake 2s infinite ease-in-out;
}
@keyframes bell-shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(10deg); }
  75% { transform: rotate(-10deg); }
}
.announcement-wrapper {
  width: calc(100% - 60px);
  overflow: hidden;
  position: relative;
  height: 100%;
}
.announcement-content {
  white-space: nowrap;
  color: #e0e6ff;
  font-size: 1rem;
  height: 100%;
  line-height: 48px;
  position: absolute;
  left: 0;
  will-change: transform;
}
@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 20px)); }
}
.announcement-content.scroll {
  animation: scrollText 15s linear infinite;
}
.section-label{display:flex;justify-content:space-between;align-items:center;margin:30px 0 18px}
.section-label h2{font-size:1.8rem;font-weight:700;background:linear-gradient(145deg,#ffe5b4,#cbae7a);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.more-link{color:#8fa2dd}
.entertain-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 16px;
  margin-bottom: 30px;
  width: 100%;
  overflow-x: visible;
  grid-auto-flow: row;
}
.game-card{
  text-align:center;
  min-width: unset;
  transition:all 0.15s ease;
  cursor:pointer;
}
.game-card a{
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.game-card:hover{border-color:#f5c45e;transform:scale(1.02);box-shadow:0 8px 0 #0e1423,0 0 18px #f3b84b40}
.game-icon{
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #232c48, #171e33);
  box-shadow: 0 4px 4px rgba(0,0,0,.6);
}
.game-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.4));
  object-position: center;
}
.game-icon img::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: #232c48;
  background-image: url('<?php echo get_safe_image_path("default.png"); ?>');
  background-size: cover;
}
.game-card h3{
  font-size:1.3rem;
  font-weight:700;
  margin-bottom:8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}
.domain-tag{
  font-size:.8rem;
  background:#262f4b;
  padding:4px 8px;
  border-radius:20px;
  color:#b9c7f0;
  display: inline-block;
  text-align: center;
}
.service-bar{
  background:#131b2e;
  border-radius:60px;
  padding:14px 22px;
  margin:30px 0 24px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  border:1px solid #525e86
}
.service-item{
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:600;
  padding:6px 14px;
  border-radius:50px;
  background:rgba(0,0,0,.25)
}
.badge{
  background:#39b46e;
  color:#000;
  font-weight:800;
  font-size:.7rem;
  padding:2px 8px;
  border-radius:40px;
  cursor: pointer;
}
.badge-link { text-decoration: none; }
.footer-present{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:24px;
  margin-top:20px;
  padding:24px 10px 10px;
  border-top:1px solid #253153;
  color:#7a8bcb
}
.ng{
  font-size:1.2rem;
  font-weight:700;
  background:linear-gradient(145deg,#ad9f7f,#ccb586);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent
}
.size-domain{
  background:#10172b;
  padding:6px 25px;
  border-radius:60px;
  border:1px solid #575e82;
  color:#ffe3ae
}
@media(max-width:900px){
  .hero-title{flex-direction:column;align-items:flex-start;gap:10px;}
  .right-content{width:100%;justify-content:flex-start;margin-top:10px;}
  .domain-left{gap:8px;}
  .domain-text{font-size:1.3rem;}
  .collect-btn{padding:8px 16px;font-size:0.9rem;min-width:120px;}
  .avatar-icon{width:52px;height:52px;}
  .announcement-bar {height: 44px;line-height: 44px;}
  .announcement-content {font-size: 0.9rem;line-height: 44px;}
  .entertain-grid{grid-template-columns: repeat(4, 1fr);gap: 12px;}
  .game-icon{width: 65px;height: 65px;}
  .game-card h3{font-size: 1.1rem;}
  .toast {width: 80%;padding: 15px 20px;font-size: 0.9rem;}
}
@media(max-width:700px){
  .service-bar{flex-direction:column;align-items:stretch;gap:12px}
  .agent-section{flex-direction:column}
  .right-content{flex-wrap:wrap;gap:10px;}
  .announcement-bar {height: 40px;line-height: 40px;padding: 0 15px;}
  .announcement-icon {font-size: 1rem;margin-right: 10px;}
  .announcement-content {line-height: 40px;}
  .entertain-grid{grid-template-columns: repeat(4, 1fr);gap: 10px;}
  .game-icon{width: 60px;height: 60px;}
  .game-card h3{font-size: 1rem;}
}
@media(max-width:480px){
  .logo-area h1{font-size:1.8rem}
  .game-icon{width: 50px;height: 50px;border-radius: 12px;}
  .game-card h3{font-size: 0.95rem;}
  .domain-tag{font-size: .7rem;}
  .domain-icon{font-size:1.5rem;}
  .domain-small{font-size:0.85rem;padding:2px 10px;}
  .collect-btn{min-width: 100px;padding:6px 12px;}
  .avatar-icon{width: 48px;height: 48px;}
  .announcement-content {font-size: 0.85rem;}
  .entertain-grid {grid-template-columns: repeat(4, 1fr);gap: 8px;overflow-x: auto;padding-bottom: 8px;}
  .game-card{padding: 5px 0;}
  .toast {width: 90%;padding: 12px 15px;font-size: 0.85rem;}
}