/* ===== SCRIPT IMAGE ===== */
.script-img-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
}
.script-img {
    max-width: 100%;
    max-height: 180px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(124,58,237,0.10);
    object-fit: cover;
    background: #f3f4f6;
    transition: transform 0.2s;
}
.script-card:hover .script-img {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(124,58,237,0.18);
}
/* ===================================
   SCRIPT BOT - MODERN STYLING V2
   Admin Panel & Add Script Modal
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0f0f23;
    --secondary-dark: #1a1a2e;
    --accent-blue: #0d1b2a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --accent-color: #1b263b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 40px rgba(27, 38, 59, 0.4);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

/* ===== LOADING ANIMATIONS ===== */

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    text-align: center;
    color: var(--text-light);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--text-gray);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    font-size: 1.2rem;
    margin: 0;
    color: var(--accent-color);
}

/* Page fade-in animation */
body {
    opacity: 0;
    animation: fadeInBody 0.5s ease 0.5s forwards;
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

/* ===== ANIMATIONS ===== */

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Initial hidden state for animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) !important;
}

/* ===== ENHANCED STYLING ===== */

/* Script Section */
.script-section {
    padding: 5rem 0;
    background: var(--primary-dark);
}

.script-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    font-size: 2.5rem;
}

/* Stats Cards */
.script-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Script Grid */
.script-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Enhanced Script Cards */
.script-card {
    background: var(--secondary-dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.script-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.script-card:nth-child(1) { animation-delay: 0.1s; }
.script-card:nth-child(2) { animation-delay: 0.2s; }
.script-card:nth-child(3) { animation-delay: 0.3s; }
.script-card:nth-child(4) { animation-delay: 0.4s; }
.script-card:nth-child(5) { animation-delay: 0.5s; }
.script-card:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Modal Styling */
.modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.login-container, .add-script-container {
    background: var(--secondary-dark);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-blue);
}

/* Enhanced Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    background: var(--primary-dark);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(27, 38, 59, 0.3);
}

/* Enhanced Buttons */
.btn-login, .btn-submit, .btn-add-script {
    background: linear-gradient(45deg, var(--accent-color), #0f3460);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-login:hover, .btn-submit:hover, .btn-add-script:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Enhanced Navbar */
.navbar {
    background: linear-gradient(135deg, var(--secondary-dark), var(--accent-blue));
    box-shadow: var(--shadow);
}

/* ===== RESPONSIVE DESIGN ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--primary-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

html {
    scroll-behavior: smooth;
}

.hidden {
    display: none !important;
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-overlay.hidden {
    display: none;
}

/* ===== ADMIN LOGIN MODAL ===== */
.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
    animation: slideDown 0.3s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    pointer-events: all;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
    font-size: 0.95rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 700;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input[type="file"],
.form-group textarea,
.form-group select {
    padding: 0.9rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="url"]:focus,
.form-group input[type="file"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-group input[type="file"] {
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.form-group .helper-text {
    font-size: 0.85rem;
    color: #6b7280;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-login,
.btn-submit {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover,
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn-login:active,
.btn-submit:active {
    transform: translateY(0);
}

.btn-close-login {
    background: var(--light-gray);
    border: 2px solid #e5e7eb;
    color: var(--primary-black);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-close-login:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* ===== ADD SCRIPT MODAL ===== */
.add-script-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
    animation: slideDown 0.3s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    pointer-events: all;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1.5rem;
}

.modal-header h2 {
    color: var(--primary-purple);
    font-size: 1.8rem;
    margin: 0;
}

.btn-close {
    background: var(--light-gray);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-black);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    position: relative;
    pointer-events: all;
    flex-shrink: 0;
}

.btn-close:hover {
    background: var(--danger);
    color: var(--white);
    transform: rotate(90deg);
}

.add-script-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== ADMIN BUTTONS ON CARD ===== */
.admin-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--light-gray);
}

.btn-edit,
.btn-delete {
    flex: 1;
    padding: 0.7rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-edit {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--white);
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-delete {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: var(--white);
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    z-index: 100;
    position: relative;
}

.nav-actions button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.nav-brand {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-brand:hover {
    transform: translateX(-5px);
}

.nav-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    flex: 1;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-admin-access,
.btn-logout {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.9rem;
    z-index: 100;
    position: relative;
    pointer-events: auto;
}

.btn-admin-access:hover,
.btn-logout:hover {
    background: var(--white);
    color: var(--primary-purple);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-admin-access:active,
.btn-logout:active {
    transform: translateY(0);
}

/* ===== ADMIN PANEL ===== */
.admin-panel {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border-top: 4px solid var(--primary-purple);
    text-align: center;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
}

.admin-panel.hidden {
    display: none;
}

.btn-add-script {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    color: var(--white);
    border: none;
    padding: 1.1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-hover);
}

.btn-add-script:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== MAIN CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ===== SCRIPT CATEGORY ===== */
.script-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-purple);
}

.category-header i {
    font-size: 2.2rem;
    color: var(--primary-purple);
}

.category-header h2 {
    font-size: 1.8rem;
    color: var(--primary-black);
}

/* ===== SCRIPTS GRID ===== */
.scripts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ===== SCRIPT PRICE ===== */
.script-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: var(--secondary-dark);
    border-left: 4px solid var(--success);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.script-price i {
    color: var(--success);
    font-size: 1.2rem;
}

.script-price strong {
    color: var(--success);
    font-weight: 700;
}

/* ===== SCRIPT CARD ===== */
.script-card {
    background: var(--secondary-dark);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--accent-blue);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.script-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: var(--secondary-dark);
}

.script-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.script-header h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-new {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: var(--white);
}

.badge-updated {
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
}

.badge-hot {
    background: linear-gradient(135deg, var(--danger), #991b1b);
    color: var(--white);
}

.btn-delete-script {
    background: var(--danger);
    color: var(--white);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-delete-script:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.script-desc {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.script-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.script-features span {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.script-features i {
    color: var(--success);
    font-weight: 700;
}

/* ===== SCRIPT LINKS ===== */
.script-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}


/* Tombol Preview (YouTube) */
.btn-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    background: #ff0000;
    color: #fff;
    border: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(255,0,0,0.08);
}
.btn-preview i {
    font-size: 1.2rem;
}
.btn-preview:hover {
    background: #c20000;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

/* Tombol Beli (WhatsApp) */
.btn-beli {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(18,140,126,0.10);
}
.btn-beli i {
    font-size: 1.2rem;
}
.btn-beli:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

/* Tombol Download (untuk script FREE) */
.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}
.btn-download i {
    font-size: 1.2rem;
}
.btn-download:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

/* ===== NOTIFICATION ===== */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: var(--white);
    padding: 1.1rem 1.8rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: slideIn 0.3s ease-out;
    z-index: 9999;
    font-weight: 600;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.notification.hidden {
    display: none;
}

.notification.danger {
    background: linear-gradient(135deg, var(--danger), #991b1b);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.notification.success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 2.5rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* ===== ANIMATIONS ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .login-container,
    .add-script-container {
        width: 95%;
        padding: 2rem 1.5rem;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-close {
        align-self: flex-end;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-title {
        font-size: 1.1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .btn-admin-access,
    .btn-logout {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }

    .hero-section {
        padding: 2.5rem 1rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .admin-panel {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .scripts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .script-links {
        grid-template-columns: 1fr;
    }

    .category-header h2 {
        font-size: 1.4rem;
    }

    .notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

@media (max-width: 480px) {
    .login-container,
    .add-script-container {
        width: 95%;
        padding: 1.5rem 1rem;
        max-height: 90vh;
    }

    .login-header h2,
    .modal-header h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .hero-icon {
        font-size: 3rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .script-header {
        flex-direction: column;
    }

    .badge {
        font-size: 0.75rem;
    }

    .btn-link {
        font-size: 0.85rem;
        padding: 0.6rem;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== SCRIPT LIST SECTION ===== */
#scriptListSection {
    padding: 3rem 2rem;
    background: transparent;
    margin: 2rem auto;
    max-width: 1400px;
}

#scriptListSection h2 {
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 900;
    position: relative;
    display: inline-block;
    width: 100%;
}

#scriptListSection h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    border-radius: 2px;
}

#scriptListContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.script-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.script-card:nth-child(1) { animation-delay: 0.1s; }
.script-card:nth-child(2) { animation-delay: 0.2s; }
.script-card:nth-child(3) { animation-delay: 0.3s; }
.script-card:nth-child(4) { animation-delay: 0.4s; }
.script-card:nth-child(5) { animation-delay: 0.5s; }
.script-card:nth-child(6) { animation-delay: 0.6s; }
.script-card:nth-child(7) { animation-delay: 0.7s; }
.script-card:nth-child(8) { animation-delay: 0.8s; }
.script-card:nth-child(9) { animation-delay: 0.9s; }
.script-card:nth-child(10) { animation-delay: 1s; }

/* Responsive Grid */
@media (max-width: 1200px) {
    #scriptListContainer {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    #scriptListSection {
        padding: 2rem 1rem;
    }
    
    #scriptListSection h2 {
        font-size: 2rem;
    }
    
    #scriptListContainer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    #scriptListSection h2 {
        font-size: 1.8rem;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .script-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card i {
        font-size: 2rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .script-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .header-text h1 {
        font-size: 2.5rem;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .header-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .script-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
        text-align: center;
    }

    .stat-card i {
        font-size: 1.8rem;
    }

    .stat-card h3 {
        font-size: 1.8rem;
    }

    .header-text h1 {
        font-size: 2rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .script-section {
        padding: 3rem 0;
    }

    .script-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}
