    @font-face {
        font-family: 'Vazirmatn';
        font-style: normal;
        font-weight: 500;
        src: url('/fonts/Vazirmatn-Medium.ttf') format('truetype');
    }

    @font-face {
        font-family: 'Vazirmatn';
        font-style: normal;
        font-weight: 700;
        src: url('/fonts/Vazirmatn-Bold.ttf') format('truetype');
    }

    @font-face {
        font-family: 'Vazirmatn';
        font-style: normal;
        font-weight: 800;
        src: url('/fonts/Vazirmatn-ExtraBold.ttf') format('truetype');
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Vazirmatn', sans-serif;
    }

    :root {
        --primary: #D4AF37;
        --secondary: #B8860B;
        --dark: #1a1a1a;
        --light: #f8f9fa;
        --gray: #6c757d;
        --success: #28a745;
        --info: #17a2b8;
    }

    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        color: var(--light);
        min-height: 100vh;
        padding-bottom: 50px;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    header {
        background: linear-gradient(to right, #0c0c0c, #1f1f1f);
        padding: 20px 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        position: relative;
        overflow: hidden;
    }

    header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(to right, #D4AF37, #FFD700, #D4AF37);
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
    }

    .logo i {
        color: var(--primary);
        font-size: 2.5rem;
    }

    .logo h1 {
        font-size: 1.8rem;
        background: linear-gradient(to right, #D4AF37, #FFD700);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight: 800;
    }

    .tagline {
        color: #ccc;
        font-size: 0.9rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .update-info {
        text-align: center;
        margin: 20px 0;
        padding: 10px;
        background: rgba(23, 162, 184, 0.1);
        border-radius: 10px;
        border: 1px solid rgba(23, 162, 184, 0.3);
    }

    .update-info i {
        color: var(--info);
        margin-left: 5px;
    }

    .error-banner {
        text-align: center;
        margin: 20px 0;
        padding: 10px;
        background: rgba(220, 53, 69, 0.1);
        border-radius: 10px;
        border: 1px solid rgba(220, 53, 69, 0.3);
        display: none;
    }

    .countdown-timer {
        font-weight: bold;
        color: #ff4444;
        margin-top: 5px;
    }

    .price-section {
        margin: 40px 0;
    }

    .section-title {
        text-align: center;
        margin-bottom: 30px;
        position: relative;
    }

    .section-title h2 {
        font-size: 2rem;
        display: inline-block;
        padding-bottom: 10px;
        position: relative;
    }

    .section-title h2::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(to right, var(--primary), var(--secondary));
        border-radius: 3px;
    }

    .cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }

    .price-card {
        background: linear-gradient(145deg, #2d2d2d, #252525);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        border: 1px solid rgba(212, 175, 55, 0.1);
        cursor: pointer;
    }

    .price-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        border-color: rgba(212, 175, 55, 0.3);
    }

    .card-header {
        padding: 20px;
        text-align: center;
        background: rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .card-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .card-image {
        height: 180px;
        width: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.2);
    }

    .card-image img {
        width: 150px;
        height: 150px;
        object-fit: contain;
        transition: transform 0.5s ease;
    }

    .price-card:hover .card-image img {
        transform: scale(1.1);
    }

    .card-body {
        padding: 20px;
        text-align: center;
    }

    .price {
        font-size: 2rem;
        font-weight: 800;
        color: var(--primary);
        margin: 15px 0;
        direction: ltr;
        text-align: center;
    }

    .price::after {
        content: " تومان";
        font-size: 1rem;
        font-weight: normal;
        margin-right: 5px;
    }

    .card-footer {
        padding: 15px 20px;
        background: rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(212, 175, 55, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .update-time {
        font-size: 0.8rem;
        color: #aaa;
    }

    .badge {
        background: var(--primary);
        color: var(--dark);
        padding: 3px 10px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
    }

    .change-positive {
        color: #28a745;
        font-size: 0.85rem;
        margin-top: 8px;
    }

    .change-negative {
        color: #dc3545;
        font-size: 0.85rem;
        margin-top: 8px;
    }

    .contact-info-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        background: rgba(212, 175, 55, 0.1);
        padding: 20px;
        border-radius: 10px;
        margin: 30px 0;
        text-align: center;
        border: 1px solid rgba(212, 175, 55, 0.3);
    }

    .contact-info-footer .contact-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .contact-info-footer i {
        color: var(--primary);
        font-size: 1.2rem;
    }

    footer {
        margin-top: 20px;
        text-align: center;
        padding: 20px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .footer-text {
        color: #aaa;
        font-size: 0.9rem;
    }

    @media (max-width: 768px) {
        .cards-container {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }

        .logo h1 {
            font-size: 1.5rem;
        }

        .price {
            font-size: 1.6rem;
        }
    }
    
    @media (max-width: 480px) {
        .cards-container {
            grid-template-columns: 1fr;
        }

        .container {
            padding: 0 15px;
        }

        .section-title h2 {
            font-size: 1.6rem;
        }
    }

    @media (max-width: 450px) {
        .contact-info-footer {
            justify-content: center;
            gap: 8px;
        }
        
        .contact-info-footer .contact-item {
            display: block;
        }
    }

    @keyframes priceUpdate {
        0% {
            background-color: rgba(40, 167, 69, 0);
        }

        50% {
            background-color: rgba(40, 167, 69, 0.2);
        }

        100% {
            background-color: rgba(40, 167, 69, 0);
        }
    }

    .price-updated {
        animation: priceUpdate 1s ease;
    }

    .loading {
        text-align: center;
        padding: 50px;
    }

    .loading i {
        font-size: 3rem;
        color: var(--primary);
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }