/* Pocket Royale - Custom Styles */

/* Hero background pattern */
.hero-bg {
  background-image: url('../assets/images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Text shadow for hero */
.text-shadow-hero {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Logo pulse animation */
.logo-pulse {
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(26, 123, 212, 0.3)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 0 40px rgba(232, 168, 33, 0.5)); }
}

/* Float animations for hero characters */
.float-animation {
  animation: floatUp 4s ease-in-out infinite;
}

.float-animation-delayed {
  animation: floatUp 4s ease-in-out 2s infinite;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Navbar background on scroll */
.nav-scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Hide scrollbar for character carousel */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Feature cards entrance animation */
.feature-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Character cards entrance */
.character-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.character-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Store badge hover glow */
.store-badge:hover img {
  filter: drop-shadow(0 0 15px rgba(232, 168, 33, 0.4));
}

/* Page template styles (shared across legal/contact pages) */
.page-header {
  background: linear-gradient(135deg, #1A7BD4 0%, #1562A8 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/background.png');
  background-size: cover;
  opacity: 0.15;
}

.page-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.page-content h2 {
  font-family: 'Bangers', cursive;
  font-size: 1.75rem;
  color: #E8A821;
  letter-spacing: 0.05em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p,
.page-content li {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.page-content ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.page-content a {
  color: #1A7BD4;
  text-decoration: underline;
}

.page-content a:hover {
  color: #E8A821;
}

/* Form styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 0.875rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-input:focus {
  border-color: #1A7BD4;
  box-shadow: 0 0 0 3px rgba(26, 123, 212, 0.2);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #E8A821, #D4961A);
  color: #1A1A2E;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 168, 33, 0.3);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: rgba(26, 123, 212, 0.4);
  color: white;
}
