body { font-family: 'Inter', sans-serif; background-color: #0f172a; color: #f8fafc; scroll-behavior: smooth; }
        .gold-gradient-text { background: linear-gradient(90deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        
        .tool-card { 
            background: #1e293b; 
            border: 1px solid #334155; 
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
            cursor: pointer;
        }
        .tool-card:hover { 
            transform: translateY(-8px); 
            border-color: #38bdf8; 
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5); 
        }

        .drop-zone { border: 2px dashed #334155; transition: all 0.3s ease; position: relative; }
        .drop-zone.active { border-color: #38bdf8; background: rgba(56, 189, 248, 0.1); }

        .loader { border: 3px solid rgba(255, 255, 255, 0.1); border-top: 3px solid #38bdf8; border-radius: 50%; width: 24px; height: 24px; animation: spin 1s linear infinite; }
        
        .ad-placeholder {
            background: #1e293b;
            border: 1px dashed #334155;
            color: #475569;
            text-align: center;
            padding: 20px;
            margin: 20px auto;
            max-width: 900px;
            border-radius: 8px;
            font-size: 0.8rem;
            text-transform: uppercase;
        }
        
        .ad-placeholder img { width: 100% !important; }
        
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        .custom-scrollbar::-webkit-scrollbar { width: 4px; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }
        
        @media (max-width: 1024px) {
            header h1 { font-size: 3rem !important; line-height: 1.2 !important; }
            header p { font-size: 1.125rem !important; max-width: 90% !important; }
        }

        @media (max-width: 768px) {
            header { padding-top: 2rem !important; padding-bottom: 2rem !important; }
            header h1 { font-size: 2.5rem !important; letter-spacing: -0.02em !important; }
            header p { font-size: 1rem !important; line-height: 1.6 !important; margin-bottom: 2rem !important; }
            #working-area { padding: 1.5rem !important; border-radius: 1.5rem !important; }
            #tool-title { font-size: 1.5rem !important; }
        }

        @media (max-width: 480px) {
            header h1 { font-size: 1.5rem !important; }
        }

        .promo-banner {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            border: 1px solid #334155;
            border-radius: 1rem;
            padding: 1rem 1.5rem;
            margin: 1rem auto;
            max-width: 1280px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .banner-content { display: flex; align-items: center; gap: 0.75rem; }
        .banner-badge {
            background: linear-gradient(90deg, #BF953F, #FCF6BA);
            color: #000;
            font-size: 0.7rem;
            font-weight: 800;
            padding: 0.2rem 0.6rem;
            border-radius: 9999px;
            text-transform: uppercase;
        }

        .banner-text { font-size: 0.875rem; color: #cbd5e1; }
        .banner-btn {
            background: #38bdf8;
            color: #0f172a;
            font-size: 0.8rem;
            font-weight: 700;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            white-space: nowrap;
            transition: opacity 0.2s;
        }

        .ad-slot-wrapper { margin: 2rem auto; text-align: center; width: 100%; }
        .ad-label { font-size: 10px; color: #475569; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; display: block; }
        .ad-image-container {
            background: #1e293b;
            border: 1px solid #334155;
            border-radius: 0.75rem;
            overflow: hidden;
            display: inline-block;
            max-width: 100%;
            transition: border-color 0.3s;
        }
        .ad-image-container:hover { border-color: #38bdf8; }
        .ad-image-container img { display: block; max-width: 100%; height: auto; }

        @media (max-width: 640px) {
            .promo-banner { flex-direction: column; text-align: center; padding: 1.25rem; }
            .banner-content { flex-direction: column; gap: 0.5rem; }
        }

        #qr-preview-container {
            background: white;
            padding: 20px;
            border-radius: 1rem;
            display: inline-block;
            margin-top: 1rem;
        }