:root {
    --bg: linear-gradient(135deg, #667eea, #764ba2);
    --card: rgba(255, 255, 255, 0.12);
    --border: rgba(255,255,255,0.2);
    --text: #ffffff;
    --accent1: #ff6ec7;
    --accent2: #00d4ff;
    --shadow: rgba(0,0,0,0.4);
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
}

header {
    text-align: center;
    padding: 30px;
}

main {
    max-width: 850px;
    margin: 30px auto;
    padding: 15px;
}

section {
    background: var(--card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px var(--shadow);
    transition: 0.3s;
}

section:hover {
    transform: translateY(-8px);
}

h2 {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

input, select {
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: white;
}

button {
    background: linear-gradient(45deg, var(--accent1), var(--accent2));
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-box {
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 10px;
}

/* =========================
   BACK BUTTON (3D GLASS)
========================= */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;
    border-radius: 12px;

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);

    color: white;
    font-size: 14px;
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: 0.3s ease;

    z-index: 999;
}

.back-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.back-btn:active {
    transform: scale(0.98);
}