﻿:root {
    --coral-rose: #F58586;
    --soft-pink: #FF9BB1;
    --warm-ivory: #FFF5F0;
    --blush-nude: #F4D8D5;
    --berry-wine: #6B3545;
    --soft-charcoal: #30282B;
}

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

body {
    font-family: "Vazirmatn", sans-serif;
    min-height: 100vh;
    color: var(--soft-charcoal);
    background:
        radial-gradient(circle at 0% 0%,
        #F4D8D5 0%, transparent 40%),
        radial-gradient(circle at 100% 100%,
        #FF9BB155 0%, transparent 45%),
        var(--warm-ivory);
    background-attachment: fixed;
}

/* Logo */

.site-header {
    position: absolute;
    top: 25px;
    left: 30px;
    z-index: 10;
}

.brand-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Main Container */

.landing-wrapper {
    max-width: 460px;
    padding: 65px 15px 30px;
}

/* Profile */

.profile-section {
    margin-bottom: 32px;
}

.profile-frame {
    width: 146px;
    height: 146px;
    padding: 5px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--coral-rose),
        var(--soft-pink),
        var(--blush-nude)
    );
    box-shadow: 0 10px 35px #6B354525;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 23%;
    border-radius: 50%;
    border: 4px solid var(--warm-ivory);
}

/* Typography */

h1 {
    color: var(--berry-wine);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.english-name {
    direction: ltr;
    color: var(--berry-wine);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.title-line {
    width: 45px;
    height: 3px;
    border-radius: 10px;
    background: var(--coral-rose);
    margin: 0 auto 20px;
}

.description {
    font-size: 14px;
    font-weight: 400;
    color: var(--berry-wine);
}

/* Social Cards */

.social-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 76px;
    padding: 13px 17px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--soft-charcoal);
    background: rgba(255, 245, 240, 0.75);
    border: 1px solid var(--blush-nude);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px #6B354509;
    transition: all 0.3s ease;
}

.social-card:not(.disabled-link):hover {
    transform: translateY(-4px);
    background: var(--blush-nude);
    border-color: var(--coral-rose);
    box-shadow: 0 12px 30px #6B35451A;
    color: var(--berry-wine);
}

.social-card:not(.disabled-link):active {
    transform: scale(0.98);
}

.social-card:focus-visible {
    outline: 3px solid var(--berry-wine);
    outline-offset: 4px;
}

/* Icons */

.social-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--berry-wine);
    background: var(--blush-nude);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.social-card:not(.disabled-link):hover .social-icon {
    background: var(--coral-rose);
    transform: scale(1.05);
}

.link-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.link-text span {
    font-size: 16px;
    font-weight: 700;
}

.link-text small {
    font-size: 11px;
    color: var(--berry-wine);
    font-weight: 400;
    letter-spacing: 1px;
}

.arrow {
    font-size: 17px;
    color: var(--berry-wine);
    transition: transform 0.3s ease;
}

.social-card:not(.disabled-link):hover .arrow {
    transform: translate(-3px, -3px);
}

/* Website Button */

.website-card {
    background: var(--berry-wine);
    color: var(--warm-ivory);
    border-color: transparent;
}

.website-card .social-icon {
    background: var(--coral-rose);
    color: var(--berry-wine);
}

.website-card .link-text small,
.website-card .arrow {
    color: var(--warm-ivory);
}

.website-card:not(.disabled-link):hover {
    background: var(--berry-wine);
    color: var(--warm-ivory);
}

/* Inactive Links */

.disabled-link {
    cursor: not-allowed;
    opacity: 0.65;
}

/* Footer */

footer {
    margin-top: 35px;
    padding: 20px 0;
    color: var(--berry-wine);
}

footer p {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

footer small {
    font-size: 10px;
}

/* Mobile Responsive */

@media (max-width: 576px) {

    .site-header {
        top: 18px;
        left: 18px;
    }

    .brand-logo {
        width: 60px;
    }

    .landing-wrapper {
        padding-top: 85px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .profile-frame {
        width: 125px;
        height: 125px;
    }

    h1 {
        font-size: 27px;
    }

    .english-name {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .social-card {
        min-height: 70px;
        border-radius: 17px;
    }

    .social-icon {
        width: 43px;
        height: 43px;
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Final Design Improvements */

.brand-logo {
    mix-blend-mode: multiply;
}

.site-header {
    isolation: auto;
}

@media (max-width: 576px) {

    .landing-wrapper {
        padding-top: 65px;
        padding-bottom: 15px;
    }

    .profile-frame {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }

    .profile-section {
        margin-bottom: 20px;
    }

    .english-name {
        margin-bottom: 12px;
    }

    .title-line {
        margin-bottom: 12px;
    }

    .social-links {
        gap: 10px !important;
    }

    .social-card {
        min-height: 62px;
        padding: 10px 14px;
    }

    footer {
        margin-top: 15px;
        padding: 12px 0;
    }
}


/* Logo Background Fix */

.site-header {
    z-index: auto;
    mix-blend-mode: multiply;
}

.brand-logo {
    display: block;
    mix-blend-mode: normal;
}

