body {
    background-color: #1a1a1a;
    font-family: 'Courier New', monospace;
    color: #e0e0e0;
    background-image: radial-gradient(circle at center, #333 0%, #111 100%);
    overflow-x: hidden;
}

.navbar {
    background-color: #2a2a2a !important;
    border-bottom: 3px solid #d4af37;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    color: #d4af37 !important;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
    font-size: 1.5rem;
}

#giffel-fountain {
    position: absolute;
    left: 50%;
    bottom: 40px;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 10;
}

.giffel-splurt {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
    opacity: 0.9;
    will-change: transform, opacity;
    transition: opacity 0.3s;
}

#bank-entrance {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#bank-entrance h1 {
    color: #d4af37;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

#bank-entrance .loading-bar {
    width: 300px;
    height: 10px;
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
}

#bank-entrance .loading-progress {
    height: 100%;
    width: 0;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

#vault-container {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB3aWR0aD0iNTAiIGhlaWdodD0iNTAiPjxwYXRoIGQ9Ik0wIDBMNTAgNTBNNTAgMEwwIDUwIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    border: 15px solid #2a2a2a;
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

#vault-container::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 5px solid #d4af37;
    border-radius: 10px;
    pointer-events: none;
    opacity: 0.3;
}

#vault-door {
    background: linear-gradient(145deg, #333, #222);
    border: 10px solid #444;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: inset 0 0 20px #000, 0 0 30px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    position: relative;
}

#vault-door::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #222;
    border: 5px solid #444;
    border-radius: 50%;
    box-shadow: inset 0 0 10px #000;
}

#vault-door::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #333;
    border: 3px solid #555;
    border-radius: 50%;
    z-index: 1;
}

#pincode {
    background: #111;
    padding: 1.5em;
    margin: 2rem auto;
    position: relative;
    border-radius: 0.5em;
    border: 2px solid #444;
    text-align: center;
    user-select: none;
    transition: all .5s ease;
    color: #d4af37;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    box-shadow: inset 0 0 10px #000;
    z-index: 2;
    width: 80%;
}

.pincode.wrong {
    animation: wrong 1s ease;
}

#pin {
    background: #252525;
    width: 25em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.3);
    margin: 2rem auto;
    color: #e0e0e0;
    border: 2px solid #444;
}

.numbers {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-around;
    align-content: flex-end;
    margin: 2em 0;
}

.number {
    position: relative;
    width: 3em;
    height: 3em;
    margin: 0.5em;
    border-radius: 3em;
    border: 2px solid #444;
    text-align: center;
    line-height: 3em;
    font-weight: bold;
    font-size: 1.5em;
    user-select: none;
    transition: all .3s ease;
    background: #333;
    color: #e0e0e0;
    cursor: pointer;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

.number:hover {
    background: #444;
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.4);
}

.number:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.number.grow {
    animation: grow 0.6s ease;
}

#flag {
    position: relative;
    margin: 1rem auto;
    color: #d4af37;
    text-align: center;
    font-size: 2em;
    text-shadow: 1px 1px 2px #000;
    min-height: 3rem;
}

.vault-details {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.security-camera {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #222;
    border-radius: 50%;
    border: 3px solid #444;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.security-camera::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 15px;
    height: 15px;
    background: #d00;
    border-radius: 50%;
    animation: camera-light 2s infinite;
}

@keyframes camera-light {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.vault-number {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #d4af37;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Animations */
@keyframes vaultOpen {
    0% { transform: translateX(0); }
    50% { transform: translateX(30px); }
    100% { transform: translateX(0); }
}

.vault-open-animation {
    animation: vaultOpen 1.5s ease-in-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinning {
    animation: spin 1s linear infinite;
}

@keyframes wrong {
    20% { background: crimson; }
    40% { transform: translate(-15px, 0); }
    60% { transform: translate(10px, 0); }
    80% { transform: translate(-5px, 0); }
}

@keyframes grow {
    50% { transform: scale3d(1.5, 1.5, 1.5); }
    100% { transform: scale3d(1, 1, 1); }
}