* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    direction: rtl;
    font-family: 'Segoe UI', 'Tahoma', 'Vazir', sans-serif;
    background: linear-gradient(145deg, #0a1420 0%, #142235 100%);
    min-height: 100vh;
    color: #d6e4ff;
    line-height: 1.6;
}

section {
    width: 100%;
    padding: 2rem 1rem;
}

main {
    max-width: 1300px;
    margin: 0 auto;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3e8aff, #8ab9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(62, 138, 255, 0.3);
}

p {
    color: #b0c8f0;
    font-size: 1.1rem;
    text-align: justify;
}

.main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.left {
    flex: 1 1 350px;
    display: flex;
    justify-content: center;
}

.left img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 20, 60, 0.6));
    transition: transform 0.4s ease;
}

.left img:hover {
    transform: translateY(-8px);
}

.right {
    flex: 1 1 400px;
    padding: 1rem;
}

.word p {
    margin-bottom: 2.5rem;
    border-right: 4px solid #3e8aff;
    padding-right: 1.5rem;
}

.status {
    direction: ltr;
    margin-top: 2rem;
}

.status-box {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 30, 55, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(62, 138, 255, 0.3);
    border-radius: 60px;
    padding: 0.8rem 2rem 0.8rem 1.5rem;
    margin: 10px;
    box-shadow: 0 10px 25px rgba(0, 20, 50, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.status-box:hover {
    border-color: #3e8aff;
    box-shadow: 0 15px 30px rgba(0, 30, 80, 0.6), 0 0 15px rgba(62, 138, 255, 0.3);
}

.status-box p {
    margin: 0;
    margin-left: 1rem;
    color: #e0edff;
}

.status-box .co {
    font-weight: 600;
    color: #5b9aff;
    letter-spacing: 0.5px;
}

.status-box p:last-of-type {
    font-size: 2rem;
    font-weight: 700;
    color: #a0c4ff;
    line-height: 1;
    margin-left: 0.5rem;
}

.status-dot {
    width: 14px;
    height: 14px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 15px #2ecc71;
    animation: pulse-green 2s infinite;
    margin-right: auto;
    margin-left: 1rem;
}

@keyframes pulse-green {
    0% { opacity: 0.7; transform: scale(1); box-shadow: 0 0 8px #2ecc71; }
    50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 18px #2ecc71; }
    100% { opacity: 0.7; transform: scale(1); box-shadow: 0 0 8px #2ecc71; }
}

.items-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.item-Box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(145deg, #162a44, #0f1f33);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    border: 1px solid #1e3a5f;
    box-shadow: 0 20px 35px -8px rgba(0, 15, 40, 0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.item-Box:hover {
    transform: translateY(-6px);
    border-color: #3e8aff;
    box-shadow: 0 25px 40px -10px rgba(62, 138, 255, 0.25), 0 0 0 1px rgba(62, 138, 255, 0.4) inset;
    background: linear-gradient(145deg, #1c3450, #14273f);
}

.item-Box img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-bottom: 1.8rem;
    filter: drop-shadow(0 8px 12px rgba(0, 40, 100, 0.5));
    transition: transform 0.4s;
}

.item-Box:hover img {
    transform: scale(1.08) translateY(-5px);
}

.item-word {
    flex: 1;
    width: 100%;
}

.item-word .content {
    font-size: 2.2rem;
    font-weight: 700;
    color: #a0c4ff;
    margin-bottom: 1rem;
    text-align: center;
}

.item-word .caption {
    color: #b8cef0;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.8;
}

.item-Box:last-child {
    grid-column: 2 / 3;
    max-width: 450px;
    width: 100%;
    justify-self: center;
}

@media screen and (max-width: 900px) {
    h1 {
        font-size: 2.8rem;
    }

    .main {
        gap: 1rem;
    }

    .items-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .item-Box:last-child {
        grid-column: 1 / -1;
        max-width: 450px;
        margin: 0 auto;
    }

    .item-Box img {
        width: 250px;
        height: 250px;
    }

    .item-word .content {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 600px) {
    section {
        padding: 1rem 0.8rem;
    }

    h1 {
        font-size: 2.3rem;
        text-align: center;
    }

    .word p {
        text-align: center;
        border-right: none;
        padding-right: 0;
        border-bottom: 3px solid #3e8aff;
        padding-bottom: 1.5rem;
    }

    .main {
        flex-direction: column;
        text-align: center;
    }

    .status-box {
        padding: 0.6rem 1.5rem;
        margin: 0 auto;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
        width: fit-content;
    }

    .status-box p:last-of-type {
        font-size: 1.8rem;
    }

    .items-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .item-Box:last-child {
        grid-column: auto;
    }

    .item-Box img {
        width: 200px;
        height: 200px;
    }

    .item-word .content {
        font-size: 1.8rem;
    }

    .item-word .caption {
        font-size: 1rem;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f1f33;
}

::-webkit-scrollbar-thumb {
    background: #2a4a77;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3e8aff;
}