

/* =========================================
        Main Layout
========================================= */
:root {
    --bg-dark: #0a0505;
    --accent-main: #d4af37;
    --accent-hover: #f3e5ab;
    --text-light: #fdfbf7;
    --text-muted: #a8a09b;
    --card-bg: rgba(20, 10, 15, 0.75);
    --glass-border: rgba(212, 175, 55, 0.2); /* حاشیه طلایی محو */
}

.event-glass {
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.header-menu > button {
    transition: all 0.3s ease;
}

.header-menu > button:hover {
    color: var(--mud-palette-primary) !important;
    background-color: transparent !important;
}


.glass-footer {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.95));
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-link {
    color: var(--mud-palette-text-secondary) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--mud-palette-primary) !important;
}

.social-btn {
    color: var(--mud-palette-text-secondary) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: #0a0505 !important;
    background: var(--mud-palette-primary) !important;
    transform: translateY(-3px);
}
/* ========================================= */





/* =========================================
        About
========================================= */

.about-hero-banner {
    height: 250px;
    border-radius: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/about-bg.jpg') center/cover;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-card {
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--mud-palette-primary);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}


/* ========================================= */



/* =========================================
       ?????? ???????? ???? (Dark/Gold Theme)
       ========================================= */

.apex-ticket {
    display: flex;
    width: 100%;
    background: var(--card-bg); /* ??????? ?? ?? ????? ???? ?? ??? */
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    direction: rtl;
}

    .apex-ticket:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15); /* ???? ????? ?? ???? */
    }

.ticket-main {
    flex: 1;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* ??? ???????? ?????? */
.ticket-stub {
    width: 200px;
    padding: 30px 20px;
    border-right: 2px dashed rgba(212, 175, 55, 0.4); /* ?? ??? ????? ??? */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px 0 0 16px;
}

    /* ????????? ???? ? ????? ?????? */
    .ticket-stub::before,
    .ticket-stub::after {
        content: '';
        position: absolute;
        right: -16px; /* ????? ??? ?? ??? */
        width: 30px;
        height: 30px;
        background-color: #0a0505; /* ????? ?? ????? ???? ???? */
        border-radius: 50%;
        border: 1px solid var(--glass-border);
        box-shadow: inset 0 5px 10px rgba(0,0,0,0.8);
        z-index: 2;
    }

    .ticket-stub::before {
        top: -16px;
        border-bottom-color: transparent;
    }

    .ticket-stub::after {
        bottom: -16px;
        border-top-color: transparent;
    }

/* ??? ??? ???? */
.ticket-stamp {
    position: absolute;
    top: 25px;
    left: 25px;
    border: 2px solid var(--accent-main); /* ??? ????? */
    color: var(--accent-main);
    padding: 4px 12px;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    transform: rotate(-15deg);
    opacity: 0.6;
    border-radius: 6px;
    letter-spacing: 2px;
    pointer-events: none;
}

    .ticket-stamp.sold-out {
        border-color: #a8a09b;
        color: #a8a09b;
    }

/* ???? ???? */
.buy-btn {
    background-color: var(--accent-main) !important;
    color: #000 !important; /* ??? ???? ??? ???? ????? */
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .buy-btn:hover {
        background-color: var(--accent-hover) !important;
        transform: scale(1.05);
    }

/* ????? */
.ticket-barcode {
    width: 100%;
    height: 45px;
    margin-top: auto;
    background: repeating-linear-gradient( to right, var(--text-muted), var(--text-muted) 2px, transparent 2px, transparent 4px, var(--text-muted) 4px, var(--text-muted) 5px, transparent 5px, transparent 8px, var(--text-muted) 8px, var(--text-muted) 12px, transparent 12px, transparent 14px );
    opacity: 0.4;
}

/* ???????? ?????? */
@media (max-width: 768px) {
    .apex-ticket {
        flex-direction: column;
    }

    .ticket-stub {
        width: 100%;
        border-right: none;
        border-top: 2px dashed rgba(212, 175, 55, 0.4);
        border-radius: 0 0 16px 16px;
        flex-direction: row;
        padding: 20px;
        gap: 15px;
    }

        .ticket-stub::before {
            left: -16px;
            top: -16px;
            right: auto;
            border-right-color: transparent;
        }

        .ticket-stub::after {
            right: -16px;
            top: -16px;
            bottom: auto;
            border-left-color: transparent;
        }

    .ticket-barcode {
        display: none;
    }

    .ticket-stamp {
        left: 15px;
        top: 15px;
        font-size: 1rem;
    }
}
