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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 30px 0;
}

h1 {
    font-size: 2rem;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    color: #888;
    font-size: 0.9rem;
}

.requirements-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin: 0 auto 40px auto;
    max-width: 800px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
}

.card-content h2 {
    color: #feca57;
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.card-content p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #ddd;
}

.step-number {
    background: rgba(72, 219, 251, 0.1);
    color: #48dbfb;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.instructions code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    color: #48dbfb;
}

.input-section {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

input[type="text"] {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

input[type="text"]::placeholder {
    color: #666;
}

input[type="text"]:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(72, 219, 251, 0.3);
}

button {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.player-container {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.player-container::before {
    content: '';
    display: block;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    padding: 15px 25px;
    border: 1px solid #333;
    position: relative;
    z-index: 10;
}

/* Bottom controls (original) */
.player-controls:not(.top-controls) {
    border-radius: 0 0 12px 12px;
    border-top: none;
    margin-top: -5px;
}

/* Top controls (new) */
.player-controls.top-controls {
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    margin-bottom: 0;
}

.control-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-btn.active {
    background: rgba(72, 219, 251, 0.2);
    border-color: #48dbfb;
    color: #48dbfb;
}

.control-btn.locked {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.1));
    border-color: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    position: relative;
    overflow: hidden;
}

.control-btn.locked:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
}

.lock-icon {
    font-size: 0.8rem;
}

.premium-badge {
    background: #ffd700;
    color: #000;
    font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 5px;
}

/* --- DIAGNOSTICS TERMINAL (High Conversion) --- */

.upsell-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #0c0c0c;
    border: 1px solid #333;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
}

.upsell-modal.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.terminal-header {
    background: #1f1f1f;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    color: #888;
    font-size: 0.8rem;
    font-weight: bold;
}

.terminal-body {
    padding: 20px;
    color: #eee;
    font-size: 0.9rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-line {
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.log-line.error {
    color: #ff5f56;
}

.log-line.success {
    color: #27c93f;
}

.log-line.warning {
    color: #ffbd2e;
}

.result-bar {
    height: 4px;
    background: #333;
    border-radius: 2px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

.result-bar-fill {
    height: 100%;
    width: 0;
    transition: width 1s ease-out;
}

.result-bar-fill.slow {
    background: #ff5f56;
}

.result-bar-fill.fast {
    background: #27c93f;
}

.action-area {
    margin-top: 20px;
    border-top: 1px dashed #333;
    padding-top: 20px;
    text-align: center;
    opacity: 0;
    /* Hidden initially */
    transition: opacity 0.5s;
}

.action-area.visible {
    opacity: 1;
}

.bypass-btn {
    background: #27c93f;
    color: #000;
    border: none;
    padding: 12px 25px;
    font-family: inherit;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(39, 201, 63, 0.4);
    animation: pulse 2s infinite;
}

.bypass-btn:hover {
    background: #2ee549;
    transform: scale(1.02);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(39, 201, 63, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0);
    }
}

/* --- SERVER LOAD TICKER --- */
.server-ticker {
    background: #ffd700;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 6px;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 5;
}

.ticker-content {
    display: inline-block;
    animation: ticker 15s linear infinite;
    padding-left: 100%;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    /* Heavy Blur */
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}