/* Advanced Gradient & Shape Animations */
@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 20px rgba(29, 185, 84, 0.3); }
    50% { box-shadow: 0 0 40px rgba(29, 185, 84, 0.6); }
    100% { box-shadow: 0 0 20px rgba(29, 185, 84, 0.3); }
}

/* Organic Shapes for Backgrounds */
.blob-shape {
    position: absolute;
    z-index: 0;
    filter: blur(40px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}

/* Slide Background Styles */
.slide-bg-1 {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient-move 15s ease infinite;
}

.slide-bg-2 {
    background-color: #000;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
}

.slide-bg-3 {
    background: #121212;
    background-image: linear-gradient(#1DB954 1px, transparent 1px), linear-gradient(90deg, #1DB954 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
}

/* Typography Enhancements - Reduced by 10% more */
.slide-title-big {
    font-size: 2.88rem; /* Reduced by 10% more */
    font-weight: 900;
    letter-spacing: -1.44px;
    line-height: 0.9;
    text-transform: uppercase;
    transform: rotate(-2deg);
    margin-bottom: 0.72rem; /* Reduced by 10% more */
    text-shadow: 2.88px 2.88px 0px rgba(0,0,0,0.3);
    /* Ensure contrast on any bg */
    color: white; 
    text-stroke: 1px rgba(0,0,0,0.5);
    -webkit-text-stroke: 1px rgba(0,0,0,0.5);
}

/* Card/Box Styling inside slides */
.stat-box {
    background: rgba(0, 0, 0, 0.6); /* Darker background for better contrast */
    backdrop-filter: blur(10px);
    padding: 0.576rem; /* Reduced by 10% more */
    border-radius: 17px; /* Reduced by 10% more */
    border: 1.44px solid rgba(255,255,255,0.1); /* Reduced by 10% more */
    margin: 0.216rem 0; /* Reduced by 10% more */
    transform: rotate(2deg);
    transition: transform 0.3s ease;
    color: white; /* Ensure text inside is white */
}

.stat-box:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Token Specific Styles (New) - Reduced by 10% more */
.token-image-large {
    width: 100.8px; /* Reduced by 10% more */
    height: 100.8px; /* Reduced by 10% more */
    border-radius: 50%;
    border: 2.88px solid #fff; /* Reduced by 10% more */
    box-shadow: 0 7.2px 21.6px rgba(0,0,0,0.5); /* Reduced by 10% more */
    margin-bottom: 0.36rem; /* Reduced by 10% more */
    object-fit: cover;
    animation: pulse-glow 3s infinite;
    z-index: 2;
    position: relative;
}

.token-list {
    width: 100%;
    max-width: 90%; /* Changed to percentage for better fit */
    margin-top: 0.36rem; /* Reduced by 10% more */
    display: flex;
    flex-direction: column;
    gap: 0.288rem; /* Reduced by 10% more */
    z-index: 2;
    position: relative;
    /* Removed max-height and overflow to show all items */
}

.token-list-item {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.5); /* Darker background for contrast */
    padding: 0.432rem 0.72rem; /* Reduced by 10% more */
    border-radius: 12px; /* Reduced by 10% more */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.2s;
}

.token-list-item:hover {
    transform: translateX(5px);
    background: rgba(0,0,0,0.7);
}

.token-list-img {
    width: 28.8px; /* Reduced by 10% more */
    height: 28.8px; /* Reduced by 10% more */
    border-radius: 50%;
    margin-right: 0.576rem; /* Reduced by 10% more */
    object-fit: cover;
    background: #333;
}

.token-list-info {
    flex-grow: 1;
    text-align: left;
}

.token-list-symbol {
    font-weight: 700;
    font-size: 0.684rem; /* Reduced by 10% more */
    color: #fff;
    margin-bottom: 1.44px; /* Reduced by 10% more */
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.token-list-roi {
    font-size: 0.54rem; /* Reduced by 10% more */
    opacity: 0.9;
    color: #ddd;
}

.token-list-val {
    font-weight: 900;
    font-size: 1rem; /* Reduced */
    text-align: right;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.val-green { color: #1ed760; }
.val-red { color: #ff6b6b; }

/* Text Readability Helpers */
.slide-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.description {
    color: white;
    background: rgba(0,0,0,0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Close/Leave Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 200;
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.2s;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.close-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Disclaimer Note */
.disclaimer-note {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
    max-width: 80%;
    text-align: center;
    font-style: italic;
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.2);
    padding: 4px 8px;
    border-radius: 4px;
}
