:root{
    --cyan:   #00ffff;
    --purple: #c77dff;
    --text:   #e2e8f0;
    --tr:     0.3s cubic-bezier(0.4,0,0.2,1);
    --c:#00ffff;
    --green:#00ff88;
    --purple:#c77dff;
    --bg:#0a0e17;
    --card:#111827;
    --tr:0.3s cubic-bezier(0.4,0,0.2,1);
}
*,*::before,*::after{box-sizing:border-box;}
html,body{margin:0;padding:0;width:100%;overflow-x:hidden;}
body{
    font-family:'Vazirmatn',sans-serif;
    background:var(--bg);
    color:#eee;
    min-height:100vh;
    background:radial-gradient(circle at 50% 80%, #1a1f33, var(--bg));
    -webkit-user-select:text;user-select:text;
}
a, button, [role="button"]{-webkit-tap-highlight-color:transparent;}
a:focus, button:focus, [role="button"]:focus{outline:none;}

/* ===== CONTAINER ===== */
.container{
    max-width:1100px;
    margin:0 auto;
    padding: clamp(80px,14vw,110px) clamp(12px,3vw,28px) clamp(40px,6vw,80px);
}

/* ===== HEADINGS ===== */
h1{
    text-align:center;
    color:var(--c);
    font-size: 1.4rem;
    margin: clamp(20px,4vw,40px) 0 clamp(16px,3vw,30px);
    text-shadow:0 0 clamp(20px,4vw,40px) var(--c);
    font-weight:900;
    line-height:1.4;
}

/* ===== GUEST HERO ===== */
.guest-hero{
    text-align:center;
    margin: clamp(20px,4vw,40px) auto;
    max-width:780px;
    padding: clamp(28px,5vw,50px) clamp(20px,4vw,40px);
    background:linear-gradient(135deg,rgba(0,255,255,0.06),rgba(199,125,255,0.08));
    border:2px solid var(--c);
    border-radius: clamp(20px,3vw,28px);
    box-shadow:0 0 60px rgba(0,255,255,0.25);
}
.guest-hero i{
    font-size: 2.5rem;
    color:#000000;
    text-shadow:0 0 35px var(--c);
    margin-bottom: clamp(14px,2.5vw,22px);
    display:block;
}
.guest-hero h2{
    font-size: 1.15rem;
    color:#fff;
    font-weight:900;
    margin-bottom: clamp(10px,2vw,16px);
}
.guest-hero p{
    font-size: 0.95rem;
    color:#cdd3e0;
    line-height:1.9;
    margin-bottom: clamp(20px,4vw,30px);
}
.guest-actions{
    display:flex;
    gap: clamp(6px,1.8vw,16px);
    flex-wrap:nowrap;
    justify-content:center;
    align-items:stretch;
    width:100%;
}
.guest-btn{
    flex: 1 1 0;
    min-width: 0;
    padding: clamp(10px,2.3vw,16px) clamp(8px,2.5vw,36px);
    border-radius:50px;
    font-weight:900;
    font-size: 0.9rem;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: clamp(4px,1.2vw,10px);
    transition: box-shadow .3s ease, transform .25s ease;
    cursor:pointer;
    border:none;
    font-family:inherit;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.guest-btn i{
    font-size: 0.9rem;
    flex-shrink:0;
}
.guest-btn.primary{
    background:linear-gradient(135deg,var(--c),#00ff88);
    color:#000;
    box-shadow:0 0 35px rgba(0,255,255,0.5);
}
.guest-btn.primary:hover{ box-shadow:0 0 55px rgba(0,255,255,0.85); transform:none; }
.guest-btn.ghost{
    background:rgba(255,255,255,0.06);
    color:#cdd3e0;
    border:2px solid rgba(255,255,255,0.15);
}
.guest-btn.ghost:hover{ background:rgba(255,255,255,0.12); }

/* ===== NEW TICKET BUTTON ===== */
.new-ticket-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:90%;
    max-width: clamp(280px,50vw,420px);
    margin: clamp(20px,4vw,40px) auto;
    padding: clamp(14px,2.5vw,20px) clamp(20px,3vw,30px);
    background:linear-gradient(135deg,var(--c),#00ff88);
    color:#000;
    text-align:center;
    border-radius:50px;
    font-size: 1.1rem;
    font-weight:900;
    box-shadow:0 0 clamp(30px,5vw,60px) rgba(0,255,255,0.6);
    text-decoration:none;
    transition: box-shadow .4s ease, transform .25s ease;
}
.new-ticket-btn:hover{ box-shadow:0 0 90px rgba(0,255,255,0.9); transform:none; }

/* ===== TICKET CARD ===== */
.ticket-card{
    background:var(--card);
    border-radius: clamp(16px,2.5vw,22px);
    padding: clamp(16px,3vw,26px);
    margin: clamp(14px,2vw,22px) 0;
    border:2px solid transparent;
    box-shadow:0 10px 40px rgba(0,0,0,0.6);
    transition: border-color .35s ease, box-shadow .35s ease;
    display:flex;
    flex-wrap:wrap;
    gap: clamp(10px,2vw,18px);
    align-items:center;
}
.ticket-card:hover{
    border-color:var(--c);
    box-shadow:0 15px 60px rgba(0,255,255,0.3);
}
.ticket-thumb{
    width: clamp(70px,12vw,100px);
    height:clamp(70px,12vw,100px);
    object-fit:cover;
    border-radius: clamp(12px,2vw,16px);
    border:3px solid var(--c);
    box-shadow:0 0 clamp(15px,3vw,30px) var(--c);
    flex-shrink:0;
    display:none;
}
.has-thumb .ticket-thumb{ display:block; }
.ticket-info{
    flex:1 1 200px;
    min-width:0;
}
.ticket-subject{
    font-size: 1rem;
    font-weight:900;
    color:var(--c);
    margin-bottom: clamp(6px,1vw,10px);
    word-wrap:break-word;
}
.ticket-date{
    font-size: 0.88rem;
    color:#aaa;
    line-height:1.8;
}
.ticket-actions{
    display:flex;
    gap: clamp(8px,1.5vw,14px);
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-end;
    flex: 1 1 auto;
}
.status-btn{
    padding: clamp(7px,1.5vw,11px) clamp(14px,2.5vw,24px);
    border-radius:50px;
    font-weight:bold;
    font-size: 0.88rem;
    white-space:nowrap;
}
.pending{ background:#330011; color:#ff5555; border:2px solid #ff5555; }
.answered{ background:#003311; color:var(--green); border:2px solid var(--green); }
.closed{ background:#222; color:#888; border:2px solid #888; }
.view-btn{
    background:linear-gradient(135deg,#0066ff,var(--c));
    color:#fff;
    padding: clamp(10px,2vw,14px) clamp(18px,3vw,30px);
    border-radius:50px;
    font-size: 0.92rem;
    font-weight:900;
    text-decoration:none;
    box-shadow:0 0 30px rgba(0,102,255,0.55);
    transition: box-shadow .35s ease, transform .25s ease;
    white-space:nowrap;
}
.view-btn:hover{ box-shadow:0 0 60px rgba(0,255,255,0.8); transform:none; }

/* ===== NO TICKET ===== */
.no-ticket{
    text-align:center;
    padding: clamp(40px,6vw,80px) clamp(16px,3vw,24px);
    background:var(--card);
    border-radius: clamp(18px,3vw,25px);
    border:3px dashed var(--c);
    color:#888;
    font-size: 1rem;
    margin: clamp(30px,5vw,60px) 0;
    box-shadow:0 0 60px rgba(0,255,255,0.2);
    line-height:1.9;
}
.no-ticket i{
    font-size: 2.5rem;
    color:var(--c);
    margin-bottom: clamp(14px,2.5vw,22px);
    opacity:0.7;
    display:block;
}

/* ===== FLOATING BUTTONS (from index.php) ===== */
.search-trigger, .menu-trigger {
    position: fixed; top: 16px; z-index: 9999;
    width: clamp(46px, 8vw, 56px);
    height: clamp(46px, 8vw, 56px);
    background: var(--cyan); color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 50px rgba(0,255,255,0.6);
    transition: var(--tr);
    backdrop-filter: blur(12px);
}
.search-trigger { left: 14px; }
.menu-trigger   { right: 14px; }
.search-trigger:hover, .menu-trigger:hover {
    box-shadow: 0 0 80px rgba(0,255,255,1);
}
.top-left-controls{
    position: fixed;
    top: 16px;
    left: 14px;
    z-index: 9999;
    display: flex; align-items: center;
    gap: clamp(8px, 1.5vw, 12px);
}
.top-left-controls .search-trigger{ position: static; top: auto; left: auto; }
.login-trigger {
    background: linear-gradient(135deg,#9d4edd 0%,#ff2d95 55%,#ff00ff 100%);
    color: #fff; border: none; border-radius: 50px;
    display: flex; align-items: center; justify-content: center;
    font-family: inherit; font-weight: 900; white-space: nowrap; cursor: pointer;
    box-shadow: 0 0 40px rgba(199,77,221,0.55); transition: box-shadow var(--tr);
    backdrop-filter: blur(12px);
}
.login-trigger:hover { box-shadow: 0 0 70px rgba(255,45,149,0.9); }

/* موبایل (< 768px): فقط آیکون، دایره‌ای */
.login-trigger {
    width: clamp(46px,8vw,52px);
    height: clamp(46px,8vw,52px);
    padding: 0;
    font-size: 20px;
    gap: 0;
}
.login-trigger .login-icon { display: flex; }
.login-trigger .login-text-short { display: none; }
.login-trigger .login-text-full  { display: none; }

/* تبلت (768px – 1023px): آیکون + متن کوتاه */
@media(min-width:768px) {
    .login-trigger {
        width: auto;
        height: clamp(44px,6vw,50px);
        padding: 0 clamp(14px,2vw,20px);
        font-size: 14px;
        gap: 7px;
    }
    .login-trigger .login-icon      { display: flex; }
    .login-trigger .login-text-short { display: inline; }
    .login-trigger .login-text-full  { display: none; }
}

/* لپ‌تاپ و بزرگ‌تر (≥ 1024px): فقط متن کامل، بدون آیکون */
@media(min-width:1024px) {
    .login-trigger {
        height: 46px;
        padding: 0 26px;
        font-size: 15px;
        gap: 0;
    }
    .login-trigger .login-icon      { display: none; }
    .login-trigger .login-text-short { display: none; }
    .login-trigger .login-text-full  { display: inline; }
}

/* ═══ LOGIN PROMPT MODAL ═══ */
.login-prompt{
    position:fixed;inset:0;z-index:12000;
    display:flex;align-items:center;justify-content:center;
    padding: clamp(16px,3vw,24px);
    background:rgba(3,6,20,0.82);backdrop-filter:blur(8px);
    opacity:0;visibility:hidden;
    transition:opacity .3s ease, visibility .3s ease;
}
.login-prompt.open{ opacity:1; visibility:visible; }
.login-prompt-card{
    width:min(420px,100%);
    background:linear-gradient(135deg,#0f1425,#1a1f33);
    border:3px solid var(--c);border-radius: clamp(18px,3vw,24px);
    padding: clamp(24px,5vw,36px) clamp(20px,4vw,30px);
    text-align:center;
    box-shadow:0 0 60px rgba(0,255,255,0.45);
    transform:scale(0.9);
    transition:transform .35s cubic-bezier(0.34,1.56,0.64,1);
}
.login-prompt.open .login-prompt-card{ transform:scale(1); }
.login-prompt-icon{
    font-size: 2.5rem; color:var(--c);
    text-shadow:0 0 25px rgba(0,255,255,0.6);
    margin-bottom:14px; display:block;
}
.login-prompt-title{
    font-size: 1.25rem; font-weight:900; color:#fff;
    margin-bottom:10px;
}
.login-prompt-text{
    font-size: 0.9rem; color:#cdd3e0;
    line-height:1.9; margin-bottom: clamp(18px,3vw,24px);
}
.login-prompt-actions{ display:flex; flex-direction:column; gap:12px; }
.login-prompt-btn{
    width:100%; padding: clamp(12px,2.5vw,14px) 18px;
    border-radius:50px; border:none;
    font-family:inherit;
    font-size: 16px; font-weight:900; cursor:pointer;
    transition: box-shadow .3s ease, transform .25s ease;
}
.login-prompt-btn.primary{
    background:linear-gradient(90deg,var(--c),var(--purple));
    color:#000;
    box-shadow:0 0 30px rgba(0,255,255,0.5);
}
.login-prompt-btn.primary:hover{ box-shadow:0 0 45px rgba(0,255,255,0.85); transform:none; }
.login-prompt-btn.ghost{ background:rgba(255,255,255,0.08); color:#cdd3e0; }
.login-prompt-btn.ghost:hover{ background:rgba(255,255,255,0.15); }

/* ===== SIDE MENU (from index.php) ===== */
.side-menu {
    position: fixed; top: 0; right: 0;
    width: min(320px, 86vw);
    height: 100vh; height: 100dvh;
    background:
        radial-gradient(120% 60% at 100% 0%, rgba(0,255,255,0.10) 0%, transparent 55%),
        radial-gradient(120% 60% at 0% 100%, rgba(199,125,255,0.10) 0%, transparent 55%),
        linear-gradient(160deg, #0a0e17 0%, #11162a 50%, #1a1f33 100%);
    border-left: 1px solid rgba(0,255,255,0.18);
    z-index: 10000;
    transform: translateX(105%);
    transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow .55s ease;
    box-shadow: -12px 0 60px rgba(0,0,0,0);
    display: flex; flex-direction: column; overflow-y: auto;
    overscroll-behavior: contain;
    will-change: transform;
}
.side-menu.open {
    transform: translateX(0);
    box-shadow: -18px 0 70px rgba(0,0,0,0.85), -2px 0 0 rgba(0,255,255,0.25);
}
.side-menu::-webkit-scrollbar { width: 6px; }
.side-menu::-webkit-scrollbar-thumb { background: rgba(0,255,255,0.25); border-radius: 6px; }

.menu-header {
    padding: clamp(16px,4vw,24px) clamp(16px,4vw,22px);
    border-bottom: 1px solid rgba(0,255,255,0.12);
    display: flex; align-items: center; gap: 14px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0,255,255,0.06), rgba(199,125,255,0.04));
}
.user-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.user-avatar {
    width: clamp(44px,10vw,56px); height: clamp(44px,10vw,56px);
    border-radius: 50%; border: 3px solid #000;
    object-fit: cover; flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.user-details { flex: 1; min-width: 0; }
.username {
    font-size: 16px;
    font-weight: 900; margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mobile { font-size: 13px; opacity: 0.9; }
.close-menu {
    font-size: 22px; cursor: pointer; padding: 8px;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: transform .35s ease, background .25s ease;
    flex-shrink: 0;
}
.close-menu:hover { background: rgba(0,0,0,0.25); transform: rotate(90deg); }
.close-menu:active { transform: rotate(90deg) scale(0.92); }

.menu-links { flex: 1; padding: 10px 0; overflow-y: auto; }
.menu-links a {
    display: flex; align-items: center;
    padding: clamp(12px,3vw,16px) clamp(18px,4vw,24px);
    color: var(--text); text-decoration: none;
    font-size: 15px; font-weight: 600;
    transition: background .3s ease, color .3s ease, padding-right .3s ease, transform .3s ease;
    border-bottom: 1px solid rgba(0,255,255,0.07);
    position: relative;
    opacity: 0;
    transform: translateX(28px);
}
.side-menu.open .menu-links a {
    opacity: 1;
    transform: translateX(0);
    transition: background .3s ease, color .3s ease, padding-right .3s ease,
                opacity .45s ease, transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}
.side-menu.open .menu-links a:nth-child(1) { transition-delay: .08s; }
.side-menu.open .menu-links a:nth-child(2) { transition-delay: .14s; }
.side-menu.open .menu-links a:nth-child(3) { transition-delay: .20s; }
.side-menu.open .menu-links a:nth-child(4) { transition-delay: .26s; }
.side-menu.open .menu-links a:nth-child(5) { transition-delay: .32s; }
.side-menu.open .menu-links a:nth-child(6) { transition-delay: .38s; }
.side-menu.open .menu-links a:nth-child(7) { transition-delay: .44s; }
.side-menu.open .menu-links a:nth-child(8) { transition-delay: .50s; }

.menu-links a::before {
    content: ''; position: absolute; top: 10%; bottom: 10%; right: 0;
    width: 3px; border-radius: 3px 0 0 3px;
    background: linear-gradient(180deg, var(--cyan), #c77dff);
    transform: scaleY(0); transform-origin: center;
    transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-links a:hover {
    background: linear-gradient(90deg, rgba(0,255,255,0.04), rgba(0,255,255,0.14) 100%);
    color: var(--cyan);
    padding-right: clamp(22px, 5vw, 32px);
}
.menu-links a:hover::before { transform: scaleY(1); }
.menu-links a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: -4px;
    background: rgba(0,255,255,0.08);
}
.menu-links a i {
    width: 28px; text-align: center; margin-left: 12px;
    color: var(--cyan); font-size: 17px;
    transition: transform .35s ease;
}
.menu-links a:hover i { transform: none; }

.menu-links .logout { color: #ff5a5a; }
.menu-links .logout i { color: #ff5a5a; }
.menu-links .logout::before { background: linear-gradient(180deg, #ff5a5a, #ff2d95); }
.menu-links .logout:hover {
    background: linear-gradient(90deg, rgba(255,68,68,0.06), rgba(255,68,68,0.18));
    color: #ff7a7a;
}

.menu-footer { padding: 20px; text-align: center; color: #777; font-size: 13px; border-top: 1px solid rgba(0,255,255,0.1); flex-shrink: 0; display: block !important; }

.menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 9998; opacity: 0; visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

@media (min-width: 641px) and (max-width: 1023px) {
    .side-menu { width: min(380px, 60vw); }
    .menu-links a { font-size: 16px; padding: 15px 22px; }
}
@media (min-width: 1024px) {
    .side-menu { width: 400px; }
    .menu-links a { font-size: 16.5px; padding: 16px 26px; }
    .menu-links a i { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .side-menu, .menu-links a, .menu-overlay, .close-menu, .menu-links a i {
        transition: none !important;
    }
    .side-menu.open .menu-links a { transition-delay: 0s !important; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — حرفه‌ای و کاملاً ریسپانسیو (from index.php)
   ═══════════════════════════════════════════════════════════ */
footer {
    background: linear-gradient(180deg, #000 0%, #050810 100%);
    border-top: 2px solid rgba(0,255,255,0.18);
    color: #888;
    position: relative;
    z-index: 1;
    padding: clamp(40px, 6vw, 70px) clamp(16px, 4vw, 50px) clamp(24px, 4vw, 40px);
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: clamp(100px, 20vw, 200px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 20px rgba(0,255,255,0.6);
}
footer a:not(.footer-link-btn):not(.social-btn) {
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
}
footer a:not(.footer-link-btn):not(.social-btn):hover {
    text-decoration: underline;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 3vw, 32px);
}

.footer-brand {
    text-align: center;
    margin-bottom: clamp(4px, 1vw, 8px);
}
@keyframes neonFlow{0%{background-position:0%}100%{background-position:200%}}
.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--cyan), #c77dff, var(--cyan));
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: neonFlow 8s linear infinite;
    margin: 0;
    letter-spacing: 1px;
}
.footer-brand-tagline {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 6px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(4px, 1.2vw, 16px);
    width: 100%;
    padding: 0 clamp(2px, 1.5vw, 16px);
}
.footer-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, 0.8vw, 8px);
    padding: clamp(7px, 1.4vw, 13px) clamp(6px, 1.5vw, 22px);
    background: rgba(199,125,255,0.10);
    border: 1.5px solid rgba(199,125,255,0.35);
    border-radius: 50px;
    color: #c77dff !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .3s;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
    max-width: 25%;
    min-height: clamp(34px, 5.5vw, 46px);
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    text-overflow: ellipsis;
}
.footer-link-btn i {
    font-size: 0.8rem;
    color: #c77dff !important;
    flex-shrink: 0;
}
.footer-link-btn:hover {
    background: linear-gradient(135deg,rgba(0,255,255,0.18),rgba(199,125,255,0.18));
    color: #fff !important;
    border-color: rgba(0,255,255,0.7);
    box-shadow: 0 0 28px rgba(0,255,255,0.35),0 0 14px rgba(199,125,255,0.25);
}
.footer-link-btn:hover i,
.footer-link-btn:hover * { color: #fff !important; }
.footer-link-btn:visited,
.footer-link-btn:visited:not(:hover) {
    background: rgba(199,125,255,0.10) !important;
    color: #c77dff !important;
    border-color: rgba(199,125,255,0.35) !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.footer-link-btn:visited:hover {
    background: #c77dff !important;
    color: #fff !important;
    border-color: #c77dff !important;
    box-shadow: 0 0 30px rgba(199,125,255,0.5) !important;
}
.footer-link-btn:active,
.footer-link-btn:focus,
.footer-link-btn:focus:not(:focus-visible) {
    background: rgba(199,125,255,0.10) !important;
    color: #c77dff !important;
    border-color: rgba(199,125,255,0.35) !important;
    box-shadow: none !important;
    outline: none !important;
}

.footer-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,255,255,0.25), transparent);
    margin: clamp(4px, 1vw, 8px) 0;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 2vw, 16px);
    width: 100%;
    padding: 0 clamp(0px, 2vw, 16px);
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    background: rgba(0,255,255,0.07);
    border: 1.5px solid rgba(0,255,255,0.25);
    border-radius: 50%;
    color: var(--cyan) !important;
    text-decoration: none !important;
    transition: background .3s, border-color .3s, box-shadow .3s;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.social-icon {
    width: clamp(17px, 3.2vw, 22px);
    height: clamp(17px, 3.2vw, 22px);
    flex-shrink: 0;
    fill: currentColor;
}
.social-btn:hover {
    background: rgba(0,255,255,0.18);
    color: var(--cyan) !important;
    border-color: rgba(0,255,255,0.6);
    box-shadow: 0 0 18px rgba(0,255,255,0.3);
}
.social-btn:active, .social-btn:focus {
    background: rgba(0,255,255,0.07) !important;
    color: var(--cyan) !important;
    border-color: rgba(0,255,255,0.25) !important;
    box-shadow: none !important;
    outline: none !important;
}
.social-btn:visited { color: var(--cyan) !important; }
.social-icon-img {
    width: clamp(18px,4.5vw,28px);
    height: clamp(18px,4.5vw,28px);
    object-fit: contain; display: block;
    filter: drop-shadow(0 0 4px rgba(0,255,255,0.2));
}
.social-btn:hover .social-icon-img { filter: drop-shadow(0 0 8px rgba(0,255,255,0.5)); }

.footer-copy {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.7;
    text-align: center;
    padding: 0 clamp(8px, 3vw, 20px);
    margin-top: clamp(8px, 2vw, 16px);
    word-break: keep-all;
}
.footer-copy strong {
    color: #888;
}

@media (max-width: 360px) {
    footer { padding: 32px 6px 20px; }
    .footer-inner { gap: 14px; }
    .footer-brand-name { font-size: 17px; }
    .footer-brand-tagline { font-size: 10px; }
    .footer-links { gap: 3px; padding: 0 2px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 6px 3px;
        font-size: 8.5px;
        gap: 2px;
        min-height: 32px;
        max-width: 25%;
    }
    .footer-link-btn i { font-size: 9px; }
    .footer-socials { gap: 6px; }
    .social-btn { width: 36px; height: 36px; }
    .social-icon { width: 15px; height: 15px; }
    .footer-copy { font-size: 10px; line-height: 1.6; }
}

@media (min-width: 361px) and (max-width: 480px) {
    footer { padding: 36px 8px 22px; }
    .footer-inner { gap: 16px; }
    .footer-brand-name { font-size: 20px; }
    .footer-links { gap: 4px; padding: 0 3px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 7px 5px;
        font-size: 9.5px;
        gap: 3px;
        min-height: 34px;
        max-width: 25%;
    }
    .footer-link-btn i { font-size: 10px; }
    .footer-socials { gap: 8px; }
    .social-btn { width: 38px; height: 38px; }
    .social-icon { width: 16px; height: 16px; }
}

@media (min-width: 481px) and (max-width: 640px) {
    footer { padding: 42px 14px 26px; }
    .footer-inner { gap: 20px; }
    .footer-brand-name { font-size: 22px; }
    .footer-links { gap: 6px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 8px 10px;
        font-size: 11px;
        min-height: 38px;
        max-width: 25%;
    }
    .footer-socials { gap: 10px; }
    .social-btn { width: 41px; height: 41px; }
    .social-icon { width: 18px; height: 18px; }
}

@media (min-width: 641px) and (max-width: 900px) {
    footer { padding: 50px 24px 32px; }
    .footer-inner { gap: 26px; }
    .footer-brand-name { font-size: 27px; }
    .footer-links { gap: 10px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 11px 20px;
        font-size: 13px;
        min-height: 42px;
        max-width: 25%;
    }
    .footer-socials { gap: 13px; }
    .social-btn { width: 46px; height: 46px; }
    .social-icon { width: 21px; height: 21px; }
}

@media (min-width: 901px) {
    footer { padding: 60px 40px 36px; }
    .footer-inner { gap: 30px; }
    .footer-brand-name { font-size: 30px; }
    .footer-links { gap: 14px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 12px 26px;
        font-size: 15px;
        min-height: 44px;
        max-width: 25%;
    }
    .footer-socials { gap: 14px; }
    .social-btn { width: 48px; height: 48px; }
    .social-icon { width: 22px; height: 22px; }
}

@media (min-width: 1400px) {
    footer { padding: 70px 50px 40px; }
    .footer-brand-name { font-size: 32px; }
    .footer-link-btn {
        padding: 13px 28px;
        font-size: 15px;
        min-height: 46px;
        max-width: 25%;
    }
    .social-btn { width: 50px; height: 50px; }
    .social-icon { width: 23px; height: 23px; }
}

/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (ticket cards)
════════════════════════════════════════ */
@media (max-width: 360px){
    .ticket-card{ flex-direction:column; align-items:stretch; }
    .ticket-actions{ justify-content:center; }
    .ticket-thumb{ margin: 0 auto; }
    .ticket-info{ text-align:center; }
}
@media (min-width: 361px) and (max-width: 480px){
    .ticket-actions{ justify-content:flex-start; width:100%; }
}


/* آواتار پیش‌فرض منو (بدون عکس کاربر) */
.user-avatar-fallback {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,255,255,.18), rgba(199,125,255,.22));
    border: 2px solid rgba(0,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    font-size: 1.15rem;
    flex-shrink: 0;
}
img.user-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,255,255,.3);
    flex-shrink: 0;
    background: #0a0e17;
}

/* menu z-index unify */
.search-trigger, .menu-trigger { z-index: 10050 !important; }
.side-menu { z-index: 10060 !important; }
.menu-overlay { z-index: 10055 !important; }


/* ═══════════════════════════════════════════════
   about-terms-mylist-support-stable-v1
   ═══════════════════════════════════════════════ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
}
body {
  font-size: 16px !important;
  line-height: 1.65 !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

.menu-trigger, .search-trigger {
  font-size: 22px !important;
  width: 48px !important;
  height: 48px !important;
}
.menu-links a { font-size: 15px !important; }
.menu-links a i { font-size: 17px !important; }
.username { font-size: 16px !important; }
.mobile { font-size: 13px !important; }

.page-title,
.page-header h1,
.about-title,
.terms-title,
.support-title,
h1 {
  font-size: 1.4rem !important;
  line-height: 1.35 !important;
  word-break: break-word;
}
.page-subtitle,
.lead,
.intro-text {
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
}

/* محتوای متنی درباره ما / قوانین */
.about-content,
.terms-content,
.content-box,
.policy-section,
.terms-section,
.about-section {
  font-size: 0.95rem !important;
  line-height: 1.85 !important;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.about-content h2,
.terms-content h2,
.policy-section h2,
.terms-section h2 {
  font-size: 1.15rem !important;
  line-height: 1.4 !important;
  margin-top: 1.5em;
}
.about-content p,
.terms-content p,
.policy-section p {
  font-size: 0.95rem !important;
  line-height: 1.85 !important;
}

/* آمار درباره ما */
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.stat-value, .stat-number {
  font-size: 1.25rem !important;
}
.stat-label {
  font-size: 0.8rem !important;
}

/* پشتیبانی */
.ticket-card,
.support-card {
  font-size: 0.92rem !important;
}
.ticket-title,
.ticket-subject {
  font-size: 1rem !important;
}
.ticket-meta,
.ticket-status {
  font-size: 0.8rem !important;
}
.support-btn,
.btn-primary,
.new-ticket-btn {
  font-size: 0.95rem !important;
}

/* لیست من */
.mylist-tabs,
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab-btn,
.mylist-tab {
  font-size: 0.9rem !important;
  padding: 10px 14px !important;
}
.mylist-grid,
.songs-grid,
.list-grid,
.results-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 0 12px !important;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.mylist-grid .item-card,
.songs-grid .item-card,
.list-grid .item-card {
  width: 100% !important;
  min-width: 0;
  flex: none !important;
}
.song-title, .item-title {
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
}
.song-artist, .item-subtitle {
  font-size: 0.78rem !important;
}

.footer-copy { font-size: 0.8rem !important; }

@media (max-width: 359.98px) {
  .page-title, .page-header h1, h1 { font-size: 1.2rem !important; }
  .stats-grid { grid-template-columns: 1fr !important; }
  .mylist-grid, .songs-grid, .list-grid, .results-grid {
    gap: 8px !important;
    padding: 0 8px !important;
  }
  .menu-trigger, .search-trigger {
    width: 42px !important;
    height: 42px !important;
    font-size: 18px !important;
  }
}
@media (min-width: 360px) and (max-width: 575.98px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
  .stat-value, .stat-number { font-size: 1.1rem !important; }
  .stat-label { font-size: 0.72rem !important; }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .mylist-grid, .songs-grid, .list-grid, .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .page-title, h1 { font-size: 1.45rem !important; }
}
@media (min-width: 768px) {
  .mylist-grid, .songs-grid, .list-grid, .results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    padding: 0 16px !important;
  }
  .about-content, .terms-content, .content-box, .policy-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (min-width: 992px) {
  .mylist-grid, .songs-grid, .list-grid, .results-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  .menu-links a { font-size: 16px !important; }
  .page-title, h1 { font-size: 1.55rem !important; }
}
@media (min-width: 1200px) {
  .mylist-grid, .songs-grid, .list-grid, .results-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

.item-card:hover { transform: none; }

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


/* بدون پرش/زوم هنگام هاور روی دکمه‌ها و لینک‌های عملیاتی */
a.button:hover, button:hover, .btn:hover, .btn-buy:hover, .btn-outline:hover,
.guest-btn:hover, .success-btn:hover, .back-btn:hover, .footer-link-btn:hover,
.login-prompt-btn:hover, .artist-cta-btn:hover, .new-ticket-btn:hover,
button[type="submit"]:hover, .filter-btn:hover, .nav-chip:hover {
    transform: none !important;
}


/* باقی‌مانده اشتراک در منوی کناری */
.menu-sub-remain {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #34d399;
    line-height: 1.4;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
}
.user-details .mobile {
    line-height: 1.45;
}
