/* Base Styles */
:root {
  --primary-color: #6c2dc7;
  --primary-dark: #5721a0;
  --primary-light: #8b55d7;
  --secondary-color: #f8c12c;
  --secondary-dark: #e5a90f;
  --secondary-light: #fad467;
  --tertiary-color: #e74c3c;
  --text-color: #333333;
  --text-light: #777777;
  --bg-color: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #222222;
  --border-color: #e5e5e5;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.15);
  --gradient: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--secondary-dark) 100%
  );
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-sm: 4px;
  --header-height: 80px;
  --container-width: 1200px;
  --container-padding: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--bg-dark);
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
.btn {
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: var(--transition);
}

input,
textarea,
select {
  font-family: "Poppins", sans-serif;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* Age Verification Modal */
.age-verification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
}

.age-verification-container {
  background-color: var(--bg-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.age-verification-container h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.age-verification-container p {
  margin-bottom: 2rem;
}

.age-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: none;
}

.primary-btn {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 10px rgba(108, 45, 199, 0.3);
}

.primary-btn:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(108, 45, 199, 0.4);
}

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

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

.tertiary-btn {
  background: var(--bg-light);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.tertiary-btn:hover {
  background: var(--border-color);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover:after,
.nav-links a.active:after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 2px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,224C384,235,480,245,576,234.7C672,224,768,192,864,181.3C960,171,1056,181,1152,197.3C1248,213,1344,235,1392,245.3L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 50%;
  opacity: 0.4;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  margin-left: 30px;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.hero h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Featured Games Section */
.featured-games {
  background-color: var(--bg-light);
}

.featured-games h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.game-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.game-card h3 {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  padding: 0 15px;
}

.game-card p {
  color: var(--text-light);
  padding: 0 15px;
  flex-grow: 1;
}

.game-card .btn {
  margin: 0 15px 20px;
}

/* How It Works Section */
.how-it-works {
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 3rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step {
  padding: 30px 20px;
  border-radius: var(--radius);
  background-color: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.step-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 30px;
  height: 30px;
}

.step h3 {
  margin-bottom: 15px;
}

.step p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Disclaimer Section */
.disclaimer {
  background-color: var(--bg-light);
}

.disclaimer h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.disclaimer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  border-left: 5px solid var(--primary-color);
}

.disclaimer-content p:last-child {
  margin-bottom: 0;
}

.disclaimer-content strong {
  color: var(--tertiary-color);
}

/* Latest Blog Section */
.latest-blog h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-preview {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-preview:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-preview:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.blog-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: block;
}

.views-count {
  color: var(--primary-color);
}

.read-more {
  display: inline-block;
  font-weight: 600;
  margin-top: 10px;
  color: var(--primary-color);
}

.read-more:hover {
  color: var(--primary-dark);
}

.center-button {
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 70px 0 20px;
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
  border-radius: 50%;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 5px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4,
.footer-social h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--secondary-color);
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.age-disclaimer {
  color: var(--tertiary-color);
  font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-dark);
  color: white;
  padding: 15px 0;
  z-index: 99;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cookie-content p {
  flex: 1;
  margin: 0 20px 0 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.cookie-content a {
  color: var(--secondary-color);
  margin-left: 10px;
}

/* Page Banner */
.page-banner {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.page-banner h1 {
  color: white;
  margin-bottom: 15px;
}

.page-banner p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Games Page */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.category-tab {
  padding: 10px 20px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.category-tab:hover {
  background-color: var(--border-color);
}

.category-tab.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.how-to-play {
  background-color: var(--bg-light);
}

.info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-block {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.info-block:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.info-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 35px;
  height: 35px;
}

/* Blog Page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.blog-card .blog-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.blog-card .read-more {
  margin-top: auto;
}

.subscribe {
  background-color: var(--primary-color);
  color: white;
}

.subscribe-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.subscribe h2 {
  color: white;
}

.subscribe-form {
  display: flex;
  margin: 30px 0 20px;
  box-shadow: var(--box-shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.subscribe-form input {
  flex-grow: 1;
  padding: 15px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.subscribe-form .btn {
  border-radius: 0;
}

.small-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* About Page */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
}

.mission-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mission-block {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.mission-block:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.mission-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-icon svg {
  width: 35px;
  height: 35px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.team-member img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.team-member h3 {
  margin-top: 20px;
  margin-bottom: 5px;
  padding: 0 15px;
}

.team-member p {
  color: var(--text-light);
  padding: 0 15px;
  margin-bottom: 15px;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-light);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links svg {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.social-links a:hover svg {
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-block {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.stat-block:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 10px;
}

.stat-block p {
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.contact-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 35px;
  height: 35px;
}

.contact-card h3 {
  margin-bottom: 15px;
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.social-mini-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-mini-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 50%;
  transition: var(--transition);
}

.social-mini-icons svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
}

.social-mini-icons a:hover {
  background-color: var(--primary-color);
}

.social-mini-icons a:hover svg {
  color: white;
}

.contact-form {
  background-color: var(--bg-light);
  padding: 50px 0;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 30px;
}

.contact-form form {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(108, 45, 199, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

.checkbox-group a {
  text-decoration: underline;
}

.map-section {
  text-align: center;
}

.map-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--box-shadow);
}

.map-placeholder {
  width: 100%;
  height: auto;
  filter: blur(5px);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.map-overlay p {
  margin-bottom: 20px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow: auto;
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius);
  position: relative;
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--success-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon svg {
  width: 40px;
  height: 40px;
}

.modal h2 {
  margin-bottom: 15px;
}

.modal p {
  margin-bottom: 30px;
}

.close-btn {
  margin: 0 auto;
}

/* Blog Post Page */
.blog-post {
  padding-bottom: 0;
}

.post-header {
  margin-bottom: 30px;
}

.post-header h1 {
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.post-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

.post-date,
.post-views {
  display: flex;
  align-items: center;
}

.post-date svg,
.post-views svg {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.post-featured-image {
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-content {
  max-width: 800px;
  margin: 0 auto 50px;
}

.post-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  background-color: var(--bg-light);
  margin: 30px 0;
  font-style: italic;
}

.post-content blockquote p {
  margin-bottom: 10px;
}

.post-content blockquote footer {
  font-style: normal;
  color: var(--text-light);
  font-size: 0.9rem;
  background-color: transparent;
  padding: 0;
  text-align: right;
}

.post-tags {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.post-tags span {
  font-weight: 600;
  margin-right: 10px;
}

.post-tags a {
  display: inline-block;
  padding: 5px 12px;
  background-color: var(--bg-light);
  border-radius: 30px;
  margin: 5px;
  font-size: 0.9rem;
  color: var(--text-color);
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-light);
  color: white;
}

.post-navigation {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
  margin-bottom: 50px;
}

.post-nav-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}

.post-nav-prev,
.post-nav-next {
  max-width: 45%;
}

.post-nav-prev span,
.post-nav-next span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.post-nav-prev a,
.post-nav-next a {
  font-weight: 600;
}

.post-nav-next {
  text-align: right;
}

.post-nav-blank {
  width: 45%;
}

.related-posts {
  padding: 50px 0;
  background-color: var(--bg-light);
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 30px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.related-post {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.related-post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-post h4 {
  padding: 15px 15px 5px;
  font-size: 1.1rem;
}

.related-post .post-date {
  padding: 0 15px 15px;
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    margin-left: 0;
    margin-top: 30px;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  section {
    padding: 60px 0;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height));
    background-color: white;
    z-index: 99;
    transition: var(--transition);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: flex;
  }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
  }

  .category-tab {
    white-space: nowrap;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-content p {
    margin: 0 0 15px 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .post-nav-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .post-nav-prev,
  .post-nav-next {
    max-width: 100%;
    text-align: center;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .subscribe-form .btn {
    border-radius: 0 0 var(--radius) var(--radius);
  }
}
