/* =============================================
   not-found.css — URL Shortener 404 / Expired
   ============================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --brand:        #00995d;
    --brand-dim:    rgba(0, 153, 93, 0.10);
    --brand-border: rgba(0, 153, 93, 0.22);

    --bg:      #ffffff;
    --surface: #00995d;
    --border:  rgba(0, 153, 93, 0.25);

    --font-body: 'DM Sans', sans-serif;

    --radius:     18px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Base ---- */
html, body { height: 100%; }

body {
    background-color: var(--bg);
    font-family: var(--font-body);
    font-weight: 300;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeUp 0.8s var(--transition) both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Header / Logo ---- */
.header {
    display: flex;
    justify-content: center;
}

.logo-img {
    height: auto;
    width: 140px;
    object-fit: contain;
}

/* ---- Main card ---- */
.main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    box-shadow:
        0 12px 48px rgba(0, 153, 93, 0.15),
        0  2px  8px rgba(0, 153, 93, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.6rem;
}

/* ---- Icon wrapper ---- */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--brand-border);
    animation: gentle-bob 4s ease-in-out infinite;
}

@keyframes gentle-bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

.broken-link {
    display: flex;
    align-items: center;
    position: relative;
}

.link-left {
    font-size: 1.7rem;
    color: var(--brand);
}

.break-line {
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%) rotate(35deg);
    width: 2px;
    height: 26px;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
}

/* ---- Body text ---- */
.body-text {
    font-size: 18px;
    line-height: 1.78;
    color: #ffffff;
    max-width: 38ch;
    font-weight: 300;
}

a {
    font-weight: bold;
    letter-spacing: 0.6px;
    color: #ffffff;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
    .main      { padding: 2.2rem 1.5rem; }
}
