/* ===== IRONCLUTCH.PRO — Main Stylesheet ===== */

:root {
  --navy: #0D1B2A;
  --navy-mid: #1A2940;
  --navy-light: #243550;
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --gold-dark: #A88B20;
  --white: #FFFFFF;
  --gray: #B0BEC5;
  --gray-dark: #607D8B;
  --red: #E53935;
  --green: #43A047;
  --font-main: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

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

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  border-bottom: 1px solid var(--gold-dark);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul li a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 25px;
  font-weight: 700 !important;
  border-bottom: none !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-title h2 span { color: var(--gold); }

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.8rem auto 1.2rem;
  border-radius: 2px;
}

/* ===== GAMES PREVIEW CARDS ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.game-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(212,175,55,0.2);
  border-color: var(--gold-dark);
}

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

.game-card-body {
  padding: 1.4rem;
}

.game-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.game-card-body p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-light);
  border-bottom: 1px solid var(--navy-light);
  padding: 3rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-item p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.newsletter-inner h2 span { color: var(--gold); }

.newsletter-inner p {
  color: var(--gray);
  margin-bottom: 1.8rem;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1.2rem;
  border-radius: 30px;
  border: 2px solid var(--navy-light);
  background: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--gold);
}

.newsletter-form input[type="email"]::placeholder { color: var(--gray-dark); }

.success-msg {
  display: none;
  margin-top: 1rem;
  color: var(--green);
  font-weight: 600;
  font-size: 1rem;
}

/* ===== VENUES ===== */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.venue-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.venue-card:hover { border-color: var(--gold-dark); }

.venue-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.venue-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.5;
}

.venue-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 70px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.page-hero-content h1 span { color: var(--gold); }

.page-hero-content p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ===== GAMES PAGE ===== */
.game-section {
  max-width: 900px;
  margin: 0 auto 4rem;
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: 20px;
  padding: 2.5rem;
}

.game-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-align: center;
}

.game-section p.game-desc {
  color: var(--gray);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* SPIN WHEEL */
.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

#wheelCanvas {
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(212,175,55,0.3);
  max-width: 320px;
  width: 100%;
  height: auto;
}

.wheel-result {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  min-height: 2rem;
  text-align: center;
}

/* SLOT MACHINE */
.slot-machine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.slot-reels {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.slot-reel {
  width: 90px;
  height: 90px;
  background: var(--navy);
  border: 3px solid var(--gold-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.slot-reel.spinning {
  animation: slotSpin 0.1s linear infinite;
}

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

.slot-result {
  font-size: 1.1rem;
  font-weight: 700;
  min-height: 2rem;
  text-align: center;
}

.slot-result.win { color: var(--gold); }
.slot-result.lose { color: var(--gray); }

/* COIN FLIP */
.coin-flip-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.coin {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f0d060, #a88b20);
  border: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 0 30px rgba(212,175,55,0.4), inset 0 2px 8px rgba(255,255,255,0.2);
  transition: transform 0.1s;
  cursor: default;
}

.coin.flipping {
  animation: coinFlip 0.8s ease-in-out;
}

@keyframes coinFlip {
  0% { transform: rotateY(0deg) scale(1); }
  25% { transform: rotateY(90deg) scale(0.8); }
  50% { transform: rotateY(180deg) scale(1); }
  75% { transform: rotateY(270deg) scale(0.8); }
  100% { transform: rotateY(360deg) scale(1); }
}

.coin-choice-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.coin-result {
  font-size: 1.1rem;
  font-weight: 700;
  min-height: 2rem;
  text-align: center;
}

.coin-result.correct { color: var(--gold); }
.coin-result.wrong { color: var(--gray); }

/* ===== ABOUT PAGE ===== */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-grid img {
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
  max-height: 380px;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-text h2 span { color: var(--gold); }

.about-text p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.value-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s;
}

.value-card:hover { border-color: var(--gold-dark); }

.value-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.value-card p { color: var(--gray); font-size: 0.88rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray);
  font-size: 0.93rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-info p span { font-size: 1.1rem; }

.contact-form-box {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: 16px;
  padding: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--navy);
  border: 2px solid var(--navy-light);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
}

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

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

.form-group select option { background: var(--navy-mid); }

.form-success {
  display: none;
  text-align: center;
  padding: 1.5rem;
}

.form-success h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--gray); }

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem;
}

.policy-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.policy-content .last-updated {
  color: var(--gray-dark);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.policy-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 2rem 0 0.6rem;
}

.policy-content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.policy-content ul {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem 1.5rem;
  line-height: 1.8;
}

.policy-content a { color: var(--gold); }

/* ===== FOOTER ===== */
footer {
  background: #080F18;
  border-top: 1px solid var(--navy-light);
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.footer-brand .logo { margin-bottom: 0.8rem; }

.footer-brand p {
  color: var(--gray-dark);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

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

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

.footer-col ul li a {
  color: var(--gray-dark);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--navy-light);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom p {
  color: var(--gray-dark);
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.2rem;
}

.footer-legal-links a {
  color: var(--gray-dark);
  font-size: 0.82rem;
}

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

.responsible-gaming {
  background: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  font-size: 0.82rem;
  color: var(--gray-dark);
  text-align: center;
  max-width: 1100px;
  margin: 1.5rem auto 0;
}

/* ===== 18+ POPUP ===== */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 15, 24, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.age-gate-box {
  background: var(--navy-mid);
  border: 2px solid var(--gold-dark);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.age-gate-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.age-gate-box h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.age-gate-box h2 span { color: var(--gold); }

.age-gate-box p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.age-gate-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate-btns .btn {
  min-width: 160px;
}

.btn-danger {
  background: transparent;
  color: var(--gray-dark);
  border: 2px solid var(--gray-dark);
}

.btn-danger:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: var(--navy-mid);
  border-top: 1px solid var(--gold-dark);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

#cookie-banner p {
  color: var(--gray);
  font-size: 0.88rem;
  flex: 1;
  min-width: 200px;
}

#cookie-banner p a { color: var(--gold); }

.cookie-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  border-radius: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 1rem 2rem; border-bottom: 1px solid var(--navy-light); gap: 0.8rem; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .slot-reel { width: 70px; height: 70px; font-size: 2.2rem; }
}

@media (max-width: 480px) {
  header { padding: 0 1rem; }
  section { padding: 3rem 1rem; }
  .game-section { padding: 1.5rem; }
  .age-gate-box { padding: 2rem 1.5rem; }
}
