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

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    width: 100%;
}

h1 {
    margin-bottom: 20px;
    color: #e94560;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.game-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.game-container {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    position: relative;
    height: 300px;
}

.tower {
    width: 20px;
    height: 200px;
    background: #e94560;
    position: relative;
    border-radius: 10px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding-bottom: 10px;
}

.tower::before {
    content: '';
    position: absolute;
    bottom: -20px;
    width: 120px;
    height: 20px;
    background: #e94560;
    border-radius: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.disk {
    height: 30px;
    background: #0f3460;
    border-radius: 5px;
    margin: 2px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.disk:hover {
    filter: brightness(1.2);
}

.controls {
    margin: 20px 0;
}

button, select {
    padding: 10px 20px;
    font-size: 1em;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #e94560;
    color: white;
    transition: all 0.3s ease;
}

button:hover, select:hover {
    background: #c1121f;
    transform: translateY(-2px);
}

.message {
    margin: 20px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.2em;
    min-height: 40px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0f3460;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #16213e;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .game-container {
        height: 250px;
    }
    
    .tower {
        height: 150px;
    }
    
    .disk {
        height: 25px;
    }
    
    .game-info {
        flex-direction: column;
        gap: 10px;
    }
} 