/*Background Colors*/
.bg-gradient-custom {
    position: relative;
    z-index: 0;
    background: transparent;
}

.bg-gradient-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--ternary-color) 30%, var(--secondary-color) 55%, var(--primary-color) 90%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
    pointer-events: none;
}

.sidebar-gradient {
    position: relative;
    z-index: 0;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--ternary-color) 90%, transparent) 30%,
        color-mix(in srgb, var(--secondary-color) 90%, transparent) 55%,
        color-mix(in srgb, var(--primary-color) 90%, transparent) 90%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    overflow-x: hidden;
}

.sidebar-gradient::before {
    display: none;
}

@media (min-width: 1024px) {
    .sidebar-gradient {
        background: linear-gradient(
            135deg,
            color-mix(in srgb, var(--ternary-color) 20%, transparent) 30%,
            color-mix(in srgb, var(--secondary-color) 20%, transparent) 55%,
            color-mix(in srgb, var(--primary-color) 20%, transparent) 90%
        );
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center;
    }
}

    .bg-primary{
        background:var(--primary-color)
    }

    .bg-primary-light {
        background: color-mix(in srgb, var(--primary-color) 20%, white);
    }

    .bg-primary-dark {
        background: color-mix(in srgb, var(--primary-color) 40%, white);
    }

    .bg-primary-gradient {
    background: linear-gradient(
        135deg,
        #000000 0%,
        var(--primary-color) 50%,
        #000000 100%
    );
}

    .bg-secondary{
        background:var(--secondary-color)
    }

    .bg-ternary{
        background:var(--ternary-color)
    }

    @layer utilities {
        .bg-waterdrop-gradient {
            background: radial-gradient(circle at 30% 30%,
                rgba(255, 255, 255, 0.4) 0%,
                var(--ternary-color) 30%,
                var(--secondary-color) 60%,
                var(--primary-color) 100%);
            box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.4),
                        inset 0 -2px 6px rgba(0, 0, 0, 0.2);
        }
    }

    .bg-gradient-subnav {
        background: linear-gradient(135deg, var(--ternary-color) 30%, var(--secondary-color) 55%, var(--primary-color) 90%);
    }

    .primary{
        background:var(--primary-color)
    }
    .text-primary{
        color:var(--primary-color)
    }

    .text-secondary{
        color:var(--secondary-color)
    }

    .text-ternary{
        color:var(--ternary-color)
    }

    .border-primary{
        color:var(--primary-color) !important
    }

    .border-secondary{
        color:var(--secondary-color)
    }

    .hover\:bg-primary:hover {
        background-color: var(--primary-color);
        }

    .hover\:text-primary:hover {
        color: var(--primary-color);
    }

    .hover\:bg-secondary:hover {
    background-color: var(--secondary-color);
    }

    .hover\:text-secondary:hover {
        color: var(--primary-color);
    }

    .hover\:bg-ternary:hover {
        background-color: var(--ternary-color);
        }

    .hover\:text-ternary:hover {
            color: var(--ternary-color);
        }

    input.form-checkbox:checked {
        background-color: var(--primary-color) !important;
        border-color: var(--secondary-color) !important;
        box-shadow: 0 0 0 4px var(--primary-color) !important;
    }

    input.form-checkbox:checked:after {
        color: var(--secondary-color) !important;
        font-size: 1.2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .ring-primary {
        outline: none;
        box-shadow: 0 0 0 2px var(--primary-color);
        border-color: var(--primary-color);
        transition: all 0.3s ease-in-out;
    }

    /*End of Background*/

    #clock {
        font-size: 15px;
        width: 900px;

        text-align: center;

    }

    #date {
        font-size: 15px;
        /* margin-top: 10px; */

        text-align: center;
    }

    /* Loader css */
    .loader-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(13, 13, 09, 0.72);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .loader-text {
        margin-top: 20px;
        font-size: 1.5rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

        .ip {
        width: 6em;
        height: 3em;
    }
    .ip__track {
        stroke: hsl(var(--hue),90%,90%);
        transition: stroke var(--trans-dur);
    }
    .ip__worm1,
    .ip__worm2 {
        animation: worm1 3s linear infinite;
    }
    .ip__worm2 {
        animation-name: worm2;
    }

    /* Dark theme */
    @media (prefers-color-scheme: dark) {
        :root {
            --bg: hsl(var(--hue),90%,5%);
            --fg: hsl(var(--hue),90%,95%);
        }
        .ip__track {
            stroke: hsl(var(--hue),90%,15%);
        }
    }

/* Animation */
@keyframes worm1 {
    from {
        stroke-dashoffset: 0;
    }
    50% {
        animation-timing-function: steps(1);
        stroke-dashoffset: -358;
    }
    50.01% {
        animation-timing-function: linear;
        stroke-dashoffset: 358;
    }
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes worm2 {
    from {
        stroke-dashoffset: 358;
    }
    50% {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: -358;
    }
}
/* End Loader css */

@keyframes bounce {
    0%, 100% {
      transform: translateY(-25%);
      animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
      transform: none;
      animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
  }

  .animate-bounce-once:hover {
    animation: bounce 1s;
  }

  /* Tablets */
  @media screen and (min-width: 768px) and (max-width: 820px) {
    aside {
      width: 14rem !important;
    }
  }

  @media screen and (min-width: 1024px) and (max-width: 1180px) {
    aside {
      width: 16rem !important;
    }
  }

  @media screen and (min-width: 1180px) and (max-width: 1366px) {
    aside {
      width: 20rem !important;
    }
  }

    /*Landing Page Animations*/
    @keyframes spinSlow {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    .animate-spin-slow {
        animation: spinSlow 3s linear infinite;
    }

    @keyframes fadeInUp {
        0% { opacity: 0; transform: translateY(10px); }
        100% { opacity: 1; transform: translateY(0); }
    }
    .fade-in-up {
        animation: fadeInUp 1s ease-out forwards;
    }

    @keyframes bounceLeftToRight {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(10px); }
    }

    .animate-bounce-lr {
        animation: bounceLeftToRight 0.8s infinite ease-in-out;
    }

    /*Welcome page styles*/
    .gradient-text {
        background: linear-gradient(45deg, #000957, #344CB7, #FFFFFF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .neon-shadow {
        box-shadow: 0 0 20px rgba(62, 117, 205, 0.4);
    }

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

    .gradient-bg {
        background: linear-gradient(-45deg, #A0A9D2, #D9D9D9, #E6D184);
        background-size: 400% 400%;
        animation: gradient-wave 12s ease infinite;
    }

      .gradient-bg {
        background: linear-gradient(-45deg, #A0A9D2, #D9D9D9, #E6D184);
        background-size: 400% 400%;
        animation: gradient-wave 12s ease infinite;
    }

    .glass-card {
        backdrop-filter: blur(10px);
        border-radius: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.9);
    }

    @media (min-width: 640px) {
        .glass-card {
            background: rgba(255, 255, 255, 0.9);
        }
    }

    @media (min-width: 768px) {
        .glass-card {
            background: rgba(255, 255, 255, 0.9);
        }
    }

    @media (min-width: 1024px) {
        .glass-card {
            background: rgba(255, 255, 255, 0.9);
        }
    }

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

    .animate-spin-slow {
        animation: spin 3s linear infinite;
    }

    .gradient-text {
        background: linear-gradient(45deg, #000957, #344CB7, #FFFFFF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

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

    .animate-fade-in {
        animation: fade-in 0.3s ease-out;
    }

    @keyframes pulse-once {
        0% { transform: scale(1); }
        50% { transform: scale(1.02); }
        100% { transform: scale(1); }
    }

    .animate-pulse-once {
        animation: pulse-once 1.5s ease-in-out;
    }

    /*Styles for progress bar*/
    @keyframes jumpOutIn {
        0% { transform: scale(1); }
        40% { transform: scale(1.5); }
        100% { transform: scale(1); }
    }

    .jump-out-in {
        animation: jumpOutIn 0.3s ease-out;
        transform-origin: center;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .animate-fade-in {
        animation: fadeIn 0.3s ease-out forwards;
    }

    /*Profile*/
    [x-cloak] { display: none !important; }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .animate-fadeIn {
        animation: fadeIn 0.5s ease-out;
    }

    /* .bg-gradient-custom {
        background: linear-gradient(135deg, #D9D9D9 30%, #E6D184 55%, #A0A9D2 90%);
    } */

    /*Roles and Permissions buttons*/
      .arrow-button {
        position: relative;
        padding-right: 3rem;
    }

    .arrow-button::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 40px;
        height: 100%;
        background-color: var(--primary-color);
        border-top-right-radius: 9999px;
        border-bottom-right-radius: 9999px;
    }

    .arrow-button .arrow-icon {
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        width: 24px;
        height: auto;
        filter: brightness(0) invert(1);
    }

      .edit-button {
        position: relative;
        padding-right: 3rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .edit-icon {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        filter: brightness(0) invert(1);
    }

    .edit-button::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 40px;
            height: 100%;
            background-color: var(--primary-color);
            border-top-right-radius: 9999px;
            border-bottom-right-radius: 9999px;
        }

    /*Media queries for roles and permissions*/
    @media (min-width: 768px) and (max-width: 1023px) {
        .no-padding-mobile {
            padding: 1rem !important;
        }

        [x-cloak] {
            display: none !important;
        }
    }

    .no-padding-mobile {
            padding: 1rem !important;
        }

    @media (min-width: 768px) and (max-width: 1440px) {
        .force-full-width-if-not-selected {
          width: 100% !important;
        }
      }

    /*Dashboard cards swipe*/
    .swiper {
        width: 100%;
        padding: 2rem 0;
      }
      .card {
        @apply bg-gradient-to-br from-white to-amber-50 p-6 rounded-3xl shadow-xl text-center font-bold text-xl transition-transform duration-300 transform hover:-translate-y-2;
      }

    /*Floating square animation*/
      @keyframes floatUp {
        0% {
            transform: translateY(0) rotate(0deg);
            opacity: 0;
        }
        100% {
            transform: translateY(-200vh) rotate(360deg);
            opacity: 1;
        }
    }

    .floating-square {
        position: absolute;
        bottom: -50px;
        left: 50%;
        width: 20px;
        height: 20px;
        background: #FFEB00;
        border-radius: 8px;
        animation: floatUp 15s linear infinite;
        pointer-events: none;
    }

    /*Logout button*/
    .filter-red {
        filter: invert(24%) sepia(93%) saturate(7485%) hue-rotate(356deg) brightness(96%) contrast(105%);
    }

    /* Blue filter (for Eye icon) */
    .filter-blue {
        filter: invert(36%) sepia(94%) saturate(1925%) hue-rotate(196deg) brightness(95%) contrast(92%);
    }

    /* Green filter (for Edit icon) */
    .filter-green {
        filter: invert(58%) sepia(89%) saturate(500%) hue-rotate(89deg) brightness(90%) contrast(85%);
    }

    /*Package cards*/
    @media (min-width: 1024px) {
        .parent-container {
          gap: 10px;
        }
    }

    @media (min-width: 1280px) and (max-width: 1440px) {
        .parent-container {
            grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        }
    }
    /*End of package cards*/

    /*Monitor*/
    @media screen and (max-width: 1366px) and (max-height: 768px) {
    .right-content-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .right-content-wrapper h2 {
        font-size: 2.5rem;
        margin-top: 1rem;
    }

    .right-content-wrapper p {
        font-size: 0.875rem;
    }

    .right-content-wrapper img {
        width: 14rem;
    }
}

    /*OTP Input*/
    .otp-container {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .otp-input {
        width: 3.5rem;
        height: 3.5rem;
        text-align: center;
        font-size: 1.5rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        transition: border-color 0.15s ease-in-out;
    }

    .otp-input:focus {
        outline: none;
        border-color: #4F46E5;
        box-shadow: 0 0 0 1px #4F46E5;
    }

/*Responsiveness*/
html, body {
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

@supports (height: 100dvh) {
    body {
        min-height: 100dvh;
    }
}

/*Adding primary color to icons*/
.market-icon {
    -webkit-mask: url('custom/goldrate/images/icons/market1.svg') no-repeat center;
    mask: url('custom/goldarate/images/icons/market.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.exchange-icon {
    -webkit-mask: url('custom/goldarate/images/icons/exchange-usd.svg') no-repeat center;
    mask: url('custom/goldarate/images/icons/exchange-usd.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.mask-roles {
    -webkit-mask: url('/images/icons/role.svg') no-repeat center;
    mask: url('/images/icons/role.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.mask-permissions {
    -webkit-mask: url('/images/icons/key.svg') no-repeat center;
    mask: url('/images/icons/key.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/*Scroll to top*/
html {
    scroll-behavior: smooth;
}

/*Sand clock animation*/
@keyframes hourglassFlip {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}
.animate-hourglass {
    animation: hourglassFlip 2s infinite ease-in-out;
}

/*Mac book air sidebar toggle*/
@media screen and (min-width: 1279px) and (max-width: 1310px) {
    .macbook-sidebar-expanded {
        width: 16rem !important;
    }

    .macbook-sidebar-collapsed {
        width: 5rem !important;
    }

    main {
        margin-left: 0rem !important;
    }

    aside {
        width: 5rem !important;
    }
}

/* iPad Mini, Air, 11" Pro - Landscape Sidebar Toggle*/
@media screen and (min-width: 1024px) and (max-width: 1210px) {
    .macbook-sidebar-expanded {
        width: 16rem !important;
    }

    .macbook-sidebar-collapsed {
        width: 5rem !important;
    }

    main.macbook-main-expanded {
        margin-left: 0rem !important;
    }

    main.macbook-main-collapsed {
        margin-left: 0rem !important;
    }

    aside {
        width: 5rem !important;
    }
}

/*Hide dropdown arrow in Journal Entries*/
.no-dropdown-arrow {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
}
.no-dropdown-arrow::-ms-expand {
    display: none;
}

/*Duty Free Gold Rate table */
  .coin-table td input[type="text"],
  .coin-table td input[type="number"],
  .coin-table td select {
    width: 100% !important;
  }

  .bar-table td input[type="text"],
  .bar-table td input[type="number"],
  .bar-table td select {
    width: 100% !important;
  }


/* Hide spinners in Chrome, Safari, Edge, Opera */
    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Hide spinners in Firefox */
    input[type=number] {
        -moz-appearance: textfield;
    }

/*Scroller for sidebar*/
  .edge-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(100,116,139,.6) transparent;
  }
  .edge-scroll::-webkit-scrollbar { width: 8px; }
  .edge-scroll::-webkit-scrollbar-track { background: transparent; }
  .edge-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(100,116,139,.6);
    border-radius: 8px;
  }


.gradient-bg-green {
    background: linear-gradient(-45deg, #E6F7E3, #F0FDF4, #D9F5D3);
    background-size: 400% 400%;
    animation: gradient-wave 12s ease infinite;
}

/*Thin Scroller*/
.thin-scrollbar {
    scrollbar-width: thin;                  /* Firefox */
    scrollbar-color: #d5d5d6 transparent;   /* thumb / track */
}

/* Chrome, Edge, Safari */
.thin-scrollbar::-webkit-scrollbar {
    width: 4px;          /* <— reduce thickness here */
}

.thin-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.thin-scrollbar::-webkit-scrollbar-thumb {
    background-color: #d5d5d6;  /* slate-400-ish */
    border-radius: 9999px;
}




/* ── Dashboard: Currency card 3-D flip animation ─────────────────────────── */
.currency-flip-shell {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 0.4rem;
    padding: 2px 8px;
    transform-style: preserve-3d;
    will-change: transform;
    animation: currency-flip-spin 7s ease-in-out infinite;
}

.currency-flip-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.45) 45%, transparent 70%);
    animation: currency-flip-shine 3.5s ease-in-out infinite;
    z-index: 2;
}

.currency-flip-face {
    display: block;
    transform: translateZ(10px);
}

.currency-flip-shell:hover,
.currency-flip-shell:hover::after {
    animation: none;
}

.currency-flip-shell:hover::after {
    opacity: 0;
}

@keyframes currency-flip-spin {
    0%,  18% { transform: perspective(600px) rotateY(0deg);   }
    45%, 55% { transform: perspective(600px) rotateY(180deg); }
    82%,100% { transform: perspective(600px) rotateY(360deg); }
}

@keyframes currency-flip-shine {
    from { transform: translateX(-130%) rotate(12deg); }
    to   { transform: translateX(130%) rotate(12deg); }
}

@media (prefers-reduced-motion: reduce) {
    .currency-flip-shell,
    .currency-flip-shell::after { animation: none; }
}
/* ─────────────────────────────────────────────────────────────────────────── */

/* --------------------------------------------------------------------------
   Welcome Page - DEV SERVER
-------------------------------------------------------------------------- */

.welcome-dark-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.32), transparent 28%),
        radial-gradient(circle at 88% 78%, rgba(250, 204, 21, 0.18), transparent 26%),
        linear-gradient(135deg, #020617 0%, #0f172a 48%, #111827 100%);
}

.welcome-dark-page-bg {
    background:
        radial-gradient(circle at 16% 20%, rgba(59, 130, 246, 0.26), transparent 28%),
        radial-gradient(circle at 82% 78%, rgba(250, 204, 21, 0.16), transparent 26%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 36%),
        linear-gradient(135deg, #020617 0%, #0f172a 48%, #111827 100%);
}

.welcome-dark-glass-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.14),
        rgba(255, 255, 255, 0.06)
    );
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.welcome-dark-glass-visual {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05)
    );
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 85px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.welcome-logo-panel {
    background:
        radial-gradient(circle at 30% 25%, rgba(250, 204, 21, 0.22), transparent 32%),
        radial-gradient(circle at 72% 75%, rgba(59, 130, 246, 0.24), transparent 36%),
        rgba(255, 255, 255, 0.08);
}

.welcome-page-grid {
    grid-template-columns: minmax(0, 1fr);
}

.welcome-title-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 1.5rem;
}

.welcome-title {
    font-size: clamp(2.5rem, 7vw, 3.7rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.gemnex-logo-box {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.88);
    padding: 0.55rem 0.85rem;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.gemnex-logo-img {
    height: clamp(2.45rem, 5vw, 3.3rem);
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 640px) {
    .welcome-title-row {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .welcome-title {
        white-space: nowrap;
    }

    .gemnex-logo-box {
        flex: 0 1 auto;
        min-width: 0;
    }
}

/* iPad landscape / tablet horizontal */
@media (min-width: 900px) and (max-width: 1279px) and (orientation: landscape) {
    .welcome-page-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
        align-items: center;
        gap: 1.5rem;
    }

    .welcome-dark-glass-card {
        padding: 2rem;
    }

    .welcome-title {
        font-size: clamp(2.4rem, 4.6vw, 3.1rem);
    }

    .gemnex-logo-box {
        padding: 0.45rem 0.7rem;
        border-radius: 1rem;
    }

    .gemnex-logo-img {
        height: clamp(2.2rem, 4vw, 2.75rem);
        max-width: 15rem;
    }

    .welcome-dark-glass-visual {
        padding: 1.25rem;
    }

    .welcome-logo-panel {
        min-height: 260px !important;
    }

    .welcome-logo-panel img {
        width: 13rem;
    }
}

@media (min-width: 1280px) {
    .welcome-page-grid {
        grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    }
}

.welcome-floating-orb {
    animation: welcomeFloatOrb 7s ease-in-out infinite;
}

.welcome-floating-orb-delay {
    animation: welcomeFloatOrb 8s ease-in-out infinite reverse;
}

.welcome-logo-spin {
    animation: welcomeLogoSpin 2.7s linear infinite;
}

.welcome-hero-float {
    animation: welcomeHeroFloat 5s ease-in-out infinite;
}

.welcome-soft-rise {
    animation: welcomeSoftRise 0.9s ease-out both;
}

.welcome-soft-rise-delay {
    animation: welcomeSoftRise 1.1s ease-out 0.15s both;
}

.welcome-button-glow {
    box-shadow: 0 18px 40px rgba(250, 204, 21, 0.16);
}

.welcome-button-glow:hover {
    box-shadow: 0 22px 50px rgba(250, 204, 21, 0.28);
}

@keyframes welcomeLogoSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes welcomeHeroFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes welcomeFloatOrb {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(12px, -16px, 0) scale(1.05);
    }
}

@keyframes welcomeSoftRise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-floating-orb,
    .welcome-floating-orb-delay,
    .welcome-logo-spin,
    .welcome-hero-float,
    .welcome-soft-rise,
    .welcome-soft-rise-delay {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* --------------------------------------------------------------------------
   End of Welcome Page - DEV SERVER
-------------------------------------------------------------------------- */
