/* ======== GAME MARKET - MAIN CSS STYLESHEET ======== */

:root {
  /* Primary color scheme (Triadic) */
  --color-primary: #ff3366;          /* Vibrant pink-red */
  --color-secondary: #33ff66;        /* Bright green */
  --color-tertiary: #6633ff;         /* Vivid purple */

  /* Darker variations for hover effects and contrast */
  --color-primary-dark: #e02050;
  --color-secondary-dark: #20cc50;
  --color-tertiary-dark: #5020e0;

  /* Neutral colors */
  --color-black: #121212;
  --color-white: #ffffff;
  --color-gray-light: #f4f4f8;
  --color-gray-medium: #c0c0c8;
  --color-gray-dark: #48484f;

  /* Neo-brutalism shadows and borders */
  --shadow-neo: 5px 5px 0px rgba(0, 0, 0, 0.8);
  --border-neo: 2px solid var(--color-black);

  /* Typography */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Spacing system */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Container sizes */
  --container-width: 1200px;
  --container-padding: 1.5rem;

  /* Z-index layers */
  --z-navbar: 1000;
  --z-overlay: 900;
  --z-modal: 1100;
  --z-dropdown: 950;
}

/* ======== RESET & GLOBAL STYLES ======== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-black);
  font-weight: 900;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-gray-dark);
}

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

/* Section styling */
section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  margin: var(--space-sm) auto 0;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: -var(--space-lg) auto var(--space-xl);
  font-size: 1.1rem;
}

/* ======== BUTTON STYLES ======== */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: var(--border-neo);
  background-color: var(--color-white);
  color: var(--color-black);
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-neo);
  position: relative;
  top: 0;
  left: 0;
}

.btn:hover, 
button:hover, 
input[type="submit"]:hover {
  top: -3px;
  left: -3px;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.8);
}

.btn:active, 
button:active, 
input[type="submit"]:active {
  top: 0;
  left: 0;
  box-shadow: var(--shadow-neo);
}

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

.secondary-btn {
  background-color: var(--color-secondary);
  color: var(--color-black);
}

.game-btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  margin-left: auto;
}

.view-all-btn {
  margin-top: var(--space-lg);
}

.view-all-container {
  text-align: center;
  margin-top: var(--space-xl);
}

.animated-btn {
  position: relative;
  overflow: hidden;
}

.animated-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-slow);
}

.animated-btn:hover::after {
  left: 100%;
}

.event-btn {
  margin-top: var(--space-md);
}

.submit-btn {
  background-color: var(--color-tertiary);
  color: var(--color-white);
  width: 100%;
  margin-top: var(--space-md);
}

/* ======== HEADER & NAVIGATION ======== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-navbar);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: var(--space-md) 0;
}

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

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

.logo img {
  height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: var(--space-lg);
}

.nav-links a {
  color: var(--color-black);
  font-weight: 700;
  position: relative;
  padding-bottom: var(--space-xs);
}

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

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

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 30px;
  background-color: var(--color-black);
  transition: all var(--transition-medium);
}

/* ======== HERO SECTION ======== */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 0;
  padding: 0;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
  color: var(--color-white);
  padding: var(--space-lg);
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border: var(--border-neo);
  box-shadow: var(--shadow-neo);
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: 3rem;
}

.hero-content p {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
}

/* ======== GAMES SECTION ======== */
.games-section {
  background-color: var(--color-gray-light);
}

.games-carousel {
  position: relative;
  margin-bottom: var(--space-lg);
}

.carousel-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: var(--space-lg);
  transition: transform var(--transition-medium);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-lg);
}

.prev-btn, .next-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-black);
  cursor: pointer;
  padding: var(--space-sm) var(--space-md);
  margin: 0 var(--space-md);
  box-shadow: none;
}

.prev-btn:hover, .next-btn:hover {
  color: var(--color-primary);
  box-shadow: none;
}

.carousel-indicators {
  display: flex;
  gap: var(--space-sm);
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-gray-medium);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.indicator.active {
  background-color: var(--color-primary);
}

/* ======== CARD STYLES ======== */
.card {
  background-color: var(--color-white);
  border: var(--border-neo);
  box-shadow: var(--shadow-neo);
  transition: transform var(--transition-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.card-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-card {
  flex: 0 0 300px;
  min-width: 300px;
}

.game-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  font-weight: 700;
  font-size: 0.8rem;
  z-index: 1;
}

.game-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.game-genre {
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-gray-light);
  font-size: 0.8rem;
  font-weight: 700;
}

.game-rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.stars {
  color: gold;
}

.rating-value {
  font-weight: 700;
}

.game-price-container {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.original-price {
  text-decoration: line-through;
  color: var(--color-gray-medium);
  margin-right: var(--space-sm);
}

.discount-price, .price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
}

/* ======== SERVICES SECTION ======== */
.services-section {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-light) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  text-align: center;
  padding-bottom: var(--space-lg);
}

.service-card .card-image {
  height: 200px;
}

.service-icon {
  margin: -30px auto var(--space-md);
  width: 70px;
  height: 70px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: var(--border-neo);
  box-shadow: var(--shadow-neo);
  z-index: 1;
  position: relative;
}

.service-icon img {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  margin-bottom: var(--space-md);
}

/* ======== PARTNERS SECTION ======== */
.partners-section {
  background-color: var(--color-white);
}

.partners-logos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.partners-logos a {
  transition: all var(--transition-medium);
  opacity: 0.7;
  filter: grayscale(100%);
}

.partners-logos a:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ======== NEWS SECTION ======== */
.news-section {
  background-color: var(--color-gray-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.news-card {
  height: 100%;
}

.news-card .card-image {
  height: 220px;
}

.news-date {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background-color: var(--color-tertiary);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: var(--space-md);
  transition: all var(--transition-medium);
}

.read-more span {
  margin-left: var(--space-xs);
  transition: transform var(--transition-medium);
}

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

.read-more:hover span {
  transform: translateX(5px);
}

/* ======== EVENTS SECTION ======== */
.events-section {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-light) 100%);
}

.events-timeline {
  position: relative;
}

.events-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  height: 100%;
  width: 4px;
  background-color: var(--color-tertiary);
}

.event-item {
  margin-bottom: var(--space-xl);
  position: relative;
  padding-left: 100px;
}

.event-item::before {
  content: attr(data-date);
  position: absolute;
  top: 0;
  left: 0;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-tertiary);
  color: var(--color-white);
  font-weight: 700;
  border: var(--border-neo);
  box-shadow: var(--shadow-neo);
  transform: rotate(-5deg);
  z-index: 1;
  white-space: nowrap;
}

.event-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  align-items: center;
  background-color: var(--color-white);
  border: var(--border-neo);
  box-shadow: var(--shadow-neo);
  padding: var(--space-lg);
}

.event-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.event-content:hover .event-image img {
  transform: scale(1.05);
}

.event-details h3 {
  margin-bottom: var(--space-xs);
}

.event-location {
  color: var(--color-tertiary);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

/* ======== GALLERY SECTION ======== */
.gallery-section {
  background-color: var(--color-gray-light);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  color: var(--color-gray-dark);
  transition: all var(--transition-medium);
  box-shadow: none;
  position: relative;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

.filter-btn:hover, .filter-btn.active {
  color: var(--color-primary);
  box-shadow: none;
}

.filter-btn:hover::after, .filter-btn.active::after {
  width: 80%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  height: 180px;
  overflow: hidden;
  position: relative;
  border: var(--border-neo);
  box-shadow: var(--shadow-neo);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ======== COMMUNITY SECTION ======== */
.community-section {
  background-color: var(--color-white);
}

.community-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-xl);
  align-items: center;
}

.community-image {
  height: 350px;
  overflow: hidden;
  border: var(--border-neo);
  box-shadow: var(--shadow-neo);
}

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-stats {
  display: flex;
  justify-content: space-between;
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1 1 30%;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray-dark);
}

.community-features {
  margin-top: var(--space-lg);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.feature-text h3 {
  margin-bottom: var(--space-xs);
}

.community-join {
  margin-top: var(--space-lg);
}

/* ======== CONTACT SECTION ======== */
.contact-section {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-light) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-details h3 {
  margin-bottom: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
}

.contact-text h4 {
  margin-bottom: var(--space-xs);
}

.contact-map {
  height: 300px;
  overflow: hidden;
  border: var(--border-neo);
  box-shadow: var(--shadow-neo);
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-hours {
  margin-top: var(--space-lg);
}

.business-hours h4 {
  margin-bottom: var(--space-sm);
}

.business-hours p {
  margin-bottom: var(--space-xs);
}

.contact-form-container {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border: var(--border-neo);
  box-shadow: var(--shadow-neo);
}

.contact-form-container h3 {
  margin-bottom: var(--space-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-sm);
  border: 1px solid var(--color-gray-medium);
  background-color: var(--color-gray-light);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-tertiary);
}

.form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
}

.form-checkbox input {
  margin-top: 0;
}

/* ======== FOOTER SECTION ======== */
.main-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-lg);
}

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

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-description {
  color: var(--color-gray-medium);
  margin-bottom: var(--space-lg);
}

.footer-column h3 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--color-gray-medium);
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-links a {
  color: var(--color-gray-medium);
  font-weight: 700;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

.social-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: var(--color-gray-medium);
  margin-bottom: 0;
}

/* ======== SUCCESS PAGE STYLES ======== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--color-gray-light);
}

.success-icon {
  font-size: 4rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.success-title {
  margin-bottom: var(--space-md);
}

.success-message {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

/* ======== PRIVACY & TERMS PAGES ======== */
.page-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  margin-bottom: var(--space-xl);
}

.page-section {
  margin-bottom: var(--space-xl);
}

.page-section h3 {
  margin-bottom: var(--space-md);
}

.page-section ul {
  list-style: disc;
  margin-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.page-section li {
  margin-bottom: var(--space-sm);
}

/* ======== RESPONSIVE STYLES ======== */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }
  
  .event-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .community-content {
    grid-template-columns: 1fr;
  }

  .community-image {
    order: -1;
    height: 300px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .burger-menu {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg) 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform var(--transition-medium);
    z-index: 900;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    margin: var(--space-sm) 0;
  }

  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }

  .event-item {
    padding-left: 0;
    padding-top: 30px;
  }

  .events-timeline::before {
    left: 20px;
  }

  .event-item::before {
    top: 0;
    left: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: var(--space-lg) 0;
  }

  .section-title {
    margin-bottom: var(--space-lg);
  }

  h1 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .partners-logos {
    gap: var(--space-md);
  }

  .partners-logos img {
    max-width: 120px;
  }

  .gallery-filter {
    gap: var(--space-sm);
  }

  .filter-btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.9rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }
}

html,body{
  overflow-x: hidden;
}