:root {
    --bg-overlay: rgba(15, 17, 23, 0.5);
    --card-bg: rgba(30, 33, 45, 0.88);
    --accent-color: #3b82f6;
    --text-color: #f3f4f6;
    --hover-color: #2563eb;
    --logo-color: #e5e7eb;
}

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

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0f1117;
    background-image: url("../img/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-color);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    z-index: -1;
}

.top-bar {
    position: absolute;
    top: 30px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    font-family: "Arial Black", Gadget, sans-serif;
}

.date-main {
    display: flex;
    align-items: center;
}

.date-number {
    font-size: 3rem;
    line-height: 0.8;
    font-weight: 900;
    color: var(--logo-color);
    margin-right: 10px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.date-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    border-left: 2px solid var(--accent-color);
    padding-left: 15px;
}

.date-month {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-color);
    text-transform: lowercase;
}

.date-year {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.1;
    color: rgba(243, 244, 246, 0.6);
    letter-spacing: 1px;
}

.date-weekday {
    margin-top: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.1;
    color: rgba(243, 244, 246, 0.9);
    text-transform: lowercase;
    text-align: center;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.header i.fa-server {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.6));
}

.logo-container {
    width: 240px;
    text-transform: uppercase;
    font-weight: 900;
    font-family: "Arial Black", Gadget, sans-serif;
    color: var(--logo-color);
}

.logo-line {
    display: block;
    text-align: justify;
    text-align-last: justify;
    line-height: 1.1;
    text-shadow: 1px 1px 0 #999, 2px 2px 0 #777, 3px 3px 5px rgba(0, 0, 0, 0.6);
}

.synology {
    font-size: 38px;
}

.vladsan {
    font-size: 44px;
}

.links-container {
    width: 90%;
    max-width: 380px;
    padding-bottom: 60px;
}

.link-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 18px 25px;
    margin-bottom: 15px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.link-card:nth-child(1) { animation-delay: 0.3s; }
.link-card:nth-child(2) { animation-delay: 0.4s; }
.link-card:nth-child(3) { animation-delay: 0.5s; }
.link-card:nth-child(4) { animation-delay: 0.6s; }
.link-card:nth-child(5) { animation-delay: 0.7s; }
.link-card:nth-child(6) { animation-delay: 0.8s; }

.link-card:hover {
    background: var(--hover-color);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.link-card i {
    font-size: 1.5rem;
    width: 45px;
    text-align: center;
    margin-right: 15px;
    color: var(--accent-color);
}

.link-card:hover i {
    color: #fff;
}

.link-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .top-bar {
        display: none;
    }

    .header {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        gap: 30px;
    }

    .logo-container {
        display: flex;
        flex-direction: column;
        text-align: left;
        max-width: 60%;
    }

    .synology {
        font-size: 28px;
        line-height: 1.1;
        margin: 0;
    }

    .vladsan {
        font-size: 32px;
        line-height: 1.1;
        margin: 0;
        font-weight: 900;
    }

    .header i.fa-server {
        font-size: 3rem;
        margin-top: 20px;
    }

    .links-container {
        width: 95%;
        padding-bottom: 40px;
    }

    .link-card {
        padding: 15px 20px;
        margin-bottom: 12px;
    }
}
