/* ===== Base Styles - Premium Liquid Glass Aesthetic ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

main {
    flex: 1;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar Styles - Liquid Glass Effect ===== */
.navbar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 2px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

/* Top Row: Logo + Toggler */
.navbar-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    min-height: 72px;
    width: 100%;
    position: relative;
    z-index: 101;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: auto;
}

.navbar-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    color: #1a1a1a;
    text-decoration: none;
}

.navbar-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    max-width: 180px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
    transition: all 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 0;
    flex: 1;
    list-style: none;
}

.navbar-nav.navbar-center {
    flex: 1;
    justify-content: center;
}

.navbar-nav.navbar-right {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 16px;
}

.navbar-nav.navbar-right .nav-link {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 8px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar-nav.navbar-right .nav-link:hover {
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07),
                inset 0 1px 0 rgba(255, 255, 255, 1),
                inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

.navbar-nav.navbar-right .nav-link::after {
    display: none;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    color: #1a1a1a !important;
    text-decoration: none;
    padding: 8px 0;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #1a1a1a 0%, #1a1a1a 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #1a1a1a !important;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 102;
    cursor: pointer;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid rgba(0, 0, 0, 0.1);
    outline-offset: 2px;
    border-radius: 2px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a1a1a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* Pagination styles */
.pagination-glass {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    padding: 12px 20px;
    margin-top: 36px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.page-btn--disabled {
    background-color: rgba(255, 255, 255, 0.5);
    color: #999;
    cursor: not-allowed;
}

.page-indicator {
    font-size: 15px;
    font-weight: 500;
    color: #444;
}

.pagination-form-container {
    display: flex;
    align-items: center;
}

.pagination-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-form label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.pagination-form select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.pagination-form select:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.pagination-form select:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

/* Collapse Panel */
.collapse.navbar-collapse {
    width: 100%;
    /*background: rgba(255, 255, 255, 0.5);*/
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 100;
}

.collapse.navbar-collapse.show {
    display: block !important;
}

/* Smooth fade/slide for Bootstrap collapse on mobile.
   Bootstrap toggles .collapsing during the transition and .show when open. */
@media (max-width: 991px) {
    .navbar-collapse .navbar-container {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-collapse.show .navbar-container {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse.collapsing {
        transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-collapse .nav-item {
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.08s; }
    .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.12s; }
    .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.16s; }
    .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.20s; }
    .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.24s; }
    .navbar-collapse.show .nav-item:nth-child(6) { transition-delay: 0.28s; }

    .navbar-toggler-icon {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        transform: rotate(90deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar-collapse .navbar-container,
    .navbar-collapse .nav-item,
    .navbar-collapse.collapsing,
    .navbar-toggler-icon {
        transition: none !important;
    }
}

/* ===== Desktop Navigation ===== */
@media (min-width: 992px) {
    .navbar {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .navbar-top-row {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 32px;
        min-height: 72px;
        width: 100%;
        position: relative;
        left: 0;
        z-index: 101;
        flex-shrink: 0;
        pointer-events: none;
    }

    .navbar-toggler {
        display: none !important;
    }

    .collapse.navbar-collapse {
        display: flex !important;
        width: 100%;
        background: transparent;
        border-top: none;
        flex: 1;
        justify-content: center;
        min-height: 72px;
        align-items: center;
        animation: none;
        pointer-events: auto;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 100;
    }

    .navbar-container {
        width: 100%;
        justify-content: center;
        padding: 0 32px;
        margin: 0;
        min-height: 72px;
        display: flex;
        align-items: center;
    }

    .navbar-left {
        position: absolute;
        left: 32px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 102;
        pointer-events: auto;
    }

    .navbar-nav {
        gap: 32px;
        padding: 0;
        justify-content: center;
    }

    .navbar-nav.navbar-right {
        position: absolute;
        right: 32px;
        top: 50%;
        transform: translateY(-50%);
        gap: 24px;
    }

    .navbar-logo {
        height: 60px;
    }
}

/* ===== Responsive Navbar - Mobile First ===== */
@media (max-width: 991px) {
    .navbar {
        flex-direction: column;
    }

    .navbar-top-row {
        padding: 0 24px;
        min-height: 64px;
        width: 100%;
        justify-content: space-between;
    }

    .navbar-toggler {
        display: flex !important;
    }

    .navbar-left {
        flex-shrink: 0;
    }

    .navbar-logo {
        height: 32px;
    }

    .navbar-nav {
        gap: 0;
        padding: 0;
        width: 100%;
    }

    .navbar-nav.navbar-center,
    .navbar-nav.navbar-right {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        position: static;
        transform: none;
    }

    .navbar-nav.navbar-right {
        align-items: stretch;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-item {
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 14px 16px;
        display: block;
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link:focus {
        background: rgba(0, 0, 0, 0.04);
    }

    .navbar-nav.navbar-right .nav-link {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 14px 16px;
        border-radius: 8px;
    }

    .navbar-nav.navbar-right .nav-link:hover {
        background: rgba(0, 0, 0, 0.04);
        box-shadow: none;
    }

    .collapse.navbar-collapse {
        display: none;
        width: 100%;
    }

    .collapse.navbar-collapse.show {
        display: block !important;
    }

    .navbar-container {
        padding: 16px 24px;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .navbar-top-row {
        padding: 0 20px;
        min-height: 60px;
        gap: 16px;
        width: 100%;
    }

    .navbar-left {
        flex-shrink: 0;
        margin-right: 0;
    }

    .navbar-logo {
        height: 28px;
    }

    .navbar-toggler {
        padding: 8px 10px;
        flex-shrink: 0;
        order: 2;
        display: flex !important;
    }

    .navbar-nav {
        gap: 0;
        width: 100%;
    }

    .navbar-nav.navbar-center {
        gap: 0;
        padding: 0;
    }

    .nav-link {
        font-size: 0.85rem;
        letter-spacing: 0.3px;
    }

    /* Adjust overlay for smaller screens */
    .collapse.navbar-collapse {
        top: 60px;
        /*background: rgba(255, 255, 255, 0.8);*/
        /*backdrop-filter: blur(20px);*/
        -webkit-backdrop-filter: blur(20px);
    }

    .navbar-container {
        padding: 0 20px;
        width: 100%;
    }
}

/* ===== Hero Section - Compact Variant ===== */
.hero-section--compact {
    margin: 0 -24px 0 -24px;
    padding: 80px 24px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-title--compact {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-section--compact .hero-subtitle {
    max-width: 600px;
    margin: 0 auto 32px auto;
}

.hero-section--compact .hero-divider {
    margin: 20px auto;
}

.btn-cta-sm {
    padding: 12px 26px;
    font-size: 0.82rem;
    letter-spacing: 0.6px;
}

/* Hero Compact Responsive */
@media (max-width: 992px) {
    .hero-section--compact {
        padding: 70px 28px;
    }

    .hero-title--compact {
        font-size: 2.2rem;
        letter-spacing: 1.8px;
    }
}

@media (max-width: 768px) {
    .hero-section--compact {
        padding: 60px 24px;
        margin: 0 -18px 0 -18px;
    }

    .hero-title--compact {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    .hero-section--compact .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-section--compact .cta-buttons {
        flex-direction: row;
    }

    .hero-section--compact .btn-cta {
        width: auto;
    }
}

@media (max-width: 576px) {
    .hero-section--compact {
        padding: 50px 20px;
        margin: 0 -14px 0 -14px;
    }

    .hero-title--compact {
        font-size: 1.7rem;
        letter-spacing: 1.2px;
    }

    .hero-section--compact .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .hero-section--compact .hero-divider {
        margin: 16px auto;
    }
}

/* ===== Filters glass panel ===== */
.filters-glass {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    padding: 32px;
    margin-bottom: 56px;
    position: relative;
    overflow: hidden;
}

.filters-glass::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.filters-form {
    position: relative;
    z-index: 1;
}

.filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: end;
    margin-bottom: 24px;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-field--search {
    grid-column: span 1;
}

.filter-label {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #6a6a6a;
    font-weight: 600;
}

/* Style all form inputs and selects */
.filters-form input[type="text"],
.filters-form select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.7);
    color: #1a1a1a;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    font-family: inherit;
}

.filters-form input[type="text"]::placeholder {
    color: #9a9a9a;
    font-style: italic;
}

.filters-form input[type="text"]:focus,
.filters-form select:focus {
    border-color: rgba(26, 26, 26, 0.28);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
    background: rgba(255, 255, 255, 0.9);
}

.filters-form select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
    padding-right: 36px;
}

.filters-form select:focus {
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
}

.filter-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    padding-top: 8px;
}

.btn-filter {
    padding: 12px 32px;
    font-size: 0.85rem;
    letter-spacing: 0.7px;
    min-width: 140px;
}

/* ===== Compact Filter Form Variant ===== */
.filters-glass--compact {
    max-width: 700px;
    margin-left: auto;
    margin-top: 5rem;
    margin-right: auto;
    padding: 28px 32px;
}

.filters-glass--compact input[type='date'] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.7);
    color: #1a1a1a;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    font-family: inherit;
}

.filters-glass--compact .filters-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.filters-glass--compact .filter-field--search {
    grid-column: span 1;
}

.filters-glass--compact .filter-actions {
    padding-top: 4px;
}

.filters-glass--compact .btn-filter {
    min-width: 120px;
    padding: 11px 28px;
}

/* Responsive adjustments for compact filter */
@media (max-width: 768px) {
    .filters-glass--compact {
        max-width: 100%;
        padding: 24px;
    }

    .filters-glass--compact .filters-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .filters-glass--compact {
        padding: 20px;
    }

    .filters-glass--compact .filters-grid {
        gap: 14px;
        margin-bottom: 16px;
    }

    .filters-glass--compact .filter-actions {
        flex-direction: column;
    }

    .filters-glass--compact .btn-filter {
        width: 100%;
    }
}


/* ===== Footer Styles - Liquid Glass Effect ===== */
footer {
    background: #1a1a1a;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    text-align: center;
    padding: 60px 24px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    opacity: 0.85;
    font-weight: 300;
    color: #ffffff;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1a1a1a;
}

p {
    color: #4a4a4a;
}

a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #666;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    main {
        width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 18px;
        max-width: 100%;
        width: 100%;
    }

    main {
        width: 100%;
        overflow-x: hidden;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar-top-row,
    .navbar-container {
        padding: 0 18px;
    }

    .navbar-logo {
        height: 50px;
    }

    footer {
        padding: 40px 18px;
        margin-top: 60px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 14px;
        max-width: 100%;
        width: 100%;
    }

    .navbar-top-row,
    .navbar-container {
        padding: 0 14px;
    }

    footer {
        padding: 40px 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
        max-width: 100%;
        width: 100%;
    }

    .navbar-top-row,
    .navbar-container {
        padding: 0 12px;
    }

    footer {
        padding: 40px 12px;
    }
}

/* ===================================
   404 Error Page Styles
   =================================== */

.error-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 40px 20px;
}

.error-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.error-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.error-icon {
    font-size: 4.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce-404 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes bounce-404 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.error-code {
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: #1a1a1a;
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.error-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #1a1a1a 50%, transparent 100%);
    margin: 24px auto;
}

.error-title {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

.error-message {
    font-size: 1rem;
    color: #6a6a6a;
    line-height: 1.6;
    letter-spacing: 0.3px;
    margin: 0 0 32px 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-404 {
    padding: 14px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-404::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #1a1a1a;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-primary-404 {
    background: #1a1a1a;
    color: white;
    position: relative;
    z-index: 1;
}

.btn-primary-404::before {
    background: white;
}

.btn-primary-404:hover {
    background: transparent;
    color: #1a1a1a;
}

.btn-primary-404:hover::before {
    transform: translateX(0);
}

.btn-secondary-404 {
    background: transparent;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.btn-secondary-404:hover {
    background: #1a1a1a;
    color: white;
}

.btn-secondary-404:hover::before {
    transform: translateX(0);
}

.error-suggestions {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.suggestions-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a8a8a;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.suggestions-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.suggestion-link {
    font-size: 0.9rem;
    color: #4a4a4a;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
    padding-bottom: 2px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.suggestion-link:hover {
    color: #1a1a1a;
    border-bottom-color: rgba(26, 26, 26, 0.6);
}

/* 404 Page Responsive Design */
@media (max-width: 768px) {
    .error-container {
        max-width: 600px;
    }

    .error-card {
        padding: 40px 32px;
        min-height: 450px;
    }

    .error-icon {
        font-size: 4rem;
    }

    .error-code {
        font-size: 5rem;
        letter-spacing: 6px;
    }

    .error-title {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }

    .error-message {
        font-size: 0.95rem;
    }

    .error-actions {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .error-card {
        padding: 32px 24px;
        min-height: auto;
    }

    .error-icon {
        font-size: 3.5rem;
    }

    .error-code {
        font-size: 4rem;
        letter-spacing: 4px;
    }

    .error-title {
        font-size: 1.2rem;
        letter-spacing: 1.2px;
    }

    .error-message {
        font-size: 0.95rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .btn-404 {
        width: 100%;
    }

    .suggestions-links {
        flex-direction: column;
        gap: 16px;
    }
}

