*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

           
        body {
            background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
            font-family: 'Segoe UI', 'Tahoma', 'Vazir', system-ui, -apple-system, 'Poppins', sans-serif;
            min-height: 100vh;
            padding: 2rem 1rem;
            color: #f0f3f8;
        }

        /* کانتینر اصلی با افکت شیشه‌ای */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.08);
            -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
            border-radius: 2rem;
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
            overflow: hidden;
            padding: 2rem 2rem 3rem;
            transition: all 0.3s ease;
        }

        .container .title-container {
            width: 100%;
            height: auto;
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
        }

        /* تیتر اصلی با افکت خط کشی */
        h1 {
            
            text-align: center;
            font-size: clamp(1.8rem, 6vw, 3.2rem);
            font-weight: 600;
            margin-bottom: 2rem;
            padding-bottom: 0.75rem;
            border-bottom: 3px solid rgba(255, 215, 150, 0.6);
            display: inline-block;
            width: auto;
            letter-spacing: 1px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
            position: relative;
            right: 50%;
            transform: translateX(50%);
            white-space: nowrap;
        }
        @media (max-width: 550px) {
            h1 {
                white-space: normal;
                right: 0;
                transform: none;
                display: block;
                width: 100%;
            }
        }

        /* سیستم گرید ریسپانسیو */
        .row {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 1.5rem;
        }

        .col {
            flex: 1 1 45%;
            min-width: 280px;
        }

        /* استایل بخش تصویر */
        .image {
            background: rgba(0,0,0,0.25);
            border-radius: 1.5rem;
            padding: 0.5rem;
            box-shadow: 0 20px 30px -10px rgba(0,0,0,0.4);
            transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
        }
        .image:hover {
            transform: scale(1.02);
        }
        .image img {
            width: 100%;
            height: auto;
            max-height: 550px;
            object-fit: cover;
            border-radius: 1rem;
            display: block;
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
            transition: filter 0.3s;
        }
        .image img:hover {
            filter: brightness(1.02) contrast(1.05);
        }

        /* بخش متن و کارت اطلاعات */
        .text {
            background: rgba(15, 25, 35, 0.65);
            backdrop-filter: blur(5px);
            border-radius: 1.5rem;
            padding: 1.8rem;
            height: 100%;
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
            transition: all 0.2s;
        }

        /* باکس تاریخ تولد و وفات */
        .LifeHistory {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 1rem;
            padding: 0.8rem 1.2rem;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
            font-weight: 500;
            font-size: 1.1rem;
            margin-bottom: 1rem;
            border-right: 4px solid #f7b05e;
        }
        .LifeHistory p {
            background: rgba(255,215,150,0.15);
            padding: 0.3rem 1rem;
            border-radius: 2rem;
            display: inline-block;
        }

        /* استایل تایمر حرفه‌ای با گرید و کارت */
        .ElapsedTime {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
            background: rgba(0, 0, 0, 0.3);
            padding: 1.5rem 1rem;
            border-radius: 1.5rem;
            
        }
        .time-card {
            background: linear-gradient(145deg, #1e2f3a, #0e1a22);
            text-align: center;
            padding: 0.9rem 0.5rem;
            border-radius: 1.2rem;
            box-shadow: 0 8px 14px rgba(0,0,0,0.2);
            transition: all 0.2s ease;
            border: 1px solid rgba(255,215,150,0.2);
        }
        .time-card p {
            font-size: 1rem;
            font-weight: 500;
            color: #ffd996;
            margin-bottom: 0.4rem;
            letter-spacing: 1px;
        }
        .time-card span {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(135deg, #fff, #ffdd99);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            display: inline-block;
            line-height: 1.2;
            text-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        @media (max-width: 550px) {
            .time-card span {
                font-size: 1.6rem;
            }
        }

        .total-days-box {
            background: rgba(247, 176, 94, 0.2);
            border-radius: 3rem;
            padding: 0.7rem 1rem;
            text-align: center;
            margin: 1rem 0 1.5rem;
            font-size: 1.2rem;
            font-weight: bold;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(247, 176, 94, 0.5);
        }
        .total-days-box span {
            font-size: 1.7rem;
            font-weight: 800;
            color: #ffd966;
            margin-right: 0.5rem;
        }

        /* اشعار با فونت زیبا و افکت */
        .poem {
            background: rgba(0, 0, 0, 0.35);
            border-radius: 1.2rem;
            padding: 1.5rem;
            margin-top: 1rem;
            text-align: center;
            direction: rtl;
            border-top: 2px solid #f7b05e;
        }
        .poem h3 {
            font-weight: 500;
            font-size: clamp(0.95rem, 4vw, 1.2rem);
            line-height: 2rem;
            color: #f3e5c7;
            text-shadow: 0 1px 2px black;
        }

        /* جداساز و هارمونی رنگ */
        hr {
            margin: 0.5rem 0;
            border: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, #ffd966, transparent);
        }

        /* انیمیشن ملایم ورود */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .container, .image, .text, .time-card {
            animation: fadeInUp 0.6s ease-out forwards;
        }
        .time-card:nth-child(1) { animation-delay: 0.05s; }
        .time-card:nth-child(2) { animation-delay: 0.1s; }
        .time-card:nth-child(3) { animation-delay: 0.15s; }
        .time-card:nth-child(4) { animation-delay: 0.2s; }
        .time-card:nth-child(5) { animation-delay: 0.25s; }
        .time-card:nth-child(6) { animation-delay: 0.3s; }

        /* بهبود ریسپانسیو */
        @media (max-width: 768px) {
            .row {
                flex-direction: column;
                gap: 1.5rem;
            }
            .container {
                padding: 1rem;
            }
            .LifeHistory {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
        }
        @media (max-width: 480px) {
            body {
                padding: 1rem 0.5rem;
            }
            .text {
                padding: 1rem;
            }
        }

        /* استایل دکمه و متن اضافه */
        .note {
            text-align: center;
            font-size: 0.8rem;
            margin-top: 2rem;
            opacity: 0.7;
        }