/* ================================================ SUDDENLY CREATIVE - MAIN STYLESHEET ================================================ */ :root { --primary-color: #9333ea; --secondary-color: #ec4899; --dark-bg: #0f0f0f; --dark-card: rgba(255, 255, 255, 0.05); --border-color: rgba(147, 51, 234, 0.2); --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* ================================================ GLOBAL STYLES ================================================ */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background: var(--dark-bg); color: #ffffff; line-height: 1.6; overflow-x: hidden; } /* ================================================ PARTICLES STYLING ================================================ */ #tsparticles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background: transparent; pointer-events: auto; /* Allow mouse interaction with particles */ } /* Canvas styling for particles */ #tsparticles canvas { display: block; width: 100%; height: 100%; } /* ================================================ SCROLLBAR STYLING ================================================ */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); } ::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #9333ea, #ec4899); border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, #a855f7, #f472b6); } /* ================================================ BUTTON STYLES ================================================ */ .btn-primary { background: linear-gradient(135deg, #9333ea, #ec4899); padding: 12px 32px; border-radius: 8px; color: white; font-weight: 600; border: none; cursor: pointer; transition: var(--transition-smooth); position: relative; overflow: hidden; } .btn-primary::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.2); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; } .btn-primary:hover::before { width: 300px; height: 300px; } .btn-primary:hover { transform: scale(1.05); box-shadow: 0 20px 40px rgba(147, 51, 234, 0.4); } /* ================================================ CARD & GLASSMORPHISM ================================================ */ .glass-card { background: var(--dark-card); backdrop-filter: blur(10px); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; transition: var(--transition-smooth); } .glass-card:hover { border-color: rgba(147, 51, 234, 0.5); background: rgba(255, 255, 255, 0.08); box-shadow: 0 8px 32px rgba(147, 51, 234, 0.1); } /* ================================================ ANIMATION & EFFECTS ================================================ */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } } @keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } } @keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.5); } 50% { box-shadow: 0 0 40px rgba(236, 72, 153, 0.5); } } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } } /* ================================================ HOVER EFFECTS ================================================ */ .hover-scale { transition: var(--transition-smooth); } .hover-scale:hover { transform: scale(1.05); } .hover-glow { transition: var(--transition-smooth); } .hover-glow:hover { animation: glow 2s infinite; } .hover-lift { transition: var(--transition-smooth); } .hover-lift:hover { transform: translateY(-8px); } /* ================================================ GRADIENT TEXT ================================================ */ .gradient-text { background: linear-gradient(135deg, #a78bfa, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .gradient-text-alt { background: linear-gradient(135deg, #ec4899, #9333ea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* ================================================ RESPONSIVE ADJUSTMENTS ================================================ */ @media (max-width: 768px) { .glass-card { padding: 16px; } .btn-primary { padding: 10px 24px; font-size: 14px; } } /* ================================================ LOADING ANIMATION ================================================ */ @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .spinner { animation: spin 1s linear infinite; } /* ================================================ INPUT & FORM STYLES ================================================ */ input, textarea, select { transition: var(--transition-smooth); } input:focus, textarea:focus, select:focus { outline: none; box-shadow: 0 0 20px rgba(147, 51, 234, 0.3); } input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.4); } /* ================================================ SECTION SPACING ================================================ */ section { scroll-margin-top: 80px; } /* ================================================ CUSTOM SCROLLING BEHAVIOR ================================================ */ html { scroll-behavior: smooth; }