/* 404 Page Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto Flex", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Error Container */
.error-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10;
}

.error-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Animation Section */
.error-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.error-logo {
    width: 180px;
    height: 180px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}


.error-code {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-variation-settings:
        "wdth" 125,
        "wght" 900,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
    animation: pulse 2s ease-in-out infinite;
}


/* Error Message Section */
.error-message {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
}

.error-title {
    font-size: 42px;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
    font-variation-settings:
        "wdth" 120,
        "wght" 800,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
}

.error-description {
    font-size: 18px;
    color: #4a5568;
    line-height: 1.6;
    font-variation-settings:
        "wdth" 110,
        "wght" 400,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
}

.error-uri {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.error-uri .material-symbols-outlined {
    color: #667eea;
    font-size: 24px;
}

.error-uri code {
    font-family: "Courier New", monospace;
    font-size: 16px;
    color: #2d3748;
    word-break: break-all;
}

/* Error Actions */
.error-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-primary,
.btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-variation-settings:
        "wdth" 115,
        "wght" 600,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-primary .material-symbols-outlined,
.btn-secondary .material-symbols-outlined {
    font-size: 20px;
}

/* Decorative Strawberries */
.error-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.strawberry {
    position: absolute;
    font-size: 60px;
    animation: float-strawberry 4s ease-in-out infinite;
    opacity: 0.3;
}

.strawberry-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.strawberry-2 {
    top: 70%;
    left: 90%;
    animation-delay: 1s;
}

.strawberry-3 {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float-strawberry {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Responsive Design */
@media only screen and (max-width: 1024px) {
    .error-content {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }

    .error-logo {
        width: 150px;
        height: 150px;
    }

    .error-code {
        font-size: 100px;
    }

    .error-title {
        font-size: 36px;
        text-align: center;
    }

    .error-description {
        text-align: center;
    }

    .error-message {
        align-items: center;
        text-align: center;
    }

    .error-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media only screen and (max-width: 600px) {
    .error-container {
        width: 95%;
    }

    .error-content {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .error-logo {
        width: 120px;
        height: 120px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 28px;
    }

    .error-description {
        font-size: 16px;
    }

    .error-uri {
        padding: 12px 15px;
    }

    .error-uri code {
        font-size: 14px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 15px;
    }

    .strawberry {
        font-size: 40px;
    }
}