@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Space Grotesk', sans-serif;
    scroll-behavior: smooth;
}

.gradient-text {
    background: linear-gradient(90deg, #e0e0e0 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: transparent;
}

.tier-copper {
    border-color: #b87333;
}
.tier-bronze {
    border-color: #cd7f32;
}
.tier-silver {
    border-color: #c0c0c0;
}
.tier-gold {
    border-color: #ffd700;
}
.tier-platinum {
    border-color: #e5e4e2;
}

.shadow-glow:hover {
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.hero-gradient {
    background: radial-gradient(circle at center, rgba(42,42,42,0.8) 0%, rgba(15,15,15,1) 100%);
}

/* Sphere Container */
.sphere-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 5;
    pointer-events: none;
}

/* Vaporwave Base Layer */
.vaporwave-base {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Grid Animation Layer */
.grid-animation-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

/* 3D Carousel Styles */
.carousel-wrapper {
    width: 100%;
    min-height: 600px;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-inner {
    --w: 250px;
    --h: 400px;
    --translateZ: 280px;
    --rotateX: 0deg;
    --perspective: 1500px;
    position: absolute;
    width: var(--w);
    height: var(--h);
    top: 10%;
    left: calc(50% - (var(--w) / 2));
    z-index: 2;
    transform-style: preserve-3d;
    transform: perspective(var(--perspective));
    animation: rotating 25s linear infinite;
}

@keyframes rotating {
    from {
        transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(0);
    }
    to {
        transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(1turn);
    }
}

.carousel-card {
    position: absolute;
    border: 2px solid rgba(var(--color-card), 0.8);
    border-radius: 12px;
    overflow: hidden;
    inset: 0;
    transform: rotateY(calc((360deg / var(--quantity)) * var(--index))) translateZ(var(--translateZ));
    box-shadow: 0 0 20px rgba(var(--color-card), 0.3);
    transition: all 0.3s ease;
}

.carousel-card:hover {
    box-shadow: 0 0 30px rgba(var(--color-card), 0.6);
    border-color: rgba(var(--color-card), 1);
}

.tier-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hero Text Glow Effects */
.hero-title {
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.8),
                 0 0 40px rgba(192, 192, 192, 0.5),
                 0 0 60px rgba(192, 192, 192, 0.3);
}

.hero-subtitle {
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.9),
                 0 0 30px rgba(192, 192, 192, 0.6),
                 0 0 45px rgba(192, 192, 192, 0.3);
}

/* Feature Cards - Glassmorphism Skewed */
.feature-card {
    width: 280px;
    height: 180px;
    padding: 0.5rem;
    background: rgba(198, 198, 198, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid rgba(255, 255, 255, 0.440);
    border-left: 2px rgba(255, 255, 255, 0.545) outset;
    box-shadow: -40px 50px 30px rgba(0, 0, 0, 0.280);
    transform: skewX(10deg);
    transition: 0.4s;
    overflow: hidden;
    color: white;
}

.feature-card:hover {
    height: 300px;
    transform: skewX(10deg);
}

.feature-dots {
    padding: 1rem;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-self: flex-start;
}

.dot-red {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff605c;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280);
}

.dot-yellow {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffbd44;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280);
}

.dot-green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00ca4e;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280);
}

.feature-card h3 {
    text-align: center;
    margin: 1.3rem;
    color: rgb(218, 244, 237);
    text-shadow: -10px 5px 10px rgba(0, 0, 0, 0.573);
    font-size: 1.25rem;
    font-weight: bold;
}

.feature-card p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Navbar Loader Animation */
.nav-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 30px;
    position: relative;
}

.nav-loader-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-loader-block {
    display: inline-block;
    width: 3px;
    height: 8px;
    margin: 1px;
    background-color: rgb(192, 192, 192);
    box-shadow: 0 0 15px rgb(192, 192, 192);
    animation: navLoader 5s infinite;
}

.nav-loader-block:nth-child(1) { animation-delay: 0.2s; }
.nav-loader-block:nth-child(2) { animation-delay: 0.4s; }
.nav-loader-block:nth-child(3) { animation-delay: 0.6s; }
.nav-loader-block:nth-child(4) { animation-delay: 0.8s; }
.nav-loader-block:nth-child(5) { animation-delay: 1s; }
.nav-loader-block:nth-child(6) { animation-delay: 1.2s; }
.nav-loader-block:nth-child(7) { animation-delay: 1.4s; }
.nav-loader-block:nth-child(8) { animation-delay: 1.6s; }
.nav-loader-block:nth-child(9) { animation-delay: 1.8s; }
.nav-loader-block:nth-child(10) { animation-delay: 2s; }
.nav-loader-block:nth-child(11) { animation-delay: 2.2s; }
.nav-loader-block:nth-child(12) { animation-delay: 2.4s; }

@keyframes navLoader {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgb(192, 192, 192);
    }
    13% {
        transform: scale(1, 3);
        box-shadow: 0 0 30px rgb(192, 192, 192);
    }
    26% {
        transform: scale(1);
        box-shadow: 0 0 20px rgb(192, 192, 192);
    }
}

/* 3D Cubes Flanking Carousel */
.cubes {
    position: absolute;
    top: 50%;
    transform-style: preserve-3d;
}

.loop {
    transform: rotateX(-35deg) rotateY(-45deg) translateZ(1.5625em);
}

.tier-cubes-left.loop {
    left: 5%;
}

.tier-cubes-right.loop {
    right: 5%;
}

@keyframes cubeScale {
    to {
        transform: scale3d(0.2, 0.2, 0.2);
    }
}

.cubes.item {
    margin: -1.5625em;
    width: 3.125em;
    height: 3.125em;
    transform-origin: 50% 50% -1.5625em;
    box-shadow: 0 0 0.125em currentColor;
    background: currentColor;
    animation: cubeScale 1.1s cubic-bezier(0.45, 0.03, 0.51, 0.95) infinite alternate;
}

.cubes.item:before,
.cubes.item:after {
    position: absolute;
    width: inherit;
    height: inherit;
    transform-origin: 0 100%;
    box-shadow: inherit;
    background: currentColor;
    content: "";
}

.cubes.item:before {
    bottom: 100%;
    transform: rotateX(90deg);
}

.cubes.item:after {
    left: 100%;
    transform: rotateY(90deg);
}

/* Silver/Platinum Color Scheme */
.cubes.item:nth-child(1) {
    margin-top: 6.25em;
    color: #c0c0c0;
    animation-delay: -1.2s;
}

.cubes.item:nth-child(1):before {
    color: #e5e4e2;
}

.cubes.item:nth-child(1):after {
    color: #d3d3d3;
}

.cubes.item:nth-child(2) {
    margin-top: 3.125em;
    color: #b8b8b8;
    animation-delay: -1s;
}

.cubes.item:nth-child(2):before {
    color: #d3d3d3;
}

.cubes.item:nth-child(2):after {
    color: #c8c8c8;
}

.cubes.item:nth-child(3) {
    margin-top: 0em;
    color: #a8a8a8;
    animation-delay: -0.8s;
}

.cubes.item:nth-child(3):before {
    color: #c0c0c0;
}

.cubes.item:nth-child(3):after {
    color: #b4b4b4;
}

.cubes.item:nth-child(4) {
    margin-top: -3.125em;
    color: #989898;
    animation-delay: -0.6s;
}

.cubes.item:nth-child(4):before {
    color: #b0b0b0;
}

.cubes.item:nth-child(4):after {
    color: #a4a4a4;
}

.cubes.item:nth-child(5) {
    margin-top: -6.25em;
    color: #888888;
    animation-delay: -0.4s;
}

.cubes.item:nth-child(5):before {
    color: #a0a0a0;
}

.cubes.item:nth-child(5):after {
    color: #949494;
}

.cubes.item:nth-child(6) {
    margin-top: -9.375em;
    color: #787878;
    animation-delay: -0.2s;
}

.cubes.item:nth-child(6):before {
    color: #909090;
}

.cubes.item:nth-child(6):after {
    color: #848484;
}

/* Orbiting Squares Around Tier Section */
.orbit-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1;
}

.orbit-container .square {
    position: absolute;
    width: 1200px;
    height: 550px;
}

.orbit-container .square:nth-child(1) {
    transform: translateY(-100px);
}

.orbit-container .square:nth-child(2) {
    transform: translate(-25%, -25%) rotateX(180deg) translateY(-100px);
    filter: hue-rotate(60deg);
}

.orbit-container .square:nth-child(3) {
    transform: translate(25%, 25%) rotate(180deg);
    filter: hue-rotate(180deg);
}

.orbit-container .square::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #c0c0c0;
    box-shadow: 0 0 0 8px rgba(192, 192, 192, 0.2), 0 0 0 15px rgba(192, 192, 192, 0.1);
    animation: slideHorizontal 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}


@keyframes slideHorizontal {
    0% {
        transform: translate(2px, 2px);
    }
    100% {
        transform: translate(1178px, 2px);
    }
}

