/* Home page styles - extracted from inline styles */

/* Text shadow utility */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
}

/* Floating particles animations */
@keyframes float-up {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(20deg); opacity: 0; }
}

@keyframes float-up-alt {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-80px) rotate(-15deg); opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* Text entrance animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.slide-title {
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.2s;
}

.slide-description {
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.4s;
}

.slide-button {
    animation: fadeInUp 0.8s ease-out both;
    animation-delay: 0.6s;
}

/* Slider dots navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 90px;
    left: 0;
    right: 0;
    z-index: 20;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.particle-1 {
    width: 15px;
    height: 15px;
    animation: float-up 7s infinite linear;
}

.particle-2 {
    width: 10px;
    height: 10px;
    animation: float-up-alt 9s infinite linear;
}

.particle-3 {
    width: 20px;
    height: 20px;
    animation: float-up 12s infinite linear;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse 4s infinite ease-in-out;
}

/* Category icons styles */
.category-icon-wrapper {
    transition: all 0.3s ease;
}

.category-icon-wrapper:hover {
    transform: translateY(-5px);
}

.category-icon {
    padding: 8px;
    border-radius: 8px;
}

.category-icon:hover .w-12 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.category-icon-wrapper.active .category-icon .w-12 {
    transform: scale(1.1);
    border: 2px solid;
    border-color: inherit;
}

.category-icon-wrapper.active span {
    font-weight: bold;
}

/* Hide scrollbar but keep scrolling functionality */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* Make category icons fixed width for better scrolling */
#category-icons .category-icon-wrapper {
    flex: 0 0 auto;
    min-width: 80px;
    padding: 8px 4px;
}

/* Shine effect animation for badges */
@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Case image responsive heights */
.case-image {
    height: 120px;
}

@media (min-width: 768px) {
    /* Allow case images to overflow on desktop for standard display style */
    .case-image-container {
        overflow: visible !important;
        height: 180px;
    }
    
    .case-image {
        height: 210px !important;
        width: auto;
        max-width: none;
        position: relative;
        z-index: 10;
    }
}

/* User cases - use width instead of height */
#loot-boxes-container .case-image {
    height: auto;
    width: 120px;
}

@media (min-width: 768px) {
    #loot-boxes-container .case-image-container {
        overflow: visible !important;
        height: 180px;
    }
    
    #loot-boxes-container .case-image {
        width: 250px !important;
        height: auto;
        max-height: none;
        position: relative;
        z-index: 10;
    }
}

/* Character entrance animations */
@keyframes slideInLeft {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.parallax-character {
    position: absolute;
    transition: transform 0.2s ease-out;
    z-index: 2;
}

.left-character {
    left: 15%;
    bottom: -20px;
    height: 90%;
    animation: slideInLeft 0.8s ease-out forwards;
}

.right-character {
    right: 15%;
    bottom: -20px;
    height: 90%;
    animation: slideInRight 0.8s ease-out forwards;
}

.event-logo {
    animation: fadeInUp 0.8s ease-out forwards;
}

.countdown-button {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Mobile styles - position characters so only half is visible inside the banner */
@media (max-width: 768px) {
    .left-character {
        left: -25%;
        bottom: -20px;
    }

    .right-character {
        right: -25%;
        bottom: -20px;
    }
}

/* Armory button styles */
.armory-button {
    background-color: #1a1e2e;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1.2rem;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.armory-button:hover {
    border-color: #00ff4c;
    background-color: #252a3b;
}

.armory-button.active {
    border-color: #22C55E;
    background-color: #22c55e21;
    color: #22C55E;
}

/* Hide scrollbar but keep functionality */
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* Promotional banner button styles */
.promo-banner-button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 9.14286px 7.42857px;
    gap: 5.71px;
    width: 100px;
    height: 36px;
    background: linear-gradient(180deg, rgba(26, 255, 95, 0.27) 0%, rgba(26, 255, 95, 0.045) 100%);
    border: 0.571429px solid #1AFF5F;
    backdrop-filter: blur(2.85714px);
    border-radius: 5.71429px;
}

.promo-banner-button span {
    font-size: 12px;
}

/* Desktop promotional banner text styles */
.promo-banner-desktop-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 20px;
    line-height: 1;
}

.promo-banner-desktop-text .text-bonus {
    font-size: 40px;
    line-height: 1;
}

/* Category container dots decoration - triangle pattern */
.category-dots-top-left {
    position: absolute;
    opacity: 0.4;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.category-dots-top-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    background-image: 
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px),
        radial-gradient(circle, currentColor 3px, transparent 3px);
    background-size: 6px 6px;
    background-position: 
        0 0,
        0 14px, 14px 0,
        0 28px, 14px 14px, 28px 0,
        0 42px, 14px 28px, 28px 14px, 42px 0,
        0 56px, 14px 42px, 28px 28px, 42px 14px, 56px 0;
    background-repeat: no-repeat;
}
