/* FuntribeGames.com - Modern German Gaming Platform Styles */

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typography with responsive clamp */
h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* 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;
  }
}

/* Color Variables */
:root {
  --funtribegames-primary: #2563eb;
  --funtribegames-secondary: #7c3aed;
  --funtribegames-accent: #f59e0b;
  --funtribegames-success: #10b981;
  --funtribegames-danger: #ef4444;
  --funtribegames-warning: #f59e0b;
  --funtribegames-info: #3b82f6;
  --funtribegames-light: #f8fafc;
  --funtribegames-dark: #1e293b;
  --funtribegames-gray: #64748b;
  --funtribegames-white: #ffffff;
  --funtribegames-black: #000000;
  --funtribegames-gradient: linear-gradient(
    135deg,
    var(--funtribegames-primary) 0%,
    var(--funtribegames-secondary) 100%
  );
  --funtribegames-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --funtribegames-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Body Styles */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--funtribegames-dark);
  background-color: var(--funtribegames-white);
  overflow-x: hidden;
}

/* Container */
.funtribegames-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .funtribegames-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .funtribegames-container {
    padding: 0 2rem;
  }
}

/* Navigation Styles */
.funtribegames-navbar {
  background: var(--funtribegames-white);
  box-shadow: var(--funtribegames-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.funtribegames-navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.funtribegames-navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--funtribegames-dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.funtribegames-navbar-logo {
  height: 50px;
  width: auto;
  margin-right: 0.75rem;
}

.funtribegames-navbar-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
  margin-bottom: 0;
}

.funtribegames-navbar-link {
  text-decoration: none;
  color: var(--funtribegames-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.funtribegames-navbar-link:hover,
.funtribegames-navbar-link.active {
  color: var(--funtribegames-primary);
}

.funtribegames-navbar-link.active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--funtribegames-primary);
}

.funtribegames-navbar-cta {
  background: var(--funtribegames-gradient);
  color: var(--funtribegames-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funtribegames-navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--funtribegames-shadow-lg);
  color: var(--funtribegames-white);
}

/* Mobile Navigation Toggle */
.funtribegames-navbar-toggle {
  display: none;
  flex-direction: column;
  background: var(--funtribegames-primary);
  border: 2px solid var(--funtribegames-primary);
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  min-width: 35px;
  min-height: 35px;
  justify-content: center;
  align-items: center;
  z-index: 1002;
  position: relative;
}

.funtribegames-navbar-toggle-bar {
  width: 25px;
  height: 3px;
  background: var(--funtribegames-white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.funtribegames-navbar-toggle:hover {
  background-color: var(--funtribegames-secondary);
  border-color: var(--funtribegames-secondary);
}

.funtribegames-navbar-toggle.active {
  background-color: var(--funtribegames-secondary);
  border-color: var(--funtribegames-secondary);
}

.funtribegames-navbar-toggle.active
  .funtribegames-navbar-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.funtribegames-navbar-toggle.active
  .funtribegames-navbar-toggle-bar:nth-child(2) {
  opacity: 0;
}

.funtribegames-navbar-toggle.active
  .funtribegames-navbar-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide mobile toggle on desktop */
@media (min-width: 769px) {
  .funtribegames-navbar-toggle {
    display: none !important;
  }

  .funtribegames-navbar-menu {
    display: flex !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    flex-direction: row !important;
    gap: 2rem !important;
    z-index: auto !important;
    overflow: visible !important;
    max-height: none !important;
  }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .funtribegames-navbar-toggle {
    display: flex;
  }

  .funtribegames-navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--funtribegames-white);
    flex-direction: column;
    padding: 5rem 2rem 2rem 2rem;
    box-shadow: var(--funtribegames-shadow-lg);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .funtribegames-navbar-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .funtribegames-navbar-cta {
    margin-top: 1rem;
    text-align: center;
    padding: 1rem 2rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
  }

  .funtribegames-navbar-link {
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    color: white;
  }

  .funtribegames-navbar-link:hover {
    background-color: rgba(37, 99, 235, 0.1);
  }

  /* Mobile menu backdrop */
  .funtribegames-navbar-menu::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--funtribegames-gradient);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .funtribegames-navbar-menu.active::before {
    opacity: 1;
    visibility: visible;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
}

/* Main Content */
.funtribegames-main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.funtribegames-hero {
  background: var(--funtribegames-gradient);
  color: var(--funtribegames-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.funtribegames-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.funtribegames-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.funtribegames-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.funtribegames-hero-title {
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.funtribegames-hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.funtribegames-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--funtribegames-white);
  color: var(--funtribegames-primary);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funtribegames-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--funtribegames-shadow-lg);
  color: var(--funtribegames-primary);
}

/* Section Styles */
.funtribegames-section {
  padding: 4rem 0;
}

.funtribegames-section-sm {
  padding: 2rem 0;
}

.funtribegames-section-lg {
  padding: 6rem 0;
}

/* Grid Layouts */
.funtribegames-grid {
  display: grid;
  gap: 2rem;
}

.funtribegames-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.funtribegames-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.funtribegames-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styles */
.funtribegames-card {
  background: var(--funtribegames-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--funtribegames-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.funtribegames-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--funtribegames-shadow-lg);
}

/* Game Card Styles */
.funtribegames-game-card {
  background: var(--funtribegames-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--funtribegames-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.funtribegames-game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--funtribegames-shadow-lg);
}

.funtribegames-game-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.funtribegames-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.funtribegames-game-card:hover .funtribegames-game-image img {
  transform: scale(1.05);
}

.funtribegames-game-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--funtribegames-accent);
  color: var(--funtribegames-white);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.funtribegames-game-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--funtribegames-dark);
}

.funtribegames-game-desc {
  color: var(--funtribegames-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.funtribegames-game-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--funtribegames-gray);
}

.funtribegames-game-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.funtribegames-game-play {
  display: block;
  width: 100%;
  background: var(--funtribegames-gradient);
  color: var(--funtribegames-white);
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.funtribegames-game-play:hover {
  transform: translateY(-2px);
  box-shadow: var(--funtribegames-shadow-lg);
  color: var(--funtribegames-white);
}

/* Button Styles */
.funtribegames-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.funtribegames-btn-primary {
  background: var(--funtribegames-gradient);
  color: var(--funtribegames-white);
}

.funtribegames-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--funtribegames-shadow-lg);
  color: var(--funtribegames-white);
}

.funtribegames-btn-secondary {
  background: var(--funtribegames-white);
  color: var(--funtribegames-primary);
  border: 2px solid var(--funtribegames-primary);
}

.funtribegames-btn-secondary:hover {
  background: var(--funtribegames-primary);
  color: var(--funtribegames-white);
  transform: translateY(-2px);
}

/* Form Styles */
.funtribegames-form-group {
  margin-bottom: 1.5rem;
}

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

.funtribegames-form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--funtribegames-white);
}

.funtribegames-form-control:focus {
  outline: none;
  border-color: var(--funtribegames-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.funtribegames-form-response {
  display: none;
}

.funtribegames-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .funtribegames-form-row {
    grid-template-columns: 1fr;
  }
}

/* Alert Styles */
.funtribegames-alert {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.funtribegames-alert-success {
  background: #f0fdf4;
  border-color: var(--funtribegames-success);
  color: #166534;
}

.funtribegames-alert-danger {
  background: #fef2f2;
  border-color: var(--funtribegames-danger);
  color: #991b1b;
}

.funtribegames-alert-info {
  background: #eff6ff;
  border-color: var(--funtribegames-info);
  color: #1e40af;
}

/* Footer Styles */
.funtribegames-footer {
  background: var(--funtribegames-dark);
  color: var(--funtribegames-white);
  padding: 3rem 0 1rem;
}

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

.funtribegames-footer-section h3 {
  color: var(--funtribegames-white);
  margin-bottom: 1rem;
}

.funtribegames-footer-section p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.funtribegames-footer-section a {
  color: var(--funtribegames-white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.funtribegames-footer-section a:hover {
  opacity: 1;
}

.funtribegames-disclaimer {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.funtribegames-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  opacity: 0.8;
}

/* Cookie Popup */
.funtribegames-cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: var(--funtribegames-white);
  border-radius: 1rem;
  box-shadow: var(--funtribegames-shadow-lg);
  padding: 1.5rem;
  z-index: 1001;
  display: none;
  max-width: 500px;
  margin: 0 auto;
}

.funtribegames-cookie-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--funtribegames-dark);
}

.funtribegames-cookie-text {
  color: var(--funtribegames-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.funtribegames-cookie-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.funtribegames-cookie-accept {
  background: var(--funtribegames-primary);
  color: var(--funtribegames-white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.funtribegames-cookie-accept:hover {
  background: #1d4ed8;
}

.funtribegames-cookie-policy {
  color: var(--funtribegames-primary);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--funtribegames-primary);
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.funtribegames-cookie-policy:hover {
  background: var(--funtribegames-primary);
  color: var(--funtribegames-white);
}

/* Modal Styles */
.funtribegames-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.funtribegames-modal.active {
  opacity: 1;
  visibility: visible;
}

.funtribegames-modal-content {
  background: var(--funtribegames-white);
  border-radius: 1rem;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.funtribegames-modal.active .funtribegames-modal-content {
  transform: scale(1);
}

.funtribegames-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.funtribegames-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--funtribegames-dark);
}

.funtribegames-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--funtribegames-gray);
  transition: color 0.3s ease;
}

.funtribegames-modal-close:hover {
  color: var(--funtribegames-dark);
}

.funtribegames-modal-body {
  padding: 0;
}

.funtribegames-modal-iframe {
  width: 100%;
  height: 70vh;
  border: none;
}

/* Utility Classes */
.funtribegames-text-center {
  text-align: center;
}

.funtribegames-text-left {
  text-align: left;
}

.funtribegames-text-right {
  text-align: right;
}

.funtribegames-mb-0 {
  margin-bottom: 0;
}
.funtribegames-mb-1 {
  margin-bottom: 0.5rem;
}
.funtribegames-mb-2 {
  margin-bottom: 1rem;
}
.funtribegames-mb-3 {
  margin-bottom: 1.5rem;
}
.funtribegames-mb-4 {
  margin-bottom: 2rem;
}
.funtribegames-mb-5 {
  margin-bottom: 3rem;
}

.funtribegames-mt-0 {
  margin-top: 0;
}
.funtribegames-mt-1 {
  margin-top: 0.5rem;
}
.funtribegames-mt-2 {
  margin-top: 1rem;
}
.funtribegames-mt-3 {
  margin-top: 1.5rem;
}
.funtribegames-mt-4 {
  margin-top: 2rem;
}
.funtribegames-mt-5 {
  margin-top: 3rem;
}

/* Animation Classes */
.funtribegames-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.funtribegames-fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading States */
.funtribegames-loading {
  opacity: 0.7;
  pointer-events: none;
}

.funtribegames-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.funtribegames-spinner {
  animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .funtribegames-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .funtribegames-hero {
    padding: 3rem 0;
  }

  .funtribegames-section {
    padding: 3rem 0;
  }

  .funtribegames-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .funtribegames-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 640px) {
  .funtribegames-hero {
    padding: 2rem 0;
  }

  .funtribegames-section {
    padding: 2rem 0;
  }

  .funtribegames-card {
    padding: 1.5rem;
  }

  .funtribegames-game-content {
    padding: 1rem;
  }

  .funtribegames-cookie-popup {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .funtribegames-modal {
    padding: 0.5rem;
  }

  .funtribegames-modal-iframe {
    height: 60vh;
  }
}

/* Additional Styles for New Elements */

/* Card Icon Styles */
.funtribegames-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--funtribegames-gradient);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--funtribegames-white);
  font-size: 1.5rem;
}

/* Game Tags */
.funtribegames-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.funtribegames-game-tag {
  background: var(--funtribegames-light);
  color: var(--funtribegames-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Hero Icon */
.funtribegames-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  backdrop-filter: blur(10px);
}

/* Games Stats */
.funtribegames-games-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.funtribegames-stat-item {
  text-align: center;
}

.funtribegames-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
}

.funtribegames-stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Featured Game Cards */
.funtribegames-featured {
  border: 2px solid var(--funtribegames-accent);
  position: relative;
}

/* Highlight Stats */
.funtribegames-highlight-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--funtribegames-gray);
}

.funtribegames-highlight-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Testimonial Styles */
.funtribegames-testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.6;
}

.funtribegames-testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.funtribegames-author-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--funtribegames-dark);
}

.funtribegames-author-info span {
  font-size: 0.875rem;
  color: var(--funtribegames-gray);
}

/* News Styles */
.funtribegames-news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--funtribegames-primary);
  color: var(--funtribegames-white);
  border-radius: 0.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.funtribegames-news-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.funtribegames-news-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.funtribegames-news-content {
  flex: 1;
}

.funtribegames-news-link {
  color: var(--funtribegames-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.funtribegames-news-link:hover {
  color: var(--funtribegames-secondary);
}

/* Contact Styles */
.funtribegames-contact-details {
  margin-top: 1.5rem;
}

.funtribegames-contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.funtribegames-contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--funtribegames-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--funtribegames-white);
  flex-shrink: 0;
}

.funtribegames-contact-detail-content h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: var(--funtribegames-dark);
}

.funtribegames-contact-detail-content p {
  margin: 0;
  color: var(--funtribegames-gray);
}

.funtribegames-contact-detail-content a {
  color: var(--funtribegames-primary);
  text-decoration: none;
}

.funtribegames-contact-detail-content a:hover {
  text-decoration: underline;
}

.funtribegames-form-description {
  color: var(--funtribegames-gray);
  margin-bottom: 1.5rem;
}

.funtribegames-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.funtribegames-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Legal Pages Styles */
.funtribegames-privacy-content,
.funtribegames-terms-content,
.funtribegames-cookie-content {
  line-height: 1.7;
}

.funtribegames-privacy-content h2,
.funtribegames-terms-content h2,
.funtribegames-cookie-content h2 {
  color: var(--funtribegames-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--funtribegames-light);
}

.funtribegames-privacy-content h3,
.funtribegames-terms-content h3,
.funtribegames-cookie-content h3 {
  color: var(--funtribegames-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.funtribegames-privacy-content ul,
.funtribegames-terms-content ul,
.funtribegames-cookie-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.funtribegames-privacy-content li,
.funtribegames-terms-content li,
.funtribegames-cookie-content li {
  margin-bottom: 0.5rem;
}

.funtribegames-privacy-content a,
.funtribegames-terms-content a,
.funtribegames-cookie-content a {
  color: var(--funtribegames-primary);
  text-decoration: none;
}

.funtribegames-privacy-content a:hover,
.funtribegames-terms-content a:hover,
.funtribegames-cookie-content a:hover {
  text-decoration: underline;
}

/* Cookie Table */
.funtribegames-cookie-table {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.funtribegames-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--funtribegames-white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--funtribegames-shadow);
}

.funtribegames-table th,
.funtribegames-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.funtribegames-table th {
  background: var(--funtribegames-light);
  font-weight: 600;
  color: var(--funtribegames-dark);
}

.funtribegames-table tr:hover {
  background: #f8fafc;
}

/* Disclaimer Content */
.funtribegames-disclaimer-content {
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .funtribegames-games-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .funtribegames-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .funtribegames-navbar-link:hover,
  .funtribegames-navbar-link.active {
    color: white;
  }

  .funtribegames-navbar-link.active::after {
    background: white;
  }

  .funtribegames-cta-actions .funtribegames-btn {
    width: 100%;
    max-width: 300px;
  }

  .funtribegames-testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .funtribegames-contact-detail-item {
    gap: 0.75rem;
  }

  .funtribegames-cookie-table {
    font-size: 0.875rem;
  }

  .funtribegames-table th,
  .funtribegames-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* Print Styles */
@media print {
  .funtribegames-navbar,
  .funtribegames-cookie-popup,
  .funtribegames-modal {
    display: none !important;
  }

  .funtribegames-main {
    margin-top: 0;
  }
}
