body, html {
    margin: 0;
    padding: 0;
    height: 544px;
    background-color: #000;
    overflow: hidden;
    width: 960px;
}

.homescreen {
    width: 960px;
    height: 544px;
    background: url('/20250207_112234.jpg') no-repeat center center;
    background-size: 960px 544px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 100px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 40px;
    box-sizing: border-box;
}

.app-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    cursor: pointer;
    
    border: 2px solid rgba(255, 255, 255, 0.5);
    outline: 2px solid rgba(0, 0, 0, 0.3);
    outline-offset: -2px;
}

.app-logo {
    position: absolute;
    width: 80%;
    height: 80%;
    object-fit: contain;
    z-index: 2;
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.gloss {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        rgba(255,255,255,0.4) 0%, 
        rgba(255,255,255,0) 50%, 
        rgba(255,255,255,0.4) 100%
    );
    transform: rotate(-45deg);
    pointer-events: none;
}

.whatsapp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 544px;
    background: url('/luxury-plain-green-gradient-abstract-studio-background-empty-room-with-space-your-text-picture_1258-99418.webp') no-repeat center center;
    background-size: 960px 544px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.whatsapp-message {
    position: relative;
    width: 300px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.message-border {
    border: 3px solid white;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
    background: rgba(0, 0, 0, 0.5);
}

.message-content {
    text-align: center;
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-message-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-bottom: 5px;
}

.start-button {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-top: 1px solid white;
    width: 100%;
    padding: 3px 10px;
    text-transform: uppercase;
    font-size: 0.6rem;
    cursor: pointer;
    box-sizing: border-box;
}

.minecraft-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.minecraft-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 544px;
    background: url('/images.jpg') no-repeat center center;  
    background-size: 960px 544px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.minecraft-message {
    position: relative;
    width: 300px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.minecraft-message-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-bottom: 5px;
}

.hidden {
    display: none;
}

.zoom-animation {
    animation: zoomToCenter 0.5s forwards;
}

@keyframes zoomToCenter {
    to {
        transform: scale(10);
        opacity: 0;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
    }
}

iframe {
    background: #000;
}

.whatsapp-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 960px;
    height: 544px;
    background: green;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.whatsapp-chat-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 960px;
    height: 544px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.whatsapp-chat-topbar {
    width: 100%;
    height: 50px;
    background: rgba(128, 128, 128, 0.2);
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.whatsapp-chat-content {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
}

.whatsapp-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.whatsapp-chat-input {
    display: flex;
    padding: 10px;
}

.whatsapp-chat-input input {
    flex: 1;
    padding: 10px;
}

.whatsapp-chat-input button {
    padding: 10px;
}

.whatsapp-chat-selection {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.whatsapp-chat-selection button {
    width: 200px;
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}

.whatsapp-public-chat-btn {
    background-color: green;
}

.whatsapp-private-chat-btn {
    background-color: blue;
}

/* Chat Room Styles */
.chat-room-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    padding: 20px;
    box-sizing: border-box;
}

.create-room-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.create-room-form input,
.create-room-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.create-room-form button {
    padding: 10px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.room-list {
    flex: 1;
    overflow-y: auto;
}

.chat-room-item {
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
}

.chat-room-item h3 {
    margin: 0 0 5px 0;
}

.chat-room-item p {
    margin: 0 0 10px 0;
    color: #666;
}

.join-room {
    padding: 5px 15px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.chat-ui-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.chat-message {
    margin-bottom: 10px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 5px;
}

.chat-image {
    max-width: 200px;
    max-height: 200px;
    margin-top: 10px;
}

.chat-input {
    display: flex;
    padding: 20px;
    gap: 10px;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.upload-button {
    padding: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
}

.back-button {
    padding: 10px;
    background: #f0f0f0;
    border: none;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.ps-home-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 40px;
    background-color: #003791; 
    color: white;
    border: none;
    border-radius: 20px; 
    z-index: 1100;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
}

.ps-home-button:hover {
    background-color: #0046aa; 
}

.down-arrow {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.down-arrow::before {
    content: '▼';
    color: white;
    font-size: 20px;
}

.down-arrow:hover {
    transform: translateX(-50%) scale(1.1);
}

.up-arrow {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.up-arrow::before {
    content: '▲';
    color: white;
    font-size: 20px;
}

.up-arrow:hover {
    transform: translateX(-50%) scale(1.1);
}

.icons.scrolled {
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}

.pvz-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; 
}

.pvz-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 544px;
    background: url('/images\ \(4\).jpg') no-repeat center center;  
    background-size: 960px 544px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none; 
}

.pvz-message {
    position: relative;
    width: 300px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1; 
    pointer-events: auto; 
}

.pvz-message-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-bottom: 5px;
}

.pvz-message .start-button {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-top: 1px solid white;
    width: 100%;
    padding: 3px 10px;
    text-transform: uppercase;
    font-size: 0.6rem;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pvz-message .start-button-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}