:root {
    --primary-color: #4CAF50;
    --primary-dark: #45a049;
    --secondary-color: #2196F3;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--background-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Menu Styles */
.menu {
    background-color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
}

.menu-icons {
    display: none;
}

.menu-links {
    display: flex;
    gap: 2rem;
}

.menu-links a {
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-links a:hover {
    color: var(--primary-color);
}

.admin-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    margin-bottom: 2rem;
    border-radius: 0 0 50% 50% / 20px;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Upload Container */
.upload-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.upload-area {
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background-color: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-dark);
    background-color: #f8f8f8;
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-info {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* URL Input */
.url-input-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--white);
    padding: 0.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.url-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Buttons */
.upload-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Video Section */
.video-section {
    max-width: 800px;
    margin: 2rem auto;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.video-container {
    position: relative;
    padding-top: 56.25%;
}

#uploadedVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px 8px 0 0;
}

/* Share Container */
.share-container {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.share-container h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-link {
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    word-break: break-all;
    font-family: monospace;
}

.copy-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background-color: #1976D2;
}

/* Social Share */
.social-share {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-2px);
}

.facebook { background-color: #1877F2; }
.twitter { background-color: #1DA1F2; }
.whatsapp { background-color: #25D366; }

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: var(--white);
    margin-top: 4rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
}

.progress-container {
    text-align: center;
}

.progress-bar {
    background-color: #eee;
    height: 20px;
    border-radius: 10px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress {
    background-color: var(--primary-color);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-icons {
        display: block;
    }

    .menu-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .menu-links.active {
        display: flex;
    }

    .hero-section {
        border-radius: 0 0 25% 25% / 10px;
    }

    .upload-container {
        padding: 1rem;
    }

    .url-input-container {
        flex-direction: column;
    }

    .features-section {
        padding: 2rem 1rem;
    }
}