:root {
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --accent: #ff003c;
    --accent-glow: rgba(255, 0, 60, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border: rgba(255, 255, 255, 0.1);
    --neon-border: rgba(255, 0, 60, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a050a 0%, #0a0a0a 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Glassmorphism Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 60, 0.05), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.card:hover::after {
    left: 100%;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 10px var(--accent-glow);
}

.btn-primary:hover {
    background: #ff1a4d;
    box-shadow: 0 0 20px var(--accent);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--accent);
    background: rgba(255, 0, 60, 0.05);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.2);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Video Items */
.video-item {
    position: relative;
}

.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
    cursor: pointer;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* SweetAlert2 Theme Customization */
.swal2-popup {
    background: var(--bg-card) !important;
    color: white !important;
    border: 1px solid var(--accent) !important;
    border-radius: 12px !important;
}

.swal2-title,
.swal2-html-container {
    color: white !important;
}

.swal2-confirm {
    background-color: var(--accent) !important;
    box-shadow: 0 0 10px var(--accent-glow) !important;
}

/* Pulsing Dot Animation */
.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 60, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 60, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 60, 0);
    }
}