* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(ellipse at center, #F5C842 0%, #F5C842 20%, #E17835 60%, #E17835 100%);
    transition: background 0.5s ease;
}

body.game-active {
    overflow: hidden;
}

body.last-slide {
    background: radial-gradient(ellipse at center, #FF6B6B 0%, #FF6B6B 20%, #C92A2A 60%, #C92A2A 100%);
}

/* Úvodní obrazovka */
.start-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
    color: #2C4A5C;
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.subtitle {
    color: #E17835;
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.description {
    background: #FFF8E7;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #E17835;
}

.description p {
    color: #2C4A5C;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 600;
}

.description p:last-child {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.with-icon {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.form-group.with-icon .input-wrapper {
    flex: 1;
}

.lightbulb-btn {
    background: #F5C842;
    border: 3px solid #E17835;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s;
    flex-shrink: 0;
    padding: 3px;
}

.lightbulb-btn:hover {
    background: #ffd93d;
}

label {
    display: block;
    color: #2C4A5C;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

input[type="number"],
input[type="text"] {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 3px solid #E17835;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-weight: 600;
    color: #2C4A5C;
    background: white;
    transition: border-color 0.3s;
}

input[type="number"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #2C4A5C;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.start-button {
    width: 100%;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    background: #2C4A5C;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Arial', sans-serif;
}

.start-button:hover {
    background: #1e3340;
}

.start-button:active {
    transform: translateY(0);
}

/* Herní obrazovka */
.game-screen {
    display: none;
    width: 100%;
    height: 100vh;
}

.carousel-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.3s ease-out;
    cursor: grab;
    height: 100%;
}

.carousel-wrapper.dragging {
    transition: none;
    cursor: grabbing;
}

.carousel-slide {
    min-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    gap: 20px;
}

.slide-number {
    font-size: 180px;
    font-weight: 900;
    color: #2C4A5C;
    text-shadow:
            3px 3px 0px rgba(0, 0, 0, 0.15),
            -1px -1px 0px rgba(255, 255, 255, 0.1);
    letter-spacing: -10px;
    line-height: 1;
}

.slide-text {
    font-size: 32px;
    font-weight: 700;
    color: #2C4A5C;
    text-align: center;
    max-width: 80%;
}

@media (max-width: 600px) {
    .container {
        padding: 25px;
    }

    h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 16px;
    }

    .description p {
        font-size: 14px;
    }

    label {
        font-size: 16px;
    }

    .start-button {
        font-size: 20px;
    }

    .slide-number {
        font-size: 120px;
        letter-spacing: -5px;
    }

    .slide-text {
        font-size: 24px;
    }
}