* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; } :root { --primary-color: #ff4d8d; --text-color: #ffffff; --bg-color: #0a0a0a; --input-bg: rgba(255, 255, 255, 0.1); } body { background-color: var(--bg-color); color: var(--text-color); min-height: 100vh; } /* Navbar Styles */ .navbar { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; position: fixed; width: 100%; top: 0; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); } .logo { display: flex; align-items: center; gap: 1rem; font-size: 1.8rem; font-weight: bold; color: var(--text-color); text-shadow: 0 0 10px rgba(255, 77, 141, 0.5); } .logo-img { height: 40px; width: auto; transition: all 0.3s ease; } .logo span { background: linear-gradient(45deg, var(--primary-color), #ff8b8b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } /* Mobile Menu Styles */ .menu-icon { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; padding: 10px; } @media (max-width: 768px) { .menu-icon { display: flex !important; } .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 70%; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); flex-direction: column; justify-content: center; padding: 2rem; transition: all 0.3s ease; z-index: 1000; } .nav-links.active { right: 0; } .add-btn { width: 100%; margin-top: 1rem; padding: 1rem; font-size: 1.1rem; display: flex; justify-content: center; align-items: center; -webkit-tap-highlight-color: transparent; touch-action: manipulation; } .add-btn:active { transform: scale(0.98); background: #e6436f; } .search-bar { flex-direction: column; padding: 1rem; } .gallery-grid { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; } } .menu-icon span { display: block; width: 25px; height: 2px; background-color: var(--text-color); transition: all 0.3s ease; } @media (max-width: 768px) { .menu-icon { display: flex; } .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 100%; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); flex-direction: column; justify-content: center; padding: 2rem; transition: all 0.3s ease; } .nav-links.active { right: 0; } .menu-icon.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); } .menu-icon.active span:nth-child(2) { opacity: 0; } .menu-icon.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); } .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; padding: 1rem; width: 100%; max-width: 100%; } .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; } } .nav-links { display: flex; gap: 2rem; align-items: center; } .nav-links a { color: var(--text-color); text-decoration: none; font-size: 1.1rem; transition: all 0.3s ease; position: relative; } .nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--primary-color); transition: width 0.3s ease; } .nav-links a:hover::after, .nav-links a.active::after { width: 100%; } .nav-links a:hover { color: var(--primary-color); } .nav-links a.active { color: var(--primary-color); } .get-started { background: var(--primary-color); color: white; border: none; padding: 0.8rem 1.5rem; border-radius: 50px; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 0 20px rgba(255, 77, 141, 0.3); } .get-started:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 77, 141, 0.5); } /* Mobile Menu Icon */ .menu-icon { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; } .menu-icon span { display: block; width: 25px; height: 2px; background-color: var(--text-color); transition: all 0.3s ease; } /* Main Content */ main { padding-top: 100px; } .hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; text-align: center; padding: 1rem; width: 100%; max-width: 100vw; animation: fadeIn 1s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .hero h1 { font-size: 3.5rem; margin-bottom: 2rem; max-width: 800px; background: linear-gradient(45deg, #ff4d8d, #ff8b8b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradientText 3s ease infinite; } @keyframes gradientText { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .image-generator { width: 100%; max-width: 800px; margin: 0 auto; } .search-bar { display: flex; gap: 1rem; width: calc(100% - 2rem); max-width: 600px; background: var(--input-bg); padding: 1rem; border-radius: 50px; margin: 0 auto; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); } .search-bar:focus-within { border-color: var(--primary-color); box-shadow: 0 0 20px rgba(255, 77, 141, 0.2); } .search-bar input { flex: 1; background: transparent; border: none; color: white; font-size: 1rem; outline: none; } .search-bar input::placeholder { color: rgba(255, 255, 255, 0.5); } .add-btn { background: var(--primary-color); color: white; border: none; padding: 0.8rem 1.5rem; border-radius: 50px; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; } .add-btn:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 77, 141, 0.3); } /* Features Section */ .features { padding: 4rem 2rem; text-align: center; animation: fadeIn 1s ease; } .features h2 { font-size: 2.5rem; margin-bottom: 3rem; background: linear-gradient(45deg, #ff4d8d, #ff8b8b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; } .feature-card { background: rgba(255, 255, 255, 0.05); border-radius: 15px; padding: 2rem; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); } .feature-card:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 10px 20px rgba(255, 77, 141, 0.1); } .feature-icon { font-size: 2rem; margin-bottom: 1.5rem; color: var(--primary-color); display: inline-block; transition: transform 0.3s ease, color 0.3s ease; position: relative; } .feature-icon:hover { transform: scale(1.15); color: #ff8b8b; } .feature-icon::after { content: ''; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(255, 77, 141, 0.1) 0%, transparent 70%); border-radius: 50%; opacity: 0; transition: opacity 0.3s ease; z-index: -1; } .feature-icon:hover::after { opacity: 1; } .feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-color); } .feature-card p { color: rgba(255, 255, 255, 0.7); line-height: 1.6; } /* Gallery Section */ .gallery { padding: 2rem; animation: fadeIn 1s ease; } .gallery-item.loading { min-height: 200px; background: var(--input-bg); display: flex; align-items: center; justify-content: center; position: relative; } .loading-spinner { width: 50px; height: 50px; border: 3px solid var(--input-bg); border-top: 3px solid var(--primary-color); border-radius: 50%; animation: spin 1s linear infinite; position: absolute; z-index: 1; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .gallery-item.loading img { opacity: 0; transition: opacity 0.3s ease; } .gallery-item:not(.loading) img { opacity: 1; } .gallery-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; } .gallery-header h2 { font-size: 2rem; color: var(--text-color); } .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; padding: 2rem 0; contain: layout; will-change: transform; } .gallery-item { position: relative; border-radius: 15px; overflow: hidden; aspect-ratio: 1; background: var(--input-bg); transition: transform 0.2s ease; cursor: pointer; animation: fadeIn 0.3s ease; contain: paint; } .prompt-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; background: rgba(0, 0, 0, 0.8); color: white; font-size: 0.9rem; transform: translateY(100%); transition: transform 0.3s ease; } .gallery-item:hover .prompt-text { transform: translateY(0); } .watermark { position: absolute; top: 1rem; right: 1rem; padding: 0.5rem 1rem; background: rgba(0, 0, 0, 0.5); color: white; border-radius: 5px; font-size: 0.8rem; opacity: 0.8; backdrop-filter: blur(5px); } /* Background Animation */ body { background: linear-gradient(45deg, var(--bg-color), #1a1a1a); background-size: 400% 400%; animation: gradientBG 15s ease infinite; } @keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .gallery-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .gallery-item:hover .prompt-text { transform: translateY(0); } .gallery-item:hover .overlay { opacity: 1; } .overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; gap: 1rem; opacity: 0; transition: opacity 0.3s ease; } .overlay button { background: rgba(255, 255, 255, 0.9); border: none; padding: 0.5rem 1rem; border-radius: 5px; cursor: pointer; font-size: 0.9rem; transition: transform 0.2s ease; } .overlay button:hover { transform: scale(1.1); } .gallery-item { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); } .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: all 0.3s ease; } .gallery-item:hover img { transform: scale(1.05); } .gallery-item .overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); display: flex; gap: 1rem; justify-content: center; align-items: center; opacity: 0; transition: all 0.3s ease; } .gallery-item:hover .overlay { opacity: 1; } .overlay button { background: rgba(255, 255, 255, 0.2); border: none; color: white; padding: 0.5rem 1rem; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; } .overlay button:hover { background: var(--primary-color); } /* Footer Styles */ .footer { background: rgba(10, 10, 10, 0.95); padding: 4rem 2rem 2rem; margin-top: 4rem; position: relative; overflow: hidden; } .footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary-color), transparent); } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; } .footer-section h3 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 1.2rem; } .footer-section p { color: rgba(255, 255, 255, 0.7); line-height: 1.6; } .footer-section a { display: block; color: rgba(255, 255, 255, 0.7); text-decoration: none; margin-bottom: 0.8rem; transition: color 0.3s ease; } .footer-section a:hover { color: var(--primary-color); } .footer-section i { margin-right: 0.5rem; } .social-links { display: flex; gap: 1rem; } .social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.3s ease; } .social-links a:hover { background: var(--primary-color); color: white; transform: translateY(-3px); } .footer-bottom { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); } /* Mobile Styles */ @media (max-width: 768px) { .navbar { padding: 1rem; justify-content: space-between; } .logo { order: 1; } .menu-icon { display: flex; order: 2; } .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 70%; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); flex-direction: column; justify-content: center; padding: 2rem; transition: all 0.3s ease; } .nav-links.active { right: 0; } .menu-icon.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); } .menu-icon.active span:nth-child(2) { opacity: 0; } .menu-icon.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); } .hero h1 { font-size: 2rem; } .search-bar { padding: 0.8rem; } .gallery { padding: 1rem; } .gallery-grid { grid-template-columns: 1fr; gap: 1rem; } .footer { padding: 2rem 1rem; } .footer-content { grid-template-columns: 1fr; text-align: center; } .social-links { justify-content: center; } } .ai-visual { position: relative; width: 300px; height: 300px; display: flex; justify-content: center; align-items: center; } .head-silhouette { position: absolute; width: 100%; height: 100%; background: url('logo.png') no-repeat center center / contain; margin-bottom: 15px; background-size: contain; filter: drop-shadow(0 0 10px var(--primary-color)); animation: glow 2s ease-in-out infinite alternate; } .neural-glow { position: absolute; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(255, 77, 141, 0.2) 0%, transparent 70%); animation: pulse 3s ease-in-out infinite; } @keyframes glow { from { filter: drop-shadow(0 0 10px var(--primary-color)); } to { filter: drop-shadow(0 0 20px var(--primary-color)); } } @keyframes pulse { 0% { transform: scale(0.95); opacity: 0.5; } 50% { transform: scale(1.05); opacity: 0.8; } 100% { transform: scale(0.95); opacity: 0.5; } } /* Footer Styles */ .footer { background: rgba(10, 10, 10, 0.95); padding: 4rem 2rem 2rem; margin-top: 4rem; position: relative; overflow: hidden; } .footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary-color), transparent); } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; } .footer-section h3 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 1.2rem; } .footer-section p { color: rgba(255, 255, 255, 0.7); line-height: 1.6; } .footer-section a { display: block; color: rgba(255, 255, 255, 0.7); text-decoration: none; margin-bottom: 0.8rem; transition: color 0.3s ease; } .footer-section a:hover { color: var(--primary-color); } .footer-section i { margin-right: 0.5rem; } .social-links { display: flex; gap: 1rem; } .social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.3s ease; } .social-links a:hover { background: var(--primary-color); color: white; transform: translateY(-3px); } .footer-bottom { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); } /* Mobile Styles */ @media (max-width: 768px) { .navbar { padding: 1rem; justify-content: space-between; } .logo { order: 1; } .menu-icon { display: flex; order: 2; } .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 70%; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); flex-direction: column; justify-content: center; padding: 2rem; transition: all 0.3s ease; } .nav-links.active { right: 0; } .menu-icon.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); } .menu-icon.active span:nth-child(2) { opacity: 0; } .menu-icon.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); } .hero h1 { font-size: 2rem; } .search-bar { padding: 0.8rem; } .gallery { padding: 1rem; } .gallery-grid { grid-template-columns: 1fr; gap: 1rem; } .footer { padding: 2rem 1rem; } .footer-content { grid-template-columns: 1fr; text-align: center; } .social-links { justify-content: center; } }