:root {
    --dark-blue: #0a192f;
    --pink: #ff69b4;
    --light-blue: #64ffda;
    --header-height: 200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: var(--dark-blue);
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 255, 218, 0.1) 0%, transparent 50%);
}

.fixed-result {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 105, 180, 0.3);
}

.result-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.spacer {
    height: var(--header-height);
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 20px;
}

h1 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

h2 {
    color: white;
    text-align: center;
    margin: 20px 0;
    font-size: 1.5em;
}

.result {
    background: rgba(10, 25, 47, 0.8);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--pink);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}

#generatedNumber {
    color: var(--light-blue);
    font-size: 3em;
    font-family: 'Courier New', monospace;
    letter-spacing: 10px;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.position-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.position-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.position-section:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.position-label {
    color: var(--light-blue);
    font-size: 1.2em;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.3);
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    margin: 10px 0;
}

.number-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--pink);
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    font-size: 1.1em;
}

.number-btn.excluded {
    background: var(--pink);
    color: var(--dark-blue);
    font-weight: bold;
    transform: scale(0.95);
}

.number-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
}

.glow-button {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--pink), var(--light-blue));
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 30px;
    font-weight: bold;
}

.glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.result {
    animation: pulse 2s infinite;
}

@media (max-width: 480px) {
    :root {
        --header-height: 180px;
    }

    .container {
        padding: 10px;
    }
    
    .glass-panel {
        padding: 20px;
    }
    
    #generatedNumber {
        font-size: 2em;
        letter-spacing: 5px;
    }
    
    .number-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 5px;
    }
    
    .number-btn {
        padding: 8px;
        font-size: 0.9em;
    }

    .position-label {
        font-size: 1em;
    }

    h1 {
        font-size: 2em;
    }

    .position-section {
        padding: 15px;
    }
}