/*
Theme Name: The Game Industry Brief
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A modern WordPress theme for The Game Industry Brief newsletter. Converted from React to WordPress.
Version: 1.0.16
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: game-industry-brief
Tags: newsletter, modern, responsive, game-industry
*/

/* CSS Variables for Design System */
:root {
  --background: 60 20% 98%;
  --foreground: 220 20% 10%;
  --card: 0 0% 100%;
  --card-foreground: 220 20% 10%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 20% 10%;
  --primary: 168 100% 41%;
  --primary-foreground: 220 20% 10%;
  --secondary: 52 100% 67%;
  --secondary-foreground: 220 20% 10%;
  --muted: 220 10% 92%;
  --muted-foreground: 220 10% 40%;
  --accent: 52 100% 90%;
  --accent-foreground: 220 20% 10%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 10% 88%;
  --input: 220 10% 88%;
  --ring: 168 100% 41%;
  --radius: 0.75rem;
}

.dark {
  --background: 220 20% 8%;
  --foreground: 60 10% 95%;
  --card: 220 20% 12%;
  --card-foreground: 60 10% 95%;
  --popover: 220 20% 12%;
  --popover-foreground: 60 10% 95%;
  --primary: 168 100% 50%;
  --primary-foreground: 220 20% 10%;
  --secondary: 52 100% 55%;
  --secondary-foreground: 220 20% 10%;
  --muted: 220 15% 18%;
  --muted-foreground: 220 10% 60%;
  --accent: 52 60% 25%;
  --accent-foreground: 60 10% 95%;
  --destructive: 0 70% 50%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 15% 20%;
  --input: 220 15% 20%;
  --ring: 168 100% 50%;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "rlig" 1, "calt" 1;
}

/* Container */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.site-nav {
  background-color: hsl(var(--background));
  border-bottom: none !important;
}

.nav-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  padding-left: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  margin-left: 0;
  padding-left: 0;
}

.nav-brand-text {
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-button {
  display: none;
  padding: 0.5rem 1rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-button:hover {
  opacity: 0.9;
}

@media (min-width: 640px) {
  .nav-button {
    display: inline-flex;
  }
}

/* Hero Section */
.hero-section {
  padding: 5rem 1.5rem;
}

.hero-container {
  max-width: 1152px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsl(var(--accent));
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  width: fit-content;
}

.hero-badge-icon {
  width: 1rem;
  height: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-title-primary {
  display: block;
  color: hsl(var(--primary));
}

.hero-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
}

/* Form Styles */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
}

@media (min-width: 640px) {
  .subscribe-form {
    flex-direction: row;
  }
}

.subscribe-input {
  flex: 1;
  height: 3.5rem;
  padding: 0 1.5rem;
  font-size: 1.125rem;
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color 0.2s;
}

/* Mobile styles for email input - higher touch target */
@media screen and (max-width: 767px) {
  .subscribe-input {
    height: 4.5rem !important;
    min-height: 4.5rem !important;
    font-size: 1rem;
    padding: 0 1.25rem;
    line-height: 1.5;
  }
  
  .subscribe-button {
    height: 4.5rem !important;
    min-height: 4.5rem !important;
    font-size: 1rem;
    padding: 0 1.5rem;
  }
}

.subscribe-input:focus {
  border-color: hsl(var(--ring));
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.subscribe-button {
  height: 3.5rem;
  padding: 0 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
}

.subscribe-button:hover {
  background-color: hsl(var(--primary) / 0.9);
 
 }

 

.subscribe-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.subscribe-button-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s;
}

.subscribe-button:hover .subscribe-button-icon {
  transform: translateX(0.25rem);
}

.subscribe-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--primary));
  font-size: 1.25rem;
  font-weight: 500;
}

.subscribe-success-icon {
  width: 2rem;
  height: 2rem;
}

.subscribe-note {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Illustration Card */
.hero-illustration {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .hero-illustration {
    display: block;
  }
}

.illustration-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, 
    hsl(var(--primary) / 1), 
    hsl(var(--secondary) / 1), 
    hsl(var(--accent) / 0.4));
  border-radius: 1.5rem;
  filter: blur(7rem);
}

.illustration-card {
  position: relative;
  background-color: hsl(var(--card));
  border: 0px solid hsl(var(--border));
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 20px -12px rgba(0, 0, 0, 0.10);
}

.illustration-content {
  position: relative;
}

.illustration-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, 
    hsl(var(--card)), 
    hsl(var(--card) / 0.3));
  pointer-events: none;
  border-radius: 0 0 0em 0rem;
  z-index: 10;
}

.illustration-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.illustration-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.illustration-title {
  font-weight: 600;
}

.illustration-time {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.illustration-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.illustration-item {
  padding: 1rem;
  border-radius: 0.75rem;
}

.illustration-item-1 {
  background-color: hsl(var(--accent) / 0.5);
}

.illustration-item-2 {
  background-color: hsl(var(--secondary) / 0.5);
}

.illustration-item-3 {
  background-color: hsl(var(--primary) / 0.1);
}

.illustration-item-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.illustration-item-text {
  color: hsl(var(--muted-foreground));
}

.illustration-button-wrapper {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.illustration-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.illustration-button:hover {
 background-color: hsl(var(--primary) / 0.9);
 
}
 
.illustration-button-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.illustration-button:hover .illustration-button-arrow {
  transform: translateX(0.25rem);
}

/* Categories Section */
.categories-section {
  padding: 3rem 1.5rem;
  background-color: hsl(var(--muted) / 0.3);
}

.categories-container {
  max-width: 1152px;
  margin: 0 auto;
}

.categories-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.category-badge {
  padding: 0.625rem 1.25rem;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.category-badge:hover {
  background-color: hsl(var(--secondary) / 0.8);
}

/* Stats Section */
/* Disabled sections */
.stats-section,
.testimonials-section {
  display: none !important;
}

.stats-section {
  padding: 5rem 1.5rem;
}

.stats-container {
  max-width: 1152px;
  margin: 0 auto;
}

.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .stats-title {
    font-size: 2.5rem;
  }
}

.stats-subtitle {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
}

.stats-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background-color: hsl(var(--card));
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: hsl(var(--primary));
  margin: 0 auto 1rem;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: hsl(var(--muted-foreground));
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 1.5rem;
  background-color: hsl(var(--muted) / 0.3);
}

.testimonials-container {
  max-width: 1152px;
  margin: 0 auto;
}

.testimonials-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .testimonials-title {
    font-size: 2.5rem;
  }
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: hsl(var(--card));
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
}

.testimonial-quote {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* CTA Section */
.cta-section {
  padding: 6rem 1.5rem;
}

.cta-container {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.cta-form {
  max-width: 28rem;
  margin: 0 auto;
}

.cta-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: hsl(var(--primary));
  font-size: 1.25rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  padding: 2rem 1.5rem;
  border-top: none !important;
}

.footer-container {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-container {
    flex-direction: row;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.footer-brand-text {
  font-weight: 600;
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

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

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

/* Responsive Typography */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
}
