/* ===== Norblu.click Racing Theme CSS ===== */

/* ===== CSS Variables ===== */
:root {
  --norblu-primary: #FF4444;
  --norblu-secondary: #2563EB;
  --norblu-accent: #FBBF24;
  --norblu-dark: #1F2937;
  --norblu-light: #F8FAFC;
  --norblu-gray: #64748B;
  --norblu-success: #10B981;
  --norblu-gradient: linear-gradient(135deg, var(--norblu-primary), var(--norblu-secondary));
  --norblu-shadow: 0 10px 25px rgba(255, 68, 68, 0.1);
  --norblu-radius: 12px;
  --norblu-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.norblu {
  font-family: var(--site-font);
  line-height: 1.6;
  color: var(--norblu-dark);
  background: var(--norblu-light);
  overflow-x: hidden;
  padding-top: 200px; /* Account for fixed navbar height */
}

/* ===== Typography ===== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--norblu-dark);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--norblu-gray);
  line-height: 1.7;
}

/* ===== Navbar ===== */
.norblu-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 68, 68, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.norblu-logo {
  transition: var(--norblu-transition);
}

.norblu-logo:hover {
  transform: scale(1.05);
}

.norblu-nav .nav-link {
  color: var(--norblu-dark);
  font-weight: 500;
  /* padding: 0 1rem; */
  border-radius: var(--norblu-radius);
  transition: var(--norblu-transition);
  position: relative;
}

.norblu-nav .nav-link:hover {
  color: var(--norblu-primary);
  background: rgba(255, 68, 68, 0.1);
  transform: translateY(-2px);
}

.norblu-nav .nav-link.active {
  color: var(--norblu-primary);
  background: rgba(255, 68, 68, 0.15);
}

.norblu-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: var(--norblu-radius);
}

.norblu-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.25);
}

/* ===== Hero Section ===== */
.norblu-hero {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.8) 0%, rgba(37, 99, 235, 0.8) 100%), url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  position: relative;
  overflow: hidden;
}

.norblu-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
  opacity: 0.3;
}

.norblu-hero-inner {
  position: relative;
  z-index: 2;
}

.norblu-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.norblu-hero-title span {
  background: linear-gradient(45deg, #FBBF24, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 2s ease-in-out infinite alternate;
}

@keyframes shimmer {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}

.norblu-hero-sub {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

/* ===== Buttons ===== */
.norblu-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--norblu-gradient);
  color: white;
  text-decoration: none;
  border-radius: var(--norblu-radius);
  font-weight: 600;
  transition: var(--norblu-transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--norblu-shadow);
  position: relative;
  overflow: hidden;
}

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

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

.norblu-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 68, 68, 0.2);
  color: white;
}

.norblu-btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.norblu-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Cards ===== */
.norblu-card {
  background: white;
  border-radius: var(--norblu-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--norblu-transition);
  border: 1px solid rgba(255, 68, 68, 0.1);
}

.norblu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Game Section ===== */
.norblu-game {
  background: var(--norblu-light);
}

.norblu-game-frame {
  max-width: 900px;
  overflow: hidden;
}


.norblu-iframe-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.norblu-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: calc(var(--norblu-radius) - 12px);
}

/* ===== Features Section ===== */
.norblu-features {
  background: white;
}

.norblu-feature {
  text-align: center;
  transition: var(--norblu-transition);
}

.norblu-feature:hover {
  transform: translateY(-8px);
}

.norblu-feature-icon {
  width: 80px;
  height: 80px;
  background: var(--norblu-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--norblu-shadow);
}

.norblu-feature-icon i {
  font-size: 2rem;
  color: white;
}

.norblu-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--norblu-dark);
  margin-bottom: 1rem;
}

.norblu-feature-text {
  color: var(--norblu-gray);
  line-height: 1.6;
}

/* ===== About Section ===== */
.norblu-about {
  background: var(--norblu-light);
}

.norblu-about-img {
  border-radius: var(--norblu-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--norblu-transition);
}

.norblu-about-img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* ===== Reviews Section ===== */
.norblu-reviews {
  background: white;
}

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

.norblu-review {
  transition: var(--norblu-transition);
}

.norblu-review:hover {
  transform: translateY(-5px);
}

.norblu-avatar {
  width: 50px;
  height: 50px;
  background: var(--norblu-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.norblu-review-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--norblu-dark);
}

.norblu-review-text {
  color: var(--norblu-gray);
  font-style: italic;
  line-height: 1.6;
}

/* ===== Footer ===== */
.norblu-footer {
  background: var(--norblu-dark);
  color: var(--norblu-light);
}

.norblu-footer-logo {
  height: 60px;
  transition: var(--norblu-transition);
}

.norblu-footer-logo:hover {
  transform: scale(1.1);
}

.norblu-footer-nav {
  margin: 0;
  padding: 0;
}

.norblu-footer-link {
  color: var(--norblu-light);
  text-decoration: none;
  transition: var(--norblu-transition);
  padding: 0.5rem;
  border-radius: var(--norblu-radius);
}

.norblu-footer-link:hover {
  color: var(--norblu-primary);
  background: rgba(255, 68, 68, 0.1);
}

.norblu-footer-disclaimer {
  max-width: 600px;
  opacity: 0.9;
}

.norblu-footer-copy {
  opacity: 0.7;
}

/* ===== Disclaimer Section ===== */
.norblu-disclaimer {
  background: rgba(255, 68, 68, 0.05);
}

.norblu-link {
  color: var(--norblu-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--norblu-transition);
}

.norblu-link:hover {
  color: var(--norblu-secondary);
  text-decoration: underline;
}

/* ===== Scroll to Top ===== */
.norblu-scrolltop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--norblu-gradient);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--norblu-shadow);
  transition: var(--norblu-transition);
  z-index: 1000;
}

.norblu-scrolltop:hover {
  transform: translateY(-3px);
  color: white;
}

/* ===== Age Popup ===== */
.norblu-age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.norblu-age-popup.show {
  display: flex;
}

.norblu-age-dialog {
  max-width: 500px;
  margin: 2rem;
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.norblu-age-title {
  color: var(--norblu-dark);
  font-weight: 700;
}

.norblu-age-text {
  color: var(--norblu-gray);
  line-height: 1.6;
}

.norblu-age-btn {
  padding: 0.75rem 1.5rem;
  background: var(--norblu-gradient);
  color: white;
  border: none;
  border-radius: var(--norblu-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--norblu-transition);
}

.norblu-age-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 68, 68, 0.3);
}

.norblu-age-btn-ghost {
  background: transparent;
  border: 2px solid var(--norblu-gray);
  color: var(--norblu-gray);
}

.norblu-age-btn-ghost:hover {
  background: var(--norblu-gray);
  color: white;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .norblu-hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .norblu-hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .norblu-btn {
    width: 100%;
    max-width: 250px;
  }
  
  .norblu-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .norblu-reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .norblu-hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .norblu-hero-sub {
    font-size: 1.1rem;
  }
  
  .norblu-age-dialog {
    margin: 1rem;
  }
}