/* ================================
   Clean Minimal 404 Page
   Theme Color: #b87939
   ================================ */

/* Base Container */
.minimal-404-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f1ea;
    padding: 40px 20px;
}

.error-container-minimal {
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 0.6s ease-out;
}

/* Warning Icon */
.warning-icon {
    margin-bottom: 40px;
    animation: iconBounce 0.8s ease-out;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.warning-icon svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 12px rgba(184, 121, 57, 0.2));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes iconBounce {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    60% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 404 Number */
.error-number-minimal {
    font-size: clamp(100px, 15vw, 120px);
    font-weight: 900;
    color: #b87939;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -5px;
    text-shadow: 0 4px 20px rgba(184, 121, 57, 0.15);
    animation: numberSlide 0.8s ease-out 0.2s both;
}

@keyframes numberSlide {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Title */
.error-title-minimal {
    font-size: clamp(32px, 5vw, 38px);
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    animation: textFade 0.8s ease-out 0.4s both;
}

@keyframes textFade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Description */
.error-description-minimal {
    font-size: clamp(16px, 2vw, 16px);
    color: #666;
    line-height: 1.7;
    margin: 0 0 50px 0;
    animation: textFade 0.8s ease-out 0.6s both;
}

/* Button Group */
.button-group-minimal {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: buttonFade 0.8s ease-out 0.8s both;
}

@keyframes buttonFade {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Buttons */
.btn-minimal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-minimal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-minimal:hover::before {
    width: 300px;
    height: 300px;
}

.btn-minimal svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-minimal span,
.btn-minimal:not(:has(span)) {
    position: relative;
    z-index: 1;
}

/* Primary Button */
.btn-primary-minimal {
    background: #b87939;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(184, 121, 57, 0.3);
}

.btn-primary-minimal::before {
    background: rgba(255, 255, 255, 0.2);
}

.btn-primary-minimal:hover {
    background: #a66d30;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 121, 57, 0.4);
    color: #fff;
}

.btn-primary-minimal:hover svg {
    transform: scale(1.1);
}

.btn-primary-minimal:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary-minimal {
    background: transparent;
    color: #b87939;
    border: 2px solid #b87939;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-secondary-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #b87939;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary-minimal:hover {
    color: #fff !important; /* सफेद रंग जो बॉर्डर से कंट्रास्ट करे */
    border-color: #b87939;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 121, 57, 0.2);
    z-index: 99;
}

.btn-secondary-minimal:hover::before {
    width: 100%;
}

/* टेक्स्ट को और स्पष्ट बनाने के लिए टेक्स्ट शैडो जोड़ें */
.btn-secondary-minimal:hover {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-secondary-minimal:hover svg {
    transform: translateX(-3px);
    filter: brightness(0) invert(1); /* SVG को भी सफेद करने के लिए */
}

.btn-secondary-minimal:active {
    transform: translateY(0);
}

/* Base Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .minimal-404-page {
        padding: 30px 20px;
    }

    .warning-icon svg {
        width: 100px;
        height: 100px;
    }

    .error-number-minimal {
        margin-bottom: 25px;
    }

    .error-description-minimal {
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .button-group-minimal {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-minimal {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .warning-icon svg {
        width: 80px;
        height: 80px;
    }

    .error-number-minimal {
        letter-spacing: -3px;
    }

    .btn-minimal {
        padding: 16px 30px;
        font-size: 15px;
    }
}