/* GLOBAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(#0d1b3d, #1e325c);
    color: white;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 17px;
}

.nav-links a:hover {
    color: #ffcc00;
}

.signup-btn {
    background: #ffcc00;
    color: #0d1b3d !important;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: bold;
}

/* HERO */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.search-container {
    text-align: center;
    z-index: 10;
}

.search-bar {
    width: 360px;
    padding: 15px;
    font-size: 18px;
    border-radius: 40px;
    border: none;
    outline: none;
}

/* ANIMATIONS (OLD — kept for compatibility) */
.wizard-orbit {
    width: 220px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbitAroundSearch 10s linear infinite;
    pointer-events: none;
}

/* ⭐ NEW PERFECT ORBIT ANIMATION — FIXED */
@keyframes orbitAroundSearch {
    0%   { transform: translate(-50%, -50%) rotate(0deg) translateX(220px) rotate(0deg); }
    25%  { transform: translate(-50%, -50%) rotate(90deg) translateX(220px) rotate(-90deg); }
    50%  { transform: translate(-50%, -50%) rotate(180deg) translateX(220px) rotate(-180deg); }
    75%  { transform: translate(-50%, -50%) rotate(270deg) translateX(220px) rotate(-270deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(220px) rotate(-360deg); }
}

/* GIFTS */
.gift-bounce {
    width: 180px;
    position: absolute;
    left: 10%;
    top: 35%;
    animation: giftBounce 10s infinite;
}

@keyframes giftBounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* MAGICAL POPUP */
.magic-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
}

.magic-box {
    position: relative;
    width: 360px;
    margin: 8% auto;
    padding: 30px;
    text-align: center;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    box-shadow: 0 0 35px rgba(255,204,0,0.6);
}

.magic-logo {
    font-size: 32px;
    background: linear-gradient(90deg,#ffcc00,#fff,#ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.magic-tagline {
    font-size: 14px;
    color: #d6e0ff;
    margin-bottom: 20px;
}

.magic-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.magic-tabs button {
    flex: 1;
    background: transparent;
    border: 1px solid #ffcc00;
    color: #ffcc00;
    padding: 8px;
    border-radius: 20px;
    cursor: pointer;
}

.magic-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 30px;
    border: none;
}

.magic-form button {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    background: linear-gradient(90deg,#ffcc00,#fff);
    border: none;
    font-weight: bold;
}

.magic-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* ⭐ SEARCH BAR GLOW FIX — EXACTLY LIKE YOUR IMAGE 2 */
.search-bar {
    background: #ffffff;
    transition: box-shadow 0.3s ease-in-out, background 0.3s;
}
.search-bar:hover {
    box-shadow: 0 0 25px #ffd84f, 0 0 45px rgba(255, 218, 79, 0.6);
}
.search-bar:focus {
    box-shadow: 0 0 35px #ffd84f, 0 0 60px rgba(255, 218, 79, 0.7);
}

