/* ========================================
   CRIC365 - Professional Landing Page CSS
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-primary:    #0e1a2e;
  --bg-secondary:  #152035;
  --bg-card:       #1a2a42;
  --bg-card-hover: #203350;
  --accent:        #f5a623;
  --accent-dark:   #c47d0e;
  --accent-glow:   rgba(245, 166, 35, 0.25);
  --text-primary:  #ffffff;
  --text-muted:    #9aaabf;
  --border:        rgba(245, 166, 35, 0.2);
  --border-subtle: rgba(255,255,255,0.10);
  --gradient-hero: linear-gradient(135deg, #0e1a2e 0%, #152035 50%, #0f1c30 100%);
  --gradient-gold: linear-gradient(135deg, #f5a623, #ffd700);
  --font-heading:  'Rajdhani', sans-serif;
  --font-body:     'Poppins', sans-serif;
  --radius:        12px;
  --transition:    0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

a { text-decoration: none; color: inherit; }

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ==============================
   NAVBAR
============================== */
.lp-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 12, 24, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 0;
  transition: var(--transition);
}

.lp-navbar.scrolled {
  background: rgba(8, 12, 24, 0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.lp-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.lp-logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
}

.lp-logo-365 {
  color: var(--accent);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.lp-nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.lp-nav-links a:hover { color: var(--accent); }

.btn-lp-login {
  background: var(--gradient-gold);
  color: #000 !important;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 4px 14px var(--accent-glow);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-lp-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.45);
}

/* Login text always visible */

.lp-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.lp-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Mobile Nav Drawer ---- */
.lp-mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  background: rgba(8,12,24,0.98);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
}

.lp-mobile-nav.open { display: flex; }

.lp-mobile-nav a {
  color: var(--text-muted);
  padding: 0.6rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.lp-mobile-nav a:last-child { border-bottom: none; }
.lp-mobile-nav a:hover { color: var(--accent); }

.btn-lp-login-mobile {
  background: var(--gradient-gold);
  color: #000 !important;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 0.5rem;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* ==============================
   HERO CAROUSEL
============================== */
.lp-hero {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}

.lp-hero .carousel-item {
  position: relative;
  overflow: hidden;
}

/* ---- Desktop: fixed height, square image on right, text on left ---- */
@media (min-width: 769px) {
  .lp-hero .carousel-item {
    height: 560px;
    background: #080c18;
  }

  .lp-slide-img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: 60%;
    object-fit: contain;
    object-position: right center;
    display: block;
    z-index: 1;
  }

  .lp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(8,12,24,1.0) 0%,
      rgba(8,12,24,0.85) 40%,
      rgba(8,12,24,0.20) 70%,
      rgba(8,12,24,0.0) 100%
    );
    z-index: 2;
    display: flex;
    align-items: center;
  }
}

/* ---- Mobile: fixed height, cover, overlay hidden ---- */
@media (max-width: 768px) {
  .lp-hero .carousel-item { height: 300px; }

  .lp-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  /* Hide text overlay on mobile — just clean image */
  .lp-hero-overlay { display: none !important; }
}

.lp-hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Banner tag labels */
.lp-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,166,35,0.18);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}
.lp-tag-gold  { background: rgba(245,166,35,0.25); border-color: var(--accent); color: var(--accent); }
.lp-tag-green { background: rgba(34,197,94,0.18);  border-color: rgba(34,197,94,0.5); color: #4ade80; }

.lp-live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: lpPulse 1.2s ease-in-out infinite;
}
@keyframes lpPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}

/* Gold CTA variant */
.lp-btn-gold {
  background: linear-gradient(135deg, #ffd700, #f5a623) !important;
}

.lp-hero-text {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  pointer-events: auto;
}

.lp-hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.lp-hero-text h1 span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero-text p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  margin: 0.75rem 0 1.5rem;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.btn-lp-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-gold);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  box-shadow: 0 6px 24px var(--accent-glow);
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-lp-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245,166,35,0.5);
  color: #000;
}

/* Carousel controls */
.lp-hero .carousel-control-prev,
.lp-hero .carousel-control-next {
  width: 5%;
  z-index: 5;
}

.lp-hero .carousel-indicators [data-bs-target] {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  border: none;
}

.lp-hero .carousel-indicators .active {
  background: var(--accent);
  width: 36px;
}

/* ==============================
   TICKER / MARQUEE
============================== */
.lp-ticker {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  overflow: hidden;
}

.lp-ticker-inner {
  display: flex;
  align-items: center;
}

.lp-ticker-label {
  background: var(--gradient-gold);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-right: 1rem;
  flex-shrink: 0;
}

.lp-ticker-scroll {
  overflow: hidden;
  flex: 1;
}

.lp-ticker-text {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 15s linear infinite;
  animation-play-state: running;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.lp-ticker-text span {
  color: var(--accent);
  margin-right: 0.3rem;
}

@keyframes ticker {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* ==============================
   SECTION BASE
============================== */
.lp-section {
  padding: 4rem 0;
}

.lp-section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.lp-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.lp-section-title span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-section-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.lp-divider {
  width: 48px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin: 0.6rem 0 1rem;
}

/* ==============================
   SPORTS CATEGORIES
============================== */
.lp-sports {
  background:
    radial-gradient(circle, rgba(99,179,237,0.07) 1px, transparent 1px),
    linear-gradient(160deg, #162844 0%, #152035 50%, #152d40 100%);
  background-size: 26px 26px, 100% 100%;
}

.lp-sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

@media (max-width: 576px) {
  .lp-sports-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

.lp-sport-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.lp-sport-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition);
}

.lp-sport-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.lp-sport-card:hover::before { opacity: 0.06; }

.lp-sport-card:hover .lp-sport-icon { transform: scale(1.15); }

.lp-sport-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
  transition: var(--transition);
}

.lp-sport-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.lp-sport-card:hover .lp-sport-name { color: var(--accent); }

.lp-sport-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(245,166,35,0.15);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  margin-top: 0.3rem;
  position: relative;
  z-index: 1;
}

.lp-sport-badge .dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ==============================
   CASINO GAMES
============================== */
.lp-casino {
  background:
    radial-gradient(circle, rgba(167,139,250,0.07) 1px, transparent 1px),
    linear-gradient(160deg, #0e1a2e 0%, #15122e 50%, #0e1a2e 100%);
  background-size: 26px 26px, 100% 100%;
}

.lp-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 576px) {
  .lp-games-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

.lp-game-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  aspect-ratio: 3/4;
}

.lp-game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.6);
  border-color: var(--accent);
}

.lp-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lp-game-card:hover img { transform: scale(1.08); }

.lp-game-overlay {
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.10) 100%
  );
}

.lp-game-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.lp-game-tag {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
}

/* ==============================
   FEATURES / WHY US  — light
============================== */
.lp-features {
  background:
    radial-gradient(circle, rgba(99,179,237,0.12) 1px, transparent 1px),
    linear-gradient(160deg, #f0f7ff 0%, #eef9f5 50%, #f0f7ff 100%);
  background-size: 26px 26px, 100% 100%;
  border-top: none;
}

/* Text overrides for light background */
.lp-features .lp-section-title { color: #1a2a42; }
.lp-features .lp-section-sub   { color: #64748b; }
.lp-features .lp-divider        { background: var(--gradient-gold); }

.lp-features .lp-feature-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.lp-features .lp-feature-card:hover {
  border-color: #34d399;
  box-shadow: 0 8px 28px rgba(52,211,153,0.18);
  transform: translateY(-4px);
}

.lp-features .lp-feature-title { color: #1a2a42; }
.lp-features .lp-feature-desc  { color: #64748b; }

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .lp-features-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

.lp-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
}

.lp-feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px var(--accent-glow);
  transform: translateY(-3px);
}

.lp-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.lp-feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.lp-feature-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ==============================
   STATS BANNER  — light
============================== */
.lp-stats {
  background: #ffffff;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  padding: 2.5rem 0;
}

.lp-stats .lp-stat-label {
  color: #64748b;
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

@media (max-width: 576px) {
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.lp-stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.lp-stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.3rem;
}

/* ==============================
   FOOTER
============================== */
.lp-footer {
  background:
    radial-gradient(circle, rgba(245,166,35,0.05) 1px, transparent 1px),
    linear-gradient(180deg, #152035 0%, #0e1a2e 100%);
  background-size: 28px 28px, 100% 100%;
  border-top: 2px solid var(--accent);
  padding: 3rem 0 1.5rem;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .lp-footer-grid { grid-template-columns: 1fr; }
}

.lp-footer-brand img { height: 36px; margin-bottom: 1rem; }

.lp-footer-brand p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 300px;
}

.lp-footer-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 1rem;
}

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

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

.lp-footer-links a {
  color: var(--text-muted);
  font-size: 0.84rem;
  transition: var(--transition);
}

.lp-footer-links a:hover { color: var(--accent); padding-left: 4px; }

.lp-footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-footer-bottom p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.lp-footer-disclaimer {
  background: rgba(245,166,35,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.lp-footer-disclaimer strong { color: var(--accent); }

/* ==============================
   LOGIN MODAL
============================== */
#lpLoginModal .modal-dialog {
  max-width: 420px;
}

#lpLoginModal .modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}

.lp-modal-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-modal-logo img { height: 36px; }

.lp-modal-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-modal-close {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.lp-modal-close:hover { background: rgba(245,166,35,0.15); color: var(--accent); border-color: var(--accent); }

.lp-modal-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.lp-modal-welcome {
  margin-bottom: 1rem;
}

.lp-modal-welcome h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.lp-modal-welcome p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.lp-form-group {
  margin-bottom: 0.75rem;
}

.lp-form-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.lp-input-wrap {
  position: relative;
}

.lp-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
}

.lp-form-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  transition: var(--transition);
  outline: none;
}

.lp-form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-card-hover);
}

.lp-form-control::placeholder { color: rgba(136,146,176,0.5); }

.lp-toggle-pass {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 1;
  transition: var(--transition);
}

.lp-toggle-pass:hover { color: var(--accent); }

.lp-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.lp-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  color: var(--text-muted);
  cursor: pointer;
}

.lp-remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
}

.lp-error-msg {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  color: #f87171;
  font-size: 0.83rem;
  padding: 0.65rem 1rem;
  margin-bottom: 1.1rem;
  display: none;
}

.btn-lp-signin {
  width: 100%;
  background: var(--gradient-gold);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px var(--accent-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-lp-signin:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245,166,35,0.5);
}

.btn-lp-signin:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.lp-signin-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.lp-modal-footer-note {
  margin-top: 0.8rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==============================
   BACK-TO-TOP
============================== */
#lpBackTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  color: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 14px var(--accent-glow);
}

#lpBackTop.visible { opacity: 1; transform: translateY(0); }

/* ==============================
   SECTION ACCENT BORDERS
============================== */
.lp-sports    { border-top: 2px solid rgba(99,179,237,0.25); }
.lp-casino    { border-top: 2px solid rgba(167,139,250,0.25); }

/* Sport card inner glow */
.lp-sports .lp-sport-card  { background: rgba(22,40,68,0.9); }

/* Sport icon accent for sports section */
.lp-sports .lp-sport-card:hover { border-color: #63b3ed; box-shadow: 0 8px 24px rgba(99,179,237,0.2); }
.lp-sports .lp-sport-card:hover .lp-sport-name { color: #63b3ed; }

/* Feature icon accent for features section (light bg) */
.lp-features .lp-feature-icon {
  background: rgba(52,211,153,0.12);
  border-color: rgba(52,211,153,0.5);
  color: #059669;
}

/* ==============================
   UTILITY
============================== */
.text-accent { color: var(--accent); }
.text-muted-lp { color: var(--text-muted); }

/* ==============================
   FOOTER LOGO TEXT
============================== */
.lp-footer-logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.lp-footer-logo-text span { color: var(--accent); }

/* Casino card — ensure image always fills the card */
.lp-game-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* (old CSS-only banner section removed — replaced by real image carousel) */

/* Base banner */
.lp-banner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ---- Background elements ---- */
.lp-banner-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.lp-banner-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.lp-circle-1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.lp-circle-2 { width: 300px; height: 300px; bottom: -80px; left: 30%; }
.lp-circle-3 { width: 200px; height: 200px; top: 20px; left: 15%; opacity: 0.07; }

/* ---- Banner content ---- */
.lp-banner-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.lp-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,166,35,0.15);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}
.lp-tag-gold { background: rgba(245,166,35,0.2); }
.lp-tag-green { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: #4ade80; }

.lp-live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

.lp-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.lp-banner-accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-banner-sub {
  color: rgba(255,255,255,0.75);
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

/* ============ BANNER 1: IPL ============ */
.lp-banner-ipl {
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1b3e 40%, #1a0d2e 100%);
}
.lp-banner-ipl .lp-circle-1 { background: #3b82f6; }
.lp-banner-ipl .lp-circle-2 { background: #8b5cf6; }
.lp-banner-ipl .lp-circle-3 { background: var(--accent); }

/* Cricket wickets */
.lp-banner-wicket {
  position: absolute;
  display: flex;
  gap: 5px;
  align-items: flex-end;
  opacity: 0.18;
}
.lp-wicket-left  { bottom: 0; left: 8%; transform: scale(1.8); }
.lp-wicket-right { bottom: 0; right: 8%; transform: scale(2.4); }
.wicket-stump {
  width: 6px;
  height: 80px;
  background: linear-gradient(to top, #f5a623, #fff);
  border-radius: 3px;
}

/* Cricket ball */
.lp-cricket-ball {
  position: absolute;
  width: 60px; height: 60px;
  background: radial-gradient(circle at 35% 35%, #dc2626, #7f1d1d);
  border-radius: 50%;
  top: 15%;
  right: 25%;
  box-shadow: 0 4px 20px rgba(220,38,38,0.4);
  opacity: 0.7;
  animation: floatBall 4s ease-in-out infinite;
}
.lp-cricket-ball::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
}
@keyframes floatBall {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-15px) rotate(20deg); }
}

/* Trophy */
.lp-banner-trophy {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 2;
}
.trophy-cup { font-size: clamp(4rem, 8vw, 7rem); filter: drop-shadow(0 8px 24px rgba(245,166,35,0.5)); animation: floatBall 3s ease-in-out infinite; }
.trophy-teams {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}
.trophy-teams .vs { color: var(--accent); margin: 0 0.4rem; }

@media (max-width: 768px) {
  .lp-banner-trophy { right: 3%; }
  .lp-banner-content { padding: 0 1.25rem; }
}
@media (max-width: 480px) {
  .lp-banner-trophy { display: none; }
}

/* ============ BANNER 2: ODDS ============ */
.lp-banner-odds {
  background: linear-gradient(135deg, #080c18 0%, #0c1a1a 50%, #0a1810 100%);
}
.lp-banner-odds .lp-circle-1 { background: #10b981; }
.lp-banner-odds .lp-circle-2 { background: #06b6d4; }

/* Animated odds display */
.lp-odds-anim {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
.lp-odds-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.odds-back, .odds-lay {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  animation: oddsFlicker 2s ease-in-out infinite;
}
.odds-back { background: rgba(96,165,250,0.2); color: #93c5fd; border: 1px solid rgba(96,165,250,0.3); }
.odds-lay  { background: rgba(252,165,165,0.2); color: #fca5a5; border: 1px solid rgba(252,165,165,0.3); animation-delay: 0.5s; }
.odds-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}
@keyframes oddsFlicker {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* Sport floats */
.lp-banner-sport-icons {
  position: absolute;
  right: 5%;
  bottom: 12%;
  display: flex;
  gap: 10px;
  z-index: 2;
}
@media (max-width: 480px) { .lp-banner-sport-icons { display: none; } }

.lp-sport-float {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============ BANNER 3: CASINO ============ */
.lp-banner-casino {
  background: linear-gradient(135deg, #120a1e 0%, #1a0d2e 50%, #0d0a18 100%);
}
.lp-banner-casino .lp-circle-1 { background: #a855f7; }
.lp-banner-casino .lp-circle-3 { background: #ec4899; }

/* Card animation */
.lp-card-anim {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.lp-card {
  font-size: clamp(3rem, 8vw, 6rem);
  filter: drop-shadow(0 8px 16px rgba(168,85,247,0.4));
  animation: cardFloat 3s ease-in-out infinite;
  display: block;
  text-align: center;
}
.lp-card-2 { animation-delay: 0.8s; margin-left: 1.5rem; }
.lp-card-3 { animation-delay: 1.6s; }
@keyframes cardFloat {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}

/* Casino mini cards */
.lp-banner-casino-grid {
  position: absolute;
  right: 5%;
  bottom: 10%;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 240px;
  z-index: 2;
}
@media (max-width: 480px) { .lp-banner-casino-grid { display: none; } }
.lp-mini-card {
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #d8b4fe;
}

/* ============ BANNER 4: WALLET ============ */
.lp-banner-wallet {
  background: linear-gradient(135deg, #080c18 0%, #0c1a10 50%, #081808 100%);
}
.lp-banner-wallet .lp-circle-1 { background: #22c55e; }
.lp-banner-wallet .lp-circle-2 { background: #16a34a; }

/* Rupee animation */
.lp-rupee-anim {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
}
.lp-rupee {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 16px rgba(245,166,35,0.4));
  animation: floatBall 3s ease-in-out infinite;
  line-height: 1;
}
.lp-r2 { font-size: clamp(2.5rem, 6vw, 5rem); animation-delay: 0.6s; opacity: 0.6; margin-left: 1.5rem; }
.lp-r3 { font-size: clamp(1.5rem, 4vw, 3rem); animation-delay: 1.2s; opacity: 0.35; margin-left: 3rem; }

/* Payment badges */
.lp-payment-icons {
  position: absolute;
  right: 5%;
  bottom: 10%;
  display: flex;
  gap: 8px;
  z-index: 2;
}
@media (max-width: 480px) { .lp-payment-icons { display: none; } }
.lp-pay-badge {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4ade80;
}

@media (max-width: 480px) {
  .lp-odds-anim { right: 3%; }
  .lp-card-anim { right: 2%; }
  .lp-rupee-anim { right: 2%; }
  .lp-banner-title { font-size: 1.9rem; }
}
