body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background-color: #222;
    color: #eee;
}
#background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: filter 0.5s ease-in-out;
}
#background-image.blurred {
    filter: blur(8px);
}
#login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    transition: opacity 0.5s ease-in-out;
}
#login-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.login-box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 300px;
    max-width: 90%;
}
.login-header {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}
.profile-pic-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px auto;
    border: 3px solid #007bff;
}
.profile-pic {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
#password-input {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1em;
    text-align: center;
    outline: none;
}
#password-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.error-message {
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 5px;
}
.game-window {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    position: absolute;
    width: 350px;
    min-height: 180px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #555;
    z-index: 100;
}
.window-header {
    background-color: #444;
    padding: 8px 12px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: grab;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
    font-size: 0.9em;
    user-select: none;
    border-bottom: 1px solid #555;
}
.window-title {
    flex-grow: 1;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.close-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 1.1em;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}
.close-button:hover {
    background-color: #c0392b;
}
.window-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.edit-text-box {
    width: 100%;
    padding: 7px;
    background-color: #2a2a2a;
    border: 1px solid #555;
    border-radius: 5px;
    color: #eee;
    font-size: 0.9em;
    margin-top: 10px;
    height: 30px;
    resize: none;
    text-align: center;
    box-sizing: border-box;
}
.search-button, .browser-button {
    width: 100%;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 10px;
    transition: background-color 0.2s;
    align-self: flex-start;
    box-sizing: border-box;
}
.search-button:hover, .browser-button:hover {
    background-color: #2980b9;
}
.user-id-code {
    background-color: white;
    color: #222;
    padding: 8px;
    border-radius: 5px;
    font-size: 1em;
    margin-top: 10px;
    text-align: center;
    font-family: monospace;
    word-wrap: break-word;
}
.copy-button {
    width: 100%;
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8em;
    margin-top: 10px;
    transition: background-color 0.2s;
    align-self: flex-start;
    box-sizing: border-box;
}
.copy-button:hover {
    background-color: #27ae60;
}
.browser-address-bar {
    width: 100%;
    padding: 8px;
    background-color: #2a2a2a;
    border: 1px solid #555;
    border-radius: 5px;
    color: #eee;
    font-size: 0.85em;
    margin-bottom: 10px;
    box-sizing: border-box;
    text-align: center;
}
.browser-page-content {
    flex-grow: 1;
    background-color: #2a2a2a;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 15px;
    color: #eee;
    font-size: 0.9em;
    overflow-y: auto;
}
.browser-page-content h3 {
    margin-top: 0;
    color: #fff;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.browser-page-content p {
    margin: 5px 0;
}
.bottom-panel {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    height: 45px;
    background-color: rgba(30, 30, 30, 0.9);
    border-top: 0px solid #555;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    justify-content: space-between;
    transition: opacity 0.5s ease-in-out;
}
.bottom-panel.hidden {
    opacity: 0;
    pointer-events: none;
}
.bottom-panel .start-button {
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9em;
    margin-right: 15px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom-panel .start-button:hover {
    background-color: transparent;
    filter: sepia(600%) saturate(1000%) brightness(70%) hue-rotate(180deg);
}
.bottom-panel .start-button img {
    margin-right: 5px;
    height: 24px;
    display: inline-block;
    filter: invert(100%);
    transition: filter 0.2s ease;
}
.bottom-panel .start-button:hover img {
    filter: invert(75%) sepia(100%) saturate(2000%) hue-rotate(200deg);
}
.bottom-panel .icon {
    width: 32px;
    height: 32px;
    background-color: #555;
    border-radius: 5px;
    margin-right: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.0em;
    color: #bbb;
    transition: background-color 0.2s;
}
.bottom-panel .icon:hover {
    background-color: #777;
}
.clock {
    color: #eee;
    font-size: 1.1em;
    font-family: monospace;
    margin-left: auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    height: 100%;
}
.battery-container {
    width: 60px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 2px;
    box-sizing: border-box;
    cursor: default;
    margin-left: 5px;
    margin-right: 15px;
}
.life-bar {
    width: 8px;
    height: 80%;
    background-color: transparent;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}
.life-bar.active-green { background-color: #4CAF50; }
.life-bar.active-orange { background-color: #FF9800; }
.life-bar.active-red { background-color: #F44336; }
.hidden {
    display: none !important;
}
#image-credit {
    font-size: 0.7em;
    color: #FFFFFF;
    opacity: 0.5;
    text-align: center;
    position: fixed;
    bottom: 5px;
    left: 0;
    width: 100%;
    z-index: 1000;
}
a {
    color: white;
    font-weight: bold;
}
a:hover {
    color: white;
    font-weight: bold;
    opacity: 0.5;
}
.police-id-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #555;
    margin: 10px auto 15px auto;
    display: block;
}
#notepadContent {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-family: monospace;
    font-size: 0.95em;
    line-height: 1.4;
    padding: 10px;
    text-align: left;
}
.bottom-panel .email-icon {
    position: relative;
}
#arrest-icon {
    position: fixed;
    bottom: 70px;
    right: 100px;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
#arrest-icon.hidden {
    opacity: 0;
    pointer-events: none;
}
#arrest-icon:hover {
    background-color: rgba(0, 255, 0, 0.7);
    transform: scale(1.05);
}
#arrest-icon.highlight {
    background-color: rgba(0, 255, 0, 0.9);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.7);
}
#trash-can {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
#trash-can.hidden {
    opacity: 0;
    pointer-events: none;
}
#trash-can:hover {
    background-color: rgba(255, 0, 0, 0.7);
    transform: scale(1.05);
}
#trash-can.highlight {
    background-color: rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
}
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    font-size: 0.7em;
    font-weight: bold;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 10;
}
.notification-container {
    position: fixed;
    bottom: 150px;
    right: 20px;
    width: 300px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.game-notification {
    background-color: rgba(60, 60, 60, 0.75);
    border: 0px solid #777;
    border-radius: 8px;
    padding: 15px;
    color: #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-out forwards;
    overflow: hidden;
}
.game-notification.fade-out {
    animation: fadeOut 0.8s ease-in forwards;
}
.game-notification h4 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #fff;
    font-size: 1.1em;
}
.game-notification p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}
.dmv-results-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 5px;
}
.dmv-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
.dmv-card:hover {
    background-color: #f8f8f8;
    border-color: #007bff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}
.dmv-card:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.dmv-photo-wrapper {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    overflow: hidden;
    border-radius: 4px; 
    margin-right: 20px; 
    border: 1px solid #ccc; 
    background-color: #eee; 
    display: flex; 
    align-items: center;
    justify-content: center;
}
.dmv-photo {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    display: block; 
}
.dmv-details {
    flex-grow: 1; 
    color: #333; 
    font-size: 0.95em; 
    line-height: 1.0; 
}
.dmv-details p {
    margin: 0 0 6px 0; 
}
.dmv-name {
    font-size: 1.1em; 
    margin-bottom: 10px !important; 
    font-weight: bold; 
    color: #0056b3; 
}
.dmv-info-row {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
    margin-bottom: 5px; 
}
.dmv-info-row span {
    white-space: nowrap; 
    font-weight: normal; 
    color: #555; 
}
.dmv-info-row span strong {
    color: #333; 
    margin-right: 4px; 
}
#dmvResultsContent {
    max-height: 100%; 
    overflow-y: auto;
    padding-right: 10px; 
}
#twatterWindow .window-content {
    background-color: #1a1a1a; 
    padding: 0; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column;
}
.twatter-search-bar {
    background-color: #242424; 
    padding: 10px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #333;
    align-items: center;
}
.twatter-search-bar input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #0056b3; 
    border-radius: 5px;
    background-color: #000; 
    color: #fff;
}
.twatter-search-bar button {
    padding: 8px 15px;
    background-color: #1a8cd8; 
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.twatter-search-bar button:hover {
    background-color: #167ac2;
}
.twatter-page-content {
    flex-grow: 1; 
    background-color: #000; 
    color: #d9d9d9; 
    padding: 15px;
    overflow-y: auto; 
    position: relative; 
}
.twatter-profile {
    background-color: #000; 
    padding: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #282828; 
}
.twatter-profile .profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.twatter-profile .profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #1a8cd8; 
    object-fit: cover;
}
.twatter-profile .profile-info h3 {
    margin: 0;
    color: #fff;
    font-size: 1.3em;
}
.twatter-profile .profile-info p {
    margin: 2px 0;
    font-size: 0.9em;
    color: #8899a6; 
}
.twatter-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.twatter-post {
    background-color: #0d0d0d; 
    border: 1px solid #282828;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.twatter-post-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.twatter-post-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}
.twatter-post-header strong {
    color: #fff;
}
.twatter-post-header span {
    color: #8899a6;
    font-size: 0.85em;
    margin-left: 5px;
}
.twatter-post-content {
    color: #d9d9d9;
    line-height: 1.5;
    margin-bottom: 10px;
}
.twatter-post-content .hashtag {
    color: #1a8cd8; 
    font-weight: bold;
}
.twatter-post-actions {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #282828;
    padding-top: 10px;
    margin-top: 10px;
}
.twatter-post-actions button {
    background: none;
    border: none;
    color: #8899a6;
    cursor: pointer;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}
.twatter-post-actions button:hover {
    color: #1a8cd8;
}
#game-desktop {
    position: relative; 
    width: 100%; 
    height: 100%; 
}
.desktop-icon {
    position: absolute; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start; 
    text-align: center;
    width: 70px; 
    height: 80px; 
    padding: 5px;
    cursor: pointer;
    user-select: none; 
    transition: background-color 0.1s ease; 
    top: 25px;
    right: 25px;
}
.desktop-icon:hover {
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 5px;
    font-size: 1.1em;
}
.desktop-icon:active {
    background-color: rgba(255, 255, 255, 0.2); 
}
.icon-image {
    width: 48px; 
    height: 48px;
    object-fit: contain; 
    margin-bottom: 0px; 
    margin-top: 5px; 
    font-size: 2.0em;
}
.icon-name {
    font-size: 0.8em; 
    color: #ffffff; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); 
    word-break: break-all; 
}
#messengerWindow {
    
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}
.messenger-contact-item {
    transition: background-color 0.2s ease;
}
.messenger-contact-item:hover {
    background-color: #f5f5f5;
}
.message-bubble-wrapper {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-end; 
}
.message-bubble {
    padding: 8px 12px;
    border-radius: 18px;
    max-width: 70%;
    word-wrap: break-word;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1); 
}
.owner-message .message-bubble {
    background-color: #007bff; 
    color: white;
    margin-left: auto; 
}
.contact-message .message-bubble {
    background-color: #e0e0e0; 
    color: #333;
    margin-right: auto; 
}
.message-bubble img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 5px; 
}
.conversation-header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border-bottom: 1px solid #0056b3; 
}
.conversation-header #backToContactsButton {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em; 
    cursor: pointer;
    margin-right: 10px;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.2s;
}
.conversation-header #backToContactsButton:hover {
    background-color: rgba(255,255,255,0.2);
}
.conversation-header #currentContactName {
    flex-grow: 1;
    text-align: center;
}
.conversation-header #currentContactPhoto {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    object-fit: cover;
}
.phone-page-content {
    
    overflow-y: auto; 
    height: calc(100% - 100px); 
    padding-top: 10px; 
}
.search-history-list {
    padding: 0 10px; 
    box-sizing: border-box; 
}
.history-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.history-item:last-child {
    border-bottom: none; 
    margin-bottom: 0; 
    padding-bottom: 0;
}
.search-owner-name {
    font-size: 0.95em; 
    font-weight: bold;
    color: #444; 
    margin-top: 0;
    margin-bottom: 5px;
}
.search-history-header-text {
    font-size: 1.0em; 
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #666; 
}
.green {
    color: green;
}
.yellow {
    color: yellow;
}
.red {
    color: red;
}
#pinGuesserWindow {
    width: 280px; 
    height: 480px; 
    border-radius: 12px; 
    background-color: #3f444a; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.4), inset 0 0 15px rgba(0,0,0,0.2); 
    border: 1px solid #2a2e33; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#pinGuesserHeader {
    background-color: #2a2e33; 
    color: #b0b8bf; 
    border-bottom: 1px solid #1c2024; 
    padding: 10px 15px;
    font-size: 0.95em;
    text-transform: uppercase; 
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    cursor: grab; 
    border-top-left-radius: 12px; 
    border-top-right-radius: 12px;
}
#pinGuesserHeader .window-title {
    flex-grow: 1;
    text-align: center;
}
#pinGuesserHeader .close-button {
    color: #b0b8bf; 
    font-size: 1.5em; 
}
#pinGuesserHeader .close-button:hover {
    color: #ff6b6b; 
}
#pinGuesserWindow .window-content {
    background-color: #4a5056; 
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    border-bottom-left-radius: 12px; 
    border-bottom-right-radius: 12px;
}
#pinGuesserWindow .window-content > div:first-child { 
    background-color: #2d3035; 
    border: 1px solid #1a1d20;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.4); 
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100px; 
    position: relative;
}
#pinGuesserWindow .window-content p {
    font-size: 1.0em;
    margin: 0;
    color: #a0a8b0; 
    text-shadow: 0 0 2px rgba(0,0,0,0.5); 
}
#pinGuesserProgressBar {
    width: 90%;
    height: 10px; 
    border-radius: 5px;
    background-color: #666; 
    appearance: none; 
    -webkit-appearance: none;
    overflow: hidden;
}
#pinGuesserProgressBar::-webkit-progress-bar {
    background-color: #666;
    border-radius: 5px;
}
#pinGuesserProgressBar::-webkit-progress-value {
    background-color: #5cb85c; 
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}
#pinGuesserProgressBar::-moz-progress-bar {
    background-color: #5cb85c;
    border-radius: 5px;
}
#pinGuesserTimerText {
    display: block;
    font-size: 0.8em;
    color: #888; 
    margin-top: 5px;
    margin-bottom: 0px;
    text-shadow: 0 0 1px rgba(0,0,0,0.5);
}
#pinGuesserLastGuessFeedback {
    font-size: 0.9em;
    font-weight: bold;
    height: 25px; 
    margin: 0; 
    text-align: center;
    color: #ccc; 
    text-shadow: 0 0 1px rgba(0,0,0,0.5);
}
#pinGuesserInput {
    width: 100px;
    text-align: center;
    font-size: 1.8em; 
    font-weight: bold;
    letter-spacing: 2px;
    border: none;
    background-color: transparent;
    color: #e0e0e0; 
    outline: none;
    padding: 0;
    margin: 0;
}
#pinGuesserInputAlternative {
    width: 120px;
    text-align: center;
    font-size: 1.0em;
    border: 1px solid #777;
    background-color: #3a3f45; 
    color: #eee;
    padding: 8px;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}
#pinGuesserSubmit {
    background-color: #4a6fa8; 
    color: white;
    border: none;
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-left: 0px !important; 
}
#pinGuesserSubmit:hover {
    background-color: #5c84d1;
}
#pinGuesserSubmit:active {
    background-color: #3a5c90;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
    transform: translateY(1px);
}
#pinGuesserKeypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px; 
    width: 240px; 
    margin: 0 auto; 
    padding: 10px;
    background-color: #3a3f45; 
    border-radius: 8px; 
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3); 
}
.keypad-button {
    width: 100%;
    padding: 15px 0;
    font-size: 1.4em;
    font-weight: bold;
    background-color: #5c636a; 
    color: white;
    border: 1px solid #4a5056; 
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.1s ease, box-shadow 0.1s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-shadow: 0 0 2px rgba(0,0,0,0.5); 
}
.keypad-button:hover {
    background-color: #6a737c;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}
.keypad-button:active {
    background-color: #4a5056;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5); 
    transform: translateY(1px);
}
.keypad-button[data-digit="clear"] {
    background-color: #a64c4c; 
    border-color: #8a3d3d;
}
.keypad-button[data-digit="clear"]:hover {
    background-color: #b85c5c;
}
.keypad-button[data-digit="clear"]:active {
    background-color: #944040;
}
.keypad-button[data-digit="back"] {
    background-color: #b0914e; 
    border-color: #967a42;
}
.keypad-button[data-digit="back"]:hover {
    background-color: #c4a25c;
}
.keypad-button[data-digit="back"]:active {
    background-color: #967a42;
}
#pinGuesserLastGuessFeedback .green { color: limegreen; }
#pinGuesserLastGuessFeedback .yellow { color: gold; }
#pinGuesserLastGuessFeedback .red { color: crimson; }
#introOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1; 
    visibility: visible; 
    transition: opacity 2.5s ease-out, visibility 2.5s ease-out; 
}
#introTitle {
    font-family: 'Montserrat', sans-serif; 
    font-weight: 100; 
    color: white;
    font-size: 3.5vw; 
    opacity: 0; 
    letter-spacing: 0.1em; 
    text-align: center;
    margin: 0;
    padding: 0;
    white-space: nowrap; 
    transition: opacity 1.5s ease-in-out, 
                font-size 2.5s ease-in-out, 
                letter-spacing 2.5s ease-in-out; 
}

#introOverlay.show-title #introTitle {
    opacity: 1; 
    font-size: 3.0vw; 
    letter-spacing: 0.3em; 
}
#introOverlay.fade-out {
    opacity: 0;
    visibility: hidden;
}
.sound-toggle-icon {
    font-size: 1.5em; 
}
.sound-toggle-icon .material-symbols-outlined {
    font-size: 1em; 
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}
.highlight {
    box-shadow: 0 0 0 3px #007bff;
}
@keyframes glitch-shake {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    20%, 60% { transform: translate(-2px, 2px) rotate(-1deg); }
    40%, 80% { transform: translate(2px, -2px) rotate(1deg); }
}
.hack-active {
    animation: glitch-shake 0.1s infinite alternate; 
}
