@import "styles/normalize.css";
@import "styles/about.css";
@import "styles/features.css";
@import "styles/legal.css";
@import "styles/main.css";

/* Base Styles */

@font-face {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  src: url("assets/fonts/Lato-Regular.ttf") format(ttf);
}

@font-face {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  src: url("assets/fonts/Lato-Bold.ttf") format(ttf);
}

@font-face {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  src: url("assets/fonts/WorkSans-Regular.ttf") format(ttf);
}

@font-face {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  src: url("assets/fonts/WorkSans-Bold.ttf") format(ttf);
}

* {
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  transition: all 0.3s ease;
}

html {
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  scroll-behavior: smooth;
}

@media (min-width: 2401px) {
  html {
    font-size: 13px;
  }
}

@media (min-width: 2201px) and (max-width: 2400px) {
  html {
    font-size: 12px;
  }
}

@media (min-width: 1901px) and (max-width: 2200px) {
  html {
    font-size: 12px;
  }
}

@media (min-width: 1500px) and (max-width: 1900px) {
  html {
    font-size: 12px;
  }
}

@media (max-width: 1500px) and (min-width: 1300px) {
  html {
    font-size: 12px;
  }
}

@media (max-width: 1299px) {
  html {
    font-size: 11px;
  }
}

*::-webkit-scrollbar,
html *::-webkit-scrollbar {
  height: 1rem;
  width: 1rem;
}

*::-webkit-scrollbar-track,
html *::-webkit-scrollbar-track {
  background: rgb(245, 241, 241);
}

*::-webkit-scrollbar-thumb,
html *::-webkit-scrollbar-thumb {
  background-color: rgb(69, 46, 36);
  border-radius: 1rem;
  border: 1px solid rgb(230, 230, 240);
}

body {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Lato";
  overflow-x: hidden;
}

.main {
  width: 100%;
  min-height: calc(100vh - 60px);
  position: relative;
  flex-grow: 2;
}

a,
button {
  text-decoration: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.img {
  width: 100%;
  max-width: 500px;
}
.img_icon {
  width: 100%;
  max-width: 150px;
  border-radius: 10px;
}
.img_max {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}
.img_icon:hover {
  transform: scale(1.1);
}
.flex_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.color_w {
  color: white;
}
.color_w:hover {
  color: rgb(250, 226, 158);
}
.dn {
  display: none;
}
.pb_2 {
  padding-bottom: 20px;
}
.max_w_100 {
  max-width: 100%;
}
.tc {
  text-align: center;
}
.w_100 {
  width: 100%;
}
.game_box {
  min-width: 100%;
  width: 100%;
  height: 500px;
  padding: 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

.game_game {
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 1rem;
}

/* Thank You Page */
.epicclawclash-thanks {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.epicclawclash-thanks__container {
  max-width: 600px;
  text-align: center;
  background: #fff;
  padding: 4rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.epicclawclash-thanks__icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 2rem;
  animation: scaleIn 0.5s ease-out 0.3s both;
}

.epicclawclash-thanks__title {
  font-size: 3rem;
  color: #2a2a72;
  margin-bottom: 1.5rem;
}

.epicclawclash-thanks__message {
  font-size: 1.6rem;
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.epicclawclash-thanks__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .epicclawclash-thanks__container {
    padding: 3rem 1.5rem;
  }

  .epicclawclash-thanks__icon {
    font-size: 3rem;
  }

  .epicclawclash-thanks__title {
    font-size: 2.4rem;
  }

  .epicclawclash-thanks__message {
    font-size: 1.4rem;
  }

  .epicclawclash-thanks__actions {
    flex-direction: column;
  }
}

/* Mobile Menu Styles */
.epicclawclash-header {
  position: relative;
  z-index: 1000;
  background: #fff;
}

.epicclawclash-header__container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.epicclawclash-header__logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2a2a72;
  text-decoration: none;
  z-index: 1001;
}

.epicclawclash-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1001;
}

.epicclawclash-nav__toggle i {
  font-size: 1.8rem;
  color: #2a2a72;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .epicclawclash-nav__toggle {
    display: block;
  }

  .epicclawclash-nav__list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem;
    z-index: 1000;
  }

  .epicclawclash-nav__list--active {
    transform: translateX(0);
  }

  .epicclawclash-nav__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .epicclawclash-nav__list--active .epicclawclash-nav__item {
    opacity: 1;
    transform: translateY(0);
  }

  .epicclawclash-nav__list--active .epicclawclash-nav__item:nth-child(1) {
    transition-delay: 0.1s;
  }
  .epicclawclash-nav__list--active .epicclawclash-nav__item:nth-child(2) {
    transition-delay: 0.2s;
  }
  .epicclawclash-nav__list--active .epicclawclash-nav__item:nth-child(3) {
    transition-delay: 0.3s;
  }
  .epicclawclash-nav__list--active .epicclawclash-nav__item:nth-child(4) {
    transition-delay: 0.4s;
  }

  .epicclawclash-nav__link {
    font-size: 1.8rem;
    color: #2a2a72;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .epicclawclash-nav__link:hover {
    color: #009ffd;
  }

  /* Burger to Cross Animation */
  .epicclawclash-nav__toggle--active i {
    transform: rotate(45deg);
  }

  .epicclawclash-nav__toggle--active i::before {
    content: "\f00d"; /* FontAwesome cross icon */
  }
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Achievement Progress Bars */
.epicclawclash-achievements__bar {
  height: 100%;
  background: linear-gradient(90deg, #009ffd 0%, #2a2a72 100%);
  border-radius: 4px;
  transition: width 0.8s ease-in-out;
}

.epicclawclash-achievements__bar--75 {
  width: 75%;
}

.epicclawclash-achievements__bar--40 {
  width: 40%;
}

.epicclawclash-achievements__bar--100 {
  width: 100%;
}

.epicclawclash-mechanics__skill-progress {
  height: 100%;
  background: var(--primary-color);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.epicclawclash-mechanics__skill-progress--85 {
  width: 85%;
}

.epicclawclash-mechanics__skill-progress--95 {
  width: 95%;
}

.epicclawclash-mechanics__skill-progress--65 {
  width: 65%;
}
