/* GameHub World - New Zealand Gaming Platform */

/* Responsive font sizing */
h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}
h4 {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

a:hover {
  text-decoration: none;
}

/* Fix Bootstrap's font-size issue */
html {
  font-size: 16px !important;
}

/* Responsive font sizing */
@media (max-width: 768px) {
  html {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px !important;
  }
}

/* GameHub World Custom Styles */
:root {
  --primary: #6366f1;
  --accent: #8b5cf6;
  --background: #f8fafc;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --gamehubworld-bg: #f1f5f9;
  --gamehubworld-bg-light: #ffffff;
  --gamehubworld-white: #fff;
  --gamehubworld-purple: #6366f1;
  --gamehubworld-indigo: #8b5cf6;
}

body {
  font-family: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial,
    sans-serif;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  height: 100%;
  min-height: 100%;
}

/* Banner background variations */
.gamehubworld-banner-about {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gamehubworld-banner-privacy {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.gamehubworld-banner-contact {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.gamehubworld-banner-cookies {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.gamehubworld-banner-terms {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.gamehubworld-banner-games {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

/* Section background variations */
.gamehubworld-section-white {
  background: white;
}

.gamehubworld-section-bg {
  background: var(--gamehubworld-bg);
}

.gamehubworld-section-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  color: white;
  text-align: center;
}

.gamehubworld-section-gradient .gamehubworld-section-title {
  color: white;
}

.gamehubworld-section-gradient .gamehubworld-section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Form container */
.gamehubworld-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.gamehubworld-form-container-wide {
  max-width: 800px;
  margin: 0 auto;
}

/* Contact info styling */
.gamehubworld-contact-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.gamehubworld-contact-info-spaced {
  margin-top: 1rem;
}

/* Center text */
.gamehubworld-text-center {
  text-align: center;
  margin-top: 3rem;
}

.gamehubworld-margin-top {
  margin-top: 2rem;
}

.gamehubworld-alert-margin {
  margin-top: 2rem;
}

.gamehubworld-cta-yellow {
  background: #fbbf24 !important;
  color: #1e293b !important;
}

/* Navigation */
.gamehubworld-navbar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.gamehubworld-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gamehubworld-navbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gamehubworld-navbar-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.gamehubworld-navbar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.gamehubworld-navbar-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.gamehubworld-nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.gamehubworld-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.gamehubworld-nav-link.active {
  background: rgba(255, 255, 255, 0.2);
}

.gamehubworld-cta-button {
  background: #fbbf24;
  color: #1e293b;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.gamehubworld-cta-button:hover {
  background: #f59e0b;
  color: #1e293b;
  transform: translateY(-2px);
}

.gamehubworld-navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.gamehubworld-navbar-toggle-bar {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Banner Section */
.gamehubworld-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.gamehubworld-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gamehubworld-banner-title {
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.gamehubworld-banner-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.gamehubworld-banner-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
}

.gamehubworld-banner-cta {
  background: #fbbf24;
  color: #1e293b;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.gamehubworld-banner-cta:hover {
  background: #f59e0b;
  color: #1e293b;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

/* Features Section */
.gamehubworld-features {
  padding: 4rem 2rem;
  background: white;
}

.gamehubworld-features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.gamehubworld-feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.gamehubworld-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.gamehubworld-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

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

.gamehubworld-feature-desc {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Games Section */
.gamehubworld-games {
  padding: 4rem 2rem;
  background: var(--gamehubworld-bg);
}

.gamehubworld-games-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.gamehubworld-game-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gamehubworld-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.gamehubworld-game-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.gamehubworld-game-content {
  padding: 1.5rem;
}

.gamehubworld-game-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.gamehubworld-game-desc {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.gamehubworld-game-button {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
}

.gamehubworld-game-button:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* Footer */
.gamehubworld-footer {
  background: #1e293b;
  color: white;
  padding: 3rem 2rem 2rem;
}

.gamehubworld-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.gamehubworld-footer-section h4 {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.gamehubworld-footer-section p,
.gamehubworld-footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}

.gamehubworld-footer-section a:hover {
  color: #fbbf24;
}

.gamehubworld-footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Cookie Consent */
.gamehubworld-cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e293b;
  color: white;
  padding: 1rem 2rem;
  z-index: 1000;
  display: none;
}

.gamehubworld-cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.gamehubworld-cookie-text {
  flex: 1;
}

.gamehubworld-cookie-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gamehubworld-cookie-accept {
  background: #fbbf24;
  color: #1e293b;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}

.gamehubworld-cookie-policy {
  color: #fbbf24;
  text-decoration: none;
}

/* Contact Form */
.gamehubworld-contact-form {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.gamehubworld-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.gamehubworld-form-input,
.gamehubworld-form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.gamehubworld-form-input:focus,
.gamehubworld-form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.gamehubworld-form-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gamehubworld-form-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.gamehubworld-form-success {
  background: var(--success);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gamehubworld-navbar-toggle {
    display: block;
  }

  .gamehubworld-navbar-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }

  .gamehubworld-navbar-right.active {
    display: flex;
  }

  .gamehubworld-cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .gamehubworld-cookie-buttons {
    justify-content: center;
  }
}

/* Section Titles */
.gamehubworld-section-title {
  text-align: center;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}

.gamehubworld-section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Alert Styles */
.gamehubworld-alert {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.gamehubworld-alert-info {
  background: #dbeafe;
  border-color: #3b82f6;
  color: #1e40af;
}

/* Game iframe container */
.gamehubworld-game-container {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.gamehubworld-game-iframe {
  width: 100%;
  height: 600px;
  border: none;
}

@media (max-width: 768px) {
  .gamehubworld-game-iframe {
    height: 400px;
  }
}
