.countdown-section {
  position: relative;
  z-index: 1; /* content above background */
}

.countdown-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* semi-transparent dark overlay */
  z-index: -1; /* place behind the content */
}

.countdown-section .container {
  position: relative;
  z-index: 2; /* ensure text stays above overlay */
}


/* Section Styling */
.countdown-section {
    background: linear-gradient(to top, rgba(255, 165, 0, 0.5), rgba(255, 255, 255, 0.1)),
                url('../images/presale-bg.png') center/cover no-repeat;
    font-family: 'Pretoria', serif;
}

/* Title */
.countdown-title {
    color: #ffdd00;
    text-shadow: 2px 2px 0 black;
}

/* Left Images Layout */
/* .countdown-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.countdown-img {
    max-width: 350px;
    height: 350px;
} */


.holder-img {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: auto;
    z-index: 0; /* Behind the card */
    pointer-events: none; /* Don't block clicks */
}

 /* .holder-img {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px; 
    z-index: 2;
}  */

/* Mobile adjustments */
@media (max-width: 768px) {
    .holder-img {
        position: absolute;      /* stack naturally above card */
        top: 57%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        width:110%;           /* smaller size for mobile */
    }
}



/* Card */
.countdown-card {
    position: relative;
    z-index: 1; /* Keep card above the image */
    background-color:#A76D3C;
    border: 3px solid #000;
    border-radius: 15px;
    box-shadow: 5px 5px 0 black;
    margin-top: 120px !important; /* <-- pushes card down */
}

/* Countdown Timer Style */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 2rem;
}
/* Timer Blocks */
.countdown-timer div {
    text-align: center;
    background: #ffae00; /* white background to make it stand out */
    border: 3px solid #000; /* bold outline for comic style */
    border-radius: 10px;
    box-shadow: 4px 4px 0 #000; /* comic-style shadow */
    min-width: 80px; /* keep blocks even */
}

/* Numbers inside timer blocks */
.countdown-timer span {
    display: block;
    font-size: 2.5rem;
    color: #000;
    text-shadow: 2px 2px 0 #fff;
    font-weight: bold;
}

/* Labels under numbers */
.countdown-timer small {
    font-size: 0.9rem;
    color: #000;
    font-weight: bold;
}


/* Neon Glow Animation */
.flicker-text {
    font-size: 1.5rem;
    color: red;
    text-shadow: 0 0 5px #ffdd00, 0 0 10px #ffdd00, 0 0 15px #ffae00;
    animation: neonGlow 1.8s ease-in-out infinite;
}

@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 5px #ffdd00, 0 0 10px #ffdd00, 0 0 15px #ffae00;
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 8px #ffe600, 0 0 15px #ffdd00, 0 0 25px #ffae00;
        transform: scale(1.05);
    }
}

.presale-slider {
    background-color: #A76D3C;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Pretoria', serif;
}

.slider-track {
    display: flex;
    animation: scrollText 12s linear infinite;
}

.slider-text {
    font-size: 1.5rem;
    padding: 10px 50px;
    flex-shrink: 0;
    text-shadow: 3px 3px 0 black;
    color: #fff;
    display: flex;
    align-items: center;
}

.slider-icon {
    height: 50px;
    width: auto;
    margin: 0 8px;
}

@keyframes scrollText {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
