@font-face {
    font-family: 'Retroica';
    src: url('Retroica.woff2') format('woff2'),
        url('Retroica.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geogrotesque Sharp';
    src: url('Geogrotesque_Sharp_VF_TRIAL.woff2') format('woff2'),
         url('Geogrotesque_Sharp_VF_TRIAL.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Retroica', sans-serif;
  font-size: 1.5em;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #e4f4f1;
}

.canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

.snowflake {
  position: fixed;
  top: -10px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.5;
  color: #FFF;
  z-index: -1;
}

.hidden {
  display: block;
  opacity: 0.0;
  pointer-events: none;
}

.hidethis {
  opacity: 0.0;
  pointer-events: none;
}

@keyframes snowflakes {
    0% {
        top: -20px;
        opacity: 1;
    }
    50% {
        top: 100%;
        opacity: 0.5;
    }
    100% {
        top: -20px;
        opacity: 1;
    }
}

main {
  flex-grow: 1;
}

.sticky-header { 
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 75rem;
  background: linear-gradient(to right, #699ed2, #5989b9, #466e95);
  height: 125px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  font-size: 24px;
  --borderWidth: 0px 0px 250px 250px;
  border-radius: var(--borderWidth);
  transition: height 0.3s ease;
}

.header-border { 
  content: ''; 
  position: fixed; 
  top: -5px; 
  left: 50%; 
  transform: translateX(-50%); 
  width: calc(100% + 10px); 
  max-width: calc(75rem + 10px); 
  height: calc(125px + 10px); 
  background: linear-gradient(60deg, #103355, #193a5b, #2c4761, #325577, #1b4b7a, #113960, #0c2741, #213b54);
  border-radius: 0px 0px 250px 250px;
  z-index: -1; 
  animation: animatedgradient 5s ease alternate infinite;
  background-size: 300% 300%;
  transition: height 0.3s ease; 
  opacity: 1;
}

@keyframes animatedgradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.sticky-header.shrink {
  height: 30px;
  padding: 0.25rem 1.25rem;
  font-size: 18px;
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.2);
  opacity: 1;
  justify-content: center;
}

.sticky-header.shrink .logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: none;
}

.nav-left.shrink, .nav-right.shrink {
  justify-content: center;
  flex: 0;
  transition: justify-content 0.3s ease, flex 0.3s ease;
}

.sticky-header.shrink nav {
  justify-content: center;
}

.header-border.shrink {
  height: 40px;
  opacity: 1;
}

.sticky-header .home, 
.sticky-header .csgold, 
.sticky-header .offers, 
.sticky-header .socials {
  transition: font-size 0.3s ease, visibility 0.3s ease;
}

.sticky-header.shrink .home, 
.sticky-header.shrink .csgold, 
.sticky-header.shrink .offers, 
.sticky-header.shrink .socials {
  font-size: 18px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 75rem;
  position: relative;
}

.nav-left, 
.nav-right {
  display: flex;
  align-items: center;
  flex: 1;
  transition: justify-content 0.3s ease;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.logo {
  flex: none;
  text-align: center;
}

.logo img {
  height: auto;
  width: 6.25rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 0 0.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  padding: 0.625rem 0.9375rem;
  display: block;
  font-size: 1.2vw;
}

nav ul li a:hover {
  background-color: #4774a0;
}

.hidden {
  opacity: 0.0;
  pointer-events: none;
}

.dropdown {
  position: relative;
  z-index: 5000;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #2b292f, #3e3b45, #4e4a56);
  border: 0.25rem solid transparent;
  border-image: linear-gradient(135deg, rgba(214, 96, 213, 1), rgba(110, 112, 206, 1), rgba(35, 62, 116, 1));
  border-image-slice: 1;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  border-radius: 0.9375rem;
  min-width: 10rem;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.2s ease-in-out;
}

.dropdown:hover .dropdown-content {
  display: block;
  visibility: visible;
  opacity: 1;
}

.dropdown:hover .dropbtn {
  background-color: #8f5d49;
}

.dropdown-content a img {
  width: 152px;
  height: 39px;
  object-fit: cover;
}

.dropdown-content a {
  color: #000000;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  text-align: center;
}

.dropdown-content a:hover {
  background-color: #232127;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #8f5d49;
}

ul li a i {
  font-size: 1rem;
}

.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
    background-color: #333;
    border-radius: 5px;
	color: black;
}


::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

::-webkit-scrollbar-corner {
  background: rgba(255, 255, 255, 0.1);
}

:root {
  font-size: 16px;
}

ul li a i {
	font-size: 2rem; 
}

footer {
  background: linear-gradient(to right, #699ed2, #5989b9, #466e95);
  color: #fff;
  padding: 20px 0;
  width: 100%;
  position: relative;
  z-index: 1;
  border-top: 0.250rem solid;
  border-image: linear-gradient(to right, #103355, #193a5b, #2c4761, #325577, #1b4b7a) 1;
  text-shadow: 0 0 2px black, 0 0 5px black;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1 1 48%;
  text-align: center;
  border-radius: 8px;
  transition: background-color 0.3s;
  position: relative;
  box-sizing: border-box;
}

.footer-container .socials,
.footer-container .offers {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-container .socials {
  margin-right: 2%;
  padding-bottom: 20px;
}

.footer-container .disclaimer {
  width: 100%;
  text-align: center;
  clear: both;
}

.footer-section .disclaimer a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.footer-section .disclaimer a:hover {
  color: #be80cb;
  text-decoration: underline;
}

.footer-section .made-by-steph {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

.footer-section .made-by-steph .steph {
    font-weight: bold;
}

.footer-section .made-by-steph:hover {
	transform: scale(1.10);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.footer-section ul li {
  margin: 0 10px;
}

.footer-section ul li a {
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-section ul li img {
  width: 200px;
  height: auto;
}

.footer-section h4 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: white;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section p {
  margin: 10px 0;
  text-shadow: 0 0 4px black, 0 0 10px black;
  font-size: 14px;
}

.footer-section.offers img {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  height: 70px;
  width: 270px;
  padding: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-section.offers img:hover {
  transform: scale(1.1);
}

.offers-container {
  font-family: 'Geogrotesque', sans-serif;
  padding-top: 10rem;
  padding-left: 3rem;
  padding-right: 3rem;
  display: flex;
  flex-wrap: wrap; /* Allow wrapping to the next line */
  justify-content: center; /* Center the boxes */
  padding-bottom: 2rem;
  gap: 20px; /* Space between the boxes */
}

.offer-box {
  background-color: #333; /* Background color for each box */
  border-radius: 8px; /* Rounded corners */
  text-align: center; /* Center text inside boxes */
  padding: 15px; /* Padding inside each box */
  width: 20%; /* Set width to 20% */
  height: auto; /* Remove fixed height, let content dictate height */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
  display: flex; /* Use flexbox to manage layout */
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center content horizontally */
  justify-content: center; /* Center content vertically */
}

.offer-box:hover .offer-image,
.offer-box:hover .styled-button {
    filter: drop-shadow(0 0 10px rgba(255,255,255, 0.8)) 
            drop-shadow(0 0 20px rgba(255,255,255, 0.6)) 
            drop-shadow(0 0 40px rgba(255,255,255, 0.4));
}

.offer-image {
  width: 100%; /* Make the image fill the box */
  object-fit: cover; /* Crop the image to fit */
  border-radius: 8px; /* Rounded corners for the image */
}

.offer-content {
  width: 100%; /* Ensure content takes full width */
  display: flex; /* Flexbox for vertical layout */
  flex-direction: column; /* Stack text and button vertically */
  align-items: center; /* Center content horizontally */
  justify-content: center; /* Center content vertically */
  text-align: center; /* Center text */
  padding-top: 10px; /* Add some spacing between image and content */
}

.offer-content p {
  font-size: 1rem; /* Increase font size */
  color: #fff; /* Set text color to white */
  margin: 10px 0; /* Add some margin around text */
}

.offer-benefits {
  list-style: none; /* Remove default list styles */
  padding: 0; /* Remove padding */
  margin: 0.5rem 0; /* Add some margin */
}

.offer-benefits li {
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Center items vertically */
  color: #fff; /* Set text color to white */
}

.checkmark {
  margin-right: 0.5rem; /* Spacing between checkmark and text */
  color: #4CAF50; /* Change checkmark color (green) */
}

.styled-button {
  font-family: 'Sunglory', sans-serif; /* Use custom font */
  font-size: 1.75rem; /* Font size */
  text-transform: uppercase; /* Uppercase letters */
  text-decoration: none; /* Remove underline */
  margin-top: 10px; /* Add margin between text and button */
  padding: 1.2rem 3rem; /* Adjust button padding */
  width: 300px; /* Set a fixed width for wider buttons */
  border-radius: 50px; /* Rounded edges */
  background: linear-gradient(135deg, rgba(28, 28, 28, 0.6), rgba(67, 67, 67, 0.4), rgba(82, 82, 82, 0.2));
  color: #fff; /* Button text color */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Add a more prominent shadow */
  transition: all 0.3s ease, transform 0.3s ease; /* Smooth transition effect */
  position: relative; /* Position for hover effects */
  overflow: hidden; /* Hide any overflow effects */
  text-align: center; /* Ensure text is centered */
  display: inline-block; /* Ensures the button dimensions are respected */
}

.styled-button:hover {
  background: linear-gradient(135deg, rgba(100, 100, 100, 0.6), rgba(112, 112, 112, 0.4), rgba(118, 118, 118, 0.2));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); /* Stronger shadow on hover */
  transform: translateY(-7px); /* Lift the button higher */
}

.styled-button:active {
  transform: translateY(0); /* Reset the button on click */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Reduced shadow on click */
}

.styled-button:hover {
  transform: translateY(-5px);
}

/* Glow effects for Rain */
.rain-box:hover .offer-image,
.rain-box:hover .styled-button {
    filter: drop-shadow(0 0 10px rgba(255,215,0, 0.8)) 
            drop-shadow(0 0 20px rgba(255,215,05, 0.6)) 
            drop-shadow(0 0 40px rgba(255,215,0, 0.4));
}

/* Glow effects for Cases */
.cases-box:hover .offer-image,
.cases-box:hover .styled-button {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) 
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
}

/* Glow effects for Metaspins */
.metaspins-box:hover .offer-image,
.metaspins-box:hover .styled-button {
    filter: drop-shadow(0 0 10px rgba(98, 134, 200, 0.8)) 
            drop-shadow(0 0 20px rgba(98, 134, 200, 0.6)) 
            drop-shadow(0 0 40px rgba(98, 134, 200, 0.4));
}

.mobile-header {
	display: none;
}

@media (max-width: 768px) {
  body {
    font-family: 'Geogrotesque', sans-serif;
    font-size: 1em;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: black;
  }

  /* Hide the existing sticky header */
  .sticky-header {
    display: none; /* Hides the sticky header */
  }
  
  .header-border {
    display: none;
  }

  /* Mobile header styles */
  .mobile-header {
	height: 5rem;
    display: flex; /* Use flexbox for alignment */
	top: 0; /* Stick it to the top of the viewport */
    justify-content: space-between; /* Space items */
    align-items: center; /* Center items */
    padding: 0.5rem 1rem; /* Padding for the header */
    background: linear-gradient(to right, #2b292f, #3e3b45, #4e4a56);
    border-bottom: 0.250rem solid;
    border-image: linear-gradient(to right, #4b2d51, #784b82, #be80cb, #784b82, #4b2d51) 1;
    width: 100%; /* Full width */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow for depth */
    position: relative; /* Positioning */
    z-index: 5; /* Ensure it stays on top */
  }

  .mobile-header .logo img {
    height: auto;
    width: 3rem; /* Adjust logo size */
    max-height: auto; /* Limit height for better aesthetics */
  }

  .mobile-header .menu-icon {
    cursor: pointer; /* Change cursor to pointer */
    font-size: 1.5rem; /* Adjust icon size */
    color: #fff; /* Icon color for visibility */
  }

  .nav-menu {
	top: 0; /* Stick it to the top of the viewport */
    position: relative; /* Positioning */
    display: none; /* Initially hide the menu */
    flex-direction: column; /* Stack items vertically */
    width: 100%; /* Full width */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    text-align: left; /* Align text to the left */
    background: linear-gradient(to right, #2b292f, #3e3b45, #4e4a56);
    border-radius: 5px; /* Rounded corners for the menu */
	z-index: 5000;
  }

  .nav-menu.active {
    display: flex; /* Show menu when active */
  }

  .nav-menu li {
    width: 100%; /* Full width for each item */
    margin: 0.5rem 0; /* Margin between items */
    position: relative; /* Needed for dropdown positioning */
    border-bottom: 0.125rem solid transparent;
	border-image: linear-gradient(135deg, rgba(214, 96, 213, 1), rgba(110, 112, 206, 1), rgba(35, 62, 116, 1));
	border-image-slice: 1;
  }

  .nav-menu a {
    display: block; /* Make link a block for full click area */
    padding: 1rem; /* Add padding for larger clickable area */
    background-color: rgba(255, 255, 255, 0.1); /* Light background for better visibility */
    border-radius: 5px; /* Rounded corners */
	color: #fff; /* Set text color to white */
    transition: background-color 0.3s, transform 0.2s; /* Smooth transition for hover effect */
  }

  .nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Slightly lighter on hover */
    transform: scale(1.02); /* Slight scale effect on hover for depth */
  }

.responsive-links {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    display: flex; /* Align items horizontally */
}

.responsive-links li {
    margin-right: 10px; /* Space between items */
}

.responsive-links li img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
}

  /* Add styles for dropdown */
  .dropdown-content {
    display: none; /* Hide dropdown by default */
    position: absolute; /* Position it absolutely */
    justify-content: center; /* Center the items vertically */
    align-items: center; /* Center the items horizontally */
    background-color: #222; /* Dark background for contrast */
    z-index: 1001; /* Ensure it is above other elements */
    width: 100%; /* Full width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow for depth */
  }

  .dropdown-content a {
    color: #ffffff !important; /* Make text white for clear visibility */
    padding: 1rem; /* Add padding for a clickable area */
    display: block; /* Make links full-width */
    text-align: left; /* Align text to the left */
    background-color: #333; /* Darker background for dropdown items */
    border-bottom: 1px solid #555; /* Light border between items */
  }

  .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Lighter background on hover */
    color: #fff !important; /* Ensure text stays white on hover */
  }

  .dropdown-content a:hover {
    background-color: rgba(200, 200, 200, 0.1);
  }

  .offers-container {
    display: flex;
    flex-direction: column; /* Stack boxes vertically */
    width: 100%; /* Full width */
    padding: 0 1rem; /* Add some horizontal padding */
    gap: 20px; /* Space between boxes */
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .offer-box {
    width: 100%; /* Full width on mobile */
    padding: 20px; /* Increase padding for more space */
    background-color: #333; /* Background color for each box */
    border-radius: 8px; /* Rounded corners */
    text-align: center; /* Center text inside boxes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
  }

  .offer-image {
    width: 100%; /* Make the image fill the box */
    object-fit: cover; /* Crop the image to fit */
    border-radius: 8px; /* Rounded corners for the image */
  }

  .offer-content {
    width: 100%; /* Ensure content takes full width */
    display: flex; /* Flexbox for vertical layout */
    flex-direction: column; /* Stack text and button vertically */
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    text-align: center; /* Center text */
    padding-top: 10px; /* Add some spacing between image and content */
  }

  .offer-content p {
    font-size: 1rem; /* Increase font size */
    color: #fff; /* Set text color to white */
    margin: 10px 0; /* Add some margin around text */
  }

  .styled-button {
    display: none; /* Adjust as needed */
  }

  .footer {
    width: 100%; /* Full width for footer */
    padding: 1rem; /* Add padding */
    background-color: #333; /* Background color for footer */
    color: #fff; /* Text color for footer */
    text-align: center; /* Center align text */
    position: relative; /* Position footer relative for stacking */
    box-sizing: border-box; /* Include padding in width calculation */
  }
  
    .responsive-links li.desktop {
        display: none; /* Hide images on mobile */
    }

    .responsive-links li.mobile {
        display: block; /* Show text links on mobile */
    }
}

@media (min-width: 769px) {
    .responsive-links li.mobile {
        display: none; /* Hide text links on desktop */
    }
}

