:root {
    --primary: #FFC107;
    --primary-dark: #FFA000;
    --secondary: #6A1B9A;
    --secondary-light: #9C27B0;
    --text-light: #FFFFFF;
    --text-dark: #212121;
    --background-dark: #0A0A0A;
}

body {
    overflow-x: hidden;
}

@font-face {
    font-family: "CeraPro";
    src: url("../assets/fonts/CeraPro-Regular.ttf");
}

@font-face {
    font-family: "CeraPro Bold";
    src: url("../assets/fonts/CeraPro-Bold.ttf");
}

body {
    font-size: 1rem;
    background-color: #060011;
    color: var(--text-color);
    font-family: "CeraPro" !important;
    font-size: 0.9rem;
}

body::-webkit-scrollbar {
    width: 0.5em;
}

body::-webkit-scrollbar-track {
    background-color: #070010;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color-light);
    border-radius: 0.5em;
}

.navbar {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgb(0 0 0 / 89%), rgb(0 0 0 / 95%)), url(../assets/img/main_map_bg.jpg) center / cover no-repeat;
    position: relative;

    .bottom-hero {
        position: absolute;
        bottom: 10px;
        width: 100%;
        color: #ffc107;
        left: 0;
        text-align: center;
        cursor: pointer;
        animation: float 2s ease-in-out infinite;
    }
}

.weekly-events-widget {
    position: fixed;
    bottom: 150px;
    left: 15px;
    width: 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9rem;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}
  
  .weekly-events-widget.collapsed {
    transform: translateY(calc(100% - 40px));
  }
  
  .events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
  }
  
  .events-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
  }
  
  .btn-toggle {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    transition: transform 0.3s;
  }
  
  .collapsed .btn-toggle i {
    transform: rotate(180deg);
  }
  
  .events-container {
    max-height: 300px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
  }
  
  .collapsed .events-container {
    max-height: 0;
  }
  
  .event-item {
    display: flex;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background-color 0.2s;
  }
  
  .event-item:hover {
    background-color: #f8f9fa;
  }
  
  .event-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    margin-right: 12px;
    text-align: center;
  }
  
  .event-time .day {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
  }
  
  .event-time .date {
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  .event-details {
    flex: 1;
  }
  
  .event-name {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  .event-info {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
    flex-wrap: wrap;
  }
  
  .event-schedule {
    margin-right: 4px;
  }
  
  .btn-convert-time {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    font-size: 0.8rem;
    margin-right: 8px;
  }
  
  .btn-convert-time:hover {
    color: #0d6efd;
  }
  
  .event-venue {
    display: inline-flex;
    align-items: center;
  }
  
  .event-venue i {
    margin-right: 4px;
  }
  
  .events-footer {
    padding: 8px 12px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    background-color: #f8f9fa;
  }
  
  .view-all-link {
    font-size: 0.8rem;
    color: #0d6efd;
    text-decoration: none;
  }
  
  .view-all-link:hover {
    text-decoration: underline;
  }
  
  /* Responsive adjustments */
  @media (max-width: 576px) {
    .weekly-events-widget {
      width: calc(100% - 40px);
      max-width: 300px;
    }
  }
  
  /* Time converter tooltip */
  .time-tooltip {
    position: absolute;
    background-color: #343a40;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1001;
    white-space: nowrap;
  }
  
  .time-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #343a40 transparent transparent transparent;
  }


.garden-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.garden-card:hover {
    transform: translateY(-10px);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    float: right;
    background: linear-gradient(45deg, var(--secondary), var(--secondary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

/* Sections */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}
.section-title small {
    font-size: 1rem;
    font-weight: normal;
}
.ripe_essence {
    height: 100%;
    width: 100%;
    position: absolute;
    background-image: url(../assets/img/ripe_essence.gif);
    background-position: center, center;
    background-repeat: no-repeat;
    background-size: 200%;
}











.card-container {
    display: flex;
    gap: 20px;
    padding: 40px;
    perspective: 1000px;


    /* Button styling */
    .btn-primary {
        background: linear-gradient(45deg, #8b00a3, #56006496);
        border: 1px solid #d900ff;
        padding: 10px 20px;
        color: white;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(217, 0, 255, 0.3);
    }


}

.eph-nft-card {
    position: relative;
    perspective: 1500px;
    margin-left: -150px; /* Creates overlap */
    width: 50%;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.eph-nft-card:first-child {
    margin-left: 0;
}

.card-front {
    background-size: cover;
    background-position: center;
}

.eph-nft:not(:first-child) {
    margin-left: -150px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    padding-bottom: 100%;
    cursor: pointer;
}

.eph-nft-card .card-inner.backflip {
    transform: rotateY(180deg);
    z-index: 2; 
} 


.card-front, .card-back {
    position: absolute;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(45deg, #2f2f2f, #505050);
    border: 1px solid #f0bf5745;
    box-shadow: 0px 0px 0px -1px #f0bf5745, 0px 0px 18px 15px #00000070;
}

.eph-nft:hover {
    transform: rotateY(5deg);
}

.eph-nft-card:first-child {
    transform: rotate(-5deg); 

    &.violent-spin {
        animation: zoomViolentSpin 0.8s infinite linear;
        display: inline-block;
    }
}
.eph-nft-card {
    transform: rotate(1deg); 
    .ppty {
        display: flex;
        margin-bottom: 10px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
    }
    .eph22.ui-draggable-handle {
        width: 50px;
        position: absolute;
        height: 50px;
        background: #ffff000a;
        z-index: 3;
        top: 0;
    }
}
.eph-nft-card:last-child {
    transform: rotate(5deg); 

    .message {
        user-select: none;
        font-size: 2rem;
        position: absolute;
        bottom: 0px;
        width: 750px;
        left: 0;
        opacity: 0.01;
    }

    .glideText {
        transition: all 10s ease;
        transform: translateX(-100%);
    }
}



/* Maintain your existing eph1, eph2, eph3 background images */
.card-front {
    background-size: cover;
    background-repeat: no-repeat;
}

.eph1 { background-image: url('../assets/img/landing/ephemeral.png'); z-index: 10;}
.eph2 { background-image: url('../assets/img/landing/arch.png');  z-index: 9;}
.eph3 { background-image: url('../assets/img/landing/skulla.png'); z-index: 8;}

.card-back {
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    background: linear-gradient(45deg, #3a0046, #1a0046);
}

.nft-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffe500;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
}

/* Hover effect for non-flipped cards */
.eph-nft-card:hover {
    transform: translateY(-10px);
    z-index: 11;
}



.gift-btn {
    position: relative;
    width: 120px;
    height: 120px;
    background: #ffd700; /* Gift box base color */
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    /* Border radius for slight depth */
    border-radius: 4px;

    
    /* Vertical ribbon */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 100%;
        background: #800080; /* Purple ribbon */
        z-index: 1;
    }

    /* Horizontal ribbon */
    &::after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 20px;
        width: 100%;
        background: #800080; /* Purple ribbon */
        z-index: 2;
    }

    /* Bow left part */
    & .bow-left {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-12px) rotate(35deg);
        width: 16px;
        height: 16px;
        background: #9400d3; /* Slightly different purple for depth */
        border-radius: 50% 50% 0 50%;
        z-index: 3;
    }

    /* Bow right part */
    & .bow-right {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-4px) rotate(-35deg);
        width: 16px;
        height: 16px;
        background: #9400d3;
        border-radius: 50% 50% 50% 0;
        z-index: 3;
    }

    /* Bow center knot */
    & .bow-center {
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 12px;
        height: 12px;
        background: #800080;
        border-radius: 50%;
        z-index: 4;
    }

    /* Hover effects */
    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    /* Optional: Add text below the gift box */
    .gift-text {
        position: absolute;
        bottom: 10px;
        left: 0;
        width: 100%;
        text-align: center;
        color: #800080;
        font-family: Arial, sans-serif;
        font-size: 14px;
        font-weight: bold;
        z-index: 5;
    }
}

.treasure-button {
    position: absolute;
    width: 80px;
    height: 60px;
    background: none;
    border: none;
    padding: 0;
    margin: 5px;
    image-rendering: pixelated;
    left: 20%;
    top: 40%;

    &:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 5px;
        right: 5px;
        height: 50%;
        background: linear-gradient(
                to bottom,
                #ffd700 0%,      /* Top edge */
                #ffeb3b 20%,     /* Upper section */
                #ffc107 80%,     /* Lower section */
                #b8860b 100%     /* Bottom edge */
            );
        border: 2px solid #302709;
        border-radius: 0 0 8px 8px;
        box-shadow: inset -2px -2px 0px 0px #b8860b,
                inset 2px 2px 0px 0px #fff176;
    }
    
    /* Lid of chest */
    &::after {
        content: '';
        position: absolute;
        top: 5px;
        left: 0;
        right: 0;
        height: 46%;
        background: linear-gradient(
                to bottom,
                #ffd700 0%,      /* Top edge */
                #ffeb3b 20%,     /* Upper section */
                #ffc107 80%,     /* Lower section */
                #b8860b 100%     /* Bottom edge */
            );
        border: 2px solid #302709;
        border-radius: 8px 8px 0 0;
        box-shadow: inset -2px -2px 0px 0px #b8860b,
                inset 2px 2px 0px 0px #fff176;
        transition: transform 0.2s ease-in-out;
        transform-origin: bottom;
    }
    
    /* Lock decoration */
    span {
        position: absolute;
        width: 20%;
        height: 30%;
        background: #9c27b0;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border: 2px solid #4a148c;
        border-radius: 4px;
        box-shadow: inset -1px -1px 0px 0px #4a148c,
                inset 1px 1px 0px 0px #ce93d8;
        z-index: 1;
    }
    
    /* Hover effect - lid opens slightly */
    &:hover::after {
        transform: rotateX(-20deg);
    }
    
    /* Click effect - lid opens more */
    &:active::after {
        transform: rotateX(-40deg);
    }
    
    /* Add shine effect to lid */
    &::before,
    &::after {
        background-size: 100% 100%;
        background-position: 0 0;
        background-repeat: no-repeat;
    }
    
    &::before,
    &::after,
    .treasure-button span {
        image-rendering: pixelated;
    }
    
}

.fire {
    position: absolute;
    width: 200%;
    height: 200%;
    left: -50%;
    top: -50%;
    background: radial-gradient(circle, orange, red);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255, 165, 0, 0.8);
    animation: flicker 0.2s infinite alternate;
    z-index: 3;
}

@keyframes flicker {
    0% { 
        opacity: 0.6;
        transform: scale(1.05);
    }
    100% { 
        opacity: 0.8;
        transform: scale(1);
    }
}

/* Flames */
.fire::before, .fire::after {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    width: 60px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.8), rgba(255, 0, 0, 0.1));
    border-radius: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
    animation: flame 1s infinite alternate ease-in-out;
}

.fire::after {
    width: 40px;
    height: 100px;
    top: -40px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8), rgba(255, 69, 0, 0.1));
    animation-duration: 0.7s;
}

@keyframes flame {
    0% {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) scaleY(1.3);
        opacity: 0.5;
    }
}

.burning-div {
    position: relative;
    background: white;
    color: black;
    border-radius: 0.5rem;
    padding: 1rem;
    width: 16rem;
    height: 8rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.flames-container {
    position: absolute;
    bottom: -30px;
    left: -30%;
    width: 120%;
    height: calc(100% + 0px);
    pointer-events: none;
}

/* Base flame layer */
.flame-layer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform-origin: bottom;
}

/* Individual flame elements with different properties */
.flame {
    position: absolute;
    bottom: 0;
    width: 25%;
    height: 50%;
    border-radius: 50% 50% 20% 20%;
    will-change: transform;
}

/* Main core flame */
.flame.core {
    background: linear-gradient(to top,
        rgba(255, 147, 0, 0.8) 0%,
        rgba(255, 88, 0, 0.8) 30%,
        rgba(255, 30, 0, 0.8) 60%,
        rgba(255, 0, 0, 0.4) 100%
    );
    animation: flameCore 0.8s infinite alternate;
    filter: blur(2px);
}

/* Inner bright flame */
.flame.inner {
    background: linear-gradient(to top,
        rgba(255, 255, 150, 0.8) 0%,
        rgba(255, 200, 0, 0.8) 40%,
        rgba(255, 147, 0, 0.6) 100%
    );
    width: 30%;
    height: 60%;
    animation: flameInner 0.6s infinite alternate;
    filter: blur(3px);
}

/* Outer glow */
.flame.outer {
    background: linear-gradient(to top,
        rgba(255, 147, 0, 0.3) 0%,
        rgba(255, 88, 0, 0.3) 40%,
        rgba(255, 30, 0, 0.3) 80%,
        rgba(255, 0, 0, 0.2) 100%
    );
    width: 30%;
    height: 75%;
    animation: flameOuter 0.5s infinite alternate;
    filter: blur(9px);
}

/* Small flicker flames */
.flame.flicker {
    background: linear-gradient(to top,
        rgba(255, 200, 0, 0.5) 0%,
        rgba(255, 147, 0, 0.5) 40%,
        rgba(255, 88, 0, 0.4) 100%
    );
    width: 15%;
    height: 40%;
    animation: flameFlicker 0.15s infinite alternate;
    filter: blur(6px);
}

@keyframes flameCore {
    0% {
        transform: scaleY(1) scaleX(1) translateY(0) translateX(0);
        filter: blur(4px);
    }
    100% {
        transform: scaleY(1.1) scaleX(0.9) translateY(-30px) translateX(6px);
        filter: blur(6px);
    }
}

@keyframes flameInner {
    0% {
        transform: scaleY(1) translateY(0) rotate(-2deg);
        filter: blur(6px);
    }
    100% {
        transform: scaleY(1.2) translateY(-30px) rotate(2deg);
        filter: blur(8px);
    }
}

@keyframes flameOuter {
    0% {
        transform: scaleY(1) scaleX(1.1) translateY(0) rotate(2deg);
        opacity: 0.7;
    }
    100% {
        transform: scaleY(1.1) scaleX(1) translateY(-10px) rotate(-2deg);
        opacity: 0.9;
    }
}

@keyframes flameFlicker {
    0% {
        transform: scaleY(0.9) translateY(0) translateX(-1px);
        opacity: 0.5;
    }
    100% {
        transform: scaleY(1.1) translateY(-5px) translateX(1px);
        opacity: 0.8;
    }
}

/* Heat distortion effect */
.heat-distortion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    animation: heatDistort 2s infinite;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes heatDistort {
    0% {
        backdrop-filter: blur(0px);
        transform: scaleY(1);
    }
    50% {
        backdrop-filter: blur(5px);
        transform: scaleY(1.22);
    }
    100% {
        backdrop-filter: blur(0px);
        transform: scaleY(1);
    }
}
.celebration-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1050;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
}

.prize-text {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease-out;
}

.prize-text.show {
    opacity: 1;
    transform: scale(1);
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.celebration-content {
    position: relative;
    z-index: 1051;
}



@keyframes zoomViolentSpin {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.5) rotate(90deg);
    }
    50% {
        transform: scale(0.5) rotate(180deg);
    }
    75% {
        transform: scale(2) rotate(270deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.demo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.burn-button {
    background: #f59e0b;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    margin-bottom: 1rem;
}

.burning-div {
    position: relative;
    background: white;
    color: black;
    border-radius: 0.5rem;
    padding: 1rem;
    width: 16rem;
    height: 8rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.burning-div.start-burn {
    animation: burnAway 4s forwards;
}

.content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.burning-div.start-burn .content {
    animation: contentFade 3s forwards;
}

.flames {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flame {
    position: absolute;
    bottom: 0;
    width: 2rem;
    height: 3rem;
    background: linear-gradient(to top, 
        transparent 0%,
        rgba(255, 165, 0, 0.5) 50%,
        rgba(255, 0, 0, 0.5) 100%
    );
    animation: flicker 0.5s infinite alternate;
    transform-origin: bottom;
    border-radius: 50% 50% 20% 20%;
}

.embers {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ember {
    position: absolute;
    bottom: 0;
    width: 4px;
    height: 4px;
    background: orange;
    border-radius: 50%;
    animation: float 2s ease-out forwards;
}

.ashes {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ash {
    position: absolute;
    bottom: 0;
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    animation: fallAndFade 3s ease-in forwards;
}

@keyframes burnAway {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1);
    }
    30% {
        transform: scale(0.98);
        filter: brightness(1.5);
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
        filter: brightness(0.5);
    }
}

@keyframes flicker {
    0% {
        transform: scaleY(1) scaleX(1);
        opacity: 0.8;
    }
    100% {
        transform: scaleY(1.1) scaleX(0.9);
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

@keyframes fallAndFade {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100px);
        opacity: 0;
    }
}

@keyframes contentFade {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}










/* Features */
.feature-box {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.05) rotate3d(1, 5, 0, 15deg);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(156, 39, 176, 0.3);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%);
    transform: rotate(0deg);
    transition: all 0.5s ease;
    pointer-events: none;
}

.feature-box:hover::before {
    transform: rotate(180deg);
}

.feature-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg,
            transparent,
            rgba(156, 39, 176, 0.1),
            transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.feature-box:hover::after {
    transform: translateX(100%);
}

/* Modal Styles */

.modal-backdrop {
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.5;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
}

.ephemeral-modal .modal-content::before,
.feature-modal .modal-content::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg,
            transparent,
            rgba(156, 39, 176, 0.1),
            transparent);
    animation: featureModalAnimation 5s infinite;
}

@keyframes featureModalAnimation {
    0% {
        transform: translateX(-100%);
    }

    20%,
    100% {
        transform: translateX(100%);
    }
}

.ephemeral-modal .modal-content,
.feature-modal .modal-content {
    background: rgba(25, 25, 25, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.7) rotate3d(1, 1, 0, 45deg);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 3px #9325ac, 0 15px 35px rgba(156, 39, 176, 0.3);
    overflow: hidden;
}


.ephemeral-modal.show .modal-content,
.feature-modal.show .modal-content {
    transform: scale(1) rotate3d(1, 1, 0, 0deg);
    opacity: 1;
}

.ephemeral-modal .modal-header,
.feature-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-image: linear-gradient(213deg, #9325ac, #4f0f7236);
}

.modal-header .feature-icon {
    margin-bottom: 0px;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 10px;
}

.ephemeral-modal .modal-body,
.feature-modal .modal-body {
    display: flex;
    flex-direction: row;
    padding: 0;
}

@media (max-width: 768px) {

    .ephemeral-modal .modal-body,
    .feature-modal .modal-body {
        flex-direction: column;
    }
}

.feature-content {
    flex: 1;
    padding: 1.5rem;
    color: #fff;
    min-height: 60vh;
}

.feature-gallery {
    width: 50%;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .feature-gallery {
        width: 100%;
        height: 300px;
    }
}

.feature-gallery .swiper-container {
    height: 100%;
}

.feature-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-box:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary),
        0 15px 35px rgba(156, 39, 176, 0.3);
}

.feature-box:hover .feature-icon {
    transform: rotate(360deg);
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.4);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-description {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-learn-more {
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-learn-more {
    opacity: 1;
    transform: translateY(0);
}

.feature-learn-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-learn-more i {
    transform: translateX(5px);
}

/* Community Gardens */
.garden-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.garden-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .garden-card {
        margin-bottom: 30px;
    }
}




.gardens-section {
    background: #060011;
    color: #fff;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gardens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.garden-card {
    perspective: 1000px;
    cursor: pointer;
}

.garden-inner {
    position: relative;
    width: 100%;
    height: calc(50vh - 22vh);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.garden-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.garden-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease-out;
}

.garden-card:hover .garden-content {
    transform: translateY(0);
    opacity: 1;
}

.garden-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    margin-bottom: 1rem;
    overflow: hidden;
}

.garden-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(62, 32, 248, 0.3),
            rgba(140, 58, 255, 0.3),
            rgba(62, 32, 248, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.garden-card:hover .garden-glow {
    opacity: 1;
}

.garden-front h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.garden-front p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Modal Styles */
.garden-modal .modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: none;
    border-radius: 20px;
}

.garden-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat i {
    font-size: 1.5rem;
    color: #7c3aed;
    margin-bottom: 0.5rem;
}

.stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.stat strong {
    font-size: 1.2rem;
    color: #fff;
}

@media (max-width: 768px) {
    .gardens-grid {
        grid-template-columns: 1fr;
    }

    .garden-inner {
        height: 300px;
    }
}




.garden-showcase {
    background: linear-gradient(45deg, #2f2f2f, #505050);
    border: 1px solid #606060;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 4px 4px 1px 0px rgb(0 0 0 / 39%);
}

.garden-showcase img {
    max-height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.garden-showcase h4 {
    color: #ffe500;
    margin-top: 10px;
}

.setup-step {
    background: linear-gradient(45deg, #2f2f2f, #505050);
    border: 1px solid #606060;
    border-radius: 5px;
    padding: 20px;
    height: 100%;
    position: relative;
    box-shadow: 4px 4px 1px 0px rgb(0 0 0 / 39%);
}

.step-number {
    background: #ffe500;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-options {
    margin-top: 20px;
}

.contact-options .btn {
    margin: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .success-stories .col-md-6 {
        margin-bottom: 20px;
    }

    .setup-step {
        margin-bottom: 20px;
    }

    .contact-options .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
}

.community-showcase {
    background: #060011;
    position: relative;
    overflow: hidden;
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.constellation-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, #ffffff03 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, #ffffff03 0%, transparent 50%);
    pointer-events: none;
}

.world-map {
    position: relative;
    /* margin: 50px 0; */
    height: 60vh;
    max-width: 100%;
    width: 100%;
    margin: auto;
}

.map-container {
    position: relative;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 229, 0, 0.1);
    background-image: linear-gradient(45deg, #000000c7, #000000c7), url(../assets/img/landing/map_clear.png);
    background-size: 100% 100%;
    background-position: center top;
}

.base-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.community-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.community-point {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #673AB7;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.community-point::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(255 229 0);
    border-radius: 50%;
}

.community-point::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(255 229 0);
    border-radius: 50%;
    animation: pulsate 2s infinite;
    animation-delay: 1s;
}


.community-point:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 20px rgba(255, 229, 0, 0.5);
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.75);
        opacity: 0.35;
    }
}

.community-detail-popup {
    position: absolute;
    background: rgb(44 6 47);
    border: 1px solid rgb(163 9 189);
    border-radius: 10px;
    padding: 20px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: none;
    z-index: 1000;
    animation: popupFade 0.3s ease-out;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.community-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #ffe500;
}

.close-popup {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #ffe500;
    border: none;
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}

.community-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.detail-stat {
    text-align: center;
    flex: 1;
    padding: 10px;
    background: rgba(255, 229, 0, 0.1);
    border-radius: 5px;
    margin: 0 5px;
}

.stat-value {
    display: block;
    font-size: 24px;
    color: #ffe500;
    font-weight: bold;
    margin-bottom: 5px;
}

.community-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.community-links {
    display: flex;
    gap: 10px;
}

.community-links a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 229, 0, 0.2);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.community-links a:hover {
    background: rgba(255, 229, 0, 0.3);
}

.community-links img {
    width: 20px;
    height: 20px;
}

.stats-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-card {
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid rgb(163 9 189);
    text-align: center;
    backdrop-filter: blur(5px);
    min-width: 175px;
    background-image: linear-gradient(45deg, rgb(62 0 74), rgb(62 0 74 / 67%));
}

.stat-number {
    display: block;
    font-size: 24px;
    color: #ffe500;
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
    color: #fff;
}

.community-carousel {
    margin: 50px 0;
    position: relative;
}



@media (max-width: 768px) {
    .world-map {
        height: 400px;
    }

    .stats-overlay {
        position: relative;
        top: auto;
        right: auto;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }

    .stat-card {
        flex: 1;
        margin: 0 5px;
    }

    .community-card {
        flex: 0 0 250px;
    }
}



#bringYourCommunity {

    /* Modal Base Styles */
    .modal-content {
        background: linear-gradient(23deg, #2f2f2f, #505050);
        border: 1px solid rgb(118 103 103);
        color: #fff;
    }

    .modal-header {
        background: #2a2a2a;
        border-bottom: 1px solid #766767;
        box-shadow: 0px 2px 1px #0000003d;
    }

    .btn-close {
        color: #fff;
        opacity: 0.8;
        filter: invert(1) grayscale(100%) brightness(200%);
    }

    /* Synergy Section */
    .synergy {
        padding: 40px 0px;
        padding-left: 40%;
        width: 95%;
        background-size: 40% auto;
        background-position: bottom left;
        background-repeat: no-repeat;
        margin-top: -1rem;
    }

    /* USP Section */
    .all_usp {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        margin: 30px 0;
    }

    .one_usp {
        width: 32%;
        padding: 20px;
        border: 1px solid #606060;
        border-radius: 5px;
        box-shadow: 2px 2px 1px #00000059;
        background-image: linear-gradient(45deg, #434343, #4c4c4c);
        transition: transform 0.3s ease;
    }

    .one_usp:hover {
        transform: translateY(-5px);
        box-shadow: 4px 4px 15px #00000059;
    }

    .usp_icon {
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        width: 75px;
        height: 75px;
        margin: 25px auto;
        transition: transform 0.3s ease;
    }

    .one_usp:hover .usp_icon {
        transform: scale(1.1);
    }

    /* Setup Steps */
    .setup-step {
        background: linear-gradient(45deg, #2f2f2f, #505050);
        border: 1px solid #606060;
        border-radius: 5px;
        padding: 25px;
        height: 100%;
        position: relative;
        box-shadow: 4px 4px 1px 0px rgb(0 0 0 / 39%);
        transition: transform 0.3s ease;
    }

    .setup-step:hover {
        transform: translateY(-5px);
    }

    .step-number {
        background: #ffe500;
        color: #000;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin-bottom: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .setup-step h5 {
        color: #ffe500;
        margin-bottom: 10px;
    }

    /* Contact Section */
    .contact-options {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .contact-options .btn {
        padding: 10px 25px;
        font-weight: 500;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .synergy {
            padding: 20px;
            padding-left: 15%;
            width: 100%;
            background-position: -45% center;
        }

        .all_usp {
            flex-direction: column;
        }

        .one_usp {
            width: 100%;
            margin-bottom: 15px;
        }

        .setup-step {
            margin-bottom: 15px;
        }

        .contact-options {
            flex-direction: column;
        }

        .contact-options .btn {
            width: 100%;
            margin: 5px 0;
        }

        .usp_icon {
            margin: 15px auto;
            width: 50px;
            height: 50px;
        }
    }

    /* Animation for USPs */
    .one_usp {
        opacity: 0;
        animation: fadeInUp 0.6s ease forwards;
    }

    .one_usp:nth-child(1) {
        animation-delay: 0.2s;
    }

    .one_usp:nth-child(2) {
        animation-delay: 0.4s;
    }

    .one_usp:nth-child(3) {
        animation-delay: 0.6s;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Button Styles */
    .btn-primary {
        background-image: linear-gradient(to right, #ffc000c7, #ffbf009c);
        border: 1px solid #ffc108f0;
        box-shadow: 0px 0px 0px 0px rgb(129 116 0), 0px 0px 4px 1px #ffeb3b0e, 4px 4px 1px 0px #0000006e;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background-image: linear-gradient(to right, #ffc000e6, #ffbf00cc);
        box-shadow: 0px 0px 0px 0px rgb(129 116 0), 0px 0px 4px 1px #ffeb3b0e, 8px 8px 5px 0px #0000006e;
        transform: translateY(-2px);
    }

    .btn-secondary {
        background-image: linear-gradient(45deg, #545454e8, #5c6268ed);
        border: 1px solid #7a7a7a;
        box-shadow: 4px 4px 1px 0px rgb(0 0 0 / 39%);
        transition: all 0.3s ease;
    }

    .btn-secondary:hover {
        background-image: linear-gradient(45deg, #5c5c5ce8, #646b71ed);
        box-shadow: 8px 8px 5px 0px rgb(0 0 0 / 39%);
        transform: translateY(-2px);
    }

    /* Modal Animation */
    .modal.fade .modal-dialog {
        transform: scale(0.9);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .modal.show .modal-dialog {
        transform: scale(1);
        opacity: 1;
    }
}




.meet-team-section {
    background: #060011;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #ffe500, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 160px, #ffe500, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 130px 80px, #ffe500, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    animation: twinkle 4s infinite;
    opacity: 0.3;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.4;
    }
}

.section-header {
    margin-bottom: 60px;
}

.section-header h1 {
    color: #ffe500;
    margin-bottom: 15px;
}

.team-card {
    perspective: 1500px;
    height: 500px;
    margin-bottom: 30px;

    .card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: transform 0.8s;
        transform-style: preserve-3d;
        cursor: pointer;
    }

    &:hover .card-inner {
        transform: rotateY(180deg);
    }

    .card-front,
    .card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        border-radius: 15px;
        overflow: hidden;
        background: linear-gradient(45deg, #2f2f2f, #505050);
        border: 1px solid #606060;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

    .card-back {
        transform: rotateY(180deg);
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.member-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, #2f2f2f, transparent);
}

.member-info {
    padding: 20px;
    color: #fff;
}

.member-info h3 {
    color: #ffe500;
    margin-bottom: 5px;
}

.position {
    color: #ccc;
    font-size: 0.9em;
    display: block;
    margin-bottom: 15px;
}

.quick-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag {
    background: rgba(255, 229, 0, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    color: #ffe500;
}

.fun-facts h4 {
    color: #ffe500;
    margin-bottom: 20px;
}

.stat-bars {
    margin-bottom: 20px;
}

.stat {
    margin-bottom: 15px;
}

.stat span {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 0.9em;
}

.bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: #ffe500;
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

.special-move {
    background: rgba(255, 229, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.special-move h5 {
    color: #ffe500;
    margin-bottom: 5px;
}

.social-link {
    color: #ffe500;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    background: rgba(255, 229, 0, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 229, 0, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .team-card {
        height: 450px;
    }

    .member-image {
        height: 250px;
    }

    .quick-facts {
        justify-content: center;
    }
}



.roadmap-modal .modal-content {
    background: rgb(15 14 14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px #060011, 0 15px 35px rgb(156 39 176 / 58%);
    overflow: hidden;
}

.roadmap-modal .btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: #ffffff00;
    border: 0;
    border-radius: .375rem;
    opacity: .5;
}

.roadmap-modal .modal-header {
    background-image: linear-gradient(271deg, #060011, #060011);
    border-bottom: 0px;
}

.roadmap-modal .modal-body {
    padding: 0px;
}

.roadmap-section {
    background: #060011;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-title .subtitle {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: normal;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    display: none;
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(156, 39, 176, 0.1),
            rgba(156, 39, 176, 0.5),
            rgba(156, 39, 176, 0.1));
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #7c3aed, #9333ea);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.marker-content {
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.timeline-content {
    flex: 0 0 70%;
    margin-left: 2rem;
}

.timeline-card {
    border: 2px solid #811f99;
    background: rgb(0 0 0 / 95%);
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 2rem;
    text-align: right;
}

.timeline-header h3 {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 20px;
    background-image: linear-gradient(45deg, #9124a9, #4f0e5e);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.badge {
    background: linear-gradient(45deg, #7c3aed, #9333ea);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.timeline-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

.timeline-body li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.timeline-body li::before {
    content: '';
    position: absolute;
    left: 0;
    color: #7c3aed;
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            transparent,
            rgba(124, 58, 237, 0.1),
            transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.timeline-card:hover .glow-effect {
    transform: translateX(100%);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row;
        justify-content: flex-start;
    }

    .timeline-marker {
        margin-right: 1rem;
    }

    .timeline-content {
        flex: 1;
        margin-left: 1rem !important;
        margin-right: 0 !important;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
}


.floating-roadmap-trigger {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 1000;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.floating-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #8900a1, #370142);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    border: 1px solid #d900ff9e;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.year-text {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.floating-icon {
    color: white;
    font-size: 1rem;
    opacity: 0.8;
}

.particle-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

.hint-text {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-roadmap-trigger:hover {
    transform: scale(1.1);
}

.floating-roadmap-trigger:hover .hint-text {
    opacity: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

@keyframes glow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-roadmap-trigger {
        width: 60px;
        height: 60px;
        right: 20px;
        bottom: 80px;
    }

    .year-text {
        font-size: 1rem;
    }

    .floating-icon {
        font-size: 0.8rem;
    }

    .hint-text {
        display: none;
    }
}

/* Add sparkle animation */
.floating-roadmap-trigger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 15px 15px;
    animation: sparkle 4s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes sparkle {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-100%) rotate(360deg);
    }
}

.introtext {
    margin-bottom: 25px;
    padding: 20px;
    font-size: 1rem;
}

.timeline-item:nth-child(even) .timeline-content ul {
    padding-right: 20px;
}

.roadmap-modal h5 {
    padding: 0px 20px;
    border-bottom: 2px solid #5f1471;
    padding-bottom: 10px;
    color: #ae21d1;
}

.roadmap-modal .btn-close {
    padding: 10px;
    border: 2px solid #ae21d1;
    color: #ae21d1;
    position: absolute;
    top: 20px;
    right: 20px;
}

.roadmap-modal .btn-close {
    padding: 10px;
    border: 2px solid #ae21d1;
    color: #ffffff;
    position: absolute;
    top: 20px;
    right: 20px;
    background: #691880;
    z-index: 1;
    font-size: 1.5rem;
    padding-top: 0px;
}

.roadmap-modal {
    min-height: 500px;
    background: #1a1a1a;
}

.background-overlay {
    top: 0;
    left: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease-out;
    z-index: 0;
}

.background-overlay.active {
    opacity: 0.06;
}

.background-overlay.sliding {
    animation: slideLeft 15s linear forwards;
}

@keyframes slideLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-10%);
    }
}

.content-wrapper {
    padding: 2rem;
}


.btn-primary:hover {
    border: none;
}

.btn.btn-outline-light {
    border-radius: 5px;
    padding: 10px 20px;
}

.btn.btn-outline-light:hover {
    color: #ffffff;
    background-color: #730088;
    border-color: #d900ff;
}

body::-webkit-scrollbar {
    width: 0.5em;
}

body::-webkit-scrollbar-track {
    background-color: #070010;
}

body::-webkit-scrollbar-thumb {
    background-color: #8d23a4;
    border-radius: 0.5em;
}

.roadmap-section .modal-body::-webkit-scrollbar {
    width: 0.5em;
}

.roadmap-section .modal-body::-webkit-scrollbar-track {
    background-color: #070010;
}

.roadmap-section .modal-body::-webkit-scrollbar-thumb {
    background-color: #8d23a4;
    border-radius: 0.5em;
}

.swiper-button-next,
.swiper-button-prev {
    color: transparent;
}

.swiper-slide {
    padding: 0px;
}

.modal-content {
    font-size: 1rem;

    .fa-check {
        color: #ffc107;
    }
}

.community-detail-popup {
    user-select: none;
}

.popup-header {
    cursor: grab;
}

.popup-header:active {
    cursor: grabbing;
}



:root {
    --navbar-bg: rgba(6, 0, 17, 0.85);
    --navbar-text: #ffe500;
    --navbar-hover: #d900ff;
    --navbar-border: #d900ff;
}

.mystical-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgb(255 235 59 / 8%);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.mystical-navbar .navbar-brand {
    display: flex;
    align-items: center;
    color: var(--navbar-text);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mystical-navbar .navbar-brand img {
    max-height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px rgba(255, 229, 0, 0.5));
}

.mystical-navbar .nav-link {
    color: var(--navbar-text);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mystical-navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--navbar-hover);
    transition: width 0.3s ease;
}

.mystical-navbar .nav-link:hover,
.mystical-navbar .nav-link.active {
    color: var(--navbar-hover);
}

.mystical-navbar .nav-link:hover::before,
.mystical-navbar .nav-link.active::before {
    width: 100%;
}

.mystical-navbar .navbar-toggler {
    border: none;
    color: var(--navbar-text);
}

.mystical-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,229,0,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.mystical-navbar .wallet-connect {
    background: linear-gradient(45deg, #8b00a3, #56006496);
    border: 1px solid var(--navbar-border);
    color: white;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mystical-navbar .wallet-connect:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(139, 0, 163, 0.5);
}

.mystical-navbar .wallet-connect img {
    max-height: 24px;
    margin-right: 10px;
}

/* Mobile Specific Styles */
@media (max-width: 991px) {
    .mystical-navbar .navbar-collapse {
        background: var(--navbar-bg);
        backdrop-filter: blur(15px);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .mystical-navbar .navbar-collapse.show {
        display: flex;
        animation: slideIn 0.5s ease;
    }

    .mystical-navbar .navbar-collapse .nav-link {
        font-size: 1.5rem;
        margin: 15px 0;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(100%);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .mystical-navbar .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        color: var(--navbar-text);
        font-size: 2rem;
        cursor: pointer;
    }
}

section#claim {
    background-position: center;
    background-image: linear-gradient(45deg, #110000f2, #110000f0), url(../assets/img/ephemeral_sample.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section#features {
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
}



.options-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.options-content {
    background: linear-gradient(45deg, #2f2f2f, #505050);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: white;
    /* border: 1px solid #605c5c; */
    box-shadow: 4px 8px 6px 0px #0000009e;
    border-bottom: 3px solid rgb(142 36 167);
    background-image: linear-gradient(213deg, #9325ac, #4f0f72);
}

.options-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.options-buttons button {
    min-width: 150px;
}




.mint-interface {
    background-image: linear-gradient(45deg, #2f2f2f, #505050);
    border: 1px solid #605c5c;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 4px 8px 6px 0px #0000009e;
}

#mintAmount {
    background: #1a1a1a;
    border: 1px solid #605c5c;
    color: white;
    padding: 8px;
}

#mint-status {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.hidden {
    display: none;
}

.step-container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.step-number {
    background: #6c757d;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.card-container {
    display: flex;
    gap: 20px;
    padding: 40px;
    perspective: 1000px;



    .eph-nft {
        position: relative;
        width: 450px;
        padding-bottom: 50%;
        border-radius: 15px;
        overflow: hidden;
        cursor: pointer;
        transform-style: preserve-3d;
        transition: transform 0.5s ease;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        box-shadow: 0px 0px 1px 2px #f0bf5745, 0px 0px 18px 15px #000000d9;

        &.eph1 {
            background-image: url(../assets/img/landing/eph1.png);
            transform: rotate(-5deg);
        }

        &.eph2 {
            background-image: url(../assets/img/landing/eph2.png);
            transform: translateY(-10px);
        }

        &.eph3 {
            background-image: url(../assets/img/landing/eph3.png);
            transform: rotate(5deg);
        }
    }

    .eph-nft:not(:first-child) {
        margin-left: -150px;
    }

    .eph-nft:hover {
        transform: translateY(-10px) rotateY(5deg);
        z-index: 1;
    }

    .eph-nft img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .eph-nft:hover img {
        transform: scale(1.05);
    }


}



/* Global Mobile Adjustments */
@media (max-width: 768px) {
    section {
        margin-top: 50px;
        margin-bottom: 50px;
    background: rgba(0, 0, 0, 0.2);
    height: unset;
    }
    .mystical-navbar .navbar-collapse.show {
        display: flex;
        animation: slideIn 0.5s ease;
        height: 600px;
        background-color: #000;
        text-align: center;
    }

    section#features {
        height: unset;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .feature-box {
        padding: 30px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transform-style: preserve-3d;
        perspective: 1000px;
    }

    body {
        font-size: 14px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section Adjustments */
    .hero {
        margin: 0px 0 0 0px;
        text-align: center;
    }

    .hero h1.display-4 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero .fs-3 {
        font-size: 1.2rem !important;
    }

    /* Card Container */
    .card-container {
        padding: 20px 10px;
        flex-direction: column;
        align-items: center;
    }

    .eph-nft-card {
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 20px;
    }

    .card-inner {
        height: 300px;
    }

    /* Features Section */
    .feature-box {
        padding: 20px;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    /* Gardens Section */
    .gardens-section {
        height: auto;
        padding: 40px 0;
    }

    .gardens-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .garden-inner {
        height: 250px;
    }

    .garden-content {
        padding: 1rem;
    }

    .garden-front h3 {
        font-size: 1.2rem;
    }

    /* Community Showcase */
    .community-showcase {
        height: auto;
        padding: 40px 0;
    }

    .world-map {
        height: 40vh;
    }

    .stats-overlay {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .stat-card {
        min-width: auto;
        padding: 10px;
    }

    .stat-number {
        font-size: 18px;
    }

    /* Team Section */
    .team-card {
        height: 400px;
        margin-bottom: 20px;
    }

    .member-image {
        height: 200px;
    }

    /* Navigation */
    .mystical-navbar .navbar-brand img {
        max-height: 40px;
    }

    .mystical-navbar .nav-link {
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .wallet-connect {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    /* Modal Adjustments */
    .modal-dialog {
        margin: 10px;
    }

    .feature-content, 
    .feature-gallery {
        width: 100%;
    }

    .feature-gallery {
        height: 200px;
    }

    /* Community Detail Popup */
    .community-detail-popup {
        width: 90%;
        left: 5% !important;
        right: 5% !important;
    }

    .community-stats {
        flex-direction: column;
    }

    .detail-stat {
        margin: 5px 0;
    }

    /* Roadmap */
    .timeline-content {
        flex: 0 0 100%;
        margin-left: 0 !important;
    }

    .timeline-header h3 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 10px;
    }

    .timeline-body {
        padding: 15px;
    }

    /* Floating Roadmap Trigger */
    .floating-roadmap-trigger {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 70px;
    }

    .year-text {
        font-size: 0.9rem;
    }

    /* NFT Minting Interface */
    .mint-interface {
        margin: 10px 0;
        padding: 15px;
    }

    .step-container {
        padding: 15px;
    }

    .options-content {
        width: 90%;
        padding: 1rem;
    }

    .options-buttons {
        flex-direction: column;
    }

    .options-buttons button {
        width: 100%;
    }
}

/* Tablet Specific Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .gardens-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-overlay {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-card {
        height: 450px;
    }

    .feature-box {
        min-height: 250px;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .gardens-section,
    .community-showcase {
        height: auto;
        padding: 60px 0;
    }

    .garden-inner {
        height: 200px;
    }

    .team-card {
        height: 350px;
    }

    .mystical-navbar .navbar-collapse {
        overflow-y: auto;
        max-height: 100vh;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-front {
        background-size: contain;
    }
    
    .garden-front {
        background-size: cover;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .feature-box,
    .garden-card,
    .team-card {
        background: rgba(255, 255, 255, 0.05);
    }

    .stat-card {
        background: rgba(0, 0, 0, 0.5);
    }
}










.social-proof {
    background: linear-gradient(135deg, #060011 0%, #170024 100%);
    padding: 80px 0;
    /* margin: 50px 0; */
    position: relative;
    overflow: hidden;
    min-height: 95vh;

    .testimonial-grid {
        display: flex;
        max-width: 1200px;
        height: 400px;
        margin: 0 auto;
        position: relative;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .testimonial_players {
        /* border: 1px solid #fff; */
        height: auto;
        width: 80%;
        position: absolute;
        bottom: 0;
        left: 10%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: space-around;
        justify-content: center;
        overflow: hidden;
        /* overflow-y: scroll; */
    }
    .testimonial_player {
        border: 3px solid #4d025e;
        border-radius: 4px;
        width: calc(100% / 12);
        background-color: #00000042;
        position: relative;
        margin-bottom: 10px;
        margin-right: 10px;
        cursor: pointer;

        &.selectedPlayer {
            border: 1px solid #ffc107;

            .playeravatar {
                opacity: 1;
            }

            .playername {
                background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.137), #00000014);
            }
        }

        &:hover {
            border: 1px solid #ffc107;

            .playeravatar {
                opacity: 1;
            }

            .playername {
                background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.137), #00000014);
            }
        }
    }



    .playername {
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
        text-align: left;
        color: #ffc107;
        font-size: 1rem;
        display: flex;
        font-style: italic;
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
        text-shadow: 0px 0px 5px #000, 0px 0px 10px #000;
        background-image: linear-gradient(0deg, black, #0000004d);
    }

    .playeravatar {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.75;
    }

    .bigavatar {
        width: 20%;
        /* height: 70%; */
        border: 4px solid #b602d6;
        padding-bottom: 22%;
        position: absolute;
        left: 1%;
        border-radius: 5px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        transition: all 0.3s ease;

        &.hide {
            left: -100%;
            transition: all 0.3s ease;
        }
    }


    .bigtext {
        width: 80%;
        max-height: 55%;
        position: absolute;
        top: 5%;
        right: 0%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
        overflow-y: scroll;
        background-image: linear-gradient(234deg, #6f0286e3, #78018d);
        border: 1px solid #b602d6;
        border-radius: 5px;
        transition: all 0.3s ease;

        &::-webkit-scrollbar {
            width: 0.5em;
          }
        &::-webkit-scrollbar-track {
            background-color: #6f0286;
          }
        &::-webkit-scrollbar-thumb {
            background-color: yellow;
            border-radius: 0.5em;
        }

        &.hide {
            right: -150%;
            transition: all 0.3s ease;
        }
        p {
            padding: 20px;
            color: #ffff00;
            font-size: 1rem;
            border-radius: 5px;
            text-shadow: 0 0 7px #000000c7;
        }
    }

    /* Floating particles effect */
    .particles {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
    }

    .particle {
        position: absolute;
        background: radial-gradient(circle, #ffd700 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        opacity: 0;
    }
}

@keyframes particlefloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 768px) {

    .social-proof {

        .mobile-scroller {
            position: relative;
            width: 90%;
            height: 150px;
            overflow: hidden;
            overflow-x: scroll;
        }

        .testimonial_players {
            /* border: 1px solid #fff; */
            height: auto;
            width: auto;
            position: absolute;
            bottom: 0;
            left: 0%;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: center;
            overflow: hidden;
        }

        .bigavatar {
            width: 30%;
            height: 30%;
            border: 4px solid #b602d6;
            padding-bottom: 30%;
            position: absolute;
            left: 5%;
            border-radius: 5px;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            transition: all 0.3s ease;
        }

        .bigtext {
            width: 65%;
            max-height: 95%;
            position: absolute;
            top: 5%;
            right: 5%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            overflow: hidden;
            overflow-y: scroll;
            background-image: linear-gradient(234deg, #6f0286e3, #78018d);
            border: 1px solid #b602d6;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
    }

}


@media (max-width: 768px) {

    .card-container {
        padding: 20px 10px;
        flex-direction: row;
        align-items: center;
    }
    .eph-nft-card:first-child {
        margin-left: 0px !important;
    }

    .eph-nft-card {
        width: 100%;
        height: 85vw;
        margin-left: -30% !important;

        .ppty {
            display: flex;
            margin-bottom: 10px;
            flex-wrap: nowrap;
            justify-content: space-between;
            align-items: center;
            overflow: hidden;
            flex-direction: column;
        }

        .card-back {
            padding: 30px 10px;
        }
    }
    .card-inner {
        position: relative;
        height: 100%;
        padding-bottom: 0px;
    }
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .card-front {
            background-size: cover;
            background-position: center;
        }
    }
}



.pageStatusBar {
    position: fixed;
    bottom: 0;
    left: 0;
    min-width: 20%;
    background: linear-gradient(45deg, #080013, #292929);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top-right-radius: 10px;
    border-top: 2px solid #ffc108;
    border-right: 2px solid #ffc108;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);

    .status-item {
        display: flex;
        align-items: center;
        color: #fff;
        gap: 10px;
    }
    
    .status-value {
        background: linear-gradient(45deg, #ffc108, #ffd700);
        color: #000;
        padding: 2px 10px;
        border-radius: 4px;
        font-weight: bold;
        min-width: 50px;
        text-align: center;
        box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    }
    
    .status-value.animated {
        animation: statuspulse 0.5s ease-in-out;
    }

}

@keyframes statuspulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .pageStatusBar {
            flex-direction: column;
            gap: 10px;
            padding: 10px;
        
        .status-item {
            justify-content: space-between;
        }
    }

}


.flipbook-container {
    width: 90%;
    height: 90vh;
    max-width: 1200px;
iframe {
    width: 100%;
    height: 100%;
    border: none;
}
}



.underbody {
    .eph-nft-card {
        width: 200px;
        height: 200px;
        top: 10px;
        right: 10px;
        box-shadow: 0px 0px 10px 7px #f77171;
        transform: none;
        position: absolute!important;
    }


    #countdown {
        width: 20%;
        font-size: 36px;
        font-weight: bold;
        color: #ffffff;
        text-align: center;
        transform: rotateY(180deg);
        margin: 20px auto;
    }

    #puzzle-box {
        width: 40%;
        font-size: 36px;
        font-weight: bold;
        color: #ffffff;
        text-align: center;
        transform: rotateY(180deg);
        margin: 70px auto;
    }

    #underriddle {
        width: 40%;
        font-size: 50px;
        font-weight: bold;
        color: #ffffff;
        transform: rotateY(180deg);
        margin: 70px auto;
        text-align: center;
    }
}

.msg {
    position: absolute;
    right: 10px;
    bottom: 20px;
    border: 1px solid yellow;
    padding: 5px;
    background-color: #060011;
    border-radius: 5px;
}


#explore {
    .section-container {
        padding: 50px 0;
    }
    .info-card {
        position: relative;
        overflow: hidden;
        cursor: pointer;
        border-radius: 15px;
        transition: transform 0.3s ease;
        width: 100%;
        padding-bottom: 250px;
        border: 1px solid yellow;
    }
    .info-card:hover {
        transform: scale(1.05);
    }
    .info-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
    }
    .info-card .overlay {
        position: absolute;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 18px;
        font-weight: bold;
    }
}



#featureFullModal {
.modal-content {
    background-color: var(--background-dark);
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-nav .nav-tabs {
    border: none;
}

.feature-nav .nav-link {
    color: var(--text-light);
    border: none;
    padding: 1rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.feature-nav .nav-link.active {
    background: transparent;
    color: var(--primary);
}

.feature-nav .nav-link.active::after {
    width: 80%;
}

/* Content Styles */
.feature-content {
    height: 600px;
    overflow-y: auto;
}

.feature-image {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), transparent);
}

.overview-image {
    background-image: url('assets/img/landing/nft_manager.png');
}

.community-image {
    background-image: url('assets/img/landing/clans.png');
}

.artist-image {
    background-image: url('assets/img/landing/29.png');
}

/* Feature Highlights */
.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.highlight-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Benefits List */
.benefit-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255,255,255,0.1);
}

.benefit-item h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Artist Features */
.feature-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255,255,255,0.1);
}

.feature-item h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-stat {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}
}



/* styles/npc-shop.css */

/* Portal Container */
#portal {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95));
    min-height: 100vh;
    padding: 20px 0;
    color: #e0e0e0;


    /* Title Styling */
    h2 {
        font-family: 'Cinzel', serif;
        color: #ffd700;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        margin-bottom: 30px;
        font-size: 2.5rem;
        animation: glow 2s ease-in-out infinite alternate;
    }

    /* NPC Container */
    .npc-container {
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        border: 1px solid rgba(255, 215, 0, 0.2);
        margin-bottom: 30px;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: nowrap;
        justify-content: space-between;

        .npcFeedback {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            padding: 1rem;
        }
    }

    .npc-img {
        max-width: 260px;
        height: auto;
        transition: transform 0.3s ease;
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }

    .npc-img:hover {
        transform: scale(1.05);
    }

    .npc-container p {
        font-family: 'Lora', serif;
        font-size: 1.1rem;
        color: #ffd700;
        margin: 0;
        opacity: 0.9;
    }

    /* Inventory Section */
    h4 {
        color: #ffd700;
        font-family: 'Cinzel', serif;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

    .list-group {
        background: transparent;
        max-height: 400px;
        overflow-y: auto;
        border-radius: 10px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        border: 2px dashed #ffff0045;
        padding: 10px;
    }

    .list-group::-webkit-scrollbar {
        width: 8px;
    }

    .list-group::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

    .list-group::-webkit-scrollbar-thumb {
        background: rgba(255, 215, 0, 0.3);
        border-radius: 4px;
    }

    .list-group-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 215, 0, 0.2);
        color: #ffc107;
        margin-bottom: 8px;
        border-radius: 8px !important;
        cursor: move;
        transition: all 0.3s ease;
        width: calc(100% / 4.35);
        height: 100px;
        margin-right: 10px;
        background-position: -100% 0px;
        background-size: contain;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-end;
        padding: 5px;
    }

    .list-group-item:hover {
        background-position: -70% 0px;
    }

    .list-group-item.dragging {
        opacity: 0.5;
        background: rgba(255, 215, 0, 0.2);
    }

    /* Trade Zone */
    .trade-zone {
        padding-bottom: 28%;
        border: 2px dashed rgba(255, 215, 0, 0.3);
        border-radius: 15px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        /* font-family: 'Lora', serif; */
        color: #999;
        background: rgba(255, 255, 255, 0.03);
        transition: all 0.3s ease;
        font-family: 'CeraPro';
        flex-direction: row;
        flex-wrap: wrap;
    }

    .trade-zone.drag-over {
        border-color: #ffd700;
        background: rgba(255, 215, 0, 0.1);
        color: #ffd700;
    }

    /* Gold Counter */
    #goldEarned {
        color: #ffd700;
        font-size: 1.2rem;
        font-weight: bold;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }

    /* NPC Response */
    #npcResponse {
        font-family: 'Lora', serif;
        color: #ffd700;
        font-style: italic;
        min-height: 24px;
        animation: fadeIn 0.5s ease-out;
    }


    /* NPC Animations */
    .npc-img.speaking {
        animation: bounce 0.5s ease;
    }

    .npc-img.interacting {
        animation: pulse 0.5s ease;
    }

    /* Sale Animation */
    .sale-animation {
        position: absolute;
        color: #ffd700;
        font-size: 1.5rem;
        font-weight: bold;
        pointer-events: none;
        animation: floatUp 1s ease-out forwards;
    }

    /* Rarity Colors */
    .rarity-common {
        color: #b0b0b0;
    }

    .rarity-rare {
        color: #4169e1;
    }

    .rarity-epic {
        color: #9932cc;
    }

    .rarity-legendary {
        color: #ffa500;
    }

    /* Item Hover Effects */
    .list-group-item {
        position: relative;
        overflow: hidden;
    }

    .list-group-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 215, 0, 0.1),
                transparent);
        transition: 0.5s;
    }

    .list-group-item:hover::before {
        left: 100%;
    }



    /* Interactive Elements */
    .item-value {
        background: rgba(255, 215, 0, 0.1);
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 0.9em;
        transition: all 0.3s ease;
    }

    .list-group-item:hover .item-value {
        background: rgba(255, 215, 0, 0.2);
        transform: scale(1.1);
    }

    /* NPC Interaction Effects */
    .npc-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at center,
                rgba(255, 215, 0, 0.1) 0%,
                transparent 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .npc-container:hover::after {
        opacity: 1;
    }

    /* Trade Zone Enhancements */
    .trade-zone::before {
        font-size: 2em;
        margin-bottom: 10px;
        opacity: 0.5;
        transition: all 0.3s ease;
    }

    .trade-zone.drag-over::before {
        transform: scale(1.2);
        opacity: 1;
    }


    .gold-increase {
        animation: goldPulse 0.5s ease;
    }

    /* Rarity Badge Enhancements */
    .rarity-badge {
        position: absolute;
        top: 5px;
        right: 5px;
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 0.8em;
        text-transform: uppercase;
    }

    .rarity-common .rarity-badge {
        background: rgba(176, 176, 176, 0.2);
    }

    .rarity-rare .rarity-badge {
        background: rgba(65, 105, 225, 0.2);
    }

    .rarity-epic .rarity-badge {
        background: rgba(153, 50, 204, 0.2);
    }

    .rarity-legendary .rarity-badge {
        background: rgba(255, 165, 0, 0.2);
    }

    /* Empty State Styling */
    .empty-inventory {
        text-align: center;
        padding: 20px;
        color: #999;
        font-style: italic;
    }

    .empty-inventory::before {
        content: '🎒';
        font-size: 2em;
        display: block;
        margin-bottom: 10px;
    }

    /* Loading States */
    .loading {
        position: relative;
        overflow: hidden;
    }

    .loading::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.1),
                transparent);
        animation: shimmer 2s infinite;
    }

    /* Tooltip Styling */
    [data-tooltip] {
        position: relative;
    }

    [data-tooltip]:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: 5px 10px;
        background: rgba(0, 0, 0, 0.8);
        color: #fff;
        border-radius: 5px;
        font-size: 0.8em;
        white-space: nowrap;
        z-index: 1000;
    }

}




/* Gold Counter Animation */
@keyframes goldPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Animation Keyframes */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .list-group-item {
        padding: 10px;
    }

    .item-value {
        font-size: 0.8em;
    }

    .trade-zone::before {
        font-size: 1.5em;
    }

    [data-tooltip]:hover::after {
        display: none;
    }
}

/* Dark Mode Optimization */
@media (prefers-color-scheme: dark) {
    .list-group-item {
        background: rgba(255, 255, 255, 0.05);
    }

    .trade-zone {
        border-color: rgba(255, 215, 0, 0.2);
    }
}


/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }

    to {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #portal h2 {
        font-size: 2rem;
    }

    .npc-img {
        max-width: 150px;
    }

    .npc-container {
        padding: 15px;
    }

    .list-group {
        max-height: 300px;
    }

    .trade-zone {
        min-height: 150px;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    #portal h2 {
        font-size: 1.75rem;
    }

    .npc-container p {
        font-size: 1rem;
    }

    #portal h4 {
        font-size: 1.25rem;
    }
}