body {
            font-family: 'Poppins', sans-serif;
            background-color: #0a0a0a;
            overflow-x: hidden;
        }
        
        /* Navigation - Matching index.php */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: clamp(15px, 2vh, 25px) clamp(20px, 5vw, 50px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: transparent;
        }
        
        .logo {
            font-size: clamp(11px, 3vw, 22px);
            font-weight: 500;
            color: #fff;
            line-height: 1.5;
            letter-spacing: 2px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            padding: clamp(10px, 1.5vh, 15px) clamp(20px, 3vw, 30px);
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .logo span {
            font-weight: 300;
            font-size: clamp(10px, 1.5vw, 11px);
            display: block;
            margin-top: -3px;
            letter-spacing: 3px;
            opacity: 0.8;
        }
        
        .nav-right {
            display: flex;
            align-items: center;
            gap: clamp(8px, 1.5vw, 15px);
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            padding: clamp(10px, 1.5vh, 15px) clamp(15px, 2vw, 20px);
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .user-info-nav {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .credit-badge-nav {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            background: linear-gradient(135deg, #004799 0%, #018eef 100%);
            border-radius: 20px;
            font-size: clamp(11px, 1.5vw, 13px);
            font-weight: 700;
            color: #fff;
        }
        
        .credit-badge-nav i {
            font-size: clamp(12px, 1.8vw, 14px);
            color: #ffeb3b;
        }
        
        .profile-icon {
            display: flex;
            width: clamp(35px, 5vw, 40px);
            height: clamp(35px, 5vw, 40px);
            background: linear-gradient(135deg, #004799 0%, #018eef 100%);
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 600;
            font-size: clamp(14px, 2vw, 16px);
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .profile-icon:hover {
            transform: scale(1.1);
            box-shadow: 0 5px 20px rgba(1, 142, 239, 0.4);
        }
        
        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            font-size: clamp(20px, 4vw, 24px);
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .mobile-menu-toggle:hover {
            background: rgba(1, 142, 239, 0.2);
            border-color: #018eef;
        }
        
        /* Mobile Menu Overlay */
        .mobile-menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .mobile-menu-overlay.active {
            display: block;
            opacity: 1;
        }
        
        /* Adjust main content to account for fixed navbar */
        body {
            padding-top: clamp(70px, 10vh, 90px);
        }
        .mono {
            font-family: 'JetBrains Mono', monospace;
        }
        .loader {
            border: 4px solid rgba(1, 142, 239, 0.2);
            border-top: 4px solid #018eef;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .gradient-bg {
            background: linear-gradient(135deg, #018eef 0%, #004799 100%);
        }
        .gradient-border {
            position: relative;
            background: linear-gradient(135deg, #018eef, #004799);
            padding: 2px;
            border-radius: 12px;
        }
        .gradient-border-content {
            background: #1a1a1a;
            border-radius: 10px;
        }
        .glass-effect {
            background: rgba(26, 26, 26, 0.7);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(1, 142, 239, 0.1);
        }
        .card {
            background: #1a1a1a;
            border: 1px solid #2d2d2d;
            border-radius: 16px;
            transition: all 0.3s ease;
        }
        .card:hover {
            border-color: rgba(1, 142, 239, 0.3);
            box-shadow: 0 8px 32px rgba(1, 142, 239, 0.1);
        }
        .beta-badge {
            background: linear-gradient(135deg, #ff6b6b, #ff8787);
            animation: pulse-glow 2s ease-in-out infinite;
        }
        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 0 10px rgba(255, 107, 107, 0.4); }
            50% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.6); }
        }
        .new-badge {
            background: linear-gradient(135deg, #018eef, #004799);
            animation: pulse-glow 2s ease-in-out infinite;
        }
        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 0 10px rgba(107, 188, 255, 0.4); }
            50% { box-shadow: 0 0 20px rgba(107, 147, 255, 0.6); }
        }
        
        .festival-tag {
            font-size: 12px;
            padding: 6px 14px;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(1, 142, 239, 0.1), rgba(0, 71, 153, 0.1));
            border: 1px solid rgba(1, 142, 239, 0.2);
            color: #018eef;
            transition: all 0.3s ease;
            cursor: pointer;
            white-space: nowrap;
            display: inline-flex !important;
            align-items: center;
            gap: 6px;
            opacity: 1 !important;
            transform: none !important;
        }
        .festival-tag:hover {
            background: linear-gradient(135deg, rgba(1, 142, 239, 0.2), rgba(0, 71, 153, 0.2));
            border-color: #018eef;
            transform: translateY(-2px) !important;
        }
        .festival-tag svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }
        .festival-tag .days-badge {
            background: #018eef;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 10px;
            font-weight: 600;
            margin-left: 4px;
        }
        .festival-tag.happening-now .days-badge {
            background: #10b981;
            animation: pulse 2s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
        .input-field {
            background: #121212;
            border: 1px solid #2d2d2d;
            color: #e0e0e0;
            transition: all 0.3s ease;
        }
        .input-field:focus {
            background: #1a1a1a;
            border-color: #018eef;
            box-shadow: 0 0 0 3px rgba(1, 142, 239, 0.1);
            outline: none;
        }
        .input-field::placeholder {
            color: #666;
        }
        .note-card {
            background: linear-gradient(135deg, rgba(1, 142, 239, 0.05), rgba(0, 71, 153, 0.05));
            border-left: 3px solid #018eef;
        }
        .warning-card {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 152, 0, 0.05));
            border-left: 3px solid #ffc107;
        }
        .shine-effect {
            position: relative;
            overflow: hidden;
        }
        .shine-effect::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.1) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(30deg);
            animation: shine 4s infinite;
        }
        @keyframes shine {
            0% { transform: translateX(-100%) rotate(30deg); }
            100% { transform: translateX(100%) rotate(30deg); }
        }
        /* Mobile optimizations */
        @media (max-width: 640px) {
            .festival-tag { font-size: 11px; padding: 5px 12px; }
        }
        @media (max-width: 768px) {
            .navbar {
                padding: 15px 20px;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .nav-right {
                display: none;
            }
            
            body {
                padding-top: 70px;
            }
        }
        /* Scrollbar styling */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: #121212; }
        ::-webkit-scrollbar-thumb { background: #2d2d2d; border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: #3d3d3d; }

        .credit-counter {
            background: rgba(1, 142, 239, 0.1);
            border: 1px solid rgba(1, 142, 239, 0.2);
            border-radius: 20px;
            padding: 6px 10px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #018eef;
            font-weight: 500;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 600;
            transition: all 0.2s ease;
        }
        
        .action-btn:hover {
            transform: translateY(-2px);
        }
        
        .action-btn:active {
            transform: scale(0.97);
        }
        
        .share-btn {
            background: #25D366;
            color: white;
        }
        
        .download-btn {
            background: #018eef;
            color: white;
        }

        .modal-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 50;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            background: #1a1a1a;
            border: 1px solid #2d2d2d;
            border-radius: 16px;
            padding: 24px;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        }

        @keyframes pulse-gently {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .pulse-animation {
            animation: pulse-gently 1.5s infinite ease-in-out;
        }

        #logoUploadRing {
            animation: pulseBorder 2s infinite;
        }
        
        @keyframes pulseBorder {
            0% { border-color: rgba(45, 45, 45, 0.6); }
            50% { border-color: rgba(1, 142, 239, 0.6); }
            100% { border-color: rgba(45, 45, 45, 0.6); }
        }

        .input-field:required {
            border-left-width: 3px;
            border-left-color: rgba(239, 68, 68, 0.5);
        }
        .input-field:required:focus {
            border-left-color: #018eef;
        }
        
        /* Reference Images Styles */
        .reference-image-wrapper {
            position: relative;
            flex-shrink: 0;
            width: 120px;
            height: 120px;
        }
        
        .reference-image-preview {
            width: 120px;
            height: 120px;
            object-fit: cover;
            border-radius: 8px;
            border: 2px solid #2d2d2d;
            transition: all 0.3s ease;
        }
        
        .reference-image-preview:hover {
            border-color: #018eef;
            transform: scale(1.05);
        }
        
        .reference-image-remove {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #ef4444;
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.2s ease;
            z-index: 10;
        }
        
        .reference-image-wrapper:hover .reference-image-remove {
            opacity: 1;
        }
        
        .reference-image-remove:hover {
            background: #dc2626;
            transform: scale(1.1);
        }
        
        #referenceImagesPreviews::-webkit-scrollbar {
            height: 6px;
        }
        
        #referenceImagesPreviews::-webkit-scrollbar-track {
            background: #121212;
            border-radius: 3px;
        }
        
        #referenceImagesPreviews::-webkit-scrollbar-thumb {
            background: #2d2d2d;
            border-radius: 3px;
        }
        
        #referenceImagesPreviews::-webkit-scrollbar-thumb:hover {
            background: #3d3d3d;
        }