diff --git a/src/components/splashscreen/SplashScreen.css b/src/components/splashscreen/SplashScreen.css index 7040ad2..ef16103 100644 --- a/src/components/splashscreen/SplashScreen.css +++ b/src/components/splashscreen/SplashScreen.css @@ -1,22 +1,58 @@ /* Base styles */ body { margin: 0; + padding: 0; + overflow-x: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background-color: #0a0a0a; color: white; } +html { + margin: 0; + padding: 0; + overflow-x: hidden; + height: 100%; + width: 100%; +} + /* Container and background */ .splash-container { min-height: 100vh; - width: 100%; - position: relative; - background: url('/splash.jpg') no-repeat center center fixed; - background-size: cover; + width: 100vw; + position: fixed; + background: url('/splash.jpg'); + background-position: center; + background-repeat: no-repeat; + background-size: 100% auto; display: flex; justify-content: center; align-items: flex-start; padding: 0 30px; + overflow: auto; + margin: 0; + left: 0; + top: 0; +} + +@media (max-width: 768px) { + .splash-container { + background-size: auto 100vh; + background-position: center center; + } +} + +@media (max-width: 480px) { + .splash-container { + background-size: auto 100%; + padding: 0 15px; + } +} + +@media (max-width: 360px) { + .splash-container { + background-position: 50% 50%; + } } .splash-overlay { @@ -109,6 +145,21 @@ body { backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); + display: flex; + align-items: center; + gap: 8px; +} + +.enter-button .angle-icon { + font-size: 0.9em; + width: 8px; + transition: transform 0.2s ease; + opacity: 0.8; +} + +.enter-button:hover .angle-icon { + transform: translateX(4px); + opacity: 1; } .enter-button:hover { @@ -138,11 +189,10 @@ body { } .faq-item { - background: rgba(255, 255, 255, 0.03); + background: #1a1a1a; border-radius: 12px; overflow: hidden; - border: 1px solid rgba(255, 255, 255, 0.1); - backdrop-filter: blur(8px); + border: 1px solid #333; } .faq-question { @@ -161,12 +211,12 @@ body { } .faq-question:hover { - background: rgba(255, 255, 255, 0.05); + background: #252525; } .faq-toggle { font-size: 16px; - color: rgba(255, 255, 255, 0.7); + color: #999; transition: all 0.2s ease; } @@ -177,19 +227,30 @@ body { .faq-answer { padding: 0 24px 18px; - color: rgba(255, 255, 255, 0.7); + color: #999; line-height: 1.6; font-size: 15px; } /* Responsive adjustments */ +@media (max-width: 1024px) { + .content-wrapper { + padding-top: 120px; + max-width: 700px; + } +} + @media (max-width: 768px) { .content-wrapper { - padding-top: 100px; + padding: 100px 20px 0; + } + + .logo-container { + margin-top: 40px; } .logo { - height: 60px; + height: 65px; } .search-input { @@ -201,15 +262,23 @@ body { font-size: 24px; margin-bottom: 24px; } + + .splash-container { + padding: 0 15px; + } } @media (max-width: 480px) { .content-wrapper { - padding-top: 80px; + padding: 60px 15px 0; + } + + .logo-container { + margin-top: 50px; } .logo { - height: 50px; + height: 55px; } .search-input { @@ -220,15 +289,50 @@ body { .enter-button { padding: 10px 20px; font-size: 14px; + margin: 8px 0 40px; } .faq-question { - padding: 16px; + padding: 14px; font-size: 15px; } .faq-answer { - padding: 0 16px 16px; + padding: 0 14px 14px; font-size: 14px; } + + .splash-container { + padding: 0 10px; + } +} + +@media (max-width: 360px) { + .content-wrapper { + padding: 40px 10px 0; + } + + .logo-container { + margin-top: 60px; + } + + .logo { + height: 50px; + } + + .search-input { + padding: 10px 32px 10px 12px; + font-size: 13px; + } + + .enter-button { + padding: 8px 16px; + font-size: 13px; + margin: 8px 0 30px; + } + + .faq-title { + font-size: 20px; + margin-bottom: 20px; + } } diff --git a/src/components/splashscreen/SplashScreen.jsx b/src/components/splashscreen/SplashScreen.jsx index b060ae0..55e52b6 100644 --- a/src/components/splashscreen/SplashScreen.jsx +++ b/src/components/splashscreen/SplashScreen.jsx @@ -4,6 +4,7 @@ import "./SplashScreen.css"; import logoTitle from "@/src/config/logoTitle"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faMagnifyingGlass, faChevronDown } from "@fortawesome/free-solid-svg-icons"; +import { faAngleRight } from "@fortawesome/free-solid-svg-icons"; const FAQ_ITEMS = [ { @@ -72,7 +73,7 @@ function SplashScreen() { - Enter Homepage → + Enter Homepage