/* CSS Custom Properties (Variables) */
:root {
  /* Gray scale colors */
  --gray-1: #0e0e0e;
  --gray-2: #161616;
  --gray-3: #202020;
  --gray-4: #2a2a2a;
  --gray-5: #323232;
  --gray-6: #3c3c3c;
  --gray-7: #484848;
  --gray-8: #5a5a5a;
  --gray-9: #6e6e6e;
  --gray-10: #7a7a7a;
  --gray-11: #b4b4b4;
  --gray-12: #eeeeee;

  /* Gray alpha colors (transparent) */
  --gray-a3: rgba(221, 234, 248, 0.08);
  --gray-a5: rgba(217, 237, 254, 0.15);

  /* Orange colors */
  --orange-7: #754b25;
  --orange-9: #f28d20;
  --orange-10: #e68202;
  --orange-11: #fca85e;
  --orange-12: #ffe3c7;

  /* Orange alpha colors */
  --orange-a3: rgba(250, 122, 10, 0.13);

  /* Blue colors */
  --blue-9: #2397b8;

  /* Accent aliases */
  --accent-9: var(--orange-9);
  --accent-10: var(--orange-10);
  --accent-11: var(--orange-11);

  /* Space variables for consistent spacing */
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-9: 2.25rem;

  /* Shadow */
  --shadow-2: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  /* Firefox scrollbar styles */
  scrollbar-width: thin;
  scrollbar-color: var(--orange-9) var(--gray-a3);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI (Custom)", Roboto,
    "Helvetica Neue", "Open Sans (Custom)", system-ui, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  background-color: var(--gray-1);
  color: var(--gray-12);
  background-image: url("assets/gamephoria_bg.svg");
  background-repeat: repeat;
  background-size: 100 100;
  background-attachment: fixed;
}

/* Webkit scrollbar styles for Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  background-color: var(--gray-a3);
  border-radius: 3px;
}

::-webkit-scrollbar-track {
  background-color: var(--orange-a3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--orange-9);
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--orange-10);
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--orange-11);
}

::-webkit-scrollbar-corner {
  background-color: var(--gray-a3);
}

/* Smaller scrollbars on mobile */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 3px;
    height: 3px;
  }
}

/* Layout components */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  max-width: 1200px;
}

.header {
  text-align: center;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
}

.logo-section {
  margin-bottom: 3rem;
}

.logo {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.content-section {
  max-width: 800px;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;

  /* Styled header design */
  display: inline-block;
  padding: 2rem 4rem;
  background-image: linear-gradient(
    120deg,
    var(--accent-9) 0%,
    var(--blue-9) 100%
  );
  background-repeat: no-repeat;
  -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.25s cubic-bezier(0.4, 0.2, 0.2, 1);
  -webkit-clip-path: polygon(
    10% 10%,
    90% 5%,
    100% 30%,
    95% 90%,
    50% 100%,
    5% 90%,
    0% 30%,
    10% 10%
  );
  clip-path: polygon(
    10% 10%,
    90% 5%,
    100% 30%,
    95% 90%,
    50% 100%,
    5% 90%,
    0% 30%,
    10% 10%
  );
  text-shadow: 2px 3px 0px var(--gray-a5);
  color: #fff;
  margin-bottom: var(--space-4);
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 1rem 0;
  display: block;
}

.description {
  margin-bottom: 3rem;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--gray-12);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  margin-bottom: 6rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 5rem 1.5rem 2rem 1.5rem;
  box-shadow: var(--shadow-2);
  border: 2px solid var(--orange-9);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-12);
  transition: all 0.2s ease;
  position: relative;
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.feature-item:hover {
  border-color: var(--orange-9);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 7rem;
  filter: grayscale(1);

  position: absolute;
  top: -5rem;
}

.footer {
  margin-top: auto;
  padding-top: 2rem;
}

.coming-soon {
  margin-bottom: 2rem;
  padding: 3rem;
  box-shadow: var(--shadow-2);
  border: 2px solid var(--orange-9);
  border-radius: 8px;
  background-image: linear-gradient(
    120deg,
    var(--accent-9) 0%,
    var(--blue-9) 100%
  );
}

.coming-soon-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.coming-soon-text-section {
  flex: 1;
  min-width: 400px;
}

.coming-soon-image {
  flex: 0 0 auto;
  max-width: 450px;
}

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

.coming-soon-text {
  font-size: 1rem;
  color: var(--gray-12);
  margin: 0 0 1.5rem 0;
}

.timeline {
  font-size: 1.1rem;
  color: var(--gray-12);
  margin: 0;
}

.palim-palim {
  font-weight: 900;
  font-size: 2rem;
  margin: 0;
  text-align: center;
}

.horizontal-mirror {
  display: inline-block;
  transform: scaleX(-1);
}

.timeline strong {
  font-weight: 900;
  color: var(--orange-9);
  font-size: 2rem;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--orange-12);
}

/* Social Media Section */
.social-media-section {
  margin-top: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.social-media-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--gray-3);
  border: 1px solid var(--gray-6);
  border-radius: 0.5rem;
  color: var(--gray-12);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 2.5rem;
}

.social-button:hover {
  background-color: var(--gray-4);
  border-color: var(--orange-9);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-button:focus {
  outline: 2px solid var(--orange-9);
  outline-offset: 2px;
}

.social-button:active {
  transform: scale(0.98);
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.social-text {
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-9);
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-12);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .main-content {
    padding: 1rem 0;
  }

  .logo {
    max-width: 250px;
  }

  .main-title {
    font-size: 2.5rem;
    padding: 2rem 5rem 1rem 5rem;
  }

  .subtitle {
    font-size: 1.25rem;
  }

  .lead-text {
    font-size: 1.1rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .feature-item {
    padding: 2rem 1.5rem;
    font-size: 1rem;
  }

  .feature-icon {
    font-size: 5rem;
    top: -4.8rem;
  }

  .coming-soon-content {
    flex-direction: column;
  }

  .coming-soon-image {
    max-width: 100%;
    order: 2;
  }

  .coming-soon-text-section {
    order: 1;
  }

  .social-media-links {
    gap: 0.75rem;
  }

  .social-button {
    padding: 0.625rem 0.875rem;
    font-size: 0.8rem;
  }

  .social-icon {
    width: 1.125rem;
    height: 1.125rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2rem;
    padding: 2rem 2rem 1rem 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .logo {
    max-width: 200px;
  }

  .feature-item {
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .feature-icon {
    font-size: 3rem;
  }

  .coming-soon {
    padding: 1.5rem;
  }

  .coming-soon-content {
    gap: 1.5rem;
  }

  .coming-soon {
    padding: 1.5rem;
  }

  .social-media-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .social-button {
    width: 100%;
    max-width: 200px;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
}
