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

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #f59e0b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
}

.boot-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.boot-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #334155;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.boot-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.server-info {
    text-align: center;
    margin-bottom: 2rem;
}

.server-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.server-info p {
    color: var(--text-muted);
}

.boot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .boot-grid {
        grid-template-columns: 1fr;
    }
}

.ad-container {
    background: var(--dark-light);
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.ad-loading {
    text-align: center;
    color: var(--text-muted);
}

.ad-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.ad-player {
    width: 100%;
    height: 100%;
}

.ad-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.progress-container {
    background: var(--dark-light);
    border-radius: 1rem;
    padding: 1.5rem;
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.progress-icon {
    font-size: 1.25rem;
}

.progress-header span:last-child {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.progress-bar {
    height: 12px;
    background: #334155;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 6px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-percentage {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.boot-logs {
    background: #0f172a;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.75rem;
    height: 150px;
    overflow-y: auto;
}

.log-line {
    color: var(--text-muted);
    padding: 0.25rem 0;
}

.log-line::before {
    content: '> ';
    color: var(--primary);
}

.boot-footer {
    margin-top: 2rem;
    text-align: center;
}

.boot-footer p {
    color: var(--text-muted);
}

#boot-message {
    animation: pulse 2s ease-in-out infinite;
}

#boot-message a {
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

#boot-message a:hover {
    opacity: 0.8;
}

.ready-message {
    animation: pulse-success 2s ease-in-out infinite !important;
    color: var(--primary) !important;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-success {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
