* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #330000 100%);
    color: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff0000;
    text-decoration: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ff0000;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    padding: 20px 0;
    min-height: calc(100vh - 160px);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #ff0000;
}

.nav-menu {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 60px;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.nav-text {
    font-size: 12px;
}

/* Balloon Animation */
.balloon-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(255,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    margin: 20px 0;
}

.balloon {
    position: absolute;
    width: 80px;
    height: 100px;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.balloon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #333;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(0); opacity: 0; }
}

.balloon.popping {
    animation: pop 0.5s ease-out forwards;
}

/* Forms */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #ff0000;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ff0000;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ff0000;
    border: 2px solid #ff0000;
}

.btn-secondary:hover {
    background: #ff0000;
    color: white;
}

/* Cards */
.card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.user-card:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: translateX(5px);
}

.user-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ff0000;
}

/* Video Call */
.video-container {
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.control-btn.end-call {
    background: #ff0000;
    color: white;
}

.control-btn.mute {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Messages */
.message-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
}

.message {
    display: flex;
    margin: 10px 0;
}

.message.sent {
    justify-content: flex-end;
}

.message.received {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 20px;
    word-wrap: break-word;
}

.message.sent .message-bubble {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
}

.message.received .message-bubble {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.message-input {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 0, 0, 0.3);
}

.message-input input {
    flex: 1;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* VIP Badge */
.vip-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .form-container {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .balloon {
        width: 60px;
        height: 75px;
    }
    
    .user-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ff0000;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    z-index: 1001;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background: linear-gradient(45deg, #00ff00, #00cc00);
}

.notification.error {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}