:root {
  --bg-dark: #0a0d14;
  --text-light: #e6eaf0;
  --text-grey: #a6adbb;
  --text-footer: #E6EAF0;
  --card-bg: rgba(36, 36, 37, 0.6);
  --border-color: rgba(61, 61, 61, 0.6);

  /* Font sizes */
  --fs-64: 64px;
  --fs-40: 40px;
  --fs-24: 24px;
  --fs-20: 20px;
  --fs-19: 19px;
  --fs-18: 18px;
  --fs-16: 16px;
  --fs-14: 14px;
  --fs-12: 12px;

  /* Spacing */
  --section-padding-desktop: 80px 100px;
  --section-padding-tablet: 40px 20px;
  --section-padding-mobile: 20px;

  /* Gaps */
  --gap-xl: 48px;
  --gap-lg: 24px;
  --gap-md: 16px;
  --gap-sm: 12px;
  --gap-xs: 8px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: "Plus Jakarta Sans", sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1, h2, h3, h4, h5, p {
  margin: 0;
}

.text-light { color: var(--text-light); }
.text-grey { color: var(--text-grey); }

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  transition:.5s;
  background: linear-gradient(95deg, #EEBE20 0%, #FFD54D 50%, #EEBE20 100%);
  color: rgba(27, 32, 40, 0.85);
  box-shadow: 0px 0px 20px 0px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  transition: .5s;
  background-color: rgba(36, 36, 37, 0.6);
  color: var(--text-light);
  box-shadow: 0px 0px 20px 0px rgba(255, 255, 255, 0.1);
  
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  
  position: relative;
  border: none;
  cursor: pointer;
  border-radius: 24px;
  padding: 12px 24px;
  overflow: hidden; 
}

.btn-secondary::before,
.btn-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; 
  pointer-events: none;
  
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  /* Increased blur for Frost effect */
  filter: blur(9.5px); 
}

/* TOP AND LEFT PART (Mirrored) */
.btn-secondary::before {
  background: 
    linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.3) 45%, transparent 50%) top,
    linear-gradient(to bottom, #fff 0%, transparent 100%) left;
  background-size: 100% 7px, 9px 100%;
  background-repeat: no-repeat;
}

/* BOTTOM AND RIGHT PART (Mirrored) */
.btn-secondary::after {
  background: 
    linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0.3) 45%, transparent 50%) bottom,
    linear-gradient(to top, #fff 0%, transparent 100%) right;
  background-size: 100% 7px, 9px 100%;
  background-repeat: no-repeat;
}

.btn-secondary:hover {
  background-color: rgba(36, 36, 37, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(95.34deg, rgba(255, 207, 49, 0.6) 1.51%, rgba(255, 213, 78, 0.6) 50.67%, rgba(255, 207, 49, 0.6) 100%);
}

.hidden {
  display:none!important;
}

.show {
  display:flex!important;
}

.hidden__opacity {
  opacity:0;
}

.show__opacity {
  opacity:1;
}

/* Slide Animation Utilities */
.slide-in-from-left {
  animation: slideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-out-to-left {
  animation: slideOutLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 16px;
}

.card-link { 
  cursor: pointer;
}

/* Utility for absolute positioning within relative containers */
.abs-pos {
  position: absolute;
}

.rel-pos {
  position: relative;
}

span {
  font-weight: 200;
}

/* =========================================================================
   GLOBAL UTILITIES & REUSABLE COMPONENTS
   ========================================================================= */

/* Frost Effect Utilities */
.frost-effect-lg::before,
.frost-effect-lg::after,
.frost-effect-sm::before,
.frost-effect-sm::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Large Frost Effect (62.5px blur - for cards) */
.frost-effect-lg::before,
.frost-effect-lg::after {
  filter: blur(62.5px);
}

.frost-effect-lg::before {
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.3) 45%, transparent 50%) top,
    linear-gradient(to bottom, #fff 0%, transparent 100%) left;
  background-size: 100% 46px, 8px 0%;
  background-repeat: no-repeat;
}

.frost-effect-lg::after {
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0.3) 45%, transparent 50%) bottom,
    linear-gradient(to top, #fff 0%, transparent 100%) right;
  background-size: 0% 8px, 46px 100%;
  background-repeat: no-repeat;
}

/* Small Frost Effect (3.5px blur - for buttons/icons) */
.frost-effect-sm::before,
.frost-effect-sm::after {
  filter: blur(3.5px);
}

.frost-effect-sm::before {
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.3) 45%, transparent 50%) top,
    linear-gradient(to bottom, #fff 0%, transparent 100%) left;
  background-size: 100% 8px, 8px 45%;
  background-repeat: no-repeat;
}

.frost-effect-sm::after {
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0.3) 45%, transparent 50%) bottom,
    linear-gradient(to top, #fff 0%, transparent 100%) right;
  background-size: 100% 8px, 8px 100%;
  background-repeat: no-repeat;
}

/* Section Header Component */
.section-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
  color: var(--text-light);
}

.section-header p {
  max-width: 800px;
  text-align: center;
  font-size: 20px;
  color: var(--text-grey);
  line-height: 1.5;
}

/* Typography Utilities */
.heading-xl {
  font-size: 64px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-light);
}

.heading-lg {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-light);
}

.heading-md {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
}

.heading-light {
  font-weight: 200;
}

.text-center {
  text-align: center;
}

.text-lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-grey);
  font-weight: 300;
}

.text-subtitle {
  font-size: 18px;
  color: var(--text-grey);
  line-height: 1.5;
}

.text-body {
  font-size: 19px;
  color: var(--text-grey);
  line-height: 1.5;
}

/* Layout Utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.grid-auto {
  display: grid;
  gap: 24px;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Spacing Utilities */
.gap-sm {
  gap: 8px;
}

.gap-md {
  gap: 16px;
}

.gap-lg {
  gap: 24px;
}

.gap-xl {
  gap: 32px;
}

/* Transition Utility */
.transition-smooth {
  transition: 0.5s;
}

/* Mobile */

@media (max-width:768px){
  .btn-secondary {
    font-size:14px;
    padding:12px 30px;
  }

  .btn-primary {
    font-size:14px;
    padding:12px 30px;
  }
}