/* ==========================================================================
   MALIKA'S GARDEN - ORIENTAL LUXURY THEME
   Obsidian Dark & Radiant Imperial Gold (#D4AF37)
   Kurfürstendamm 129b, 10711 Berlin
   Optimized for Desktop & iPhone 14 / Mobile Displays
   ========================================================================== */

:root {
    /* Color Palette */
    --mg-bg-darkest: #070709;
    --mg-bg-body: #0c0c0f;
    --mg-bg-surface: #141419;
    --mg-bg-card: #18171f;
    --mg-bg-card-hover: #22202c;
    --mg-bg-translucent: rgba(18, 18, 23, 0.92);
    --mg-bg-glass: rgba(22, 21, 28, 0.85);

    /* Gold Accents */
    --mg-gold-light: #f6e49d;
    --mg-gold-primary: #d4af37;
    --mg-gold-dark: #aa7a1e;
    --mg-gold-deep: #7a540f;
    --mg-gold-gradient: linear-gradient(135deg, #f7e6a4 0%, #d4af37 50%, #9b6c16 100%);
    --mg-gold-gradient-hover: linear-gradient(135deg, #fff2c4 0%, #e0bd49 50%, #b27f1f 100%);
    --mg-gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
    --mg-gold-glow-subtle: 0 4px 15px rgba(212, 175, 55, 0.15);
    --mg-gold-border: 1px solid rgba(212, 175, 55, 0.3);
    --mg-gold-border-bright: 1px solid rgba(212, 175, 55, 0.65);

    /* Text Colors */
    --mg-text-main: #f0f0f4;
    --mg-text-muted: #a6a5b3;
    --mg-text-subtle: #797886;
    --mg-text-gold: #e5c358;

    /* Typography */
    --mg-font-display: 'Cinzel', 'Marcellus', serif;
    --mg-font-serif: 'Marcellus', serif;
    --mg-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions & Radii */
    --mg-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --mg-radius-sm: 4px;
    --mg-radius-md: 10px;
    --mg-radius-lg: 16px;
    --mg-radius-arch: 140px 140px 12px 12px;
}

/* Base Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Custom Imperial Gold Scrollbars (Professional, in-set, never hidden deep) */
* {
    scrollbar-width: thin;
    scrollbar-color: #d4af37 rgba(18, 17, 24, 0.95);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(14, 14, 19, 0.95);
    border-radius: 4px;
    margin: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37 0%, #a67c1e 100%);
    border-radius: 4px;
    border: 1px solid rgba(8, 8, 12, 0.6);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f6e49d 0%, #d4af37 100%);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--mg-bg-body);
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--mg-bg-body);
    color: var(--mg-text-main);
    font-family: var(--mg-font-sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

/* Subtle Moroccan geometric background watermark */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
                      radial-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--mg-gold-primary);
    text-decoration: none;
    transition: var(--mg-transition);
}

a:hover {
    color: var(--mg-gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
}

/* Container */
.mg-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.mg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 24px;
    font-family: var(--mg-font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: var(--mg-radius-sm);
    cursor: pointer;
    transition: var(--mg-transition);
    border: none;
    outline: none;
    text-align: center;
    min-height: 44px; /* Touch target safe for iOS */
}

.mg-btn-gold {
    background: var(--mg-gold-gradient);
    color: #0b0a08;
    box-shadow: var(--mg-gold-glow-subtle);
}

.mg-btn-gold:hover {
    background: var(--mg-gold-gradient-hover);
    color: #000;
    box-shadow: var(--mg-gold-glow);
    transform: translateY(-2px);
}

.mg-btn-outline-gold {
    background: transparent;
    color: var(--mg-gold-primary);
    border: 1px solid var(--mg-gold-primary);
}

.mg-btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #fff;
    border-color: var(--mg-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--mg-gold-glow-subtle);
}

.mg-btn-ghost {
    background: transparent;
    color: var(--mg-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mg-btn-ghost:hover {
    color: var(--mg-gold-primary);
    border-color: var(--mg-gold-primary);
}

.mg-btn-lg {
    padding: 14px 32px;
    font-size: 0.9rem;
    min-height: 48px;
}

.mg-btn-sm {
    padding: 8px 16px;
    font-size: 0.78rem;
    min-height: 38px;
}

.mg-btn-block, .mg-btn-full {
    width: 100%;
}

.mg-link-gold {
    color: var(--mg-gold-primary);
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mg-link-gold:hover {
    color: var(--mg-gold-light);
    text-decoration: underline;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.mg-topbar {
    background-color: var(--mg-bg-darkest);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 0.8rem;
    color: var(--mg-text-muted);
    padding: 8px 0;
    position: relative;
    z-index: 100;
}

.mg-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mg-topbar-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mg-topbar-info i {
    color: var(--mg-gold-primary);
    margin-right: 4px;
}

.mg-topbar-phone {
    color: var(--mg-text-main);
    font-weight: 500;
}

.mg-topbar-phone:hover {
    color: var(--mg-gold-primary);
}

.mg-separator-dot {
    color: rgba(212, 175, 55, 0.4);
}

.mg-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mg-topbar-whatsapp {
    color: #25d366;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mg-topbar-whatsapp:hover {
    color: #48e280;
}

.mg-topbar-insta {
    color: var(--mg-gold-primary);
    font-size: 0.95rem;
}

.mg-topbar-insta:hover {
    color: #f00075;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (DESKTOP OPTIMIZED)
   ========================================================================== */
.mg-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(12, 12, 15, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 990;
    transition: var(--mg-transition);
}

.mg-header.is-scrolled {
    background-color: rgba(7, 7, 9, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border-bottom-color: rgba(212, 175, 55, 0.4);
}

.mg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 20px;
}

/* Prominent Majestic Logo on Desktop */
.mg-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mg-brand-logo {
    height: 64px; /* Prominent and prestigious */
    max-width: 240px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
    transition: var(--mg-transition);
}

.mg-brand:hover .mg-brand-logo {
    transform: scale(1.02);
}

/* Refined, Sleek Desktop Navigation */
.mg-nav-desktop {
    display: block;
}

.mg-nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

.mg-nav-link {
    color: #d8d8e6;
    font-size: 0.8rem; /* Refined luxury proportion */
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 8px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--mg-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.mg-nav-link i {
    color: var(--mg-gold-primary);
    font-size: 0.78rem;
    transition: var(--mg-transition);
}

.mg-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--mg-gold-gradient);
    transition: var(--mg-transition);
}

.mg-nav-link:hover {
    color: #fff;
}

.mg-nav-link:hover i {
    color: var(--mg-gold-light);
    transform: translateY(-1px);
}

.mg-nav-link:hover::after,
.mg-nav-link.active::after {
    width: 100%;
}

.mg-nav-btn {
    color: var(--mg-gold-primary);
}

/* Header Actions */
.mg-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* Language switch */
.mg-lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--mg-radius-sm);
    padding: 3px 7px;
    gap: 5px;
}

.mg-lang-btn {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--mg-text-muted);
    padding: 2px 3px;
    letter-spacing: 0.8px;
}

.mg-lang-btn.active {
    color: var(--mg-gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.mg-lang-divider {
    color: rgba(212, 175, 55, 0.3);
    font-size: 0.7rem;
}

.mg-btn-nav-reserve {
    display: inline-flex;
    padding: 10px 18px;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
}

/* Hamburger button */
.mg-hamburger {
    display: none;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--mg-radius-sm);
    padding: 9px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    transition: var(--mg-transition);
}

.mg-hamburger:hover {
    border-color: var(--mg-gold-primary);
    background: rgba(212, 175, 55, 0.12);
}

.mg-hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--mg-gold-primary);
    transition: var(--mg-transition);
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (iPhone 14 / Mobile optimized)
   ========================================================================== */
.mg-mobile-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: min(320px, 86vw);
    height: 100%;
    background-color: var(--mg-bg-card);
    border-left: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 20px;
}

.mg-mobile-drawer.is-open {
    right: 0;
}

.mg-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
}

.mg-mobile-logo {
    max-height: 42px;
    width: auto;
}

.mg-mobile-close {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--mg-gold-primary);
    font-size: 1.8rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mg-radius-sm);
    cursor: pointer;
}

.mg-mobile-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mg-mobile-link {
    color: var(--mg-text-main);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: var(--mg-radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    min-height: 44px;
}

.mg-mobile-link i {
    color: var(--mg-gold-primary);
    width: 20px;
    text-align: center;
}

.mg-mobile-link:hover, .mg-mobile-link:active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--mg-gold-light);
    padding-left: 14px;
}

.mg-mobile-btn {
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    color: var(--mg-gold-primary);
}

.mg-mobile-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.mg-mobile-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: var(--mg-text-muted);
}

.mg-mobile-cta {
    margin-bottom: 18px;
}

.mg-mobile-contact {
    font-size: 0.82rem;
    color: var(--mg-text-muted);
    line-height: 1.8;
}

.mg-mobile-contact i {
    color: var(--mg-gold-primary);
    margin-right: 6px;
}

.mg-mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 995;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mg-mobile-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.mg-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

.mg-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 35%;
    transform: scale(1.02);
}

.mg-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(12, 12, 15, 0.72) 0%, rgba(7, 7, 9, 0.94) 85%);
}

.mg-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.mg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

.mg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mg-gold-light);
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.mg-badge-gem {
    color: var(--mg-gold-primary);
}

.mg-hero-logo-wrap {
    margin-bottom: 20px;
}

.mg-hero-logo {
    max-width: 460px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.9));
}

.mg-hero-title {
    font-family: var(--mg-font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.mg-hero-subtitle {
    font-family: var(--mg-font-display);
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--mg-gold-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 600;
}

.mg-hero-desc {
    font-size: 1.02rem;
    color: var(--mg-text-muted);
    max-width: 720px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.mg-hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.mg-hero-buttons .mg-btn {
    width: 270px;
    height: 54px;
    min-height: 54px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.88rem;
    padding: 0 24px;
}

.mg-scroll-down {
    display: inline-block;
}

.mg-scroll-mouse {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 14px;
    margin: 0 auto;
    position: relative;
}

.mg-scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 7px;
    background-color: var(--mg-gold-primary);
    border-radius: 2px;
    animation: mgScrollAnim 2s infinite;
}

@keyframes mgScrollAnim {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 10px); opacity: 0.3; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* ==========================================================================
   COMMON SECTIONS & ORNAMENTS
   ========================================================================== */
.mg-section {
    padding: 90px 0;
    position: relative;
    z-index: 1;
}

.mg-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.mg-section-tag {
    font-family: var(--mg-font-display);
    font-size: 0.82rem;
    color: var(--mg-gold-primary);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.mg-ornament {
    color: var(--mg-gold-dark);
    margin: 0 4px;
}

.mg-section-title {
    font-family: var(--mg-font-serif);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.mg-section-desc {
    color: var(--mg-text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Gold Dividers */
.mg-gold-separator-sm {
    width: 80px;
    height: 2px;
    background: var(--mg-gold-gradient);
    margin: 20px auto 0;
    position: relative;
}

.mg-gold-separator-sm::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--mg-gold-primary);
    font-size: 9px;
    background-color: var(--mg-bg-body);
    padding: 0 6px;
}

.mg-gold-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 40px;
}

.mg-separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.mg-separator-ornament {
    padding: 0 16px;
    color: var(--mg-gold-primary);
    font-size: 1rem;
}

/* ==========================================================================
   2. ABOUT SECTION
   ========================================================================== */
.mg-about-section {
    background-color: var(--mg-bg-surface);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.mg-about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.mg-story-card {
    background: var(--mg-bg-card);
    border: var(--mg-gold-border);
    border-radius: var(--mg-radius-md);
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.mg-story-quote-mark {
    font-family: var(--mg-font-serif);
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.12);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
    user-select: none;
}

.mg-story-p1 {
    font-size: 1.12rem;
    color: #e5e5f0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mg-story-p1 strong {
    color: var(--mg-gold-light);
}

.mg-story-p1 em {
    color: var(--mg-gold-primary);
    font-style: italic;
}

.mg-story-p2 {
    font-size: 0.98rem;
    color: var(--mg-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.mg-story-signature {
    display: flex;
    flex-direction: column;
    padding-top: 18px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.mg-sig-name {
    font-family: var(--mg-font-serif);
    font-size: 1.3rem;
    color: var(--mg-gold-primary);
    letter-spacing: 1px;
}

.mg-sig-sub {
    font-size: 0.8rem;
    color: var(--mg-text-subtle);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Features list */
.mg-about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mg-feature-card {
    display: flex;
    gap: 18px;
    background: var(--mg-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--mg-radius-md);
    padding: 22px;
    transition: var(--mg-transition);
}

.mg-feature-card:hover {
    border-color: var(--mg-gold-primary);
    transform: translateX(4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mg-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--mg-gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mg-gold-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.mg-feature-title {
    font-family: var(--mg-font-serif);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 4px;
}

.mg-feature-desc {
    font-size: 0.88rem;
    color: var(--mg-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   3. MITTAGSKARTE & SPEISEKARTEN HIGHLIGHTS (UNIFORM ALIGNMENT)
   ========================================================================== */
.mg-lunch-section {
    background-color: var(--mg-bg-body);
}

.mg-lunch-price-tag {
    display: inline-block;
    padding: 8px 24px;
    background: var(--mg-gold-gradient);
    color: #0c0a06;
    font-family: var(--mg-font-sans);
    font-size: 1.12rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    box-shadow: var(--mg-gold-glow-subtle);
}

/* PDF Quick Access Banner – vertical layout, full-width buttons */
.mg-menu-cta-banner {
    background: linear-gradient(135deg, rgba(22, 19, 30, 0.97) 0%, rgba(30, 24, 18, 0.97) 100%);
    border: var(--mg-gold-border-bright);
    border-radius: var(--mg-radius-lg);
    padding: 40px 40px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-bottom: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(212, 175, 55, 0.15);
    width: 100%;
}

.mg-menu-cta-text {
    text-align: center;
    width: 100%;
}

.mg-menu-cta-text h3 {
    font-family: var(--mg-font-serif);
    font-size: 1.7rem;
    color: var(--mg-gold-light);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.mg-menu-cta-text p {
    color: var(--mg-text-muted);
    font-size: 0.96rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* 3-column equal full-width button grid */
.mg-menu-cta-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

/* Each CTA button: tall, full column width */
.mg-menu-cta-btn {
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 20px !important;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.88rem !important;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--mg-radius-md) !important;
    gap: 6px !important;
    white-space: normal;
    line-height: 1.3;
}

.mg-menu-cta-btn i {
    font-size: 1.2rem;
    display: block;
}

.mg-cta-btn-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
}

/* Dishes Grid: PERFECT UNIFORM ALIGNMENT (Aus einem Guss) */
.mg-dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch; /* All cards in row have exact same height */
}

.mg-dish-card {
    background: var(--mg-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--mg-radius-md);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Header top, Desc middle, Footer bottom */
    height: 100%;
    transition: var(--mg-transition);
    position: relative;
    overflow: hidden;
}

.mg-dish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--mg-gold-gradient);
    opacity: 0;
    transition: var(--mg-transition);
}

.mg-dish-card:hover {
    background: var(--mg-bg-card-hover);
    border-color: rgba(212, 175, 55, 0.55);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.mg-dish-card:hover::before {
    opacity: 1;
}

.mg-dish-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mg-dish-name {
    font-family: var(--mg-font-serif);
    font-size: 1.18rem;
    color: #fff;
    font-weight: 500;
}

.mg-dish-badge {
    font-size: 0.7rem;
    padding: 3px 9px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--mg-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    white-space: nowrap;
}

.mg-dish-desc {
    color: var(--mg-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes footer uniformly to the bottom! */
}

.mg-dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto; /* Aligns all footers horizontally across row */
}

.mg-dish-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mg-gold-primary);
    font-family: var(--mg-font-sans);
}

.mg-dish-note {
    font-size: 0.78rem;
    color: var(--mg-text-subtle);
}

.mg-dish-note i {
    color: #25d366;
    margin-right: 4px;
}

/* ==========================================================================
   4. BILDERGALERIE & SPLIT SLIDER (IMAGE + TEXT)
   ========================================================================== */
.mg-gallery-section {
    background-color: var(--mg-bg-surface);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
}

.mg-slider-container {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
}

.mg-slider-track {
    position: relative;
    min-height: 500px;
}

.mg-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.mg-slide.active {
    display: block;
    opacity: 1;
    animation: mgSlideFade 0.6s ease;
}

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

.mg-slide-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Oriental Arch Frame for Images */
.mg-arch-frame {
    position: relative;
    padding: 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(20, 20, 24, 0.9) 50%, rgba(170, 122, 30, 0.4) 100%);
    border-radius: var(--mg-radius-arch);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.mg-arch-inner {
    position: relative;
    overflow: hidden;
    border-radius: 130px 130px 8px 8px;
    aspect-ratio: 4 / 3.4;
}

.mg-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

.mg-slide.active .mg-slide-img {
    transform: scale(1.04);
}

.mg-arch-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 12, 15, 0.4) 0%, transparent 40%);
    pointer-events: none;
}

/* Slide Text Column */
.mg-slide-content {
    background: var(--mg-bg-card);
    border: var(--mg-gold-border);
    border-radius: var(--mg-radius-lg);
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.mg-slide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.mg-slide-tag {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--mg-gold-light);
}

.mg-slide-tag i {
    color: var(--mg-gold-primary);
    margin-right: 4px;
}

.mg-slide-counter {
    font-family: var(--mg-font-display);
    font-size: 0.88rem;
    color: var(--mg-text-subtle);
    letter-spacing: 1px;
}

.mg-slide-title {
    font-family: var(--mg-font-serif);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: #fff;
    line-height: 1.3;
    margin-bottom: 14px;
}

.mg-slide-divider {
    width: 50px;
    height: 2px;
    background: var(--mg-gold-gradient);
    margin-bottom: 18px;
}

.mg-slide-description {
    color: var(--mg-text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 22px;
}

.mg-slide-highlight {
    display: flex;
    gap: 12px;
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--mg-gold-primary);
    padding: 12px 16px;
    border-radius: 0 var(--mg-radius-sm) var(--mg-radius-sm) 0;
    font-size: 0.88rem;
    font-style: italic;
    color: #e5dfcb;
    margin-bottom: 26px;
}

.mg-slide-highlight i {
    color: var(--mg-gold-primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.mg-slide-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    width: 100%;
}

.mg-slide-actions .mg-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    padding: 0 18px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Slider Navigation Controls */
.mg-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 36px;
}

.mg-slider-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--mg-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--mg-gold-primary);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--mg-transition);
}

.mg-slider-arrow:hover {
    background: var(--mg-gold-gradient);
    color: #0b0a08;
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: var(--mg-gold-glow);
}

.mg-slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mg-slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--mg-transition);
    padding: 0;
}

.mg-slider-dot.active {
    background: var(--mg-gold-primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* ==========================================================================
   5. RESERVATION SECTION & SIDE-BY-SIDE (IMPRESSUM & GOOGLE MAPS)
   ========================================================================== */
.mg-reservation-section {
    background-color: var(--mg-bg-body);
}

.mg-reservation-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 36px;
    align-items: stretch; /* Both columns match height */
}

/* Left Column: Impressum & Maps Side Cards */
.mg-res-side-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: 100%;
}

.mg-side-card {
    background: var(--mg-bg-card);
    border: var(--mg-gold-border);
    border-radius: var(--mg-radius-lg);
    padding: 28px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    flex: 1; /* Stretch nicely */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ornate Corner Elements */
.mg-card-corner-ornament {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--mg-gold-primary);
    border-style: solid;
    opacity: 0.6;
    pointer-events: none;
}
.mg-card-corner-ornament.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.mg-card-corner-ornament.tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.mg-card-corner-ornament.bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.mg-card-corner-ornament.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.mg-side-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mg-side-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--mg-gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mg-gold-primary);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.mg-side-title {
    font-family: var(--mg-font-serif);
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
}

.mg-side-imprint-content p {
    font-size: 0.92rem;
    color: var(--mg-text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

.mg-side-imprint-content p.mg-company-name {
    font-size: 1rem;
    color: var(--mg-gold-light);
}

.mg-side-contact-list {
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mg-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--mg-text-main);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--mg-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--mg-transition);
}

.mg-contact-link:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.35);
    color: var(--mg-gold-light);
    transform: translateX(3px);
}

.mg-contact-link i {
    color: var(--mg-gold-primary);
    width: 16px;
    text-align: center;
}

/* Maps frame */
.mg-maps-desc {
    font-size: 0.9rem;
    color: var(--mg-text-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

.mg-maps-frame-wrap {
    border-radius: var(--mg-radius-md);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 16px;
}

.mg-maps-frame-wrap iframe {
    filter: invert(90%) hue-rotate(180deg) contrast(90%);
    transition: var(--mg-transition);
    display: block;
}

.mg-maps-frame-wrap:hover iframe {
    filter: none;
}

.mg-maps-transit {
    font-size: 0.78rem;
    color: var(--mg-text-subtle);
    margin-top: 10px;
    line-height: 1.5;
}

.mg-maps-transit i {
    color: var(--mg-gold-primary);
    margin-right: 4px;
}

/* Right Column: Reservation Form */
.mg-form-card {
    background: var(--mg-bg-card);
    border: var(--mg-gold-border-bright);
    border-radius: var(--mg-radius-lg);
    padding: 38px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), var(--mg-gold-glow-subtle);
    position: relative;
    height: 100%;
}

.mg-form-header {
    text-align: center;
    margin-bottom: 28px;
}

.mg-form-icon-wrap {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--mg-gold-gradient);
    color: #0b0a08;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--mg-gold-glow-subtle);
}

.mg-form-title {
    font-family: var(--mg-font-serif);
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 4px;
}

.mg-form-subtitle {
    font-size: 0.88rem;
    color: var(--mg-text-muted);
}

/* Alert Notification */
.mg-form-alert {
    padding: 14px 18px;
    border-radius: var(--mg-radius-sm);
    margin-bottom: 22px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.mg-form-alert.success {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid #25d366;
    color: #92f2b8;
}

.mg-form-alert.error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #f8a5ad;
}

/* Form Fields */
.mg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.mg-form-group {
    margin-bottom: 18px;
}

.mg-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--mg-gold-light);
    margin-bottom: 7px;
}

.mg-form-group label i {
    color: var(--mg-gold-primary);
    margin-right: 5px;
}

.mg-req {
    color: #e65c5c;
}

.mg-input, .mg-select, .mg-textarea {
    width: 100%;
    background-color: rgba(9, 9, 12, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--mg-radius-sm);
    padding: 12px 14px;
    color: #fff;
    font-size: 16px; /* 16px prevents iOS Safari from automatic zoom */
    transition: var(--mg-transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.mg-select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23d4af37" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 36px;
}

.mg-input:focus, .mg-select:focus, .mg-textarea:focus {
    border-color: var(--mg-gold-primary);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
    background-color: rgba(14, 14, 18, 0.95);
}

.mg-select option {
    background-color: #141419;
    color: #fff;
}

/* FAKE CHECK / MATH CAPTCHA – UNIFIED PREMIUM CONTROLS */
.mg-captcha-box {
    background: rgba(24, 23, 31, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--mg-radius-md);
    padding: 20px 22px;
    margin: 22px 0 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mg-captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.mg-captcha-header label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--mg-gold-light);
}

.mg-captcha-header label i {
    color: var(--mg-gold-primary);
    margin-right: 5px;
}

.mg-captcha-hint {
    font-size: 0.78rem;
    color: var(--mg-text-muted);
}

.mg-captcha-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mg-captcha-challenge {
    background: #08080c;
    border: 1px solid var(--mg-gold-primary);
    color: var(--mg-gold-light);
    font-family: var(--mg-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
    height: 48px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: var(--mg-radius-sm);
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    user-select: none;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
}

.mg-captcha-input {
    max-width: 150px;
    height: 48px !important;
    min-height: 48px !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    background: rgba(14, 14, 18, 0.9) !important;
    color: #fff !important;
    box-sizing: border-box;
    padding: 0 12px !important;
}

.mg-captcha-input::placeholder {
    font-size: 0.82rem !important;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--mg-text-subtle);
    opacity: 0.75;
}

.mg-btn-captcha-refresh {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--mg-gold-primary);
    width: 48px;
    height: 48px;
    min-height: 48px;
    min-width: 48px;
    border-radius: var(--mg-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--mg-transition);
    box-sizing: border-box;
    font-size: 0.95rem;
}

.mg-btn-captcha-refresh:hover {
    background: rgba(212, 175, 55, 0.22);
    color: #fff;
    border-color: var(--mg-gold-light);
    transform: rotate(180deg);
}

.mg-btn-submit {
    height: 52px;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.mg-footer {
    background-color: var(--mg-bg-darkest);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    padding-top: 50px;
    position: relative;
    z-index: 2;
}

.mg-footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
    gap: 36px;
    padding-bottom: 50px;
}

.mg-footer-logo {
    max-height: 46px;
    margin-bottom: 18px;
}

.mg-footer-tagline {
    font-size: 0.88rem;
    color: var(--mg-text-muted);
    line-height: 1.7;
    margin-bottom: 22px;
}

.mg-footer-social {
    display: flex;
    gap: 10px;
}

.mg-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mg-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mg-gold-primary);
    font-size: 1rem;
    transition: var(--mg-transition);
}

.mg-social-btn:hover {
    background: var(--mg-gold-gradient);
    color: #0b0a08;
    transform: translateY(-2px);
    box-shadow: var(--mg-gold-glow);
}

.mg-footer-title {
    font-family: var(--mg-font-serif);
    font-size: 1.2rem;
    color: var(--mg-gold-light);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mg-footer-hours-list, .mg-footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mg-footer-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 7px;
}

.mg-day-label {
    color: var(--mg-text-muted);
}

.mg-time-label {
    color: #fff;
    font-weight: 500;
}

.mg-footer-lunch-note {
    margin-top: 16px;
    padding: 10px 12px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--mg-radius-sm);
    font-size: 0.82rem;
    color: var(--mg-gold-light);
    display: flex;
    gap: 8px;
    line-height: 1.5;
}

.mg-footer-lunch-note i {
    color: var(--mg-gold-primary);
    margin-top: 2px;
}

.mg-footer-links-list li a, .mg-link-as-btn {
    color: var(--mg-text-muted);
    font-size: 0.88rem;
    transition: var(--mg-transition);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    padding: 0;
}

.mg-footer-links-list li a:hover, .mg-link-as-btn:hover {
    color: var(--mg-gold-light);
    padding-left: 5px;
}

.mg-footer-contact-item {
    font-size: 0.88rem;
    color: var(--mg-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

.mg-footer-contact-item i {
    color: var(--mg-gold-primary);
    width: 16px;
    margin-top: 4px;
}

/* Sub-Footer */
.mg-subfooter {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 0.8rem;
    color: var(--mg-text-subtle);
}

.mg-subfooter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.mg-subfooter-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mg-legal-trigger {
    background: transparent;
    border: none;
    color: var(--mg-text-muted);
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    transition: var(--mg-transition);
}

.mg-legal-trigger:hover {
    color: var(--mg-gold-primary);
}

/* ==========================================================================
   MODAL WINDOWS & SPEISEKARTEN TABS (UNIFORM ALIGNMENT)
   ========================================================================== */
.mg-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 8, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mg-modal-overlay.is-visible {
    display: flex;
    opacity: 1;
}

.mg-modal-dialog {
    background: var(--mg-bg-card);
    border: var(--mg-gold-border-bright);
    border-radius: var(--mg-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), var(--mg-gold-glow);
    max-width: 940px;
    width: 100%;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: mgModalZoom 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes mgModalZoom {
    from { transform: scale(0.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mg-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(10, 10, 14, 0.7);
}

.mg-modal-eyebrow {
    font-size: 0.75rem;
    color: var(--mg-gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.mg-modal-title {
    font-family: var(--mg-font-serif);
    font-size: 1.4rem;
    color: #fff;
    margin: 4px 0 0;
}

.mg-modal-close {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--mg-gold-primary);
    font-size: 1.8rem;
    line-height: 1;
    width: 38px;
    height: 38px;
    border-radius: var(--mg-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--mg-transition);
}

.mg-modal-close:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #fff;
    border-color: var(--mg-gold-primary);
}

/* UNIFORM MENU TABS BAR ("AUS EINEM GUSS") */
.mg-menu-tabs-bar {
    background: #0d0d12;
    border-bottom: 2px solid rgba(212, 175, 55, 0.35);
    padding: 0 16px;
}

.mg-menu-tabs {
    display: flex;
    gap: 0;
    width: 100%;
}

.mg-tab-btn {
    flex: 1 1 0;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: var(--mg-text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--mg-transition);
    margin-bottom: -2px; /* Seamless closure at the bottom */
    white-space: nowrap;
}

.mg-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.mg-tab-btn.active {
    color: var(--mg-gold-light);
    border-bottom: 3px solid var(--mg-gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

/* Quick Control Bar */
.mg-pdf-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(18, 17, 24, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 10px;
}

.mg-pdf-current-info {
    font-size: 0.85rem;
    color: var(--mg-gold-light);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.mg-pdf-control-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mg-btn-pdf-action {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--mg-gold-light);
    padding: 6px 12px;
    font-size: 0.78rem;
    border-radius: var(--mg-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--mg-transition);
}

.mg-btn-pdf-action:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--mg-gold-primary);
    color: #fff;
}

/* PDF Viewer Body */
.mg-pdf-body {
    padding: 0;
    min-height: 520px;
    height: 65vh;
    display: flex;
    flex-direction: column;
}

.mg-pdf-viewer-wrap {
    width: 100%;
    height: 100%;
    flex: 1;
    background-color: #1e1e24;
}

.mg-pdf-viewer-wrap object,
.mg-pdf-viewer-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.mg-pdf-fallback-box {
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #141419;
}

.mg-pdf-fallback-icon {
    font-size: 3rem;
    color: var(--mg-gold-primary);
    margin-bottom: 16px;
}

.mg-pdf-fallback-box h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.mg-pdf-fallback-box p {
    color: var(--mg-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 400px;
}

/* Digital Menu Wrapper */
.mg-digital-menu-wrap {
    padding: 24px;
    overflow-y: auto;
    height: 100%;
}

.mg-digital-menu-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mg-digital-menu-header h4 {
    font-family: var(--mg-font-serif);
    font-size: 1.3rem;
    color: var(--mg-gold-light);
    margin-bottom: 4px;
}

.mg-digital-menu-header p {
    font-size: 0.88rem;
    color: var(--mg-text-muted);
}

.mg-digital-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mg-category-title {
    font-family: var(--mg-font-serif);
    font-size: 1.15rem;
    color: var(--mg-gold-primary);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mg-digital-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.mg-digital-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--mg-radius-sm);
    padding: 14px;
}

.mg-item-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.mg-item-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.92rem;
}

.mg-item-price {
    font-weight: 700;
    color: var(--mg-gold-primary);
    font-size: 0.95rem;
}

.mg-item-desc {
    font-size: 0.82rem;
    color: var(--mg-text-muted);
    line-height: 1.5;
}

.mg-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(10, 10, 14, 0.7);
    flex-wrap: wrap;
    gap: 10px;
}

/* ==========================================================================
   LEGAL MODALS - PREMIUM CARD SYSTEM (IMPRESSUM & DATENSCHUTZ)
   ========================================================================== */

/* Legal modal dialog: narrower max-width, full card treatment */
.mg-modal-legal {
    max-width: 760px;
}

/* Scrollable body area for legal modals */
.mg-legal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    padding: 0;
}

/* Content wrapper with generous inset padding */
.mg-legal-content-wrap {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual legal card */
.mg-legal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--mg-radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.mg-legal-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

/* Card header with icon + title */
.mg-legal-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 12px;
    background: rgba(212, 175, 55, 0.07);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.mg-legal-card-header i {
    color: var(--mg-gold-primary);
    font-size: 1.05rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.mg-legal-card-header h4 {
    font-family: var(--mg-font-serif);
    font-size: 1.05rem;
    color: var(--mg-gold-light);
    margin: 0;
    font-weight: 600;
}

/* Card body text */
.mg-legal-card-body {
    padding: 16px 20px 18px 52px; /* Large left indent aligns with header text */
}

.mg-legal-card-body p {
    font-size: 0.9rem;
    color: var(--mg-text-muted);
    line-height: 1.75;
    margin-bottom: 10px;
}

.mg-legal-card-body p:last-child {
    margin-bottom: 0;
}

.mg-legal-card-body a {
    color: var(--mg-gold-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mg-legal-card-body a:hover {
    color: var(--mg-gold-light);
}

/* Highlighted address block */
.mg-legal-highlight {
    background: rgba(212, 175, 55, 0.06);
    border-left: 3px solid var(--mg-gold-primary);
    padding: 12px 16px;
    border-radius: 0 var(--mg-radius-sm) var(--mg-radius-sm) 0;
    font-size: 0.9rem;
    color: var(--mg-text-main);
    line-height: 1.85;
    margin: 0;
}

/* Contact grid inside legal card */
.mg-legal-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mg-legal-contact-col {
    display: flex;
    gap: 10px;
    align-items: baseline;
    font-size: 0.9rem;
}

.mg-contact-lbl {
    color: var(--mg-gold-primary);
    font-weight: 600;
    min-width: 80px;
    flex-shrink: 0;
}

/* Privacy section inside cookie box */
.mg-cookie-privacy-scroll {
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    text-align: left;
    margin: 0 -4px 0;
    padding: 0 4px;
}

.mg-cookie-privacy-scroll .mg-legal-card {
    margin-bottom: 10px;
}

.mg-cookie-privacy-scroll .mg-legal-card h5 {
    font-size: 0.95rem;
    color: var(--mg-gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(212, 175, 55, 0.07);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    margin: 0;
}

.mg-cookie-privacy-scroll .mg-legal-card h5 i {
    color: var(--mg-gold-primary);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.mg-cookie-privacy-scroll .mg-legal-card p {
    font-size: 0.86rem;
    color: var(--mg-text-muted);
    line-height: 1.65;
    padding: 10px 14px;
    margin: 0;
}

/* Cookie view header (back button row) */
.mg-cookie-view-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mg-cookie-view-title {
    font-family: var(--mg-font-serif);
    font-size: 1.15rem;
    color: var(--mg-gold-light);
    margin: 0;
    text-align: left;
}

.mg-btn-back-cookie {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--mg-gold-primary);
    padding: 6px 12px;
    border-radius: var(--mg-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: var(--mg-transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.mg-btn-back-cookie:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--mg-gold-primary);
    color: #fff;
}

/* Cookie settings list left-align */
.mg-cookie-settings-list {
    text-align: left;
    margin-bottom: 16px;
}

/* Cookie actions row (save + accept in settings view) */
.mg-cookie-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mg-cookie-actions-row .mg-btn {
    flex: 1 1 auto;
}

/* Old legal-content styles kept for any remaining usage */
.mg-legal-content h4 {
    font-family: var(--mg-font-serif);
    font-size: 1.2rem;
    color: var(--mg-gold-light);
    margin: 20px 0 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 5px;
}

.mg-legal-content h4:first-child {
    margin-top: 0;
}

.mg-legal-content p {
    font-size: 0.9rem;
    color: var(--mg-text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}


/* ==========================================================================
   PRE-SITE BLOCKING COOKIE BANNER & SETTINGS (IPHONE 14 SCROLL SAFE)
   ========================================================================== */
.mg-cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 6, 8, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.mg-cookie-overlay.is-active {
    display: flex;
    animation: mgFadeIn 0.35s ease;
}

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

.mg-cookie-box {
    background: var(--mg-bg-card);
    border: var(--mg-gold-border-bright);
    border-radius: var(--mg-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), var(--mg-gold-glow);
    max-width: 600px;
    width: 100%;
    max-height: 90vh; /* iPhone 14 height safety */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 36px 30px;
    text-align: center;
    position: relative;
    animation: mgModalZoom 0.3s ease;
}

.mg-cookie-ornament {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--mg-gold-primary);
    color: var(--mg-gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 14px;
}

.mg-cookie-title {
    font-family: var(--mg-font-serif);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 12px;
}

.mg-cookie-text {
    font-size: 0.92rem;
    color: var(--mg-text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.mg-cookie-links-preview {
    margin-bottom: 22px;
}

.mg-cookie-privacy-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--mg-gold-light);
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--mg-transition);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.mg-cookie-privacy-btn i {
    color: var(--mg-gold-primary);
    font-size: 0.9rem;
    transition: var(--mg-transition);
}

.mg-cookie-privacy-btn:hover {
    background: var(--mg-gold-gradient);
    color: #0b0a08;
    border-color: var(--mg-gold-light);
    box-shadow: var(--mg-gold-glow);
    transform: translateY(-2px);
}

.mg-cookie-privacy-btn:hover i {
    color: #0b0a08;
}

.mg-cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Cookie Settings Modal */
.mg-cookie-cat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--mg-radius-md);
    padding: 16px;
    margin-bottom: 14px;
}

.mg-cookie-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.mg-cookie-cat-header h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}

.mg-cookie-cat-header p {
    font-size: 0.84rem;
    color: var(--mg-text-muted);
    line-height: 1.5;
    margin: 0;
}

.mg-badge-active {
    font-size: 0.7rem;
    padding: 3px 9px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid #25d366;
    color: #25d366;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}

/* Custom Toggle Switch */
.mg-toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.mg-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mg-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #333;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 34px;
}

.mg-toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 50%;
}

.mg-toggle-switch input:checked + .mg-toggle-slider {
    background-color: var(--mg-gold-primary);
    border-color: var(--mg-gold-light);
}

.mg-toggle-switch input:checked + .mg-toggle-slider::before {
    transform: translateX(22px);
    background-color: #0b0a08;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET, IPHONE 14 & SMALL PHONES)
   ========================================================================== */
@media (max-width: 1140px) {
    .mg-nav-list {
        gap: 6px;
    }
    .mg-nav-link {
        font-size: 0.74rem;
        padding: 5px 6px;
    }
    .mg-brand-logo {
        height: 56px;
    }
}

@media (max-width: 1024px) {
    .mg-nav-desktop, .mg-btn-nav-reserve {
        display: none;
    }

    .mg-hamburger {
        display: flex;
    }

    .mg-about-grid {
        grid-template-columns: 1fr;
    }

    .mg-slide-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mg-arch-inner {
        aspect-ratio: 16 / 10;
    }

    .mg-reservation-layout {
        grid-template-columns: 1fr;
    }

    .mg-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mg-section {
        padding: 60px 0;
    }

    .mg-hero {
        padding: 60px 0 40px;
    }

    .mg-hero-logo {
        max-width: 340px;
    }

    .mg-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mg-dishes-grid {
        grid-template-columns: 1fr;
    }

    .mg-menu-cta-banner {
        padding: 28px 20px 24px;
    }

    .mg-menu-cta-buttons {
        grid-template-columns: 1fr; /* single column stacked on mobile */
    }

    .mg-menu-cta-btn {
        height: 58px !important;
    }

    .mg-footer-inner {
        grid-template-columns: 1fr;
    }

    .mg-subfooter-inner {
        flex-direction: column;
        text-align: center;
    }

    .mg-pdf-body {
        height: 60vh;
        min-height: 420px;
    }

    .mg-tab-btn {
        padding: 10px 10px;
        font-size: 0.78rem;
    }
}

/* iPhone 14 (390px) & iPhone SE / Small Screens (<= 420px) */
@media (max-width: 420px) {
    .mg-container {
        padding: 0 16px;
    }

    .mg-header-inner {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .mg-brand-logo {
        height: 48px;
        max-width: 180px;
    }

    .mg-hero-logo {
        max-width: 260px;
    }

    .mg-hero-title {
        font-size: 1.6rem;
    }

    .mg-hero-subtitle {
        font-size: 0.9rem;
    }

    .mg-hero-desc {
        font-size: 0.92rem;
    }

    .mg-hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .mg-hero-buttons .mg-btn {
        width: 100%;
    }

    .mg-story-card, .mg-form-card, .mg-slide-content, .mg-cookie-box {
        padding: 24px 16px;
    }

    .mg-arch-inner {
        border-radius: 50px 50px 6px 6px;
    }

    .mg-arch-frame {
        border-radius: 60px 60px 8px 8px;
        padding: 6px;
    }

    .mg-captcha-input-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .mg-captcha-challenge {
        width: 100%;
    }

    .mg-captcha-input {
        max-width: 100%;
        width: 100%;
    }

    .mg-btn-captcha-refresh {
        width: 100%;
        height: 40px;
    }

    .mg-topbar-info {
        font-size: 0.74rem;
        gap: 6px;
    }

    .mg-hide-mobile {
        display: none !important;
    }

    .mg-tab-label {
        font-size: 0.75rem;
    }

    /* Slide action buttons: full-width on small phones */
    .mg-slide-actions .mg-btn {
        width: 100%;
    }

    /* Legal content: reduce padding on small screens */
    .mg-legal-content-wrap {
        padding: 20px 16px;
    }

    .mg-legal-card-body {
        padding: 14px 16px; /* No deep left indent on mobile */
    }
}

/* Legal content wrap: responsive for tablets */
@media (max-width: 768px) {
    .mg-legal-content-wrap {
        padding: 24px 24px;
    }

    .mg-legal-card-body {
        padding: 14px 20px 16px 20px;
    }

    .mg-slide-actions {
        flex-direction: column;
        width: 100%;
    }

    .mg-slide-actions .mg-btn {
        width: 100%;
    }
}
