/* =============================== */
/* VY-REEL - GLOBAL STYLES         */
/* =============================== */

/* Google Font Import (Poppins + Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* CSS Variables (तेरी Color Palette) */
:root {
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --secondary: #0D0D0D;
    --accent: #00F5FF;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --white: #FFFFFF;
    --gray-light: #9CA3AF;
    --gray-dark: #1a1a1a;
    --border: #333333;
    --card-bg: #1a1a1a;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--secondary);
    color: var(--white);
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

/* =============================== */
/* BUTTONS                          */
/* =============================== */

/* Primary Button (Purple) */
.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

.btn-primary:active {
    transform: scale(0.96);
}

/* Secondary Button (Outline) */
.btn-secondary {
    display: inline-block;
    width: 100%;
    padding: 16px 30px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

/* Icon Button (Round) */
.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-dark);
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
}

.fab:hover {
    transform: scale(1.1) rotate(90deg);
}

/* =============================== */
/* INPUT FIELDS                    */
/* =============================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 16px 18px;
    background: var(--gray-dark);
    border: 1px solid var(--border);
    border-radius: 15px;
    color: var(--white);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--gray-light);
}

/* =============================== */
/* CARDS                           */
/* =============================== */

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* =============================== */
/* AUTH BOX (Login/Signup)         */
/* =============================== */

.auth-box {
    background: var(--gray-dark);
    padding: 30px;
    border-radius: 25px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.2);
}

.auth-box h1 {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 5px;
}

.auth-box p {
    color: var(--gray-light);
    margin-bottom: 25px;
    font-size: 14px;
}

/* Switch Text (Login/Signup Toggle) */
.switch-text {
    color: var(--gray-light);
    font-size: 14px;
    margin-top: 15px;
}

.switch-text span,
.switch-text a {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

/* =============================== */
/* UTILITY CLASSES                 */
/* =============================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-gray { color: var(--gray-light); }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }

.hidden { display: none; }

/* =============================== */
/* ANIMATIONS                      */
/* =============================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

.slide-up {
    animation: slideUp 0.4s ease;
}

/* =============================== */
/* RESPONSIVE                      */
/* =============================== */

@media (max-width: 480px) {
    .auth-box {
        padding: 25px 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 25px;
        font-size: 16px;
    }
    
    input {
        padding: 14px 15px;
        font-size: 15px;
    }
}

/* =============================== */
/* SCROLLBAR (Dark Theme)          */
/* =============================== */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}