/* هێنانی فۆنتی فەرمی و نەرمی Vazirmatn لە گووگڵ */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;600;700;800&display=swap');

:root {
    --primary-navy: #1b3557;
    --accent-gold: #c69c55;
    --accent-gold-hover: #b08740;
    --bg-dark: #0a0f1d;
    --card-surface: #141c2e;
    --border-color: #243049;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

/* قفڵکردنی نیشانەکردنی دەق و ڕاکێشانی وێنە */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Tahoma, sans-serif;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
}

/* ڕێکخستنی گشتگیر بۆ هەموو قەبارەیەکی شاشە */
.container {
    max-width: 580px;
    margin: 0 auto;
    padding: clamp(16px, 4vw, 36px) 20px;
    width: 100%;
}

.app-icon-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.app-icon-img {
    width: clamp(88px, 20vw, 115px);
    height: clamp(88px, 20vw, 115px);
    border-radius: 26px;
    box-shadow: 0 15px 35px -5px rgba(198, 156, 85, 0.35), 0 0 0 1px rgba(198, 156, 85, 0.25);
    transition: transform 0.3s ease;
    pointer-events: none;
}

h1 {
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    font-weight: 800;
    margin-top: 14px;
    margin-bottom: 4px;
    color: #ffffff;
}

.subtitle {
    font-size: clamp(0.82rem, 2.5vw, 0.95rem);
    color: var(--accent-gold);
    font-weight: 600;
}

/* دوگمەی کردنەوەی جێم */
.btn-launch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
    color: #0b1329;
    text-decoration: none;
    padding: 16px 22px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 12px 24px -6px rgba(198, 156, 85, 0.4);
    transition: all 0.2s ease;
    margin: 22px 0;
    border: none;
    width: 100%;
    cursor: pointer;
}

.btn-launch:active {
    transform: scale(0.98);
}

/* کارتی زانیارییەکان */
.card {
    background-color: var(--card-surface);
    border-radius: 20px;
    padding: clamp(16px, 4vw, 24px);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step-item {
    display: flex;
    gap: 12px;
    font-size: clamp(0.84rem, 2.3vw, 0.92rem);
    line-height: 1.65;
    color: #cbd5e1;
}

.step-number {
    background: rgba(198, 156, 85, 0.15);
    color: var(--accent-gold);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

/* پەنجەرەی داواکاری دابەزاندن (Install Banner) */
.install-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 520px;
    margin: 0 auto;
    background: #141c2e;
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 16px;
    z-index: 1000;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.35s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.install-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.install-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    pointer-events: none;
}

.install-title {
    color: #fff;
    font-size: 0.95rem;
}

.install-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.4;
}

.btn-install {
    background: var(--accent-gold);
    color: #0b1329;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    font-size: 0.95rem;
    margin-top: 12px;
    transition: background 0.2s;
}

.btn-install:active {
    background: var(--accent-gold-hover);
}

/* پێپەڕ */
footer {
    border-top: 1px solid var(--border-color);
    padding: 22px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(10, 15, 29, 0.95);
}

.credit {
    margin-top: 6px;
}

footer a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}