/* ============================================
   18禁游乐园 - 全站样式表
   CSS/ID前缀: 18p-
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Variables */
:root {
  --18p-primary: #FF007A;
  --18p-secondary: #00F0FF;
  --18p-accent: #F9F871;
  --18p-bg: #10002B;
  --18p-text: #FFFFFF;
  --18p-card-bg: rgba(16, 0, 43, 0.85);
  --18p-glow-pink: 0 0 15px rgba(255, 0, 122, 0.5);
  --18p-glow-cyan: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--18p-bg);
  color: var(--18p-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Jammer Block - Hidden */
.park-jammer-block {
  display: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bangers', cursive;
  letter-spacing: 2px;
}

a {
  color: var(--18p-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--18p-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Navigation
   ============================================ */
#_18p-header {
  background: rgba(16, 0, 43, 0.95);
  padding: 0.8rem 0;
  border-bottom: 2px solid var(--18p-primary);
  box-shadow: var(--18p-glow-pink);
  z-index: 1000;
}

._18p-nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

._18p-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

._18p-logo img {
  height: 50px;
  width: auto;
}

._18p-logo-text {
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  color: var(--18p-primary);
  text-shadow: var(--18p-glow-pink);
}

._18p-nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

._18p-nav-links li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--18p-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
}

._18p-nav-links li a:hover,
._18p-nav-links li a._18p-active {
  color: var(--18p-primary);
  text-shadow: var(--18p-glow-pink);
}

._18p-nav-links li:nth-child(even) a:hover {
  color: var(--18p-secondary);
  text-shadow: var(--18p-glow-cyan);
}

/* Hamburger Menu */
._18p-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

._18p-hamburger span {
  width: 28px;
  height: 3px;
  background: var(--18p-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile Nav Overlay */
._18p-mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, #10002B 0%, #1a0040 100%);
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 4rem 2rem 2rem;
  box-shadow: -5px 0 30px rgba(255, 0, 122, 0.3);
}

._18p-mobile-nav._18p-open {
  right: 0;
}

._18p-mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--18p-text);
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 0, 122, 0.2);
}

._18p-mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--18p-primary);
  cursor: pointer;
  background: none;
  border: none;
}

._18p-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
}

/* ============================================
   Hero Section
   ============================================ */
#_18p-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

._18p-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

._18p-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(16,0,43,0.3), rgba(16,0,43,0.85));
  z-index: 1;
}

._18p-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

._18p-hero-content h1 {
  font-size: 3.5rem;
  color: var(--18p-primary);
  text-shadow: 0 0 30px rgba(255,0,122,0.6), 0 0 60px rgba(255,0,122,0.3);
  margin-bottom: 1rem;
}

._18p-hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

._18p-btn-ticket {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--18p-primary), #cc0062);
  color: #fff;
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  letter-spacing: 2px;
  border: 2px dashed var(--18p-accent);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: var(--18p-glow-pink);
}

._18p-btn-ticket:hover {
  background: linear-gradient(135deg, #cc0062, var(--18p-primary));
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255,0,122,0.7);
  color: #fff;
}

/* ============================================
   Section Common
   ============================================ */
._18p-section {
  padding: 4rem 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

._18p-section-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--18p-secondary);
  text-shadow: var(--18p-glow-cyan);
}

._18p-section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

/* ============================================
   Roller Coaster (Video) Section
   ============================================ */
._18p-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

._18p-video-card {
  background: var(--18p-card-bg);
  border: 1px solid rgba(255,0,122,0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

._18p-video-card:hover {
  transform: translateY(-5px);
  border-color: var(--18p-primary);
  box-shadow: var(--18p-glow-pink);
}

._18p-video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

._18p-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

._18p-video-card:hover ._18p-video-thumb img {
  transform: scale(1.05);
}

._18p-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255,0,122,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

._18p-video-card:hover ._18p-video-play {
  opacity: 1;
}

._18p-video-play::after {
  content: '';
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

._18p-video-info {
  padding: 1rem;
}

._18p-video-info h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

._18p-video-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   Haunted House (Mystery) Section
   ============================================ */
._18p-ghost-section {
  background: linear-gradient(180deg, transparent, rgba(100, 0, 150, 0.15), transparent);
}

._18p-mystery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

._18p-mystery-box {
  background: var(--18p-card-bg);
  border: 2px solid rgba(0,240,255,0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

._18p-mystery-box::before {
  content: '?';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bangers', cursive;
  font-size: 6rem;
  color: rgba(0,240,255,0.1);
  transition: all 0.4s ease;
}

._18p-mystery-box:hover {
  border-color: var(--18p-secondary);
  box-shadow: var(--18p-glow-cyan);
}

._18p-mystery-box:hover::before {
  color: rgba(0,240,255,0.05);
  font-size: 8rem;
}

._18p-mystery-box h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

._18p-mystery-box p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

._18p-mystery-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: rgba(0,240,255,0.15);
  color: var(--18p-secondary);
  border-radius: 20px;
  font-size: 0.75rem;
  margin-top: 0.8rem;
  position: relative;
  z-index: 1;
}

/* ============================================
   Ferris Wheel (Beautiful) Section
   ============================================ */
._18p-carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

._18p-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1.5rem;
}

._18p-carousel-card {
  min-width: 320px;
  flex-shrink: 0;
  background: var(--18p-card-bg);
  border: 1px solid rgba(249,248,113,0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

._18p-carousel-card:hover {
  border-color: var(--18p-accent);
  box-shadow: 0 0 15px rgba(249,248,113,0.3);
}

._18p-carousel-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

._18p-carousel-card-body {
  padding: 1.2rem;
}

._18p-carousel-card-body h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

._18p-carousel-card-body p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

._18p-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

._18p-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--18p-accent);
  background: transparent;
  color: var(--18p-accent);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

._18p-carousel-btn:hover {
  background: var(--18p-accent);
  color: var(--18p-bg);
}

/* ============================================
   Bumper Cars (Interactive) Section
   ============================================ */
._18p-interact-section {
  background: linear-gradient(180deg, transparent, rgba(255,0,122,0.05), transparent);
}

._18p-poll-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--18p-card-bg);
  border: 1px solid rgba(255,0,122,0.3);
  border-radius: 16px;
  padding: 2rem;
}

._18p-poll-question {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

._18p-poll-option {
  display: block;
  width: 100%;
  padding: 0.9rem 1.2rem;
  margin-bottom: 0.8rem;
  background: rgba(255,0,122,0.08);
  border: 1px solid rgba(255,0,122,0.2);
  border-radius: 8px;
  color: var(--18p-text);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

._18p-poll-option:hover {
  background: rgba(255,0,122,0.2);
  border-color: var(--18p-primary);
}

/* ============================================
   Gift Shop Section
   ============================================ */
._18p-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

._18p-shop-item {
  background: var(--18p-card-bg);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

._18p-shop-item:hover {
  border-color: var(--18p-secondary);
  box-shadow: var(--18p-glow-cyan);
}

._18p-shop-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

._18p-shop-item-info {
  padding: 1rem;
}

._18p-shop-item-info h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

._18p-shop-price {
  color: var(--18p-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================
   Ticket (Registration) Section
   ============================================ */
._18p-ticket-section {
  display: flex;
  justify-content: center;
  padding: 4rem 1.5rem;
}

._18p-ticket-form {
  background: var(--18p-card-bg);
  border: 3px dashed var(--18p-primary);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
}

._18p-ticket-form::before {
  content: 'ADMIT ONE';
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--18p-primary);
  color: #fff;
  padding: 0.3rem 1rem;
  font-family: 'Bangers', cursive;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
}

._18p-ticket-form h2 {
  color: var(--18p-accent);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

._18p-ticket-form p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

._18p-input-group {
  margin-bottom: 1.2rem;
}

._18p-input-group input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,0,122,0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

._18p-input-group input:focus {
  border-color: var(--18p-primary);
  box-shadow: var(--18p-glow-pink);
}

._18p-input-group input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* ============================================
   VIP (Membership) Section
   ============================================ */
._18p-vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

._18p-vip-card {
  background: var(--18p-card-bg);
  border: 2px solid rgba(255,0,122,0.2);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

._18p-vip-card._18p-featured {
  border-color: var(--18p-accent);
  transform: scale(1.03);
}

._18p-vip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--18p-glow-pink);
}

._18p-vip-card._18p-featured:hover {
  transform: scale(1.03) translateY(-5px);
}

._18p-vip-badge {
  display: inline-block;
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
  font-family: 'Bangers', cursive;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

._18p-vip-silver { background: linear-gradient(135deg, #c0c0c0, #808080); color: #fff; }
._18p-vip-gold { background: linear-gradient(135deg, #ffd700, #b8860b); color: #fff; }
._18p-vip-platinum { background: linear-gradient(135deg, #e5e4e2, #b0b0b0); color: #333; }

._18p-vip-price {
  font-size: 2.5rem;
  font-family: 'Bangers', cursive;
  color: var(--18p-primary);
  margin: 1rem 0;
}

._18p-vip-price span {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
}

._18p-vip-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

._18p-vip-features li {
  padding: 0.4rem 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

._18p-vip-features li::before {
  content: '✦ ';
  color: var(--18p-accent);
}

/* ============================================
   Ad Banner Section
   ============================================ */
._18p-ad-banner {
  background: linear-gradient(135deg, rgba(255,0,122,0.1), rgba(0,240,255,0.1));
  border: 1px solid rgba(255,0,122,0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 2rem auto;
  max-width: 1440px;
}

._18p-ad-banner p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}

/* ============================================
   APP Download Section
   ============================================ */
._18p-app-section {
  text-align: center;
}

._18p-app-section img {
  max-width: 600px;
  margin: 0 auto 2rem;
  border-radius: 16px;
}

._18p-app-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

._18p-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

._18p-app-btn:hover {
  background: rgba(255,0,122,0.2);
  border-color: var(--18p-primary);
  color: #fff;
}

/* ============================================
   Rules Section
   ============================================ */
._18p-rules-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

._18p-rules-list li {
  padding: 1rem 1.5rem;
  margin-bottom: 0.8rem;
  background: var(--18p-card-bg);
  border-left: 4px solid var(--18p-primary);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

/* ============================================
   Footer
   ============================================ */
#_18p-footer {
  background: rgba(5, 0, 15, 0.95);
  border-top: 2px solid var(--18p-primary);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

._18p-footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

._18p-footer-col h4 {
  font-family: 'Bangers', cursive;
  color: var(--18p-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

._18p-footer-col ul {
  list-style: none;
}

._18p-footer-col ul li {
  margin-bottom: 0.5rem;
}

._18p-footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

._18p-footer-col ul li a:hover {
  color: var(--18p-primary);
}

._18p-social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

._18p-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,0,122,0.15);
  color: var(--18p-primary);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

._18p-social-links a:hover {
  background: var(--18p-primary);
  color: #fff;
}

._18p-footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,0,122,0.15);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

._18p-footer-bottom p {
  margin-bottom: 0.3rem;
}

._18p-age-badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: var(--18p-primary);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}

/* ============================================
   Inner Pages
   ============================================ */
._18p-page-header {
  padding: 3rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,0,122,0.1), transparent);
}

._18p-page-header h1 {
  font-size: 2.5rem;
  color: var(--18p-primary);
  text-shadow: var(--18p-glow-pink);
}

._18p-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  line-height: 1.9;
}

._18p-page-content p {
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.85);
}

._18p-page-content img {
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid rgba(255,0,122,0.2);
}

._18p-page-content h2 {
  color: var(--18p-secondary);
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

/* ============================================
   Responsive Design
   ============================================ */

/* 1440px */
@media (max-width: 1440px) {
  ._18p-section {
    padding: 3.5rem 1.5rem;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  ._18p-hero-content h1 {
    font-size: 2.8rem;
  }
  ._18p-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  ._18p-nav-links {
    display: none;
  }
  ._18p-hamburger {
    display: flex;
  }
  ._18p-mobile-nav {
    display: block;
  }
}

/* 768px */
@media (max-width: 768px) {
  ._18p-hero-content h1 {
    font-size: 2.2rem;
  }
  ._18p-section-title {
    font-size: 2rem;
  }
  ._18p-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  ._18p-vip-grid {
    grid-template-columns: 1fr;
  }
  ._18p-vip-card._18p-featured {
    transform: none;
  }
  ._18p-carousel-card {
    min-width: 260px;
  }
}

/* 360px */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  ._18p-hero-content h1 {
    font-size: 1.8rem;
  }
  ._18p-section-title {
    font-size: 1.6rem;
  }
  ._18p-video-grid {
    grid-template-columns: 1fr;
  }
  ._18p-mystery-grid {
    grid-template-columns: 1fr;
  }
  ._18p-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  ._18p-footer-grid {
    grid-template-columns: 1fr;
  }
  ._18p-ticket-form {
    padding: 2rem 1.5rem;
  }
  ._18p-carousel-card {
    min-width: 240px;
  }
}
