@import "common.css";

.page{
    font-family:Arial, Helvetica, sans-serif;
    margin: 20px auto;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.glow-text {
    color: white;
    text-align: center;
    font-family: 'Inter', sans-serif;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.game-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.game-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 126, 35, 0.2);
    color: #ccc;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
    backdrop-filter: blur(5px);
}

.game-btn:hover {
    background: rgba(255, 126, 35, 0.1);
    border-color: rgba(255, 126, 35, 0.6);
    color: #fff;
    transform: translateY(-3px);
}

.game-btn.active {
    background: rgba(255, 126, 35, 0.2);
    border-color: #ff7e23;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 126, 35, 0.3);
}

.icon {
    font-size: 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.game-btn.active .icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px #ff7e23);
}

.glow-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 126, 35, 0.4);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(255, 126, 35, 0.1);
    margin-top: 20px;
}

.terminal-container {
    width: 100%;
    max-width: 900px;
    height: auto;
    transition: max-width 0.5s ease;
    margin: 0 auto;
}

.terminal-header {
    background: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 126, 35, 0.2);
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

#current-game-title {
    color: #ff7e23;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 126, 35, 0.5);
}

.terminal-screen {
    position: relative;
    height: 700px;
    width: 100%;
}

#game-frame {
    width: 100%;
    height: 100%;
    border: none;
}