/* Presale Information Card in About Section */
.about-section .presale-card {
    background-color: rgba(15, 20, 44, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-section .presale-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.about-section .presale-header {
    background: linear-gradient(90deg, #0066FF, #4D9FFF);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-section .presale-header h3 {
    color: #fff;
    margin: 0;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-section .presale-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.about-section .presale-details {
    margin-bottom: 1.5rem;
}

.about-section .detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section .detail-item:last-child {
    border-bottom: none;
}

.about-section .detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.about-section .detail-value {
    color: #fff;
    font-weight: 600;
}

.about-section .countdown {
    display: flex;
    justify-content: center; /* Center the items */
    gap: 10px; /* Adjust gap as needed, maybe slightly larger for centering */
    margin: 15px 0;
    /* flex-wrap: wrap; /* Ensure no wrapping */
}

.about-section .countdown-item {
    /* background: rgba(0, 0, 0, 0.3); Removed background */
    /* border-radius: 8px; Optional: Keep or remove based on desired look */
    padding: 8px 5px; /* Keep padding for spacing */
    flex-shrink: 1;
    flex-grow: 0;
    flex-basis: auto;
    text-align: center;
    /* border: 1px solid rgba(255, 255, 255, 0.1); Removed border */
    min-width: 50px;
}

.about-section .countdown-value {
    font-size: 1.6rem; /* Slightly reduce font size */
    font-weight: 700;
    color: #FFD700;
    line-height: 1.1; /* Adjust line height */
}

.about-section .countdown-label {
    font-size: 0.65rem; /* Slightly reduce font size */
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-top: 4px; /* Adjust margin */
    white-space: nowrap; /* Prevent label wrapping */
}

/* Responsive adjustments for countdown timer */
@media (max-width: 480px) { /* Adjusted breakpoint */
    .about-section .countdown {
        gap: 5px; /* Reduce gap */
    }
    .about-section .countdown-item {
        padding: 6px 4px; /* Adjust padding */
        min-width: 45px; /* Further reduce min-width */
    }
    .about-section .countdown-value {
        font-size: 1.4rem; /* Reduce font size */
    }
    .about-section .countdown-label {
        font-size: 0.6rem; /* Reduce font size */
    }
}

@media (max-width: 360px) { /* Even smaller screens */
     .about-section .countdown {
        gap: 3px; /* Further reduce gap */
    }
    .about-section .countdown-item {
        padding: 5px 2px; /* Adjust padding */
        min-width: 40px; /* Further reduce min-width */
    }
     .about-section .countdown-value {
        font-size: 1.2rem; /* Further reduce font size */
    }
    .about-section .countdown-label {
        font-size: 0.5rem; /* Further reduce font size */
    }
}


.about-section .presale-progress {
    margin-top: 1rem;
}

.about-section .progress {
    height: 12px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin: 8px 0;
}

.about-section .progress-bar {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.about-section .progress-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.about-section .progress-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-section .progress-percentage {
    color: #FFD700;
    font-weight: 700;
}

.about-section .tokens-sold {
    color: #FFD700;
    font-weight: 700;
}

.about-section .presale-cta {
    margin-top: auto;
}

.about-section .btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
    transition: all 0.3s ease;
}

.about-section .btn-glow:hover {
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.7);
    transform: translateY(-2px);
}

/* Ensure timer values are aligned and same size */
.about-section .days-value,
.about-section .hours-value,
.about-section .minutes-value,
.about-section .seconds-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
}

/* Badge styling */
.about-section .badge.bg-success {
    background: linear-gradient(90deg, #28a745, #20c997) !important;
    padding: 6px 12px;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(32, 201, 151, 0.3);
}
.about-section .phase-info-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%; /* Ensure cards have equal height in a row */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-section .phase-info-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-section .phase-label {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-weight: 500;
}

.about-section .phase-value {
    display: block;
    font-size: 1.2em;
    color: #FFD700; /* Highlight color for the price */
    font-weight: 700;
}

/* Responsive adjustments for the grid */
@media (max-width: 767.98px) {
    .about-section .phase-info-card {
        margin-bottom: 10px; /* Add space between stacked cards on small screens */
    }
    .about-section .row.g-2 > [class*="col-"] {
        padding-right: calc(var(--bs-gutter-x) * .5); /* Reset padding for stacking */
        padding-left: calc(var(--bs-gutter-x) * .5);
    }
}
