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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
    padding: 40px 20px;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: white;
    padding: 10px;
}

.title {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-button {
    background: white;
    border: none;
    padding: 18px 25px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.link-button i {
    font-size: 1.5rem;
}

/* Social media specific colors */
.link-button.youtube:hover { background-color: #FF0000; color: white; }
.link-button.tiktok:hover { background-color: #000000; color: white; }
.link-button.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; }
.link-button.twitter:hover { background-color: #000000; color: white; }
.link-button.twitch:hover { background-color: #9146FF; color: white; }
.link-button.spotify:hover { background-color: #1DB954; color: white; }
.link-button.facebook:hover { background-color: #1877F2; color: white; }

.admin-link {
    margin-top: 40px;
    text-align: center;
}

.admin-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.admin-link a:hover {
    color: white;
}

/* Admin Panel Styles */
.admin-container {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.admin-title {
    color: #667eea;
    margin-bottom: 30px;
    text-align: center;
}

.admin-links-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.admin-link-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.link-info {
    flex: 1;
    min-width: 200px;
}

.link-info strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.link-info span {
    color: #666;
    font-size: 0.9rem;
    word-break: break-all;
}

.link-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-toggle {
    background-color: #28a745;
    color: white;
}

.btn-toggle.disabled {
    background-color: #6c757d;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

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

.add-link-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.add-link-form h3 {
    color: #667eea;
    margin-bottom: 15px;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.btn-add {
    background-color: #667eea;
    color: white;
    width: 100%;
    padding: 12px;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

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

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-content h2 {
    color: #667eea;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Video Background */
#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

#bgVideoOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Edit Button */
.btn-edit {
    background-color: #667eea;
    color: white;
}

.form-group small {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .link-button {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .admin-container {
        padding: 20px;
    }

    .admin-link-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .link-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .modal-content {
        padding: 30px 20px;
    }
}
