@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-dark: #9d7a2e;
    --dark: #0d0d0d;
    --dark-2: #1a1a1a;
    --dark-3: #242424;
    --text: #f0ece3;
    --text-muted: #9a9285;
    --radius: 16px;
    --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    line-height: 1.6;
}

/* ─── COMING SOON PAGE ─── */
.cs-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 100%, rgba(201,168,76,0.08) 0%, transparent 50%),
                var(--dark);
}

.cs-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cs-logo-wrap {
    margin-bottom: 2rem;
    animation: fadeDown 0.8s ease forwards;
}

.cs-logo-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(201,168,76,0.08);
    font-size: 2.5rem;
    box-shadow: 0 0 40px rgba(201,168,76,0.2), inset 0 0 20px rgba(201,168,76,0.05);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 40px rgba(201,168,76,0.2), inset 0 0 20px rgba(201,168,76,0.05); }
    50% { box-shadow: 0 0 70px rgba(201,168,76,0.4), inset 0 0 30px rgba(201,168,76,0.1); }
}

.cs-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.cs-tagline {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    animation: fadeUp 0.8s 0.2s ease both;
}

.cs-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 2rem auto;
    animation: fadeIn 1s 0.4s ease both;
}

.cs-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 400;
    color: var(--text);
    margin-bottom: 1rem;
    animation: fadeUp 0.8s 0.3s ease both;
}

.cs-headline span {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cs-description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    animation: fadeUp 0.8s 0.4s ease both;
}

.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    animation: fadeUp 0.8s 0.5s ease both;
}

.cs-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.cs-footer {
    position: absolute;
    bottom: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.5;
}

/* ─── MENU PAGE ─── */
.menu-wrapper {
    min-height: 100vh;
    background: var(--dark);
    padding-bottom: 4rem;
}

.menu-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,13,13,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.15);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-header-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(201,168,76,0.08);
    flex-shrink: 0;
}

.menu-header-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
}

.menu-header-text p {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.menu-content {
    padding: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.menu-image-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.15);
    box-shadow: var(--shadow);
    background: var(--dark-2);
    animation: fadeUp 0.6s ease forwards;
}

.menu-image-card img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.menu-image-card img:active {
    transform: scale(1.02);
}

.menu-no-image {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}

.menu-no-image .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

/* ─── ADMIN PAGE ─── */
.admin-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.1) 0%, transparent 60%),
                var(--dark);
}

.admin-box {
    background: var(--dark-2);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow);
    animation: fadeUp 0.6s ease;
}

.admin-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-logo .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.admin-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
}

.admin-logo p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.btn {
    display: block;
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0d0d0d;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.35);
}

.btn-gold:active { transform: translateY(0); }

.btn-danger {
    background: rgba(220,50,50,0.15);
    border: 1px solid rgba(220,50,50,0.3);
    color: #ff7070;
    margin-top: 0.75rem;
}

.btn-danger:hover {
    background: rgba(220,50,50,0.25);
}

.alert {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
}

.alert-success {
    background: rgba(50,200,100,0.1);
    border: 1px solid rgba(50,200,100,0.3);
    color: #6be89a;
}

.alert-error {
    background: rgba(220,50,50,0.1);
    border: 1px solid rgba(220,50,50,0.3);
    color: #ff8080;
}

.current-menu {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201,168,76,0.15);
}

.current-menu h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.current-menu img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(201,168,76,0.15);
    display: block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.upload-area {
    position: relative;
    border: 2px dashed rgba(201,168,76,0.3);
    border-radius: 10px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(201,168,76,0.02);
}

.upload-area:hover {
    border-color: var(--gold);
    background: rgba(201,168,76,0.06);
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-area .u-icon { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.upload-area p { font-size: 0.85rem; color: var(--text-muted); }
.upload-area strong { color: var(--gold-light); }

.admin-panel {
    padding: 1.5rem;
    max-width: 540px;
    margin: 0 auto;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.admin-topbar h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--gold-light);
}

.logout-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.logout-link:hover { color: var(--text); }

/* ─── ANIMATIONS ─── */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
    .admin-box { padding: 2rem 1.25rem; }
    .menu-content { padding: 1rem; }
}
