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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Medula One', cursive;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  background: #ee6c9d;
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
  color: white;
  position: relative;
}

.cookie-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 20px;
  border-radius: 4px;
}

.cookie-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.cookie-content p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.cookie-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-transform: uppercase;
}

.cookie-btn.accept,
.cookie-btn.learn {
  background: #4a4a8a;
  color: white;
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #322575;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;
  color: white;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 50px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #ee6c9d;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4a4a8a 0%, #6b5b95 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url(/wp-content/themes/zephroniq/assets/images/bg.png);
  background-size: cover;
}

.hero-container {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px 40px;
  gap: 80px;
}

.hero-text {
  flex: 1;
  color: white;
}

.hero-text h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: normal;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 50px;
  opacity: 0.95;
}

.cta-button {
  background: #ee6c9d;
  color: white;
  padding: 18px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-button::after {
  content: '↗';
  font-size: 18px;
}

.cta-button:hover {
  background: #d85a87;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(238, 108, 157, 0.3);
}

.hero-character {
  flex: 0 0 400px;
}

.hero-character img {
  width: 100%;
  height: auto;
}

/* Why Zephroniq Section */
.why-zephroniq {
  padding: 80px 0;
  background: #f8f9fa;
  position: relative;
}

.why-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 80px;
  align-items: flex-start;
}

.why-left {
  flex: 0 0 400px;
}

.why-left h2 {
  font-size: 3rem;
  color: #ee6c9d;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
  line-height: 1.1;
  font-weight: normal;
}

.character-large img {
  width: 100%;
  height: auto;
  max-width: 350px;
}

.why-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-card {
  background: #ee6c9d;
  border-radius: 12px;
  padding: 30px;
  color: white;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon img {
  width: 60px;
  height: 60px;
}

.feature-content {
  flex: 1;
}

.feature-number {
  background: white;
  color: #ee6c9d;
  width: 50px;
  height: 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 15px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.feature-content h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: normal;
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: #FFF3F8;
}

.about-container {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 80px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 3rem;
  color: #4a4a8a;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
  font-weight: normal;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #666;
}

.learn-more-btn {
  background: #ee6c9d;
  color: white;
  padding: 18px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.learn-more-btn::after {
  content: '↗';
  font-size: 18px;
}

.learn-more-btn:hover {
  background: #d85a87;
  transform: translateY(-2px);
}

.about-character {
  flex: 0 0 350px;
}

.about-character img {
  width: 100%;
  height: auto;
}

/* Beyond Categories Section */
.beyond-categories {
  padding: 80px 0;
  background: #322575;
  color: white;
}

.beyond-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.beyond-categories h2 {
  text-align: center;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 80px;
  font-weight: normal;
}

.beyond-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.beyond-character {
  flex: 0 0 350px;
}

.beyond-character img {
  width: 100%;
  height: auto;
}

.beyond-text {
  flex: 1;
}

.beyond-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Contact Section */
.contact-section {
  padding: 80px 0 40px;
  background: #322575;
  color: white;
  padding-top: 0;
}

.contact-container {
  
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
  background-color: #EC5D9F;
}



.contact-icon {
  margin-bottom: 30px;
}

.star-icon {
  width: 80px;
  height: 80px;
  background: white;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
}

.star-icon::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #ee6c9d;
}

.contact-header h2 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
  font-weight: normal;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;

  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.contact-info strong {
  font-weight: 600;
}



.footer-logo h1 {
  font-size: 15rem;
  color: white;
  font-weight: normal;
  letter-spacing: -5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 30px 40px;
  border-radius: 0;
  padding-bottom: 0;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link.twitter {
  background: #1da1f2;
}

.social-link.facebook {
  background: #4267B2;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ee6c9d;
}

.copyright {

  padding: 20px 0;
  margin: 0 -40px;
}

.copyright p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Loading Animation */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
}

.nav-links.mobile-active {
  display: flex !important;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(74, 74, 138, 0.98);
  flex-direction: column;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-links.mobile-active li {
  margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-container,
  .why-container,
  .about-container,
  .beyond-container {
      padding: 0 30px;
      gap: 60px;
  }
  
  .navbar {
      padding: 0 30px;
  }
}

@media (max-width: 968px) {
  .hero-container {
      flex-direction: column;
      text-align: center;
      gap: 50px;
  }
  
  .hero-text h1 {
      font-size: 3.5rem;
  }
  
  .hero-character {
      flex: 0 0 300px;
  }
  
  .why-container {
      flex-direction: column;
      text-align: center;
  }
  
  .why-left {
      flex: none;
  }
  
  .about-container,
  .beyond-content {
      flex-direction: column;
      text-align: center;
      gap: 50px;
  }
  
  .about-character,
  .beyond-character {
      flex: 0 0 250px;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 30px;
  }
  
  .footer-links {
      justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
      display: none;
  }
  
  .mobile-menu-btn {
      display: block;
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
  }
  
  .hero-text h1 {
      font-size: 2.8rem;
  }
  
  .why-left h2,
  .about-text h2,
  .beyond-categories h2,
  .contact-header h2 {
      font-size: 2.2rem;
  }
  
  .footer-logo h1 {
      font-size: 5rem;
  }
  
  .hero-container,
  .why-container,
  .about-container,
  .beyond-container,
  .contact-container {
      padding: 0 20px;
  }
  
  .navbar {
      padding: 0 20px;
  }
  
  .footer-bottom {
      margin: 0 -20px;
      padding: 30px 20px;
  }
  
  .copyright {
      margin: 0 -20px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
      font-size: 2.2rem;
  }
  
  .why-left h2,
  .about-text h2,
  .beyond-categories h2,
  .contact-header h2 {
      font-size: 1.8rem;
  }
  
  .footer-logo h1 {
      font-size: 4rem;
  }
  
  .nav-links a {
      font-size: 16px;
  }
  
  .nav-links {
      gap: 30px;
  }
  
  .footer-links {
      flex-direction: column;
      gap: 20px;
  }
  
  .feature-card {
      flex-direction: column;
      text-align: center;
      padding: 25px;
  }
  
  .feature-number {
      position: static;
      margin: 0 auto 15px;
  }
}
.cont_wr{
  display: flex;
  gap: 30px;
}




/* Games as Shifting Companions Section */
.games-companions {
  padding: 80px 0;
  background: #f8f9fa;
}

.companions-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.companions-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
}

.companions-character {
  flex: 0 0 400px;
}

.companions-character img {
  width: 100%;
  height: auto;
}

.companions-text {
  flex: 1;
}

.companions-text h2 {
  font-size: 2.5rem;
  color: #ee6c9d;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  font-weight: normal;
  text-align: center;
}

.companions-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #666;
  text-align: justify;
}

.games-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1.5fr 2fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 60px;
  height: 400px;
}

.game-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.game-card a {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

.game-card.large {
  grid-row: span 2;
}

.game-card.medium {
  grid-row: span 1;
}

.game-card.small {
  grid-row: span 1;
}

/* Specific positioning for the grid layout */
.game-card:nth-child(1) { /* Papa's Pizzeria - large left */
  grid-column: 1;
  grid-row: 1 / 3;
}

.game-card:nth-child(2) { /* Idle Farmer - medium top center-left */
  grid-column: 2;
  grid-row: 1;
}

.game-card:nth-child(3) { /* Business Woman - small top center */
  grid-column: 3;
  grid-row: 1;
}

.game-card:nth-child(4) { /* Cookin' Truck - small bottom center */
  grid-column: 4;
  grid-row: 2;
}

.game-card:nth-child(5) { /* Lumber Inc - medium bottom center-right */
  grid-column: 5;
  grid-row: 2;
}

.game-card:nth-child(6) { /* Towntopia - large right */
  grid-column: 6;
  grid-row: 1 / 3;
}

.companions-bottom-text {
  margin-top: 40px;
}

.companions-bottom-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #666;
  text-align: justify;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .companions-container {
      padding: 0 30px;
  }
  
  .games-grid {
      height: 350px;
  }
}

@media (max-width: 968px) {
  .companions-content {
      flex-direction: column;
      text-align: center;
      gap: 40px;
  }
  
  .companions-character {
      flex: 0 0 150px;
      align-self: center;
  }
  
  .companions-text h2 {
      font-size: 2.2rem;
  }
  
  .games-grid {
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows: auto auto;
      height: auto;
      gap: 15px;
  }
  
  .game-card:nth-child(1) {
      grid-column: 1 / 3;
      grid-row: 1;
  }
  
  .game-card:nth-child(2) {
      grid-column: 3;
      grid-row: 1;
  }
  
  .game-card:nth-child(3) {
      grid-column: 1;
      grid-row: 2;
  }
  
  .game-card:nth-child(4) {
      grid-column: 2;
      grid-row: 2;
  }
  
  .game-card:nth-child(5) {
      grid-column: 3;
      grid-row: 2;
  }
  
  .game-card:nth-child(6) {
      grid-column: 1 / 4;
      grid-row: 3;
  }
}

@media (max-width: 768px) {
  .companions-container {
      padding: 0 20px;
  }
  
  .companions-text h2 {
      font-size: 1.8rem;
  }
  
  .games-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: repeat(4, 120px);
      gap: 10px;
  }
  
  .game-card:nth-child(1) {
      grid-column: 1 / 3;
      grid-row: 1;
  }
  
  .game-card:nth-child(2) {
      grid-column: 1;
      grid-row: 2;
  }
  
  .game-card:nth-child(3) {
      grid-column: 2;
      grid-row: 2;
  }
  
  .game-card:nth-child(4) {
      grid-column: 1;
      grid-row: 3;
  }
  
  .game-card:nth-child(5) {
      grid-column: 2;
      grid-row: 3;
  }
  
  .game-card:nth-child(6) {
      grid-column: 1 / 3;
      grid-row: 4;
  }
}










/* Game Detail Section */
.game-detail {

  padding: 60px 0;
  background: #FFD4F0;
  color: white;
  padding-top: 80px;
}

.game-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.game-header {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 50px;
}

.game-info {
  flex: 1;
}

.game-info h1 {
  font-family: 'Medula One', cursive;
  font-size: 3.5rem;
  color: #ee6c9d;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
  font-weight: normal;
}

.game-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.95;

  color: #3B5998;
font-family: Poppins;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 21.6px */
}

.play-button {
  background: #ee6c9d;
  color: white;
  padding: 18px 35px;
  text-decoration: none;

  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.play-button::after {
  content: '↗';
  font-size: 18px;
}

.play-button:hover {
  background: #d85a87;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(238, 108, 157, 0.4);
}

.game-image {
  flex: 0 0 400px;
}

.game-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.game-description {
  display: flex;
  gap: 40px;
}

.description-left {
  flex: 1;
  background: #322575;
  padding: 40px;
  max-height: 260px;

}
@media (max-width: 768px) {
  .description-left{
    max-height: 100%;
  }

}

.description-right {
  flex: 1;
  background: #EC5D9F;
  padding: 40px;
  margin-top: 60px;

}

.description-left p,
.description-right p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .game-detail-container {
      padding: 0 30px;
  }
  
  .game-header {
      gap: 40px;
  }
  
  .game-image {
      flex: 0 0 350px;
  }
}

@media (max-width: 968px) {
  .game-header {
      flex-direction: column;
      text-align: center;
      gap: 40px;
  }
  
  .game-image {
      flex: none;
      max-width: 400px;
      align-self: center;
  }
  
  .game-info h1 {
      font-size: 2.8rem;
  }
  
  .game-description {
      flex-direction: column;
      gap: 30px;
  }
}

@media (max-width: 768px) {
  .game-detail-container {
      padding: 0 20px;
  }
  
  .game-info h1 {
      font-size: 2.2rem;
  }
  
  .description-left,
  .description-right {
      padding: 30px;
  }
  
  .game-image {
      max-width: 100%;
  }
}

@media (max-width: 480px) {
  .game-info h1 {
      font-size: 1.8rem;
  }
  
  .description-left,
  .description-right {
      padding: 25px;
  }
  
  .play-button {
      padding: 15px 30px;
      font-size: 1rem;
  }
}