/* Terminal Window Styles */
.terminal-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.terminal-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 70%);
    pointer-events: none;
    animation: pulse 6s ease-in-out infinite;
}

.terminal-window {
    width: 100%;
    max-width: 900px;
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.95), rgba(8, 8, 8, 0.98));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 80px rgba(34, 211, 238, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-family: 'Fira Code', 'Consolas', monospace;
    transition: all 0.4s ease;
}

.terminal-window:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9), 0 0 100px rgba(34, 211, 238, 0.3);
    border-color: rgba(34, 211, 238, 0.5);
}

.terminal-header {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(15, 15, 15, 0.98));
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.2);
    position: relative;
}

.terminal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), transparent);
    animation: slideGlow 2s ease-in-out infinite;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.terminal-btn.close {
    background: linear-gradient(135deg, #ff5f57, #ff3b30);
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
}

.terminal-btn.minimize {
    background: linear-gradient(135deg, #ffbd2e, #ff9500);
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.5);
}

.terminal-btn.maximize {
    background: linear-gradient(135deg, #28ca42, #00c853);
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.5);
}

.terminal-btn:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.terminal-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.terminal-body {
    padding: 30px;
    background: rgba(0, 0, 0, 0.4);
    min-height: 200px;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.terminal-prompt {
    color: #22d3ee;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.terminal-text {
    color: #a5f3fc;
    font-weight: 500;
}

.terminal-output {
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.05), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-left: 3px solid #22d3ee;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    overflow-x: auto;
}

.terminal-output::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}

.terminal-output code {
    color: #22d3ee;
    font-size: 1rem;
    line-height: 1.8;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
    font-weight: 600;
    display: block;
}

.terminal-cursor {
    color: #22d3ee;
    animation: blink 1s infinite;
    font-weight: 700;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-footer {
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(15, 15, 15, 0.9));
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    display: flex;
    justify-content: center;
}

.terminal-copy-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee, #0ea5e9);
    background-size: 200% 200%;
    border: 2px solid rgba(34, 211, 238, 0.5);
    border-radius: 10px;
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: gradientShift 3s ease infinite;
}

.terminal-copy-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(34, 211, 238, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(34, 211, 238, 0.8);
}

.terminal-copy-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Supported Games List */
.supported-games {
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.supported-games-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text);
    padding-left: 10px;
}

.supported-games-title i {
    color: var(--primary);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
}

.games-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.game-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.6), rgba(5, 5, 5, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-left: 3px solid #22d3ee;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #22d3ee, #0ea5e9);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.6);
}

.game-item:hover {
    transform: translateX(8px);
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.7), rgba(10, 10, 10, 0.8));
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.2);
}

.game-item i {
    color: #22c55e;
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.5));
    flex-shrink: 0;
}

.game-item span {
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .terminal-window {
        margin: 0 10px;
    }

    .terminal-body {
        padding: 20px;
    }

    .terminal-output code {
        font-size: 0.85rem;
    }

    .terminal-copy-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .supported-games-title {
        font-size: 1.5rem;
    }

    .game-item {
        padding: 15px 20px;
    }

    .game-item span {
        font-size: 0.9rem;
    }
}
