@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap');

:root {
  --color-white: #ffffff;
  --color-text: #1c1c1c;
  --gradient-purple: linear-gradient(90deg, rgb(12, 7, 106) 0%, rgb(90, 0, 217) 100%);
  --gradient-purple-light: linear-gradient(90deg, rgb(27, 19, 185) 0%, rgb(134, 48, 255) 100%);
  --page-width: 1368px;
  --content-width: 1200px;
  --content-padding: 84px;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: normal;
  color: var(--color-text);
  background: var(--color-white);
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0;
  width: 100%;
}

.gradient-text {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: normal;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 61px;
  padding: 22px 60px;
  border: 2px solid var(--color-white);
  border-radius: 60px;
  background: var(--gradient-purple);
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-purple-light);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(90, 0, 217, 0.35);
}

.btn:hover::after {
  opacity: 1;
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.page-wrap {
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 84px;
  width: 100%;
}

.header {
  position: sticky;
  top: 10px;
  z-index: 100;
  margin: 10px auto 0;
  height: 60px;
  border-radius: 60px;
  background: var(--gradient-purple);
  overflow: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 30px;
}

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

.logo-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--color-white);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-white);
  white-space: nowrap;
}

.nav a {
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.footer {
  margin: 0 auto 10px;
  border-radius: 24px;
  background: var(--gradient-purple);
  overflow: hidden;
  padding: 15px 30px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-white);
  white-space: nowrap;
}

.footer-nav a {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.socials a {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.socials a:hover {
  transform: translateY(-3px) rotate(-6deg);
  opacity: 0.9;
}

.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.04);
}

.logo:hover .logo-icon {
  animation: logo-spin 0.6s ease;
}

@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 7, 50, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
}

.cookie-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--color-white);
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--color-white), var(--color-white)),
    var(--gradient-purple);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 24px;
  padding: 30px 40px 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s ease;
  animation: cookie-pop 0.45s ease 0.05s both;
}

.cookie-banner.is-visible .cookie-card {
  transform: translateY(0) scale(1);
}

@keyframes cookie-pop {
  from { opacity: 0; transform: translateY(30px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cookie-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-wiggle 4s ease-in-out infinite;
}

.cookie-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

@keyframes cookie-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(8deg); }
}

.cookie-title {
  font-size: 28px;
  margin: 0;
  letter-spacing: 0.5px;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0;
}

.cookie-btn {
  width: 100%;
  height: 64px;
  padding: 22px 30px;
}

@media (max-width: 600px) {
  .cookie-card {
    padding: 24px 22px 28px;
    border-radius: 20px;
  }
  .cookie-title {
    font-size: 22px;
  }
  .cookie-btn {
    height: 58px;
    padding: 18px 22px;
  }
}

.socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.socials a {
  width: 50px;
  height: 50px;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}

.socials a img {
  width: 100%;
  height: 100%;
}

.copyright {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-white);
}

@media (max-width: 1023px) {
  .page-wrap {
    padding: 0 15px;
  }

  .header {
    max-width: 330px;
    height: auto;
    min-height: 92px;
    border-radius: 60px;
    padding: 15px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  .logo-text {
    font-size: 20px;
  }

  .footer {
    max-width: 330px;
    border-radius: 24px;
    padding: 15px 20px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .btn {
    padding: 22px 40px;
  }
}
