@font-face {
    font-family: 'Luckybones';
    src: url('../assets/Luckybones-Bold.otf') format('opentype');
}

:root {
    --brume: #C2F2E4;
    --menthe: #35C8B4;
    --limonade: #EDF7BE;
    --verveine: #A4CF4A;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--brume) 0%, var(--menthe) 100%);
    color: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.brand-font {
    font-family: 'Luckybones', sans-serif;
    color: var(--menthe);
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    font-size: 2.5em;
    margin: 0.2em 0;
}

/* UI Container */
#app {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    box-sizing: border-box;
}

/* Glassmorphism Card */
.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.logo-container {
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.logo-stamp {
    width: 80px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Inputs and Buttons */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--brume);
    border-radius: 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
    font-size: 1em;
}

input:focus, select:focus {
    border-color: var(--menthe);
    outline: none;
    box-shadow: 0 0 0 3px rgba(194, 242, 228, 0.5); /* brume wrapper */
}

.btn {
    background: linear-gradient(135deg, var(--verveine) 0%, var(--menthe) 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(53, 200, 180, 0.4);
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(53, 200, 180, 0.5);
}

.link {
    color: var(--menthe);
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}
.link:hover { text-decoration: underline; }

.hidden { display: none !important; }

/* Dashboard specifics */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--brume);
    padding-bottom: 15px;
}
.header .brand-font {
    font-size: 1.8em;
}
.btn-sm {
    padding: 8px 12px;
    font-size: 0.85em;
    width: auto;
    margin: 0;
}

.control-panel {
    background: var(--limonade);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}
.control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.slider {
    width: 100%;
}
.joystick-container {
    background: #eef8db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 20px auto;
    position: relative;
    border: 4px solid var(--verveine);
}
.joystick-knob {
    width: 40px;
    height: 40px;
    background: var(--menthe);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
