:root {
    --bg-dark: #263452;
    --accent: #0ea5e9;
    --accent-dark: #0369a1;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}
.shape-1 {
    width: 400px; height: 400px;
    background: var(--accent);
    top: -100px; right: -100px;
}
.shape-2 {
    width: 300px; height: 300px;
    background: #6366f1;
    bottom: -50px; left: -50px;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card */
.analyzer-card {
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Form Controls */
.form-control {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    padding: 1.2rem;
    transition: all 0.3s ease;
}
.form-control:focus {
    background: rgba(18, 18, 18, 0.3);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
    color: #fff;
}
.form-control::placeholder {
    color: #9ca3af;   /* change to any color you like */
    opacity: 1;       /* ensures full visibility in all browsers */
}

/* Result Box */
.result-box {
    background: rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--accent);
}

/* Animations */
.animate-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#btnAnalyze {
    transition: transform 0.2s, box-shadow 0.2s;
}
#btnAnalyze:active {
    transform: scale(0.98);
}
.emotion-chip {
    cursor: pointer;
    font-size: 0.95rem;
    opacity: 0.85;
    transition: all 0.2s ease;
    user-select: none;
}

.emotion-chip:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.emotion-chip {
    transition: all 0.2s ease;
    border-radius: 999px;
}

.emotion-chip:hover {
    transform: translateY(-2px);
}
