* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.game-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.device-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80%;
}

.computer-container, .phone-container {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.computer-container:hover, .phone-container:hover {
    transform: scale(1.02);
}

.computer {
    width: 600px;
    height: 400px;
    background-color: #333;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.screen {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    background-image: url('artsy-media-uploads.s3.amazonaws.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.taskbar {
    height: 30px;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 10;
}

.taskbar-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-radius: 3px;
}

.desktop-icon {
    width: 50px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px;
    cursor: pointer;
}

.desktop-icon-img {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 5px;
}

.desktop-icon-text {
    font-size: 10px;
    color: white;
    text-shadow: 1px 1px 1px #000;
    text-align: center;
}

.desktop-icons {
    display: flex;
    padding: 10px;
}

.phone {
    width: 250px;
    height: 450px;
    background-color: #111;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 30px);
    background-color: #f5f5f5;
    border-radius: 15px 15px 10px 10px;
    overflow: hidden;
    position: relative;
    background-image: url('wp4441256.jpg');
    background-size: cover;
}

.phone-home-button {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #333;
    border: 2px solid #999;
    cursor: pointer;
    z-index: 20;
}

.phone-home-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.phone-home-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-top: 50px;
}

.phone-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.phone-icon-img {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 5px;
}

.phone-icon-text {
    font-size: 12px;
    color: white;
    text-shadow: 1px 1px 1px #000;
}

#messages-app-icon .phone-icon-img {
    background-color: #4CAF50;
    background-image: url('Messages.png');
    background-size: cover;
}

#social-app-icon .phone-icon-img {
    background-color: #2196F3;
    background-image: url('Logo_of_Twitter.svg.png');
    background-size: cover;
}

.app, .phone-app {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
}

.active-app {
    display: flex;
}

.app-header {
    background-color: #e0e0e0;
    padding: 5px 10px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.app-header h3 {
    margin: 0;
    flex-grow: 1; 
    text-align: center;
}

.browser-header {
    background-color: #f0f0f0;
    padding: 5px;
    border-bottom: 1px solid #ddd;
    flex-grow: 1; 
    margin: 0 10px; 
}

.browser-address {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 2px 8px; 
    font-size: 11px; 
    width: fit-content; 
}

.close-app-button {
    background-color: #ccc;
    border: none;
    padding: 2px 6px; 
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px; 
    line-height: 1;
    height: 20px; 
    width: 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-app-button:hover {
    background-color: #bbb;
}

.app-tabs {
    display: flex;
}

.app-tab, .phone-app-tab {
    margin-left: 5px;
    padding: 5px 10px;
    background-color: #ddd;
    border: 1px solid #bbb;
    border-radius: 5px;
    cursor: pointer;
}

.app-tab.active, .phone-app-tab.active {
    background-color: #fff;
    border-color: #999;
}

.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #fff;
}

.email-list, .discord-messages, .message-list, .social-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email, .discord-message, .phone-message, .social-message {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.email:hover, .discord-message:hover, .phone-message:hover, .social-message:hover {
    background-color: #f0f0f0;
}

.email.spam, .discord-message.spam, .phone-message.spam, .social-message.spam {
    border-left: 4px solid #ff4136;
}

.email-header, .message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.email-sender, .message-sender {
    font-weight: bold;
}

.email-time, .message-time {
    color: #888;
    font-size: 0.8em;
}

.email-subject, .message-preview {
    font-weight: bold;
    margin-bottom: 5px;
}

.email-preview, .message-content {
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-body {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-top: 10px;
    border-radius: 5px;
}

.email-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.email-button:hover {
    background-color: #45a049;
}

.game-ui {
    margin-top: 20px;
    text-align: center;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.2em;
    color: #fff;
}

.tooltip {
    position: absolute;
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px;
    max-width: 300px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tooltip p {
    margin-bottom: 10px;
}

.tooltip button {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.tooltip button:hover {
    background-color: #45a049;
}

.download-popup {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    width: 300px;
    z-index: 1000;
}

.download-progress {
    height: 5px;
    background-color: #ddd;
    margin-top: 10px;
    width: 100%;
}

.download-bar {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 3s linear;
}

#restart-button {
    margin-top: 5px;
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#restart-button:hover {
    background-color: #45a049;
}

.hidden {
    display: none;
}

.phishing-warning {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 1001;
    background-color: #ff4136;
    color: white;
    padding: 10px 0;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: slideDown 0.5s ease-out, scrollText 15s linear infinite;
    overflow: hidden;
    white-space: nowrap;
}

.warning-content {
    display: inline-block;
    animation: scrollLeft 15s linear infinite;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}