* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1BBD49 0%, #0d8a35 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.app-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 24px;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.app-icon-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #1BBD49 0%, #0d8a35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 42px;
    font-weight: bold;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-weight: 700;
}

.subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.5;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #1BBD49;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: #595959;
    font-size: 14px;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-ios {
    background: #000;
    color: white;
}

.btn-android {
    background: #0a6b29;
    color: white;
}

.btn-open {
    background: linear-gradient(135deg, #1BBD49 0%, #0d8a35 100%);
    color: white;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #767676;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider::before {
    margin-right: 16px;
}

.divider::after {
    margin-left: 16px;
}

.device-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #595959;
}

.hidden {
    display: none !important;
}

@media (max-width: 480px) {
    .container {
        padding: 32px 24px;
    }

    h1 {
        font-size: 24px;
    }

    .app-logo {
        max-width: 160px;
    }
}
