@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
  --body-background: hsl(271, 76%, 8%);
  --shadow: 0 3px 10px hsla(242, 49%, 64%, 0.2);
  --gradient: linear-gradient(to right, hsl(313, 52%, 35%), hsl(239, 63%, 33%));
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #fff;
  overflow-x: clip;
  background: var(--body-background);
  font: 400 16px "Roboto", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-bottom: 0;
}

ul {
  padding-left: 0;
  margin-bottom: 0;
  list-style-type: none;
}

img {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
}

section {
  overflow: hidden;
}

/* ##### navbar section ##### */
#nav {
  top: 32px;
  z-index: 99;
  position: sticky;
}

.navbar {
  display: flex;
  z-index: 1024;
  padding: 28px;
  flex-wrap: wrap;
  position: relative;
  border-radius: 12px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    to right,
    hsl(315.24deg 51.22% 48.24%),
    hsl(235.77deg 63.39% 43.92%)
  );
}

.logo {
  gap: 8px;
  display: flex;
  font-size: 22px;
  font-weight: 600;
  align-items: center;
}

.logo img {
  max-width: 34px;
}

.nav-links {
  gap: 18px;
  display: flex;
  font-size: 18px;
  align-items: center;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  width: 0%;
  right: 0px;
  left: auto;
  content: "";
  height: 1px;
  bottom: -6px;
  position: absolute;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.nav-links a:hover::after {
  left: 0px;
  right: auto;
  width: 100%;
}

.nav-toggler {
  font-size: 24px;
}

/* reponsive - navbar */
@media all and (max-width: 991.9px) {
  .nav-links {
    top: 0;
    left: -261px;
    width: 260px;
    height: 100vh;
    color: #fff;
    position: fixed;
    padding: 60px 40px;
    background: #050935;
    flex-direction: column;
    align-items: flex-start;
    transition: left 300ms ease;
  }

  .nav-links.show {
    left: 0;
  }
}

@media all and (max-width: 424.9px) {
  .navbar {
    padding-inline: 18px;
  }

  .logo {
    font-size: 20px;
  }

  .logo img {
    max-width: 32px;
  }

  .nav-links a {
    font-size: 16px;
  }

  .nav-toggler {
    font-size: 20px;
  }
}

/* ##### hero section ##### */
#hero {
  margin-top: -86px;
  background: var(--gradient);
}

#hero .row {
  z-index: 1;
  padding-top: 86px;
  min-height: 100vh;
  position: relative;
}

.hero-title {
  font-weight: 800;
  text-align: center;
  font-style: italic;
  margin-bottom: 22px;
  font-size: calc(42px + 1vw);
}

.hero-title .highlight {
  color: #ff88ac;
}

.coin-wrapper {
  gap: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 62px;
  padding-inline: 28px;
  justify-content: center;
}

.coin-wrapper img {
  max-width: 48px;
}

.login-wrap {
  max-width: 400px;
  text-align: center;
  margin-inline: auto;
}

.login-wrap input {
  width: 100%;
  color: #fff;
  padding: 18px 12px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 14px;
  background: #511f6d;
  border: 2px solid #fa2790;
  transition: box-shadow 200ms ease;
}

.login-wrap input::placeholder {
  color: #c0c4dc;
}

.login-wrap input:focus-visible {
  outline: 0;
  box-shadow: 0 0 8px #fa2790;
}

.btn-one {
  display: flex;
  font-weight: 600;
  font-size: 18px;
  border-radius: 8px;
  text-align: center;
  padding: 14px 12px;
  align-items: center;
  background: #fc3799;
  justify-content: center;
  text-transform: capitalize;
  border: 2px solid #fc3799;
  transition: background 200ms ease;
}

.btn-one:hover {
  background: hsla(330, 97%, 60%, 0.4);
}

/* floating object */
.float {
  top: 30%;
  z-index: -1;
  max-width: 100px;
  position: absolute;
}

.float.right {
  right: 0;
  transform: scaleX(-1);
}

/* responsive - hero */
@media all and (max-width: 767.9px) {
  .float {
    display: none;
  }
}

@media all and (max-width: 575.9px) {
  .hero-title {
    font-size: calc(26px + 1vw);
  }

  .coin-wrapper img {
    gap: 6px;
    max-width: 34px;
  }
}

/* ##### paid section ##### */
#paid {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.card-wrapper {
  gap: 60px;
  display: flex;
  flex-wrap: wrap;
  max-width: 1320px;
  align-items: center;
  justify-content: center;
}

.card-lg {
  border-radius: 12px;
  text-align: center;
  padding: 32px 58px;
  background: linear-gradient(
    to right bottom,
    hsla(320, 97%, 64%, 0.3),
    hwb(246 14% 6% / 0.3)
  );
  outline-offset: 10px;
  outline: 2px solid transparent;
  transition: outline-color 200ms ease;
}

.card-lg:hover {
  outline-color: #ff88ac;
}

.card-lg img {
  max-width: 220px;
  min-height: 300px;
}

.card-lg .title {
  z-index: 1;
  width: max-content;
  position: relative;
  margin-inline: auto;
  text-transform: uppercase;
}

.card-lg .title::before {
  content: "";
  width: 105%;
  height: 0;
  z-index: -1;
  bottom: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: height 200ms ease;
  background: hsla(342, 100%, 77%, 0.65);
}

.card-lg:hover .title::before {
  height: 10px;
}

/* responsive - paid */
@media all and (max-width: 991.9px) {
  .card-wrapper {
    gap: 20px;
  }
}

@media all and (max-width: 767.9px) {
  .card-wrapper {
    gap: 40px;
  }

  .card-lg img {
    max-width: 180px;
    min-height: 260px;
  }
}

@media all and (max-width: 424.9px) {
  .card-lg img {
    max-width: 140px;
    min-height: 220px;
  }
}

/* ##### feature section ##### */
#feature {
  padding: 80px 0;
  background: var(--gradient);
}

.feature-img {
  max-width: 65%;
}

.feature-list {
  gap: 18px;
  display: flex;
  flex-direction: column;
}

.feature-list li {
  border-radius: 8px;
  padding: 20px 32px;
  font-size: calc(16px + 0.4vw);
  background: linear-gradient(
    to right,
    hsla(320, 97%, 64%, 0.5),
    hsla(246, 87%, 54%, 0.5)
  );
}

/* ##### paid section ##### */
#faq {
  padding: 80px 0;
}

.accordion-item {
  border: 0;
  color: #fff;
  margin-bottom: 18px;
  background: linear-gradient(
    to right,
    hsla(320, 97%, 64%, 0.3),
    hsla(246, 87%, 54%, 0.3)
  );
  box-shadow: 0 0px 5px hsla(0, 0%, 0%, 0.15);
}

.accordion-button {
  padding: 28px;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(
    to right,
    hsla(320, 97%, 64%, 0.3),
    hsla(246, 87%, 54%, 0.3)
  );
}

.accordion-item,
.accordion-item:first-of-type,
.accordion-item:last-of-type,
.accordion-item:first-of-type .accordion-button,
.accordion-item:last-of-type .accordion-button.collapsed,
.accordion-item:first-of-type > .accordion-header .accordion-button,
.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
  border-radius: 12px;
}

.accordion-button:not(.collapsed) {
  color: inherit;
  box-shadow: none;
  background: linear-gradient(
    to right,
    hsla(320, 97%, 64%, 0.3),
    hsla(246, 87%, 54%, 0.3)
  );
}

/* ##### payment section ##### */
#payment {
  padding: 80px 0;
  background: linear-gradient(
    to right,
    hsla(320, 97%, 64%, 0.1),
    hsla(246, 87%, 54%, 0.1)
  );
}

.data-table {
  width: 100%;
}

.data-table thead {
  color: #fff;
  background: var(--color-primary);
  border-bottom: 20px solid var(--white);
}

.darkmode .data-table thead {
  background: #0f1836;
  border-bottom: 20px solid var(--color-primary);
}

.data-table th {
  padding: 20px 0;
  background: #fa2790;
}

.data-table td {
  padding: 20px 0;
  font-weight: 500;
}

.darkmode .data-table td {
  background: #0f1836;
}

.data-table th:first-child,
.data-table td:first-child {
  padding-left: 20px;
}

.data-table td:last-child {
  padding-right: 20px;
}

.data-table tr:not(:last-child) {
  border-bottom: 2px solid hsla(229, 50%, 76%, 0.5);
}

@media all and (max-width: 767.9px) {
  .data-table td {
    min-width: 180px;
  }
}

/* ##### footer section ##### */
#footer {
  padding: 40px 0;
  background: linear-gradient(
    to right,
    hsla(320, 97%, 64%, 0.4),
    hwb(246 14% 6% / 0.4)
  );
}

#footer .logo {
  font-size: 18px;
}
