* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #2b5876);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Login Screen Styles */
.login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
}

.login-container .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.login-container .logo i {
    font-size: 42px;
    color: #4CAF50;
}

.login-container .logo h1 {
    font-size: 36px;
    font-weight: 700;
}

.tagline {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 18px;
}

.login-options {
    margin-bottom: 40px;
}

.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: white;
    color: #757575;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.google-login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.google-login-btn img {
    width: 20px;
    height: 20px;
}

.login-note {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* Profile Creation Styles */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group select {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.create-profile-btn {
    padding: 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.create-profile-btn:hover {
    background: #3e8e41;
    transform: translateY(-3px);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.feature i {
    font-size: 30px;
    color: #4CAF50;
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.feature p {
    opacity: 0.8;
}

/* App Content Styles */
.hidden {
    display: none;
}

.app-content {
    width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 32px;
    color: #4CAF50;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4CAF50;
}

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

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-profession {
    font-size: 12px;
    opacity: 0.8;
}

.main-content {
    display: flex;
    gap: 30px;
}

.video-section {
    flex: 2;
}

.server-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.server-section h2 {
    margin-bottom: 20px;
    color: #4CAF50;
    text-align: center;
}

.server-log {
    background: rgba(0, 0, 0, 0.3);
    height: 300px;
    border-radius: 10px;
    padding: 15px;
    overflow-y: auto;
    margin-bottom: 20px;
    font-family: monospace;
    font-size: 14px;
}

.log-entry {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.log-time {
    color: #4CAF50;
    margin-right: 10px;
}

.video-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.video-wrapper {
    flex: 1;
    height: 250px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.video-overlay .user-info {
    text-align: center;
    flex-direction: column;
    gap: 15px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4a8cff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.media-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.media-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-btn.muted {
    background: rgba(255, 0, 0, 0.7);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.control-btn {
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.start-btn {
    background: #4CAF50;
    color: white;
}

.next-btn {
    background: #2196F3;
    color: white;
}

.stop-btn {
    background: #f44336;
    color: white;
}

.control-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.chat-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chat-header h3 {
    color: #4CAF50;
}

.chat-messages {
    height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.incoming {
    background: rgba(255, 255, 255, 0.2);
    border-top-left-radius: 5px;
    align-self: flex-start;
}

.outgoing {
    background: rgba(0, 128, 255, 0.4);
    border-top-right-radius: 5px;
    align-self: flex-end;
    margin-left: auto;
}

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

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.chat-input button {
    padding: 12px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    background: #4CAF50;
    color: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.match-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.match-info h3 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.match-details {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.match-detail {
    text-align: center;
}

.match-detail .label {
    font-size: 12px;
    opacity: 0.7;
}

.match-detail .value {
    font-weight: 600;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .video-container {
        flex-direction: column;
    }
    
    .login-container {
        padding: 20px;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .match-details {
        flex-direction: column;
        gap: 10px;
    }
}