:root {
    --bg-primary: #060D17;
    --card-bg: rgba(16, 24, 40, 0.72);
    --accent-color: #8EA2FF;
    --accent-strong: #2C3D8F;
    --text-primary: #ffffff;
    --text-secondary: #b7c0d4;
    --font-family: "Poppins", sans-serif;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

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

html, body {
    width: 100%;
    min-height: 100%;
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-tap-highlight-color: transparent;
}

.hidden {
    display: none !important;
}

#standalone-content {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.redirect-loader {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(142, 162, 255, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-lg);
}

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

.redirect-loader p {
    color: var(--text-secondary);
}

#browser-content {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.container {
    width: 100%;
    max-width: 500px;
}

.content-wrapper {
    text-align: center;
}

.logo-section {
    margin-bottom: var(--space-xl);
}

.page-logo {
    height: 52px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.page-description {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.instructions-section {
    margin-top: var(--space-xl);
    text-align: left;
}

.instructions-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.step-card {
    background: var(--card-bg);
    border: 1px solid rgba(142, 162, 255, 0.18);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-strong);
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.step-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.step-icon-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(142, 162, 255, 0.25);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.8125rem;
}

.step-icon-inline.share-icon {
    background: rgba(44, 61, 143, 0.45);
    border-color: var(--accent-color);
}

.warning-card {
    background: rgba(220, 38, 38, 0.15);
    border: 2px solid #dc2626;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.warning-title {
    font-size: 1.5rem;
    color: #dc2626;
    margin-bottom: var(--space-md);
}

.warning-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.warning-text strong {
    color: #dc2626;
}

@media (max-width: 480px) {
    #browser-content { padding: var(--space-md); }
    .page-title { font-size: 1.75rem; }
    .page-logo { height: 44px; }
    .step-text { font-size: 0.8125rem; }
}
