* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a12;
    color: white;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(10, 10, 20);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
    font-size: 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #9d4edd;
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
}

#intro {
    background: linear-gradient(135deg, #1a0b2e, #0d0519);
    text-align: center;
}

#intro h1 {
    font-size: 3rem;
    color: #9d4edd;
    margin-bottom: 20px;
}

#intro p {
    font-size: 1.3rem;
    max-width: 800px;
    line-height: 1.5;
    margin: 0 auto 15px;
}

.intro-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.intro-center-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-search-container.top-right {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 10;
    width: auto;
    max-width: 280px;
}

.intro-search-input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    border: 2px solid rgba(157, 78, 221, 0.5);
    background: rgba(10, 10, 18, 0.8);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.intro-search-input:focus {
    border-color: #9d4edd;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
}

.action-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
}

.start-btn, .info-btn {
    padding: 12px 35px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 55px;
    min-width: 220px;
    box-sizing: border-box;
    cursor: pointer;
    line-height: 1;
}

.start-btn {
    background: #9d4edd;
    color: white;
    border: 2px solid #9d4edd;
}

.start-btn:hover {
    background: #c77dff;
    border-color: #c77dff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
}

.info-btn {
    background: rgba(157, 78, 221, 0.1);
    backdrop-filter: blur(4px);
    border: 2px solid #9d4edd;
    color: white;
}

.info-btn:hover {
    background: #9d4edd;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}

.intro-music-controls.bottom-right {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 10;
    background: rgba(10, 10, 18, 0.6);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.intro-music-controls .music-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: white;
    transition: transform 0.2s ease, text-shadow 0.2s ease;
    line-height: 1;
    padding: 0;
}

.intro-music-controls .music-btn:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px #9d4edd;
}

.intro-volume-slider {
    width: 90px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
}

.intro-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9d4edd;
    cursor: pointer;
    transition: transform 0.2s;
}

.intro-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.intro-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9d4edd;
    cursor: pointer;
    border: none;
}

#kaede {
    position: relative;
    background: linear-gradient(135deg, #1a0b2e, #2d1b4e);
}

#kaede::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/note_bg.png');
    background-repeat: repeat;
    animation: moveBackground 80s linear infinite;
    z-index: 1;
}

#nijika {
    background-image: linear-gradient(135deg, #2e240b, #4e3d1b);
    position: relative;
}

#nijika::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/lightning_bg.png');
    background-repeat: repeat;
    animation: moveBackground 80s linear infinite;
    z-index: 1;
}

@keyframes moveBackground {
    from { background-position: 0 0; }
    to { background-position: 4000px 0; }
}

.content {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0 50px;
    align-items: center;
    position: relative;
}

.text {
    width: 45%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    z-index: 2;
}

#kaede .text {
    margin-right: auto;
    border-left: 5px solid #9d4edd;
}

#nijika .text {
    margin-left: auto;
    border-right: 5px solid #ffd000;
}

.text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.character {
    position: absolute;
    height: 95vh;
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

#kaede .character {
    right: 0;
    bottom: 0;
    justify-content: flex-end;
}

#nijika .character {
    left: 0;
    bottom: 0;
    justify-content: flex-start;
}

.character img {
    height: 95vh;
    filter: 
        drop-shadow(0 10px 15px rgba(157, 78, 221, 0.4))
        drop-shadow(0 -5px 25px rgba(157, 78, 221, 0.2));
    transition: transform 0.5s ease, filter 0.5s ease;
    transform-origin: center bottom;
}

#nijika .character img {
    filter: 
        drop-shadow(0 10px 15px rgba(255, 208, 0, 0.4))
        drop-shadow(0 -5px 25px rgba(255, 208, 0, 0.2));
}

#kaede .character:hover img {
    transform: translateX(-10px) translateY(10px) scale(1.02);
    filter: 
        drop-shadow(0 20px 25px rgba(157, 78, 221, 0.6))
        drop-shadow(0 -10px 35px rgba(157, 78, 221, 0.3));
}

#nijika .character:hover img {
    transform: translateX(10px) translateY(10px) scale(1.02);
    filter: 
        drop-shadow(0 20px 25px rgba(255, 208, 0, 0.6))
        drop-shadow(0 -10px 35px rgba(255, 208, 0, 0.3));
}

.section-enter-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #9d4edd;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s;
}

.section-enter-btn:hover {
    background: #c77dff;
}

.section-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.section-nav.top {
    top: 0;
    height: 6vh;
    align-items: flex-start;
    padding-top: 10px;
}

.section-nav.bottom {
    bottom: 0;
    height: 6vh;
    align-items: flex-end;
    padding-bottom: 10px;
}

.section-nav-btn {
    width: 20vw;
    height: 6vh;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.8), rgba(20, 20, 30, 0.9));
    border-color: #9d4edd;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.section-nav-btn:hover {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.95), rgba(20, 20, 30, 1));
    border-color: #c77dff;
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

#nijika .section-nav-btn {
    background: linear-gradient(135deg, rgba(255, 208, 0, 0.8), rgba(50, 40, 10, 0.9));
    border-color: #ffd000;
    box-shadow: 0 4px 15px rgba(255, 208, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

#nijika .section-nav-btn:hover {
    background: linear-gradient(135deg, rgba(255, 208, 0, 0.95), rgba(50, 40, 10, 1));
    border-color: #ffea00;
    box-shadow: 0 6px 20px rgba(255, 208, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

#nijika .section-nav {
    justify-content: flex-end;
}

.context-menu-k {
    position: fixed;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #9d4edd;
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(157, 78, 221, 0.3);
    z-index: 10000;
    min-width: 260px;
    transform: translate(10px, 10px); 
}

.context-menu-n {
    position: fixed;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #cfc100;
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(157, 78, 221, 0.3);
    z-index: 10000;
    min-width: 260px;
    transform: translate(10px, 10px); 
}

.context-menu-item-k, .context-menu-item-n {
    display: block;
    width: 100%;
    padding: 20px 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border-left: 3px solid transparent;
    font-family: inherit;
}

.context-menu-item-k:hover {
    background: rgba(157, 78, 221, 0.3);
    border-left-color: #9d4edd;
    color: #fff;
}

.context-menu-item-k:active {
    background: rgba(157, 78, 221, 0.5);
}

.context-menu-item-n:hover {
    background: rgba(221, 200, 78, 0.3);
    border-left-color: #ddcf4e;
    color: #fff;
}

.context-menu-item-n:active {
    background: rgba(221, 212, 78, 0.5);
}

.loading-subtext {
    font-size: 1rem;
    opacity: 0.6;
    margin-top: 10px;
}

.intro-auth-container {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
}

.auth-btn {
    background: rgba(157, 78, 221, 0.2);
    border: 2px solid #9d4edd;
    border-radius: 40px;
    padding: 8px 20px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.auth-btn:hover {
    background: #9d4edd;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
}

.logout-btn {
    background: rgba(200, 50, 50, 0.3);
    border-color: #cc4444;
}

.logout-btn:hover {
    background: #cc4444;
    border-color: #cc4444;
}

.auth-user {
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    background: rgba(157, 78, 221, 0.3);
    padding: 8px 18px;
    border-radius: 40px;
}

.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30000;
    animation: fadeIn 0.3s ease;
}

.auth-modal {
    background: #1a1a2e;
    border-radius: 24px;
    padding: 40px 35px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 0 2px rgba(157,78,221,0.4);
    position: relative;
    color: #fff;
    animation: slideUp 0.3s ease;
}

.auth-modal h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #9d4edd;
    font-size: 1.8rem;
}

.auth-modal label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 500;
    color: #ccc;
}
.auth-modal input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 30px;
    border: 1px solid #333;
    background: #0d0d1a;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

.auth-modal input:focus {
    border-color: #9d4edd;
}

.auth-submit {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: #9d4edd;
    border: none;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-submit:hover {
    background: #c77dff;
}

.auth-error {
    color: #ff6b6b;
    margin-top: 12px;
    text-align: center;
    font-size: 0.95rem;
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s;
}

.auth-modal-close:hover {
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.intro-search-container {
    position: relative;
    margin: 20px auto 10px;
    width: 100%;
    max-width: 480px;
}

.auth-warning {
    font-size: 0.85rem;
    color: #ffaa66;
    margin: 6px 0 12px;
    background: rgba(255, 170, 102, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    border-left: 3px solid #ffaa66;
}

.sidebar-auth {
    padding: 12px 0 16px;
    margin: 0 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-user {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.sidebar-username {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    padding: 4px 0;
}

.sidebar-auth .auth-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid rgba(157, 78, 221, 0.4);
    border-radius: 40px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
}

.sidebar-auth .auth-btn:hover {
    background: rgba(157, 78, 221, 0.4);
}

.sidebar-auth .profile-btn {
    background: rgba(157, 78, 221, 0.25);
    border-color: #9d4edd;
}

.sidebar-auth .profile-btn:hover {
    background: rgba(157, 78, 221, 0.5);
}

.sidebar-auth .logout-btn {
    background: rgba(200, 50, 50, 0.2);
    border-color: #cc4444;
}

.sidebar-auth .logout-btn:hover {
    background: #cc4444;
    border-color: #cc4444;
}

.sidebar-auth .sidebar-login,
.sidebar-auth .sidebar-register {
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.4);
}

.sidebar-auth .sidebar-login:hover,
.sidebar-auth .sidebar-register:hover {
    background: rgba(157, 78, 221, 0.4);
}

#profileTopLeft {
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 2001;
}

.profile-top-btn {
    background: rgba(157, 78, 221, 0.2);
    border: 2px solid #9d4edd;
    border-radius: 40px;
    padding: 8px 20px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(4px);
    display: inline-block;
}

.profile-top-btn:hover {
    background: #9d4edd;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
}

.index-page #profileTopLeft {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.intro-content {
    position: relative;
}

#rotate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.rotate-message {
    max-width: 400px;
    animation: fadeIn 0.5s ease;
}

.rotate-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    animation: rotateIcon 2s infinite ease-in-out;
}

.rotate-message h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #9d4edd;
}

.rotate-message p {
    font-size: 1.2rem;
    opacity: 0.8;
}

@keyframes rotateIcon {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(90deg); }
    100% { transform: rotate(0deg); }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
        overflow-x: hidden;
    }

    .section {
        height: 100vh;
        min-height: 100vh;
        scroll-snap-align: start;
    }

    #intro h1 {
        font-size: 2rem;
    }
    #intro p {
        font-size: 1rem;
        max-width: 90%;
    }
    .intro-center-block {
        padding: 0 20px;
    }
    .intro-search-container {
        max-width: 100%;
    }
    .intro-search-input {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    .intro-auth-container {
        top: 15px;
        right: 15px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .intro-auth-container .auth-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .intro-music-controls.bottom-right {
        bottom: 15px;
        right: 15px;
        padding: 8px 14px;
        gap: 8px;
    }
    .intro-music-controls .music-btn {
        font-size: 1.2rem;
    }
    .intro-volume-slider {
        width: 60px;
    }
    .action-buttons-vertical {
        gap: 10px;
    }
    .start-btn, .info-btn {
        font-size: 1rem;
        padding: 10px 20px;
        height: 48px;
        min-width: 160px;
    }

    .content {
        flex-direction: column;
        padding: 20px 15px;
        justify-content: center;
        height: 100%;
    }
    .text {
        width: 100%;
        padding: 20px;
        margin: 0;
        order: 2;
        background: rgba(0,0,0,0.7);
        border-radius: 12px;
    }
    #kaede .text {
        border-left: 3px solid #9d4edd;
        margin-right: 0;
    }
    #nijika .text {
        border-right: 3px solid #ffd000;
        margin-left: 0;
    }
    .text h2 {
        font-size: 1.6rem;
    }
    .text p {
        font-size: 1rem;
        line-height: 1.4;
    }
    .character {
        position: relative;
        height: 40vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        order: 1;
        margin-bottom: 0;
    }
    #kaede .character {
        right: auto;
        bottom: auto;
        justify-content: center;
    }
    #nijika .character {
        left: auto;
        bottom: auto;
        justify-content: center;
    }
    .character img {
        height: 100%;
        max-height: 40vh;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 5px 10px rgba(157,78,221,0.3));
    }
    #nijika .character img {
        filter: drop-shadow(0 5px 10px rgba(255,208,0,0.3));
    }

    .section-nav {
        padding: 0 10px;
    }
    .section-nav.top, .section-nav.bottom {
        height: 5vh;
    }
    .section-nav-btn {
        width: 40vw;
        height: 5vh;
        font-size: 0.8rem;
        padding: 4px 8px;
        border-radius: 6px;
        letter-spacing: 0.5px;
    }
    #nijika .section-nav {
        justify-content: flex-end;
    }

    .context-menu-k, .context-menu-n {
        min-width: 200px;
        padding: 8px 0;
        font-size: 0.9rem;
    }
    .context-menu-item-k, .context-menu-item-n {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .novel-dialog {
        width: 92vw;
        bottom: 16px;
        padding: 16px 20px;
        min-height: 25vh;
        border-radius: 16px;
    }
    .novel-text {
        font-size: 2.8vh;
    }
    .novel-character {
        width: 70vw;
        right: 0;
        bottom: 0;
        height: 80vh;
    }
    .novel-sprite {
        transform: scale(1);
        transform-origin: bottom right;
    }
    .novel-choice-btn {
        font-size: 1rem;
        padding: 10px 18px;
    }
    .novel-close {
        top: 12px;
        right: 16px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .profile-container {
        padding: 20px;
    }
    .profile-card {
        padding: 20px;
        width: 100%;
    }
    .profile-card h1 {
        font-size: 1.8rem;
    }
    .profile-actions {
        flex-direction: column;
        gap: 12px;
    }
    .profile-actions .auth-btn {
        width: 100%;
        text-align: center;
    }
}

.profile-top-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(157, 78, 221, 0.2);
    border: 2px solid #9d4edd;
    border-radius: 40px;
    padding: 6px 16px 6px 6px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    cursor: pointer;
}
.profile-top-btn:hover {
    background: #9d4edd;
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(157,78,221,0.4);
}
.profile-top-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1a2e;
    flex-shrink: 0;
}
.profile-top-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-top-name {
    font-size: 0.95rem;
}

.intro-search-container.top-right {
    position: absolute;
    top: 10px;
    right: 40px;
    z-index: 10;
    width: 280px;
    max-width: 100%;
}

.intro-search-input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 50px;
    border: 2px solid rgba(157, 78, 221, 0.5);
    background: rgba(10, 10, 18, 0.8);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.intro-search-input:focus {
    border-color: #9d4edd;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
}

@media (max-width: 768px) {
    .intro-search-container.top-right {
        top: 70px;
        right: 20px;
        width: 200px;
    }
    .intro-search-input {
        font-size: 0.9rem;
        padding: 8px 14px;
    }
}