/* ============================================
   澳门彩 - 澳门博彩文化与赌场深度导览平台
   主样式文件 am-style.css
   设计风格：葡式瓷砖殖民风 (Portuguese Azulejo Colonial)
   CSS前缀：am-
   ============================================ */

/* --- Google Fonts Import (Local fallback) --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --am-primary: #004080;
  --am-white: #FFFFFF;
  --am-gold: #FFD700;
  --am-wood: #8B4513;
  --am-bg: #F5F5F5;
  --am-text: #333333;
  --am-text-light: #666666;
  --am-shadow: 0 2px 10px rgba(0,64,128,0.1);
  --am-radius: 4px;
  --am-font-title: 'Cinzel Decorative', 'Noto Serif SC', serif;
  --am-font-body: 'Noto Serif SC', 'Georgia', serif;
  --am-nav-bg: rgba(0, 64, 128, 0.92);
  --am-transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--am-font-body);
  color: var(--am-text);
  background-color: var(--am-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--am-primary);
  text-decoration: none;
  transition: var(--am-transition);
}

a:hover {
  color: var(--am-gold);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--am-font-title);
  color: var(--am-primary);
  line-height: 1.4;
  margin-bottom: 0.8em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.2em;
  color: var(--am-text);
}

/* --- Azulejo SVG Background Pattern --- */
.am-azulejo-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23004080' stroke-width='0.5' opacity='0.08'%3E%3Crect x='0' y='0' width='80' height='80'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3Cpath d='M20 0v80M60 0v80M0 20h80M0 60h80'/%3E%3Ccircle cx='0' cy='0' r='8'/%3E%3Ccircle cx='80' cy='0' r='8'/%3E%3Ccircle cx='0' cy='80' r='8'/%3E%3Ccircle cx='80' cy='80' r='8'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* --- Container --- */
.am-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation --- */
.am-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--am-nav-bg);
  border-bottom: 2px solid var(--am-gold);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--am-transition);
}

.am-navbar.am-scrolled {
  background: rgba(0, 40, 80, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.am-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
}

.am-logo {
  font-family: var(--am-font-title);
  font-size: 1.6rem;
  color: var(--am-gold);
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

.am-logo span {
  color: var(--am-white);
  font-weight: 400;
}

.am-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.am-nav-links li a {
  color: var(--am-white);
  font-size: 0.92rem;
  padding: 22px 14px;
  display: block;
  position: relative;
  font-family: var(--am-font-body);
  transition: var(--am-transition);
}

.am-nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--am-gold);
  transition: width 0.3s ease;
}

.am-nav-links li a:hover,
.am-nav-links li a.am-active {
  color: var(--am-gold);
}

.am-nav-links li a:hover::after,
.am-nav-links li a.am-active::after {
  width: 80%;
}

.am-btn-gold {
  display: inline-block;
  background: var(--am-gold);
  color: var(--am-primary);
  padding: 10px 24px;
  border-radius: var(--am-radius);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--am-transition);
  border: none;
  cursor: pointer;
  font-family: var(--am-font-body);
}

.am-btn-gold:hover {
  background: #FFC000;
  color: var(--am-primary);
  box-shadow: 0 0 20px rgba(255,215,0,0.4);
  transform: translateY(-1px);
}

.am-btn-outline {
  display: inline-block;
  border: 2px solid var(--am-gold);
  color: var(--am-gold);
  padding: 10px 24px;
  border-radius: var(--am-radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--am-transition);
  background: transparent;
  cursor: pointer;
}

.am-btn-outline:hover {
  background: var(--am-gold);
  color: var(--am-primary);
}

/* Hamburger Menu */
.am-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.am-hamburger span {
  width: 28px;
  height: 2px;
  background: var(--am-white);
  transition: var(--am-transition);
}

.am-hamburger.am-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.am-hamburger.am-open span:nth-child(2) {
  opacity: 0;
}

.am-hamburger.am-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Banner --- */
.am-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.am-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,40,80,0.6) 0%, rgba(0,40,80,0.4) 50%, rgba(0,40,80,0.7) 100%);
  z-index: 1;
}

.am-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.am-hero h1 {
  font-family: var(--am-font-title);
  color: var(--am-gold);
  font-size: 2.8rem;
  margin-bottom: 0.6em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  letter-spacing: 2px;
}

.am-hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 2em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.am-hero .am-btn-gold {
  font-size: 1.05rem;
  padding: 14px 36px;
  letter-spacing: 1px;
}

/* --- Page Hero (Inner Pages) --- */
.am-page-hero {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  margin-top: 70px;
}

.am-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,40,80,0.7) 0%, rgba(0,40,80,0.5) 100%);
  z-index: 1;
}

.am-page-hero-content {
  position: relative;
  z-index: 2;
}

.am-page-hero h1 {
  color: var(--am-gold);
  font-size: 2.4rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.am-page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.am-breadcrumb {
  padding: 15px 0;
  background: var(--am-white);
  border-bottom: 1px solid #e0e0e0;
}

.am-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
}

.am-breadcrumb li::after {
  content: '>';
  margin-left: 8px;
  color: var(--am-text-light);
}

.am-breadcrumb li:last-child::after {
  display: none;
}

.am-breadcrumb a {
  color: var(--am-primary);
}

.am-breadcrumb a:hover {
  color: var(--am-gold);
}

.am-breadcrumb .am-current {
  color: var(--am-text-light);
}

/* --- Section Styles --- */
.am-section {
  padding: 80px 0;
}

.am-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.am-section-title h2 {
  font-family: var(--am-font-title);
  color: var(--am-primary);
  font-size: 2rem;
  margin-bottom: 12px;
}

.am-section-title p {
  color: var(--am-text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.am-gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--am-gold), transparent);
  margin: 15px auto;
}

/* --- Card Grid --- */
.am-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.am-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.am-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* --- Casino Card --- */
.am-casino-card {
  position: relative;
  border-radius: var(--am-radius);
  overflow: hidden;
  box-shadow: var(--am-shadow);
  transition: var(--am-transition);
  background: var(--am-white);
}

.am-casino-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,64,128,0.2);
}

.am-casino-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.am-casino-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent 40%, rgba(0,40,80,0.8) 100%);
}

.am-casino-card-body {
  padding: 20px;
}

.am-casino-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.am-casino-card-body .am-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.am-tag {
  display: inline-block;
  background: rgba(0,64,128,0.08);
  color: var(--am-primary);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
}

.am-stars {
  color: var(--am-gold);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.am-casino-card-body p {
  font-size: 0.9rem;
  color: var(--am-text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

/* --- Timeline --- */
.am-timeline {
  position: relative;
  overflow-x: auto;
  padding: 40px 0;
  -webkit-overflow-scrolling: touch;
}

.am-timeline-track {
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 0 40px;
  position: relative;
}

.am-timeline-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--am-primary), var(--am-gold));
  transform: translateY(-50%);
}

.am-timeline-item {
  flex: 0 0 260px;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.am-timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--am-gold);
  border: 3px solid var(--am-primary);
  border-radius: 50%;
  z-index: 2;
  top: 0;
}

.am-timeline-year {
  font-family: var(--am-font-title);
  color: var(--am-gold);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.am-timeline-desc {
  font-size: 0.88rem;
  color: var(--am-text);
  padding: 0 15px;
  line-height: 1.6;
}

/* --- VR Section --- */
.am-vr-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.am-vr-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-vr-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,40,80,0.65);
  z-index: 1;
}

.am-vr-content {
  position: relative;
  z-index: 2;
}

.am-vr-content h2 {
  color: var(--am-gold);
  font-size: 2.6rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.am-vr-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.am-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--am-gold);
  color: var(--am-primary);
  padding: 14px 36px;
  border-radius: var(--am-radius);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--am-transition);
  cursor: pointer;
  border: none;
}

.am-play-btn:hover {
  background: #FFC000;
  box-shadow: 0 0 30px rgba(255,215,0,0.5);
  transform: scale(1.03);
  color: var(--am-primary);
}

/* --- Game Hall Cards --- */
.am-game-card {
  background: var(--am-white);
  border-radius: var(--am-radius);
  overflow: hidden;
  box-shadow: var(--am-shadow);
  transition: var(--am-transition);
}

.am-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0,64,128,0.15);
}

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

.am-game-card-body {
  padding: 20px;
}

.am-game-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.am-game-card-body p {
  font-size: 0.9rem;
  color: var(--am-text-light);
}

/* --- Food Map Section --- */
.am-food-card {
  display: flex;
  background: var(--am-white);
  border-radius: var(--am-radius);
  overflow: hidden;
  box-shadow: var(--am-shadow);
  transition: var(--am-transition);
}

.am-food-card:hover {
  box-shadow: 0 6px 25px rgba(0,64,128,0.15);
}

.am-food-card img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}

.am-food-card-body {
  padding: 18px;
}

.am-food-card-body h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.am-food-card-body p {
  font-size: 0.85rem;
  color: var(--am-text-light);
  margin-bottom: 0;
}

/* --- Article Card --- */
.am-article-card {
  background: var(--am-white);
  border-radius: var(--am-radius);
  overflow: hidden;
  box-shadow: var(--am-shadow);
  transition: var(--am-transition);
}

.am-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0,64,128,0.15);
}

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

.am-article-card-body {
  padding: 20px;
}

.am-article-card-body .am-date {
  font-size: 0.8rem;
  color: var(--am-text-light);
  margin-bottom: 8px;
}

.am-article-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.am-article-card-body p {
  font-size: 0.88rem;
  color: var(--am-text-light);
}

.am-read-more {
  display: inline-block;
  color: var(--am-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 8px;
}

.am-read-more:hover {
  color: var(--am-gold);
}

/* --- Video Section --- */
.am-video-card {
  border-radius: var(--am-radius);
  overflow: hidden;
  box-shadow: var(--am-shadow);
  background: var(--am-white);
}

.am-video-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #000;
}

.am-video-card-body {
  padding: 15px;
}

.am-video-card-body h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.am-video-card-body p {
  font-size: 0.82rem;
  color: var(--am-text-light);
  margin-bottom: 0;
}

/* --- Responsible Gaming --- */
.am-responsible {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8ecf0 100%);
  border-left: 4px solid var(--am-gold);
  padding: 40px;
  border-radius: var(--am-radius);
}

.am-responsible h3 {
  color: var(--am-primary);
  margin-bottom: 15px;
}

.am-responsible p {
  font-size: 0.95rem;
  line-height: 1.9;
}

.am-responsible-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.am-responsible-links a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--am-primary);
  border-radius: var(--am-radius);
  font-size: 0.88rem;
  color: var(--am-primary);
}

.am-responsible-links a:hover {
  background: var(--am-primary);
  color: var(--am-white);
}

/* --- Trust Section --- */
.am-trust {
  background: var(--am-white);
  text-align: center;
}

.am-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.am-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.am-trust-badge .am-seal-icon {
  width: 80px;
  height: 80px;
  background: var(--am-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--am-gold);
  font-size: 1.8rem;
  border: 3px solid var(--am-gold);
}

.am-trust-badge p {
  font-size: 0.88rem;
  color: var(--am-text);
  font-weight: 600;
  max-width: 180px;
}

/* --- Footer --- */
.am-footer {
  background: var(--am-primary);
  color: var(--am-white);
  padding-top: 60px;
}

.am-footer-divider {
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--am-gold) 0px, var(--am-gold) 10px, transparent 10px, transparent 20px);
  margin-bottom: 0;
}

.am-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.am-footer-col h4 {
  color: var(--am-gold);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-family: var(--am-font-body);
}

.am-footer-col p {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  line-height: 1.7;
}

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

.am-footer-col ul li {
  margin-bottom: 10px;
}

.am-footer-col ul li a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  transition: var(--am-transition);
}

.am-footer-col ul li a:hover {
  color: var(--am-gold);
  padding-left: 5px;
}

.am-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.am-footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--am-white);
  font-size: 0.9rem;
  transition: var(--am-transition);
}

.am-footer-social a:hover {
  background: var(--am-gold);
  border-color: var(--am-gold);
  color: var(--am-primary);
}

.am-footer-seo {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.am-footer-seo p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.6;
}

.am-footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.am-footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

/* --- Content Page Styles --- */
.am-content-section {
  padding: 60px 0;
}

.am-content-body {
  max-width: 900px;
  margin: 0 auto;
  background: var(--am-white);
  padding: 50px;
  border-radius: var(--am-radius);
  box-shadow: var(--am-shadow);
}

.am-content-body h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0,64,128,0.1);
}

.am-content-body h3 {
  font-size: 1.25rem;
  margin-top: 30px;
  margin-bottom: 12px;
}

.am-content-body p {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 1.2em;
}

.am-content-body ul, .am-content-body ol {
  padding-left: 25px;
  margin-bottom: 1.2em;
}

.am-content-body li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.am-content-img {
  width: 100%;
  border-radius: var(--am-radius);
  margin: 25px 0;
  box-shadow: var(--am-shadow);
}

/* --- Info Table --- */
.am-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.am-info-table th {
  background: var(--am-primary);
  color: var(--am-white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.9rem;
}

.am-info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.9rem;
}

.am-info-table tr:nth-child(even) td {
  background: #f8f9fa;
}

/* --- FAQ Section --- */
.am-faq-item {
  border: 1px solid #e0e0e0;
  border-radius: var(--am-radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.am-faq-question {
  padding: 18px 20px;
  background: var(--am-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--am-transition);
}

.am-faq-question:hover {
  background: #f8f9fa;
}

.am-faq-question .am-faq-icon {
  transition: transform 0.3s ease;
  color: var(--am-primary);
  font-weight: 700;
}

.am-faq-item.am-open .am-faq-icon {
  transform: rotate(45deg);
}

.am-faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.am-faq-item.am-open .am-faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

.am-faq-answer p {
  font-size: 0.9rem;
  color: var(--am-text-light);
  line-height: 1.8;
}

/* --- VR Tour Page --- */
.am-vr-viewer {
  width: 100%;
  height: 500px;
  background: #1a1a2e;
  border-radius: var(--am-radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.am-vr-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.am-vr-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  color: var(--am-white);
}

.am-vr-controls {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.am-vr-btn {
  padding: 10px 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--am-white);
  border-radius: var(--am-radius);
  cursor: pointer;
  transition: var(--am-transition);
  font-family: var(--am-font-body);
}

.am-vr-btn:hover {
  background: var(--am-gold);
  color: var(--am-primary);
  border-color: var(--am-gold);
}

.am-vr-sidebar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.am-vr-thumb {
  border-radius: var(--am-radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--am-transition);
  box-shadow: var(--am-shadow);
}

.am-vr-thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0,64,128,0.2);
}

.am-vr-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.am-vr-thumb p {
  padding: 10px;
  font-size: 0.85rem;
  text-align: center;
  background: var(--am-white);
  margin: 0;
}

/* --- APP Download Page --- */
.am-app-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.am-app-phone {
  text-align: center;
}

.am-app-phone img {
  max-width: 350px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.am-app-features {
  list-style: none;
  margin: 25px 0;
}

.am-app-features li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid #eee;
}

.am-app-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--am-gold);
  font-size: 1.1rem;
}

.am-download-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.am-download-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--am-gold);
  color: var(--am-primary);
  border-radius: var(--am-radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--am-transition);
}

.am-download-btn:hover {
  background: var(--am-gold);
  color: var(--am-primary);
}

/* --- Animations --- */
.am-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.am-fade-in.am-visible {
  opacity: 1;
  transform: translateY(0);
}

.am-slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.am-slide-up.am-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility Classes --- */
.am-gold-text { color: var(--am-gold); }
.am-primary-text { color: var(--am-primary); }
.am-text-center { text-align: center; }
.am-mt-20 { margin-top: 20px; }
.am-mt-40 { margin-top: 40px; }
.am-mb-20 { margin-bottom: 20px; }
.am-mb-40 { margin-bottom: 40px; }
.am-bg-white { background: var(--am-white); }
.am-bg-light { background: var(--am-bg); }

/* --- Parchment texture background --- */
.am-parchment {
  background: linear-gradient(135deg, #faf6f0 0%, #f5efe6 50%, #ede5d8 100%);
}
