[hidden] { display: none !important; }

/* =========================================================
   Drink the Ocean Game - Premium Theme CSS
   Design System: Deep Ocean Cyber-Blocky
   ========================================================= */

:root {
  --bg-main: #060d1f;
  --bg-surface: #0c1836;
  --bg-card: rgba(15, 29, 64, 0.75);
  --bg-card-hover: rgba(22, 42, 92, 0.85);
  --border-color: rgba(56, 189, 248, 0.16);
  --border-glow: rgba(56, 189, 248, 0.35);
  --primary: #38bdf8;
  --primary-hover: #7dd3fc;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-glow: 0 10px 30px -10px rgba(56, 189, 248, 0.25);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(2, 132, 199, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 31, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-header-cta {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #032b49;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.3);
  transition: all 0.2s ease;
}

.btn-header-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 36px 0 24px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* =========================================================
   Game Stage & Player
   ========================================================= */
.game-wrapper {
  margin: 24px 0 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.game-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #020617;
}

/* Cover View */
.game-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(6, 13, 31, 0.95), rgba(12, 24, 54, 0.95)),
              radial-gradient(circle at center, rgba(14, 165, 233, 0.25) 0%, transparent 70%);
  z-index: 10;
}

.cover-avatar {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.5);
  margin-bottom: 20px;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cover-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.cover-subtitle {
  font-size: 1.05rem;
  color: #bae6fd;
  max-width: 480px;
  margin-bottom: 28px;
}

.btn-play-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 42px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e1b4b;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.5);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-play-action:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px -4px rgba(245, 158, 11, 0.7);
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
}

.cover-features {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.cover-features span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}

/* Loader */
.game-loader {
  display: none;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #060d1f;
  z-index: 20;
}

.ocean-spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38bdf8;
  border-right-color: #06b6d4;
  animation: spinLoader 0.8s linear infinite;
  margin-bottom: 20px;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.02em;
  animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Player Bar Controls */
.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 4px 4px;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

.player-left, .player-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ctrl:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary);
  color: #ffffff;
}

.btn-ctrl[data-gf-liked] {
  background: rgba(14, 165, 233, 0.3) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.like-num {
  font-weight: 800;
  color: var(--primary);
}

/* =========================================================
   Content & Guide Cards
   ========================================================= */
.content-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.content-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 24px 0 10px;
}

.content-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section strong {
  color: #ffffff;
}

/* Grid of Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.feature-card {
  background: rgba(12, 24, 54, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Controls Grid */
.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.ctrl-box {
  background: rgba(12, 24, 54, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.ctrl-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 12px;
}

.ctrl-list {
  list-style: none;
}

.ctrl-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ctrl-list li:last-child {
  border-bottom: none;
}

.ctrl-key {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  margin-right: 6px;
}

/* FAQ Items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(12, 24, 54, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.faq-item p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* =========================================================
   Comments Section
   ========================================================= */
.comment-form {
  margin-bottom: 28px;
  background: rgba(12, 24, 54, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.comment-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.comment-textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  background: #060d1f;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.9rem;
  resize: vertical;
  margin-bottom: 12px;
  font-family: inherit;
}

.comment-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.btn-post-comment {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #032b49;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-post-comment:hover {
  background: var(--primary-hover);
}

.comment-card {
  background: rgba(12, 24, 54, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.badge-owner {
  padding: 2px 6px;
  border-radius: 4px;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.comment-time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.comment-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.btn-reply-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}

.btn-reply-link:hover {
  text-decoration: underline;
}

.replies-wrap {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid var(--border-color);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: #040916;
  padding: 48px 0 28px;
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .footer-brand {
    grid-column: span 1;
  }
  .nav-links {
    display: none;
  }
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
