@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
/* Base Styles */
:root {
    --font-bebas: 'Bebas Neue', sans-serif;
    --primary-color: #F6FF00;
    --secondary-color: #FEDC45;
    --accent-color: #FF7525;
    --cyan-color: #00FBFF;
    --text-dark: #000;
    --text-light: #fff;
    --text-yellow: #FFF593;
    --border-color: #000;
    --card-bg: #D1852A;
    --dark-bg: #000;
    --light-bg: #fff;
    --gray-bg: #E7E7E7;
    --card-bg: #c115ffb4;
}

body {
/*    display: flex;*/
    justify-content: center;
    align-items: center;
/*    min-height: 100vh;*/
/*    background-color: #f0f2f5;  A light background for the page */
}

.dcontainer {
    position: relative;
    z-index: 15;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 2rem 1rem; /* Responsive padding */
    width: 100%;
    max-width: 480px; /* Max width for the card */
    align-items: flex-start;
}

.card {
    background-color: var(--card-bg);
    border: 3px solid rgb(0, 0, 0);
    border-radius: 1rem; /* 16px */
    width: 480px;
/*    padding-right: 5px;
    padding-bottom: 5px;*/
    flex-shrink: 0;
    
   background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.card-header {
    border: 3px solid var(--border-color);
    border-left: 0;
    border-top: 0;
	border-right: none;
	border-bottom: none;
    border-radius: 0.4375rem; /* 7px */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 18px; /* Adjusted from leading-[111px] */
}

.announcement-text {
    color: var(--text-light);
    font-family: var(--font-bebas); /* Changed to Bebas Neue */
    font-size: 1rem; /* Default font size */
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.exchange-logos {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
    margin-top: 0.5rem;
}

.exchange-logo {
    width: 5rem; /* 80px */
    height: auto;
    filter: brightness(1); /* Equivalent to brightness-0 */
}

.exchange-logo.large {
    width: 11.875rem; /* 190px */
}

.divider {
    width: 90%;
    height: 1px;
    background-color: rgb(255 255 255 / 18%);
    margin: 0.3vw auto; /* Responsive margin */
}

.countdown {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
    padding-top: 10px;
}

.countdown-item {
    flex: 1;
}

.countdown-value {
    font-weight: bold;
    font-size: 2.6rem;
    line-height: 1.5; /* 36px */
    color: var(--text-light);
}

.countdown-label {
    color: var(--text-light);
    font-size: 1.2vw; /* Responsive font size */
    line-height: 1.5vw; /* Responsive line height */
}

.countdown-divider {
    width: 1px;
    height: 3.4375rem; /* 55px */
    background-color: rgb(255 255 255 / 18%);
}

.raised-section {
    height: 5.28vw; /* Responsive height */
    /* background-color: var(--dark-bg); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    padding: 0.5rem 0;

  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.raised-label {
    color: #00ff73;
    font-family: var(--font-bebas);
    font-size: 1.26vw; /* Responsive font size */
    margin-top: -9px;
    padding: 15px 0px;
}

.raised-values {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
    margin-top: -0.625rem; /* -10px */
}

.current-raised,
.total-raised {
    font-family: Impact, 'Anton', Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 2.02vw; /* Responsive font size */
    color: #00ff73;
    font-weight: normal;
    background: linear-gradient(90deg, #00ff73 40%, #feffdf 50%, #00ff73 60%);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientBlink 4s infinite;
    padding: 12px 0;
}

.separator {
    color: var(--text-yellow);
    font-family: var(--font-bebas); /* Changed to Bebas Neue */
    font-size: 2.25vw; /* Responsive font size */
}

.token-availability {
    /* background-color: var(--card-bg); */
    color: var(--text-dark);
    padding: 0.25rem 1rem 0.25rem 1rem; /* py-1 px-4 pb-1 */
    display: flex;
    flex-direction: column;
    align-items: center;

    background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(10px);
  /* border-radius: 20px; */
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: none;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.token-message {
    font-weight: normal; /* Bebas Neue */
    font-size: 1vw; /* Responsive font size */
    margin-bottom: 0.25rem;
    color: var(--text-light);
    letter-spacing: 1.2px;
}

.progress-bar-container {
    display: flex;
    justify-content: flex-start;
    height: 1.56vw; /* Responsive height */
    background-color: #1A1A1A;
    width: 100%;
    padding: 0.29vw; /* Responsive padding */
    border-radius: 9999px; /* full */
    overflow: hidden;
}

.progress-bar {
    position: relative;
    height: 100%;
    border-radius: 9999px; /* full */
    background-color: #00ff73;
    overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  height: 24px;
  border-radius: 16px;
  top: 0;
  left: 0;
  overflow: hidden;
  background-image: linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.2) 75%,
    transparent 75%,
    transparent
  );
  width: 100%;
  background-size: 30px 30px;
  animation: 1.2s linear 0.5s infinite normal none running load;
}
@keyframes load {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 60px 0;
  }
}

.price-info-section {
    /* background-color: var(--card-bg); */
    color: var(--text-light);
    padding: 0.7vw 1rem 3.5vw 1rem; /* px-4 pb-[3.47vw] */
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(10px);
  /* border-radius: 20px; */
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: none;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.price-item {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2vw; /* Responsive font size */
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem; /* 4px */
}

.price-value.next-price {
    color: #00ff73;
    display: block;
    margin-left: 2px;
}

.input-section {
    /* background-color: var(--dark-bg); */
    padding: 1px 1rem 1.8rem 1rem; /* pt-1 px-4 pb-5 */
    display: flex;
    flex-direction: column;
    /* Removed negative margin-top from here */
    gap: 0.46vw; /* Responsive gap */
    position: relative;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-group {
    background-color: var(--light-bg);
    padding: 0.8125rem 1.25rem; /* py-[13px] px-5 */
    border-radius: 0.375rem; /* md */
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.25rem; /* 4px */
    color: var(--text-dark);
    border: 3px solid var(--border-color);   
}

/* Add a specific margin-top for the second input group if needed, or rely on parent gap */
.input-section .input-group:first-of-type {
    margin-top: -3vw; /* Keep this for the first group to align with the design */
}

.input-label {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: capitalize;
    font-size: 1.11rem; /* Responsive font size */
    font-weight: 400; /* Bebas Neue */
    color: #000;
}

.input-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.amount-input {
    font-family: 'Bebas Neue', sans-serif;
    border: none;
    outline: none;
    width: 50%;
    height: 2.55vw; /* Responsive height */
    font-size: 2.55vw; /* Responsive font size */
    background: transparent;
    color: inherit;
    caret-color: auto;
}

.select-payment-button {
    height: 2.43vw; /* Responsive height */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem; /* 4px */
    padding: 0 0.75rem; /* px-3 */
    background-color: var(--dark-bg);
    color: var(--text-light);
    border: none;
    border-radius: 0.375rem; /* md */
    font-size: 0.868vw; /* Responsive font size */
    font-weight: normal; /* Bebas Neue */
    transition: opacity 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* lg */
    margin-top: -10px;
}

.select-payment-button:hover {
    opacity: 0.8;
}

.button-text {
    font-family: 'Bebas Neue', sans-serif;
    /* font-weight: 600; */
    font-size: 1.16vw; /* Responsive font size */
    line-height: 1;
    text-transform: capitalize;
    white-space: nowrap;
}

.chevron-icon {
    margin-left: 0.25rem; /* ml-1 */
    margin-right: -5px;
    min-width: 14px;
}

.input-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem; /* 14px */
}

.token-button {
    display: flex;
    align-items: center;
    gap: 0.25rem; /* 4px */
    height: 2.43vw; /* Responsive height */
    background-color: var(--gray-bg);
    padding: 0 0.5rem; /* px-2 */
    transition: opacity 0.2s ease;
    border-radius: 0.4375rem; /* 7px */
    border: none;
    cursor: pointer;
    box-shadow: none;
    text-shadow: none;
    margin-top: -10px;
}

.token-button:hover {
    opacity: 0.9;
}

.token-button:disabled {
    cursor: not-allowed;
}

.token-icon {
    width: 28px;
    height: 28px;
}

.token-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.04vw; /* Responsive font size */
    /* font-weight: 600; */
    text-transform: uppercase;
}

.input-spacer {
    height: 25px;
    width: 100%;
}

.buy-button {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0 1rem; /* px-4 */
    border-radius: 0.6875rem; /* 11px */
    border: 3px solid var(--border-color);
    font-family: 'Bebas Neue', sans-serif;
    text-transform: capitalize;
    /* font-weight: 600; */
    transition: opacity 0.2s ease;
    height: 4.17vw; /* Responsive height */
    background-color: #00ff73;
    color: var(--text-dark);
    font-size: 1.5vw; /* Responsive font size */
    width: 100%;
    border: none;
    text-shadow: none;
    box-shadow: none;
}

.buy-button:hover {
    opacity: 0.8;
}

.help-section {
    position: absolute;
    bottom: 7px;
    right: 1.48rem; /* 20px */
}

.help-icon-container {
    position: relative;
    display: inline-block;
}

.help-icon {
    cursor: pointer;
}

.help-tooltip {
    position: absolute;
    right: -40px;
    bottom: 30px;
    padding-top: 32px;
    z-index: 100;
    display: none; /* Hidden by default */
}

.help-icon-container:hover .help-tooltip {
    display: block; /* Show on hover */
}

.tooltip-arrow {
    position: absolute;
    bottom: -9.5px;
    right: 40px;
    width: 18px;
    height: 18px;
    background-color: var(--dark-bg);
    border: 1px solid var(--text-light);
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
}

.tooltip-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.7vw; /* Responsive gap */
    width: 24.5vw; /* Responsive width */
    background-color: var(--dark-bg);
    border: 1px solid var(--text-light);
    border-radius: 0.625rem; /* 10px */
    color: var(--text-light);
    padding: 1.2vw; /* Responsive padding */
    font-size: 0.81vw; /* Responsive font size */
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
}

.tooltip-logo {
    width: 27px;
    height: 27px;
    border-radius: 9999px; /* full */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* xl */
}

.tooltip-title {
    font-size: 1.05vw; /* Responsive font size */
    font-weight: normal; /* Bebas Neue */
}

.tooltip-text {
    font-family: sans-serif;
    line-height: 1.3;
}

.tooltip-text a {
    font-family: sans-serif;
    text-decoration: underline;
    color: #f6de48;
}

/* Animations */
@keyframes gradientBlink {
    0% {
        background-position: 100%;
    }
    50% {
        background-position: 0;
    }
    100% {
        background-position: 100%;
    }
}

@keyframes shineEffect {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Adjustments */
/* 3XL (1728px and up) */
@media (min-width: 1024px) {
    .announcement-text {
        font-family: sans-serif;
        font-size: 1.3rem;
        font-weight: 600;
    }
    .exchange-logo {
        width: 70px;
    }
    .exchange-logo.large {
        width: 190px;
    }
    .countdown-value {
        line-height: 36px;
    }
    .countdown-label {
        font-size: 14px;
        line-height: 20px;
    }
    .countdown-divider {
        height: 55px;
    }
    .raised-section {
        height: 105px;
    }
    .raised-label {
        font-family: sans-serif;
        font-weight: 600;
        font-size: 30px;
        line-height: 25px;
    }
    .current-raised,
    .total-raised {
        font-size: 36px;
    }
    .separator {
        font-size: 39px;
    }
    .token-message {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-light);
        line-height: 2rem;
        text-transform: uppercase;
    }
    .progress-bar-container {
        height: 27px;
        padding: 5px;
    }
    .price-item {
        font-size: 1.2rem;
    }
    .input-group {
        /* Removed margin-top from here, now handled by parent gap */
        padding-top: 13px;
        padding-bottom: 13px;
        height: 105px;
    }
    /* .input-section .input-group:first-of-type { */
      /*  margin-top: -48px;  Keep this for the first group to align with the design */
      /* height: 95px; */
    /* }  */
    .amount-input {
        font-size: 40px;
        margin-top: -10px;
        height: auto;
    }
    .select-payment-button {
        height: 42px;
        font-size: 15px;
    }
    .button-text {
        font-size: 20px;
    }
    .token-button {
        height: 42px;
    }
    .token-name {
        font-size: 20px;
    }
    .buy-button {
        height: 60px;
        font-size: 26px;
    }
    .tooltip-content {
        gap: 12px;
        width: 390px;
        padding: 24px;
        font-size: 14px;
    }
    .tooltip-title {
        font-size: 20px;
    }
}

/* Large devices (laptops, 1024px and up) */

/* @media (min-width: 1024px) and (max-width: 1727px) {
    .card {
        width: 28.9vw;
    }
}  */


/* Medium devices (tablets, 768px and up) */
@media (min-width: 769px) and (max-width: 1023px) {
    .announcement-text {
        font-family: sans-serif;
        font-size: 1.3rem;
        font-weight: 600;
        line-height: 2rem;
    }
    .exchange-logo {
    width: 4.5rem;
    }
    .countdown-value {
        font-size: 2.5rem;
    }
    .countdown-label {
        font-size: 22px;
        line-height: 17px;
    }
    .countdown-divider {
        height: 40px;
    }
    .raised-section {
        height: 100px;
    }
    .raised-label {
        font-size: 2rem;
    }
    .current-raised,
    .total-raised {
        font-size: 2.6rem;
    }
    .separator {
        font-size: 30px;
    }
    .token-message {
        font-size: 1.4rem;
        padding-top: 5px;
    }
    .progress-bar-container {
        height: 22px;
        padding: 4px;
    }
    .price-item {
        font-size: 1.2rem;
    }
    .input-group {
        /* Removed margin-top from here, now handled by parent gap */
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .input-section .input-group:first-of-type {
        margin-top: -15px; /* Keep this for the first group to align with the design */
    }
    .amount-input {
        height: 34px;
        font-size: 34px;
    }
    .select-payment-button {
        height: 34px;
        font-size: 12px;
    }
    .button-text {
        font-size: 16px;
    }
    .chevron-icon {
        width: 10px;
    }
    .token-button {
        height: 34px;
    }
    .token-name {
        font-size: 16px;
    }
    .buy-button {
        height: 56px;
        font-size: 25px;
    }
    .tooltip-content {
        gap: 8px;
        width: 90vw; /* Adjusted for smaller screens */
        padding: 16px;
        font-size: 12px;
    }
    .tooltip-title {
        font-size: 16px;
    }
    .help-tooltip {
        right: -154px;
    }
    .tooltip-arrow {
        right: 154px;
    }
}

/* Small devices (phones, up to 767px) */
@media (max-width: 768px) {
    .dcontainer {
        padding: 30px 15px 40px 15px;
        flex-direction: column;
    }
    .card {
        border-radius: 0.625rem; /* 10px */
        width: 100%;
    }
    .card-header {
        padding-top: 1rem;
    }
    .announcement-text {
        font-family: sans-serif;
        font-size: 1.2rem;
        font-weight: 600;
    }
    .exchange-logos {
        gap: 0.5rem;
    }
    .exchange-logo {
        width: 80px;
    }
    .exchange-logo.large {
        width: 150px;
    }
    .divider {
        margin: 4px auto;
    }
    .countdown-value {
        font-size: 2.4rem;
        line-height: 1;
    }
    .countdown-label {
        font-size: 15px;
    }
    .countdown-divider {
        height: 40px;
    }
    .raised-section {
        height: 90px;
    }
    .raised-label {
        font-family: sans-serif;
        font-weight: 600;
        font-size: 30px;
        line-height: 3rem;
    }
    .current-raised,
    .total-raised {
        font-size: 35px;
        font-size: 1.8rem;
        line-height: 1rem;
    }
    .separator {
        font-size: 30px;
    }
    .token-availability {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .token-message {
        font-family: sans-serif;
        font-size: 1.1rem;
        font-weight: 400;
    }
    .progress-bar-container {
        height: 27px;
        padding: 4px;
    }
    .price-info-section {
        padding-bottom: 52px;
    }
    .price-item {
        font-size: 1.2rem;
    }
    .input-section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        gap: 0.5rem;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    .input-group {
        /* Removed negative margin-top from here */
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .input-section .input-group:first-of-type {
        margin-top: -48px; /* Keep this for the first group to align with the design */
    }
    .amount-input {
        height: 34px;
        font-size: 34px;
    }
    .select-payment-button {
        height: 42px;
        font-size: 15px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .button-text {
        font-size: 20px;
    }
    .chevron-icon {
        width: 10px;
    }
    .token-button {
        height: 34px;
        margin-top: 0;
    }
    .token-name {
        font-size: 18px;
    }
    .buy-button {
        height: 72px;
        font-size: 26px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .help-section {
        right: 1.25rem;
    }
    .help-tooltip {
        right: -22px;
    }
    .tooltip-arrow {
        right: 21px;
    }
    .tooltip-content {
        gap: 8px;
        width: 90vw;
        padding: 16px;
        font-size: 16px;
    }
    .tooltip-title {
        font-size: 20px;
    }
}

/* Extra small devices (phones, up to 479px) */
@media (max-width: 479px) {
    .exchange-logo {
        width: 60px;
    }
    .exchange-logo.large {
        width: 120px;
    }
    .countdown-value {
        font-size: 2.5rem;
    }
    .countdown-label {
        font-size: 14px;
    }
    .raised-section {
        height: 100px;
    }
    .raised-label {
        padding: 5px 0px 0px 0px;
    }
    .current-raised,
    .total-raised {
        font-size: 30px;
    }
    .separator {
        font-size: 28px;
    }
    .token-message {
        font-size: 1.1rem;
        color: #ffffff;
        line-height: 2rem;
        text-transform: uppercase;
    }
    .progress-bar-container {
        height: 20px;
        padding: 3px;
    }
    .price-item {
        font-size: 18px;
    }
    .input-group {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .amount-input {
        font-size: 40px;
    }
    .select-payment-button {
        font-size: 10px;
    }
    .button-text {
        font-size: 18px;
    }
    .token-button {
        font-size: 18px;
    }
    .token-name {
        font-size: 18px;
    }
    .buy-button {
        height: 50px;
        font-size: 25px;   
    }
    
    .hydraex-social-container {
    padding: 0px 0px 15px 15px;
    
}
}

/* ===== HydraEx Social Menu - Isolated Styles ===== */
/* Prefix all classes with 'hydraex-' to avoid conflicts */

.hydraex-social-container {
    position: relative;
    display: inline-block;
    z-index: 1000; /* Ensure it appears above other elements */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; /* Self-contained font stack */
}

/* Button Styles */
.hydraex-social-btn {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0; /* Reset any default margins */
    font-size: 14px; /* Explicit size to prevent inheritance */
    line-height: 1; /* Prevent line-height inheritance */
}

.hydraex-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hydraex-social-btn-icon {
    font-size: 1.2em;
    width: 1em; /* Fixed dimensions */
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Submenu Styles */
.hydraex-social-submenu {
    position: absolute;
    top: 120%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 10px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    margin: 0; /* Reset default ul margins */
}

.hydraex-social-container:hover .hydraex-social-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Menu Item Styles */
.hydraex-social-item {
    display: block;
    margin: 0; /* Reset li margins */
}

.hydraex-social-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px; /* Explicit size */
    line-height: 1.4;
}

.hydraex-social-link:hover {
    background: #f8f9fa;
}

.hydraex-social-icon {
    width: 24px;
    text-align: center;
    margin-right: 12px;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Platform-specific hover colors */
.hydraex-social-item:nth-child(1) .hydraex-social-link:hover { color: #0088cc !important; } /* Telegram */
.hydraex-social-item:nth-child(2) .hydraex-social-link:hover { color: #000000 !important; } /* X/Twitter */
.hydraex-social-item:nth-child(3) .hydraex-social-link:hover { color: #ff0000 !important; } /* YouTube */
.hydraex-social-item:nth-child(4) .hydraex-social-link:hover { color: #4078c0 !important; } /* GitHub */

/* Mobile-friendly touch targets */
@media (max-width: 768px) {
    .hydraex-social-link {
        padding: 12px 20px;
    }
}

#app a {
  margin-top: 2px;
  /* display: inline-block; */
}

#app canvas {
  display: block;
  position: fixed;
  z-index: -1;
  top: 0;
  /* filter: brightness(1) opacity(1); */
}

.neon-glow {
  border: 2px solid #0ff;
  border-radius: 5px;
  box-shadow: 0 0 10px #0ff;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 10px #0ff;
  }
  50% {
    box-shadow: 0 0 20px #0ff, 0 0 30px #0ff;
  }
}

/* Base styles for all video elements */
#bg-video, 
#bg-video-mobile {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    object-fit: cover;
}

/* Hide mobile video by default */
.mobile-video {
    display: none;
}

/* Hide fallback image by default */
.fallback-image {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -101; /* Behind videos */
}

/* Mobile styles */
@media (max-width: 768px) {
    .desktop-video {
        display: none;
    }
    
    .mobile-video {
        display: block;
    }
    .instrutimg {
    position: relative !important;
    right: 0 !important;
    transform: scale(1.3);
}
}

/* Fallback for devices that don't support autoplay */
.no-autoplay .desktop-video,
.no-autoplay .mobile-video {
    display: none;
}

.payment-modal-wrapper {
    /* Isolate this component */
    all: initial;
    
    /* Now apply your styles */
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    
    & {
        background-color: #ffffff;
        color: #eeeeee;
        /* Other component styles */
    }
    
    /* Rest of your component styles */
    /* Overlay styles */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        
        /* Modal styles */
        .modal1 {
            width: 100%;
            min-height: 600px;
            max-width: 484px;
            background-color: #212735;
            border-radius: 20px;
            border: 2px solid #2f3945;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
            transform: 0.3s ease-out;
            animation: fadeIn 0.3s ease-out;
            position: relative;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(200px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .spacing {
                position: relative;
                margin: 20px 0 10px 0;
                height: 1px;
                background-color: rgba(255,255,255,0.1);
            }

        /* Header styles */
        .modal1-header {
            background-color: #1E2835;
            color: white;
            padding: 16px;
            text-align: center;
            position: relative;
        }
        
        .modal1-title {
            font-family: "Space Grotesk", sans-serif;
            font-size: 18px;
            font-weight: bold;
            text-transform: uppercase;
            margin-bottom: 16px;
        }
        
        /* Close button */
        .close-btn {
            position: absolute;
            right: 16px;
            top: 16px;
            color: white;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            z-index: 10;
            box-shadow: none;
            transition: all 0.2s ease;
        }

        .close-btn:hover {
            color: rgb(43, 255, 0);
            transform: rotate(90deg) scale(1.1);
        }
        
        /* Tab styles */
        .tabs {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
        }
        
        .tab {
            background: #171F29;
            border: 1px solid #485974;
            color: white;
            padding: 8px;
            font-family: "Space Grotesk", sans-serif;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            transition: all 0.2s;
            box-shadow: none;
            text-shadow: none;
        }
        
        .tab.active {
            background-color: white;
            color: black;
        }
        
        .tab svg {
            display: none;
        }
        
        @media (min-width: 420px) {
            .tab svg {
                display: block;
            }
        }
        
        /* Content styles */
        .modal1-content {
            padding: 12px;
        }
        
        .content-title {
            display: none;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 12px;
            text-align: center;
        }
        
        /* Payment methods list */
        .payment-methods {
            display: flex;
            flex-direction: column;
            row-gap: 8px;
            padding: 12px;
        }
        
        .payment-method {
            display: flex;
            align-items: center;
            gap: 16px;
            width: 100%;
            padding: 12px;
            cursor: pointer;
            border: none;
            border-radius: 10px;
            background-color: #171F29;
            transition: background-color 0.3s;
            box-shadow: none;
            text-shadow: none;
            justify-content: left;
        }
        
        .payment-method:hover {
            background-color: #000000;

        }
        
        .payment-method.active {
            background-color: #ffffff;
            color: white;
        }
        
        .payment-method.active .method-name,
        .payment-method.active .method-description {
            color: #111316;
        }
        
        .method-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            overflow: hidden;
        }
        
        .method-info {
            display: flex;
            gap: 8px;
            align-items: baseline;
        }
        
        .method-name {
            font-family: 'Space Grotesk', sans-serif;
            color: #798da3;
            font-size: 18px;
            font-weight: bold;
        }
        
        .method-name:hover {
            color: #86FF00;
        }

        .method-description {
            font-family: 'Space Grotesk', sans-serif;
            color: #798da3;
            font-size: 15px;
        }

        .method-description:hover {
            color: #86FF00;
        }
        
        .method-description.uppercase {
            text-transform: uppercase;
        }
        
        .icon {
            position: absolute;
            right: 40px;
        }
        
        .coming-soon {
            text-align: center;
            padding: 20px;
            color: #666;
            font-style: italic;
            display: none; /* Hidden by default */
        }
}
.instrutimg {
    position: absolute;
    right: 230px;
}
/* wallet info box */
.infocontainer {
    display: flex;
    justify-content: space-between;
    padding: 5px 0 0 0;
    font-family: 'Bebas Neue';
}
.infocard {
    background: linear-gradient(89deg, #323232 3.7%, #1A1A1A 67.9%, #323232 100%);
    border: 1px solid #8c8c8c;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 48%;
}

.content {
    flex: 1;
    padding-bottom: 10px;
}

.label {
    margin-bottom: 5px;
    font-size: 1rem;
    color: #9d9d9d;
}

.value {
    font-size: 24px;
    color: #fff;
}

.icon {
    width: 30px;
    height: 30px;
}

.wallet-icon {
    background-image: url('path/to/wallet-icon.svg'); /* Replace with your icon */
    background-size: cover;
}

.coin-icon {
    background-image: url('path/to/coin-icon.svg'); /* Replace with your icon */
    background-size: cover;
}

@media screen and (min-width: 1201px) and (max-width: 1640px) {
    .header .main-nav {
     left: 30%;
    }

}
@media screen and (min-width: 1641px) and (max-width: 2000px) {
    .header .main-nav {
     left: 34%;
    }

}
@media only screen and (max-width: 991px) {
    .header #site-header-inner .tf-button {
        line-height: 15px;
    }
}