/* BlueWavePlay.com — UK Social Casino Entertainment */
:root {
  --primary: #0a2e5c;
  --accent: #00b4d8;
  --accent2: #48cae4;
  --gold: #f4a261;
  --light: #e0f4ff;
  --white: #ffffff;
  --dark: #071a36;
  --text: #1a2e44;
  --muted: #6b7c93;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,70,140,0.13);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; color: var(--text); background: #f0f8ff; line-height: 1.7; }

/* NAV */
nav { background: var(--primary); padding: 0 24px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,0.25); }
.nav-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg,#00b4d8,#0077b6); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.logo-text { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.35rem; color: #fff; letter-spacing: -0.5px; }
.logo-text span { color: var(--accent2); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent2); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 8px 20px; border-radius: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--dark) 0%, #0a3d78 50%, #005f99 100%); padding: 80px 24px 90px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300b4d8' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-badge { display: inline-block; background: rgba(0,180,216,0.2); border: 1px solid rgba(0,180,216,0.4); color: var(--accent2); font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; margin-bottom: 20px; }
.hero h1 { font-family: 'Raleway', sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: linear-gradient(135deg,#00b4d8,#0077b6); color: #fff; padding: 14px 34px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(0,120,210,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,120,210,0.5); }
.btn-outline { background: transparent; color: #fff; padding: 14px 34px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid rgba(255,255,255,0.4); transition: border-color 0.2s, background 0.2s; }
.btn-outline:hover { border-color: var(--accent2); background: rgba(0,180,216,0.1); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; }

/* FREE PLAY NOTICE */
.free-notice { background: linear-gradient(90deg, #e0f4ff, #b3e5fc); padding: 14px 24px; text-align: center; font-size: 0.88rem; font-weight: 700; color: var(--primary); border-bottom: 2px solid var(--accent2); }
.free-notice a { color: var(--primary); }

/* SECTION WRAPPER */
section { padding: 72px 24px; }
.container { max-width: 1180px; margin: 0 auto; }
.section-title { font-family: 'Raleway', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--primary); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto 48px; }
.accent-bar { width: 60px; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 2px; margin: 12px auto 0; }

/* GAMES */
.games-section { background: var(--white); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.game-card { background: #f0f8ff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s; border: 1px solid rgba(0,180,216,0.15); }
.game-card:hover { transform: translateY(-4px); }
.game-canvas-wrap { background: linear-gradient(135deg, var(--dark), #0a3d78); padding: 24px; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.game-canvas-wrap canvas { border-radius: 8px; max-width: 100%; }
.game-info { padding: 20px; }
.game-info h3 { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--primary); margin-bottom: 6px; }
.game-info p { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.game-btn { display: inline-block; background: var(--accent); color: #fff; padding: 9px 22px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer; transition: background 0.2s; }
.game-btn:hover { background: #0096c7; }

/* HOW IT WORKS */
.how-section { background: #f0f8ff; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step-card { background: #fff; border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); }
.step-num { width: 56px; height: 56px; background: linear-gradient(135deg, var(--accent), #0077b6); border-radius: 50%; color: #fff; font-family: 'Raleway', sans-serif; font-weight: 900; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.step-card h3 { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--primary); margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--muted); }

/* FEATURES */
.features-section { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: #f0f8ff; border-radius: var(--radius); border-left: 4px solid var(--accent); }
.feature-icon { font-size: 1.8rem; flex-shrink: 0; }
.feature-item h4 { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.feature-item p { font-size: 0.88rem; color: var(--muted); }

/* WHY PLAYERS */
.why-section { background: linear-gradient(135deg, var(--primary), #0a3d78); color: #fff; }
.why-section .section-title { color: #fff; }
.why-section .section-sub { color: rgba(255,255,255,0.75); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.why-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.why-card .why-icon { font-size: 2.2rem; margin-bottom: 14px; }
.why-card h4 { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1rem; margin-bottom: 8px; color: var(--accent2); }
.why-card p { font-size: 0.88rem; color: rgba(255,255,255,0.75); }

/* SAFE PLAY */
.safe-section { background: #f0f8ff; }
.safe-box { background: #fff; border-radius: var(--radius); padding: 40px; border: 2px solid var(--accent2); max-width: 800px; margin: 0 auto; text-align: center; box-shadow: var(--shadow); }
.safe-box .safe-icon { font-size: 3rem; margin-bottom: 16px; }
.safe-box h3 { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--primary); margin-bottom: 16px; }
.safe-box p { color: var(--muted); margin-bottom: 20px; }
.safe-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.safe-link { display: inline-block; background: var(--light); color: var(--primary); padding: 8px 20px; border-radius: 8px; font-weight: 700; font-size: 0.88rem; text-decoration: none; border: 1px solid var(--accent2); transition: background 0.2s; }
.safe-link:hover { background: var(--accent2); color: #fff; }

/* FAQ */
.faq-section { background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e0f0fb; }
.faq-q { padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--primary); font-size: 1rem; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--accent); font-weight: 300; transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 20px; color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 56px 24px 28px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.88rem; margin-top: 12px; line-height: 1.7; }
.footer-col h5 { font-family: 'Raleway', sans-serif; font-weight: 800; color: #fff; margin-bottom: 16px; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.age-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,180,216,0.15); border: 1px solid var(--accent); color: var(--accent2); padding: 5px 12px; border-radius: 6px; font-weight: 700; font-size: 0.82rem; }

/* PAGE CONTENT */
.page-hero { background: linear-gradient(135deg, var(--dark), #0a3d78); padding: 60px 24px 70px; text-align: center; }
.page-hero h1 { font-family: 'Raleway', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; }
.page-hero p { color: rgba(255,255,255,0.75); margin-top: 12px; font-size: 1rem; }
.page-content { max-width: 860px; margin: 60px auto; padding: 0 24px 80px; }
.page-content h2 { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--primary); margin: 36px 0 12px; font-size: 1.4rem; }
.page-content h3 { font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--primary); margin: 28px 0 10px; font-size: 1.15rem; }
.page-content p { color: var(--text); margin-bottom: 16px; font-size: 0.97rem; line-height: 1.8; }
.page-content ul { padding-left: 22px; margin-bottom: 16px; color: var(--text); font-size: 0.97rem; line-height: 1.9; }
.page-content a { color: var(--accent); }

/* CONTACT FORM */
.contact-form { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; color: var(--primary); margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid #cce4f5; border-radius: 8px; font-family: inherit; font-size: 0.95rem; color: var(--text); transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-success { background: #e0f4ff; border: 1px solid var(--accent); border-radius: 8px; padding: 16px; text-align: center; color: var(--primary); font-weight: 700; display: none; }

/* STATS BAR */
.stats-bar { background: var(--primary); padding: 32px 24px; }
.stats-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Raleway', sans-serif; font-size: 2rem; font-weight: 900; color: var(--accent2); }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary); padding: 20px 24px; gap: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 32px; }
  .hero { padding: 56px 20px 70px; }
  .safe-box { padding: 28px 20px; }
}
