/* Cookie Run: Classic Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Fredoka:wght@400;600;700&display=swap');

:root {
  --color-cookie-brown: #794025;
  --color-cookie-golden: #f5a623;
  --color-candy-red: #ff3b5c;
  --color-sugar-pink: #ff6b8b;
  --color-jelly-yellow: #ffcf00;
  --color-mint-green: #2ecc71;
  --color-dark-cream: #1f1915;
}

body {
  font-family: 'Prompt', 'Fredoka', sans-serif;
  background-color: #0f0a06;
  color: #fceade;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #19100a;
}

::-webkit-scrollbar-thumb {
  background: #794025;
  border-radius: 5px;
  border: 2px solid #19100a;
}

::-webkit-scrollbar-thumb:hover {
  background: #f5a623;
}

/* Typography Headings Accent */
.text-cookie-gold {
  color: #ffcf00;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 0 10px rgba(255,207,0,0.3);
}

.text-gradient-cookie {
  background: linear-gradient(135deg, #ffcf00 0%, #ff6b2b 50%, #ff3b5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-stroke-cookie {
  -webkit-text-stroke: 1.5px #4a210d;
}

/* Buttons Styling */
.btn-cookie-primary {
  background: linear-gradient(180deg, #ffcf00 0%, #f59e0b 100%);
  color: #3b1704;
  font-weight: 700;
  box-shadow: 0 4px 0 #b45309, 0 8px 15px rgba(245, 158, 11, 0.4);
  transition: all 0.2s ease-in-out;
}

.btn-cookie-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #b45309, 0 12px 20px rgba(245, 158, 11, 0.6);
  filter: brightness(1.05);
}

.btn-cookie-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #b45309, 0 4px 10px rgba(245, 158, 11, 0.4);
}

.btn-cookie-secondary {
  background: linear-gradient(180deg, #ff477e 0%, #e11d48 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 0 #9f1239, 0 8px 15px rgba(225, 29, 72, 0.4);
  transition: all 0.2s ease-in-out;
}

.btn-cookie-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #9f1239, 0 12px 20px rgba(225, 29, 72, 0.6);
  filter: brightness(1.05);
}

.btn-cookie-secondary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #9f1239, 0 4px 10px rgba(225, 29, 72, 0.4);
}

/* Glassmorphism Cards & Navbar */
.glass-panel {
  background: rgba(30, 20, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.glass-nav {
  background: rgba(18, 11, 7, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.25);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 207, 0, 0.4); }
  50% { box-shadow: 0 0 30px rgba(255, 207, 0, 0.8); }
}

.animate-pulse-glow {
  animation: pulse-glow 2.5s infinite;
}

/* Gallery & Lightbox Custom Styles */
.gallery-thumbnail {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  border: 2px solid rgba(245, 166, 35, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-thumbnail:hover {
  transform: scale(1.03);
  border-color: #ffcf00;
  box-shadow: 0 10px 25px -5px rgba(255, 207, 0, 0.4);
}

.gallery-thumbnail .play-icon {
  transition: transform 0.3s ease;
}

.gallery-thumbnail:hover .play-icon {
  transform: scale(1.15);
}

/* Lightbox Modal Animation */
#lightboxModal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#lightboxModal.hidden-lightbox {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

#lightboxModal.visible-lightbox {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lightbox-content-box {
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#lightboxModal.visible-lightbox .lightbox-content-box {
  transform: scale(1);
}
