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

body {
    background-color: #0f0f0f;
    background-image: url('https://images.unsplash.com/photo-1516726359570-55e1014e76a6?q=80&w=2069&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(76, 29, 149, 0.4) 100%);
    z-index: 0;
}

.container {
    width: 90%;
    max-width: 600px;
    z-index: 1;
}

/* Språkväljare styling */
.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #555;
}

.lang-btn {
    background: none;
    border: none;
    color: #888;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

.lang-btn.active {
    color: #cc33ff;
    text-shadow: 0 0 5px rgba(204, 51, 255, 0.5);
}

.divider {
    color: #555;
    margin: 0 5px;
}

header h1 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 3.5rem;
    line-height: 0.9;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 3px 3px 0px #000;
}

/* Mobilanpassning för textstorlek */
@media (max-width: 400px) {
    header h1 { font-size: 2.5rem; }
}

.highlight {
    color: #cc33ff;
    text-shadow: 0 0 15px rgba(204, 51, 255, 0.6);
}

header p {
    color: #ddd;
    margin-bottom: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.8rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 15px;
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.filter-btn:hover {
    background: #fff;
    color: #000;
}

.filter-btn.active {
    background: #cc33ff;
    border-color: #cc33ff;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(204, 51, 255, 0.5);
}

.card {
    background: rgba(0, 0, 0, 0.85);
    border-top: 4px solid #cc33ff;
    padding: 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mission-screen {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.mission-screen::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

#activity-display {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: #fff;
    z-index: 3;
    line-height: 1.3;
}

#generate-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.2s;
    width: 100%;
}

#generate-btn:hover {
    background: #cc33ff;
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(204, 51, 255, 0.8);
}

#generate-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

footer {
    margin-top: 30px;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}