@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #001f3f, #000000); /* Navy to black */
    color: #fff;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: flickerBackground 6s infinite ease-in-out;
}

.container {
    text-align: center;
    animation: fadeIn 2s ease forwards;
}

/* Patriotic Title Glow */
.title {
    font-size: 4rem;
    font-weight: 700;
    text-shadow:
        0 0 10px #ff4136,   /* Red */
        0 0 20px #0074D9,   /* Blue */
        0 0 30px #ffffff;   /* White */
}

/* Fireworks Flicker Background */
@keyframes flickerBackground {
    0%, 100% { background: linear-gradient(135deg, #001f3f, #000000); }
    10% { background: linear-gradient(135deg, #003366, #111111); }
    20% { background: linear-gradient(135deg, #0074D9, #000); }
    25% { background: linear-gradient(135deg, #ff4136, #000022); }
    30%, 90% { background: linear-gradient(135deg, #001f3f, #000000); }
}

/* Electric Dot */
.dot {
    color: #ff4136; /* Red */
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(25, 25, 25, 0.9);
    padding: 10px;
    width: 60px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 116, 217, 0.9); /* Blue glow */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar button {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #ffffff;
    margin: 10px 0;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: 0 0 6px #0074D9;
}

.sidebar button:hover {
    color: #ffdc00; /* Yellow accent hover */
}

.sidebar-info {
    margin-top: 10px;
    font-size: 1rem;
    color: white;
    text-shadow: 0 0 5px #0074D9;
}

/* Inputs with red/blue glow */
input[type="text"] {
    padding: 12px;
    width: 300px;
    border: none;
    border-radius: 25px;
    background: rgba(25, 25, 25, 0.9);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    box-shadow: 0 0 8px rgba(0, 116, 217, 0.4); /* Blue */
}

input[type="text"]:focus {
    background: rgba(35, 35, 35, 0.95);
    box-shadow: 0 0 12px rgba(255, 65, 54, 0.9); /* Red */
}

/* Buttons */
button {
    margin-top: 15px;
    padding: 10px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    background: #0074D9; /* Blue */
    color: white;
    cursor: pointer;
    transition: 0.3s;
    animation: wave 3s infinite;
}

button:hover {
    background: #ff4136; /* Red hover */
}

/* Footer Glow */
.footer {
    position: fixed;
    bottom: 10px;
    right: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 5px #0074D9;
}

/* Animations */
@keyframes wave {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
