/* Base Styles */
:root {
  --primary-dark: #140010;           /* Deep Crimson Black */
  --secondary-dark: #1f0a0e;         /* Dark Blood Red */
  --accent-red: #ff0033;             /* Neon Scarlet */
  --accent-red-dark: #b3002d;        /* Deep Cherry Red */
  --text-light: #ffffff;             /* Bright White for contrast */
  --text-dark: #121212;              /* Charcoal Black */
  --wood-brown: #4e342e;             /* Dark Burnt Umber */
  --ocean-blue: #1a1a2e;             /* Shadowy Blue (for subtle contrast) */
  --danger-red: #ff1e56;             /* Vivid Danger Red */
  --success-green: #00c853;          /* Bright Gaming Green (kept for status feedback) */
  --border-radius: 10px;
  --transition-speed: 0.25s;
  --box-shadow: 0 4px 16px rgba(255, 0, 51, 0.4);  /* Red shadow effect */
  --glow-shadow: 0 0 20px rgba(255, 0, 51, 0.7);   /* Neon red glow */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  background-image: url('https://images.pexels.com/photos/1939485/pexels-photo-1939485.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-blend-mode: overlay;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Pirata One', cursive;
  color: var(--accent-gold);
  margin-bottom: 0.5em;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  /* color: var(--text-dark); */
  box-shadow: var(--box-shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
  /* color: var(--text-dark); */
}

.btn-secondary {
  background-color: var(--secondary-dark);
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
   box-shadow: var(--box-shadow);
}

.btn-secondary:hover {
  background-color: var(--accent-gold);
  /* color: var(--secondary-dark); */
}

.btn-treasure {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-treasure::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s;
  z-index: -1;
}

.btn-treasure:hover::before {
  left: 100%;
}

.btn-pick {
  background-color: var(--ocean-blue);
  color: var(--text-light);
  border: 1px solid var(--accent-gold);
}

.btn-pick:hover {
  background-color: #165985;
  color: var(--accent-gold);
}

.btn-contact {
  background-color: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn-contact:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent-gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Header Styles */
header {
  background-color: rgba(10, 16, 23, 0.9);
  padding: 15px 0;
  position: relative;
  z-index: 100;
  border-bottom: 2px solid var(--accent-gold-dark);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Pirata One', cursive;
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to bottom, #e40931, #e40931);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--accent-gold);
  border-radius: 3px;
  transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero {
  min-height: 500px;
  background-image: url('/home.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(10, 16, 23, 0.9), rgba(10, 16, 23, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.3em;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hero-content h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Games Section */
.games {
  padding: 4rem 0;
  background-color: rgba(10, 16, 23, 0.85);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.game-card {
  background-color: var(--secondary-dark);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
  border: 1px solid rgba(184, 134, 11, 0.3);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}

.game-image {
  height: 200px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-content {
  padding: 1.5rem;
  text-align: center;
}

.game-content h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Featured Treasures */
.featured-treasures {
  padding: 4rem 0;
  background-image: url('https://images.pexels.com/photos/3770872/pexels-photo-3770872.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  position: relative;
}

.featured-treasures::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(10, 16, 23, 0.9), rgba(10, 16, 23, 0.8));
  z-index: 0;
}

.featured-treasures .container {
  position: relative;
  z-index: 1;
}

.treasure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.treasure-card {
  background-color: var(--secondary-dark);
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--box-shadow);
}

.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-gold), transparent, var(--accent-gold));
  z-index: -1;
  border-radius: calc(var(--border-radius) + 2px);
  animation: glowingBorder 2s linear infinite;
}

@keyframes glowingBorder {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.treasure-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.treasure-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coin-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('https://images.pexels.com/photos/106152/euro-coins-currency-money-106152.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: 50px;
  background-repeat: repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;
  animation: floatingCoins 20s linear infinite;
}

@keyframes floatingCoins {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

.treasure-content {
  padding: 1.5rem;
  text-align: center;
}

.treasure-content p {
  margin-bottom: 1.5rem;
  color: #b3b3b3;
}

/* Captain's Picks */
.captains-picks {
  padding: 4rem 0;
  background-color: rgba(13, 31, 45, 0.9);
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pick-card {
  background-color: var(--secondary-dark);
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
  border: 1px solid rgba(10, 75, 120, 0.4);
}

.pick-card:hover {
  transform: translateY(-8px);
}

.captain-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--ocean-blue);
  color: var(--accent-gold);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  border: 1px solid var(--accent-gold);
}

.pick-image {
  height: 200px;
  overflow: hidden;
}

.pick-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pick-card:hover .pick-image img {
  transform: scale(1.05);
}

.pick-content {
  padding: 1.5rem;
  text-align: center;
}

.pick-content p {
  margin-bottom: 1.5rem;
  color: #b3b3b3;
  font-size: 0.9rem;
}

/* Contact Banner */
.contact-banner {
  padding: 3rem 0;
  background-image: url('https://images.pexels.com/photos/311039/pexels-photo-311039.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
}

.contact-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(10, 16, 23, 0.85), rgba(10, 16, 23, 0.85));
}

.contact-content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h2 {
  margin-bottom: 1rem;
}

.contact-content p {
  margin-bottom: 2rem;
  color: #b3b3b3;
}

/* Disclaimer Section */
.disclaimer {
  padding: 2rem 0;
  background-color: rgba(10, 16, 23, 0.9);
  border-top: 1px solid rgba(184, 134, 11, 0.3);
}

.disclaimer h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.disclaimer-content {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  padding: 3rem 0 2rem;
  border-top: 3px solid var(--accent-gold-dark);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-logo h2 {
  font-family: 'Pirata One', cursive;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: #999;
  font-size: 0.9rem;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

/* Game Page Styles */
.game-container {
  padding: 2rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.game-title {
  text-align: center;
  margin-bottom: 2rem;
}

.game-frame {
  background-color: var(--secondary-dark);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  border: 1px solid var(--accent-gold-dark);
}

.game-frame iframe {
  border: none;
  display: block;
  border-radius: var(--border-radius);
}

.game-navigation {
  text-align: center;
  margin-top: 2rem;
}

/* Contact Page Styles */
.contact-form-section {
  padding: 4rem 0;
  background-color: rgba(10, 16, 23, 0.85);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--secondary-dark);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(184, 134, 11, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Policy Pages */
.policy-section {
  padding: 4rem 0;
  background-color: rgba(10, 16, 23, 0.85);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--secondary-dark);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.policy-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: 1.5rem;
}

.policy-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h2 {
    font-size: 3rem;
  }
  
  .hero-content h3 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    padding: 1rem 0;
    flex-direction: column;
    align-items: center;
    border-bottom: 2px solid var(--accent-gold-dark);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .nav-links li {
    margin: 0.8rem 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content h3 {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-links li {
    margin: 0 10px 10px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content h3 {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .game-grid,
  .treasure-grid,
  .picks-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}