.landing {
    --accent: #f39c1e;
    --accent-soft: rgba(243, 156, 30, 0.15);
    --bg: #0f1418;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-dim: #8a9299;
    --pink: #d81f7a;

    min-height: 100vh;
    width: 100%;
    background:
        radial-gradient(ellipse at center, rgba(15,20,24,0.25) 0%, rgba(15,20,24,0.50) 55%, rgba(15,20,24,0.95) 100%),
        url('https://durakonline.ru/Content/Card/casino.jpg') top left repeat fixed;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 0 7px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.landing * { box-sizing: border-box; }

.landing-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px;
}

.hero-logo {
    width: min(65%, 320px);
    height: auto;
    filter: drop-shadow(0 0 24px rgba(216, 31, 122, 0.35));
}

.hero-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 18px 0 6px;
    background: linear-gradient(90deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    color: var(--text-dim);
    font-size: 15px;
    max-width: 520px;
    line-height: 1.5;
    margin: 0 0 22px;
}

.stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.stats.stats-below-auth {
    margin: 18px 0 0;
}

.stat-pill {
        display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 8px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text);
}

.stat-pill .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #31c76f;
    box-shadow: 0 0 8px #31c76f;
    animation: landing-pulse 1.8s infinite;
}

.stat-pill b { color: var(--accent); font-weight: 700; }

@keyframes landing-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

.auth-card {
    width: 100%;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px 22px;
}

.auth-title {
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 26px;
    color: #ffc1ea;
    text-shadow: 0 2px 6px rgba(165, 9, 102, 0.5);
}

.auth-sub {
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
    margin: 0 0 22px;
}

.auth-buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.vkid-slot {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s, box-shadow .2s;
}

.vkid-slot:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 119, 255, 0.35); }

.auth-form { margin: 0; }

.auth-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: transform .15s, box-shadow .2s, filter .2s;
    color: #fff;
}

.auth-btn svg { width: 26px; height: 26px; display: block; }

.auth-btn:hover { transform: translateY(-2px); }
.auth-btn:active { transform: translateY(0) scale(0.96); }

.auth-btn.ok {
    background: linear-gradient(135deg, #f7931e 0%, #ee7600 100%);
    box-shadow: 0 4px 10px rgba(238, 118, 0, 0.35);
}
.auth-btn.ok:hover { box-shadow: 0 6px 16px rgba(238, 118, 0, 0.5); }

.auth-btn.apple {
    background: linear-gradient(135deg, #2a2a2a 0%, #000 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(238, 229, 229, 0.101);
}
.auth-btn.apple:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.65); }

.auth-btn.google {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.auth-btn.google:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45); }

.app-download { display: none; }

.app-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 16px;
    color: var(--text-dim);
    font-size: 12px;
}
.app-divider::before, .app-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.app-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.app-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 11px;
    background: linear-gradient(135deg, #2a2a2a 0%, #000 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff!important;
    text-decoration: none;
    transition: transform .15s, box-shadow .2s;
}
.app-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6); }
.app-btn:active { transform: translateY(0) scale(0.97); }
.app-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.app-btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
    font-size: 14px;
    font-weight: 700;
}
.app-btn small {
    font-size: 9px;
    font-weight: 400;
    color: var(--text-dim);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.auth-hint {
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
    margin: 20px 0 0;
    opacity: 0.8;
}

.features {
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.features-title {
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 26px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 9px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: background .2s, transform .2s;
}

.feature:hover { background: var(--bg-card-hover); transform: translateY(-2px); }

.feature-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-title { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.feature-desc { font-size: 12px; line-height: 1.45; color: var(--text-dim); margin: 0; }
.feature-desc b { color: var(--accent); }

.landing-bottom {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-cards {
    width: 100%;
    height: 22vh;
    min-height: 140px;
    background-image: url('/Content/cardlogin.png');
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.landing-footer a {
    position: fixed;
    bottom: 14px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    background: rgba(15, 20, 24, 0.55);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    z-index: 10;
    transition: color .15s, background .15s;
}
.landing-footer a:first-child { left: 14px; }
.landing-footer a:last-child { right: 14px; }
.landing-footer a:hover { color: var(--accent); background: rgba(15, 20, 24, 0.8); }

@media (max-width: 520px) {
    .hero-title { font-size: 26px; }
    .hero-sub { font-size: 13px; }
    .features-title { font-size: 18px; }
    .auth-btn { font-size: 12px; padding: 10px 6px; }
    .app-download { display: block; }
}
