* {
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --secondary: #7c3aed;
    --dark: #080b14;
    --dark-card: #111522;
    --text: #ffffff;
    --muted: #9ca3af;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, #172033 0%, #070910 55%);
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text);
}

.menu-wrapper {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    margin: auto;
    background:
        linear-gradient(180deg, #0b0f1a 0%, #080b12 100%);
    box-shadow:
        0 0 80px rgba(0, 212, 255, .08);
    overflow: hidden;
}


/* =========================
   HEADER
========================= */

.menu-header {
    height: 285px;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 50% 20%,
            rgba(0, 212, 255, .22),
            transparent 35%),
        linear-gradient(145deg,
            #07121c,
            #11162b 60%,
            #160e2c);
}

.menu-header::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 30%,
            rgba(255,255,255,.04) 50%,
            transparent 70%
        );
}

.header-content {
    position: relative;
    z-index: 5;

    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 92px;
    height: 92px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(145deg, #ffffff, #d9f9ff);

    font-size: 42px;

    box-shadow:
        0 0 0 7px rgba(0, 212, 255, .08),
        0 0 35px rgba(0, 212, 255, .35);

    margin-bottom: 15px;
}

.header-badge {
    padding: 5px 14px;

    border-radius: 50px;

    border: 1px solid rgba(0, 212, 255, .3);

    color: var(--primary);

    background: rgba(0, 212, 255, .06);

    font-size: 9px;
    letter-spacing: 2px;
}

.menu-header h1 {
    margin: 10px 0 3px;

    font-size: 26px;
    font-weight: 900;

    background:
        linear-gradient(90deg,
            #ffffff,
            #9beeff);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-header p {
    margin: 0;

    color: #aab3c5;
    font-size: 12px;
}

.header-glow {
    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    filter: blur(70px);
    opacity: .35;
}

.glow-one {
    background: #00d4ff;
    top: -100px;
    right: -50px;
}

.glow-two {
    background: #7c3aed;
    bottom: -100px;
    left: -50px;
}


/* =========================
   RESTAURANT INFO
========================= */

.restaurant-info {
    text-align: center;
    padding: 22px 25px 8px;
}

.restaurant-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 5px 12px;

    border-radius: 50px;

    background: rgba(34, 197, 94, .08);
    color: #4ade80;

    font-size: 10px;
}

.restaurant-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #4ade80;

    box-shadow:
        0 0 10px #4ade80;
}

.restaurant-info h2 {
    margin: 12px 0 6px;

    font-size: 18px;
    font-weight: 800;
}

.restaurant-info p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 2;
}


/* =========================
   REVIEW BUTTON
========================= */

.review-section {
    padding: 15px;
}

.review-main-btn {
    width: 100%;

    border: 1px solid rgba(0, 212, 255, .25);

    border-radius: 18px;

    padding: 14px 16px;

    display: flex;
    align-items: center;
    gap: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(0, 212, 255, .12),
            rgba(124, 58, 237, .12)
        );

    color: white;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .2),
        inset 0 0 20px rgba(255,255,255,.02);

    transition: .3s;
}

.review-main-btn:hover {
    transform: translateY(-2px);

    border-color: rgba(0, 212, 255, .6);

    box-shadow:
        0 10px 35px rgba(0, 212, 255, .15);
}

.review-icon {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 193, 7, .12);

    font-size: 20px;
}

.review-arrow {
    margin-right: auto;
    color: var(--primary);
}


/* =========================
   CATEGORIES
========================= */

.categories {
    padding: 5px 15px 30px;
}

.category {
    margin-bottom: 12px;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    box-shadow:
        0 8px 25px rgba(0,0,0,.2);

    backdrop-filter: blur(10px);
}

.category-header {
    width: 100%;

    border: 0;

    background: transparent;

    padding: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: white;

    cursor: pointer;

    font-family: inherit;
}

.category-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    width: 46px;
    height: 46px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            rgba(0,212,255,.15),
            rgba(124,58,237,.15)
        );

    border: 1px solid rgba(0,212,255,.15);

    font-size: 21px;

    box-shadow:
        0 0 20px rgba(0,212,255,.08);
}

.category-title {
    display: block;

    font-size: 14px;
    font-weight: 800;
}

.category-right small {
    display: block;

    margin-top: 2px;

    color: #667085;

    font-size: 8px;
    direction: ltr;
    text-align: right;
}

.arrow {
    color: #667085;

    font-size: 15px;

    transition: .3s;
}

.category.active .arrow {
    transform: rotate(180deg);
    color: var(--primary);
}


/* =========================
   CATEGORY CONTENT
========================= */

.category-content {
    display: grid;

    grid-template-rows: 0fr;

    transition: .4s ease;
}

.category.active .category-content {
    grid-template-rows: 1fr;
}

.category-inner {
    overflow: hidden;
    padding-top: 0;
}


/* =========================
   FOOD
========================= */

.food-item {
    margin: 0 10px 12px;

    padding: 10px;

    border-radius: 15px;

    background:
        rgba(255,255,255,.035);

    border: 1px solid rgba(255,255,255,.05);

    display: flex;
    align-items: center;
    gap: 12px;

    transition: .3s;
}

.food-item:hover {
    transform: translateY(-2px);

    border-color:
        rgba(0,212,255,.15);

    background:
        rgba(255,255,255,.05);
}

.food-image {
    width: 78px;
    height: 78px;

    border-radius: 13px;

    object-fit: cover;

    flex-shrink: 0;

    border: 1px solid rgba(255,255,255,.1);

    box-shadow:
        0 5px 20px rgba(0,0,0,.3);
}

.food-info {
    flex: 1;
    min-width: 0;
}

.food-top {
    display: flex;
    align-items: center;
    gap: 7px;
}

.food-name {
    font-size: 13px;
    font-weight: 800;
}

.food-tag {
    padding: 2px 6px;

    border-radius: 5px;

    background:
        rgba(124,58,237,.18);

    color: #b89cff;

    font-size: 8px;
}

.food-description {
    margin: 5px 0 8px;

    color: #858da0;

    font-size: 10px;

    line-height: 1.8;
}

.food-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.food-price {
    color: var(--primary);

    font-size: 13px;
    font-weight: 900;
}

.food-price small {
    color: #667085;

    font-size: 8px;
    font-weight: 500;
}

.add-btn {
    width: 31px;
    height: 31px;

    border: 0;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #00b8dc,
            #007cbd
        );

    color: white;

    font-size: 20px;

    cursor: pointer;

    box-shadow:
        0 0 15px rgba(0,212,255,.2);

    transition: .25s;
}

.add-btn:hover {
    transform: scale(1.08);

    box-shadow:
        0 0 25px rgba(0,212,255,.4);
}


/* =========================
   FOOTER
========================= */

.menu-footer {
    padding: 30px 20px;

    border-top: 1px solid rgba(255,255,255,.06);

    text-align: center;

    color: #667085;
}

.footer-logo {
    font-size: 25px;
    margin-bottom: 5px;
}

.menu-footer strong {
    display: block;

    color: #cbd5e1;

    font-size: 12px;
}

.menu-footer span {
    display: block;

    margin-top: 5px;

    font-size: 9px;
}


/* =========================
   REVIEW MODAL
========================= */

.modal-backdrop.show {
    opacity: .8;
}

.review-modal {
    border: 1px solid rgba(0,212,255,.15);

    border-radius: 24px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #111827,
            #090c14
        );

    color: white;

    box-shadow:
        0 30px 100px rgba(0,0,0,.7),
        0 0 50px rgba(0,212,255,.08);
}

.modal-header {
    padding: 22px;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.modal-label {
    color: var(--primary);

    font-size: 8px;

    letter-spacing: 2px;
}

.modal-title {
    margin-top: 5px;

    font-size: 17px;
    font-weight: 800;
}

.btn-close {
    filter: invert(1);

    opacity: .7;
}

.modal-body {
    padding: 22px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #cbd5e1;

    font-size: 11px;
    font-weight: 600;
}

.modern-input {
    width: 100%;

    border: 1px solid rgba(255,255,255,.09);

    border-radius: 12px;

    padding: 12px;

    outline: none;

    background:
        rgba(255,255,255,.045);

    color: white;

    font-family: inherit;

    font-size: 11px;

    transition: .25s;
}

.modern-input::placeholder {
    color: #60697a;
}

.modern-input:focus {
    border-color: rgba(0,212,255,.5);

    box-shadow:
        0 0 0 3px rgba(0,212,255,.06),
        0 0 20px rgba(0,212,255,.08);
}

select.modern-input option {
    background: #111827;
    color: white;
}

.modern-textarea {
    resize: vertical;
    min-height: 100px;
}


/* =========================
   STAR RATING
========================= */

.rating-group {
    text-align: center;
}

.star-rating {
    direction: rtl;

    display: flex;
    justify-content: center;
    gap: 3px;

    margin-top: 5px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    margin: 0;

    color: #343b4a;

    font-size: 34px;

    cursor: pointer;

    transition: .2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffc107;

    text-shadow:
        0 0 12px rgba(255,193,7,.55);
}


/* =========================
   SUBMIT
========================= */

.submit-review-btn {
    width: 100%;

    border: 0;

    border-radius: 14px;

    padding: 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background:
        linear-gradient(
            135deg,
            #00b8dc,
            #6d28d9
        );

    color: white;

    font-family: inherit;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0,212,255,.15);

    transition: .3s;
}

.submit-review-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(0,212,255,.25);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    body {
        background: #080b12;
    }

    .menu-wrapper {
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .review-modal {
        margin: 10px;
    }

}

.view-reviews-btn {
    border: 1px solid rgba(0, 212, 255, .18);
    border-radius: 10px;

    padding: 8px 10px;

    display: flex;
    align-items: center;
    gap: 5px;

    background: rgba(0, 212, 255, .06);

    color: #00d4ff;

    font-family: inherit;
    font-size: 9px;
    font-weight: 700;

    cursor: pointer;

    transition: .25s;
}

.view-reviews-btn:hover {
    background: rgba(0, 212, 255, .12);

    border-color: rgba(0, 212, 255, .4);

    box-shadow:
        0 0 15px rgba(0, 212, 255, .12);

    transform: translateY(-1px);
}