
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
        }

        :root {
            --primary-color: #128C7E;
            --secondary-color: #075E54;
            --accent-color: #25D366;
            --chat-bg: #e5ddd5;
            --sent-bg: #dcf8c6;
            --received-bg: #ffffff;
            --header-bg: #f0f2f5;
            --sidebar-bg: #ffffff;
            --sidebar-border: #f2f2f2;
            --text-primary: #3b4a54;
            --text-secondary: #667781;
            --icon-color: #54656f;
            --shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
        }

        body {
            height: 100vh;
        }

        .app-container {
            width: 100%;
            height: 100vh;
            display: flex;
            background-color: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }

        /* Sidebar Styles */
        .sidebar {
            width: 30%;
            min-width: 300px;
            background-color: var(--sidebar-bg);
            border-right: 1px solid var(--sidebar-border);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .sidebar-header {
            padding: 15px;
            background-color: #fa4e09;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid var(--sidebar-border);
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 18px;
            overflow: hidden;
        }

        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .user-name {
            font-weight: 600;
            color: var(--text-primary);
        }

        .sidebar-icons {
            display: flex;
            gap: 20px;
            color: var(--icon-color);
        }

        .sidebar-icons i {
            cursor: pointer;
            font-size: 20px;
        }

        /*.search-container {*/
        /*    padding: 8px 15px;*/
        /*    background-color: #fa4e09;*/
        /*    border-bottom: 1px solid #fa4e09;*/
        /*}*/

        .search-box {
            background-color: white;
            border-radius: 20px;
            padding: 8px 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-secondary);
        }

        .search-box input {
            border: none;
            outline: none;
            width: 100%;
            font-size: 14px;
            background: transparent;
        }

        .gods-list {
            flex: 1;
            overflow-y: auto;
        }

        .god-item {
            display: flex;
            align-items: center;
            padding: 15px;
            gap: 15px;
            cursor: pointer;
            transition: background-color 0.2s;
            border-bottom: 1px solid var(--sidebar-border);
            position: relative;
        }

        .god-item:hover {
            background-color: #f5f5f5;
        }

        .god-item.active {
            background-color: #ebebeb;
        }

        .god-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff9800, #f44336);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            font-weight: bold;
            overflow: hidden;
            position: relative;
        }

        .god-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .online-dot {
            position: absolute;
            bottom: 2px;
            right: 2px;
            width: 12px;
            height: 12px;
            background-color: #4ade80;
            border-radius: 50%;
            border: 2px solid white;
            animation: blink 1.5s infinite;
        }

        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        .god-info {
            flex: 1;
            min-width: 0;
        }

        .god-name {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .last-message {
            color: var(--text-secondary);
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .god-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 5px;
        }

        .last-time {
            font-size: 12px;
            color: var(--text-secondary);
        }

        /* Chat Styles */
        .chat-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            background-color: var(--chat-bg);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath fill-rule='evenodd' d='M11 0l5 20H6l5-20zm42 31a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM0 72h40v4H0v-4zm0-8h31v4H0v-4zm20-16h20v4H20v-4zM0 56h40v4H0v-4zm63-25a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm10 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM53 41a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm10 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm10 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-30 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-28-8a5 5 0 0 0-10 0h10zm10 0a5 5 0 0 1-10 0h10zM56 5a5 5 0 0 0-10 0h10zm10 0a5 5 0 0 1-10 0h10zm-3 46a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm10 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM21 0l5 20H16l5-20zm43 64v-4h-4v4h-4v4h4v4h4v-4h4v-4h-4zM36 13h4v4h-4v-4zm4 4h4v4h-4v-4zm-8 8h4v4h-4v-4zm4 4h4v4h-4v-4zm-8 8h4v4h-4v-4zm4 4h4v4h-4v-4zm-8 8h4v4h-4v-4zm4 4h4v4h-4v-4z'/%3E%3C/g%3E%3C/svg%3E");
        }

        .chat-header {
            padding: 15px;
            background-color: var(--header-bg);
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 1px solid var(--sidebar-border);
        }

        .chat-header-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(45deg, #4a148c, #7b1fa2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 18px;
            overflow: hidden;
            flex-shrink: 0;
            position: relative;
        }

        .chat-header-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .chat-header-avatar .online-dot {
            width: 10px;
            height: 10px;
            bottom: 0;
            right: 0;
        }

        .chat-header-info {
            flex: 1;
            min-width: 0;
        }

        .chat-header-name {
            font-weight: 600;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .chat-status {
            font-size: 13px;
            color: var(--text-secondary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .chat-header-icons {
            display: flex;
            gap: 20px;
            color: var(--icon-color);
            flex-shrink: 0;
        }

        .chat-header-icons i {
            cursor: pointer;
            font-size: 20px;
        }

        .chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: none;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .message {
            max-width: 75%;
            padding: 10px 15px;
            border-radius: 7.5px;
            position: relative;
            box-shadow: var(--shadow);
            animation: fadeIn 0.3s ease;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .sent {
            background-color: var(--sent-bg);
            align-self: flex-end;
            border-top-right-radius: 0;
        }

        .received {
            background-color: var(--received-bg);
            align-self: flex-start;
            border-top-left-radius: 0;
        }

        .message-content {
            margin-bottom: 5px;
            font-size: 15px;
            line-height: 1.4;
            word-break: break-word;
        }

        .message-meta {
            display: flex;
            justify-content: flex-end;
            gap: 5px;
            font-size: 11px;
            color: var(--text-secondary);
        }

        .message-time {
            display: flex;
            align-items: center;
            gap: 3px;
            white-space: nowrap;
        }

        .message-status {
            color: #4fc3f7;
        }

        .chat-footer {
            padding: 10px 15px;
            background-color: var(--header-bg);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .chat-footer-icons {
            display: flex;
            gap: 15px;
            color: var(--icon-color);
            flex-shrink: 0;
        }

        .chat-footer-icons i {
            cursor: pointer;
            font-size: 22px;
        }

        .message-input-container {
            flex: 1;
            background-color: white;
            border-radius: 20px;
            padding: 5px 15px;
            display: flex;
            align-items: center;
            min-width: 0;
        }

        .message-input {
            border: none;
            outline: none;
            width: 100%;
            font-size: 15px;
            padding: 10px 0;
            background: transparent;
        }

        .emoji-icon {
            cursor: pointer;
            color: var(--icon-color);
            font-size: 22px;
            flex-shrink: 0;
        }

        .send-button {
            background-color: var(--accent-color);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
            flex-shrink: 0;
        }

        .send-button:hover {
            transform: scale(1.05);
            box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
        }

        .send-button i {
            font-size: 18px;
        }

        .disappearing {
            animation: disappear 3s forwards;
        }

        @keyframes disappear {
            0% {
                opacity: 1;
            }

            70% {
                opacity: 1;
            }

            100% {
                opacity: 0;
                height: 0;
                padding: 0;
                margin: 0;
                transform: scale(0);
            }
        }

        /* Typewriter animation */
        .typewriter {
            overflow: hidden;
            border-right: 2px solid #333;
            white-space: nowrap;
            margin: 0 auto;
            animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
        }

        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }

        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: #333; }
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .app-container {
                height: 100vh;
                border-radius: 0;
                position: relative;
                overflow: hidden;
            }

            .sidebar {
                width: 100%;
                min-width: unset;
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                transition: transform 0.3s ease;
                z-index: 10;
            }

            .sidebar.hidden {
                transform: translateX(-100%);
            }

            .chat-container {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: auto;
                transform: translateX(100%);
                transition: transform 0.3s ease;
                z-index: 20;
            }

            .chat-container.active {
                transform: translateX(0);
            }

            .back-button {
                display: flex !important;
                align-items: center;
                justify-content: center;
            }
        }

        .back-button {
            display: none;
            color: var(--icon-color);
            cursor: pointer;
            font-size: 20px;
            width: 30px;
            height: 30px;
            flex-shrink: 0;
        }

        .empty-chat {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex: 1;
            text-align: center;
            padding: 20px;
            color: var(--text-secondary);
        }

        .empty-chat i {
            font-size: 80px;
            margin-bottom: 20px;
            color: #d1d7db;
        }

        .empty-chat h2 {
            font-weight: 300;
            margin-bottom: 10px;
            color: var(--text-primary);
        }
        .privacy-notice {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 10px 15px;
            margin: 10px 0;
            font-size: 12px;
            color: #666;
            text-align: center;
            border: 1px solid #e9ecef;
            animation: fadeIn 0.5s ease;
        }
        
        .privacy-notice i {
            color: #4ade80;
            margin-right: 5px;
        }
    