:root {
    --background-color: #0f172a;
    --background-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --text-color: #f8fafc;
    --text-secondary: #cbd5e1;
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #ec4899;
    --accent-color: #14b8a6;
    --card-background: rgba(30, 41, 59, 0.7);
    --card-border: rgba(148, 163, 184, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --input-background: rgba(241, 245, 249, 0.05);
    --input-border: rgba(148, 163, 184, 0.2);
    --control-bg: rgba(30, 41, 59, 0.8);
}

body.light-mode {
    --background-color: #f8fafc;
    --background-gradient: linear-gradient(135deg, #e0e7ff 0%, #fce7f3 50%, #ddd6fe 100%);
    --text-color: #0f172a;
    --text-secondary: #475569;
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #ec4899;
    --accent-color: #14b8a6;
    --card-background: rgba(255, 255, 255, 0.9);
    --card-border: rgba(148, 163, 184, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --input-background: #ffffff;
    --input-border: #cbd5e1;
    --control-bg: rgba(255, 255, 255, 0.9);
}

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

body {
    background: var(--background-gradient);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.6;
}

.controls-bar {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    z-index: 1000;
    align-items: center;
}

.control-btn {
    background: var(--control-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-color);
    border-color: var(--primary-color);
}

.control-btn .icon {
    font-size: 1.2rem;
}

.control-btn .arrow {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.language-selector {
    position: relative;
}

.language-selector.active .arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 300px;
    max-height: 400px;
    background: var(--control-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 8px 40px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.language-selector.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-background);
    border: none;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-color);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: background 0.2s ease;
}

.search-input:focus {
    background: rgba(99, 102, 241, 0.1);
}

.search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.language-list {
    max-height: 340px;
    overflow-y: auto;
    padding: 8px;
}

.language-item {
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.language-item:hover {
    background: rgba(99, 102, 241, 0.2);
}

.language-item.selected {
    background: rgba(99, 102, 241, 0.3);
    font-weight: 600;
}

.language-item .flag {
    font-size: 1.2rem;
}

.language-item .country-name {
    flex: 1;
}

.language-item .lang-code {
    font-size: 0.75rem;
    opacity: 0.6;
    font-weight: 600;
}

body:not(.light-mode) #theme-toggle-btn .icon-light {
    display: none;
}

body.light-mode #theme-toggle-btn .icon-dark {
    display: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 32px;
}

header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 60px;
    animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.icon-header {
    font-size: clamp(2rem, 5vw, 3rem);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
}

main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.sidepanel-section {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.side-nav {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    background: var(--card-background);
    box-shadow: 0 16px 40px var(--shadow-color);
}

.side-nav-btn {
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.side-nav-btn:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.08);
}

.side-nav-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

.panel-view {
    position: relative;
    min-height: 520px;
}

.panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.contact-section,
.panel-card {
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-section:hover,
.panel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px var(--shadow-color);
}

/* Legacy toggle styles removed (replaced by sidebar navigation) */

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.image-container {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    aspect-ratio: 4/3;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

#menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container:hover #menu-image {
    transform: scale(1.08);
}

.menu-recommendation {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    transition: opacity 0.3s ease;
    letter-spacing: -0.02em;
}

.recommend-btn,
.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 16px;
    padding: 20px 48px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

.recommend-btn:hover:not(:disabled),
.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

.recommend-btn:active:not(:disabled),
.submit-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.recommend-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 1.5rem;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.label-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    background: var(--input-background);
    border: 2px solid var(--input-border);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--input-background);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-top: 1px solid var(--card-border);
    margin-top: 80px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.footer-divider {
    color: var(--card-border);
}

/* Slot Machine Section */
.slot-section {
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    grid-column: 1 / -1;
}

.slot-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--input-background);
    border: 2px solid var(--card-border);
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.category-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.slot-machine {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.slot-frame {
    display: flex;
    gap: 12px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 20px 16px;
    box-shadow:
        0 0 30px rgba(99, 102, 241, 0.2),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.slot-frame::before,
.slot-frame::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    z-index: 2;
    pointer-events: none;
}

.slot-frame::before {
    top: calc(50% - 32px);
}

.slot-frame::after {
    top: calc(50% + 30px);
}

.slot-reel-container {
    width: 100px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--input-background);
    border: 2px solid var(--card-border);
    position: relative;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slot-reel-container::before,
.slot-reel-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 1;
    pointer-events: none;
}

.slot-reel-container::before {
    top: 0;
    background: linear-gradient(180deg, var(--card-background) 0%, transparent 100%);
}

.slot-reel-container::after {
    bottom: 0;
    background: linear-gradient(0deg, var(--card-background) 0%, transparent 100%);
}

.slot-reel {
    display: flex;
    flex-direction: column;
    transition: transform 0s linear;
}

.slot-reel.spinning {
    transition: none;
}

.slot-reel.stopping {
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1.05);
}

.slot-item {
    width: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    padding: 4px 8px;
    flex-shrink: 0;
}

.slot-item .slot-emoji {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 2px;
}

.slot-item .slot-name {
    font-size: 0.75rem;
    display: block;
    line-height: 1.2;
}

.slot-lever-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    font-family: 'Inter', sans-serif;
}

.slot-lever-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

.slot-lever-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.slot-lever-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.slot-lever-icon {
    font-size: 1.5rem;
}

.slot-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    max-height: 0;
    overflow: hidden;
}

.slot-result.visible {
    opacity: 1;
    max-height: 600px;
    transition: opacity 0.4s ease, max-height 0.5s ease;
}

.slot-result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: var(--input-background);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 360px;
    animation: resultPop 0.5s ease;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}

.slot-result-image {
    width: 100%;
    height: 200px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 14px;
    background: var(--card-background);
}

.slot-result-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slot-result-emoji {
    font-size: 2.5rem;
}

.slot-result-name {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes resultPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Share Buttons */
.share-container {
    width: 100%;
    max-width: 360px;
    text-align: center;
    margin-top: 16px;
    animation: fadeIn 0.5s ease 0.3s both;
}

.share-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', sans-serif;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.share-btn:active {
    transform: translateY(-1px) scale(1.05);
}

.share-native {
    width: auto;
    border-radius: 22px;
    padding: 10px 20px;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.share-native.visible {
    display: flex;
}

.share-twitter { background: #000000; }
.share-facebook { background: #1877F2; }
.share-whatsapp { background: #25D366; }
.share-telegram { background: #0088cc; }
.share-line { background: #00B900; }
.share-kakao { background: #FEE500; color: #191919; }
.share-copy { background: var(--text-secondary); }

body.light-mode .share-copy { background: #64748b; }

.share-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--control-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 24px;
    box-shadow: 0 8px 30px var(--shadow-color);
    z-index: 1001;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: toastIn 0.3s ease forwards;
}

.share-toast.hiding {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@keyframes slotSpin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

.slot-jackpot {
    animation: jackpotGlow 0.5s ease 3;
}

@keyframes jackpotGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.2); }
    50% { box-shadow: 0 0 60px rgba(236, 72, 153, 0.6), 0 0 90px rgba(99, 102, 241, 0.4); }
}

@media (max-width: 768px) {
    .sidepanel-section {
        grid-template-columns: 1fr;
    }

    .side-nav {
        position: sticky;
        top: 80px;
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding: 12px;
        border-radius: 16px;
    }

    .side-nav-btn {
        white-space: nowrap;
        font-size: 0.95rem;
        padding: 12px 14px;
    }

    .panel-card {
        padding: 32px 24px;
    }

    .slot-section {
        padding: 32px 24px;
    }

    .slot-reel-container {
        width: 85px;
        height: 160px;
    }

    .slot-item {
        width: 85px;
        height: 54px;
    }

    .slot-item .slot-emoji {
        font-size: 1.3rem;
    }

    .slot-item .slot-name {
        font-size: 0.65rem;
    }

    .slot-frame {
        gap: 8px;
        padding: 16px 12px;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .slot-lever-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .share-btn {
        width: 40px;
        height: 40px;
    }

    .share-btn svg {
        width: 16px;
        height: 16px;
    }

    .share-buttons {
        gap: 8px;
    }
}

/* Situation-Based Section */
.situation-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.situation-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.situation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.situation-card {
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.situation-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.situation-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.situation-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-color);
}

.situation-menus {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.situation-menu-tag {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.situation-card:hover .situation-menu-tag {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(236, 72, 153, 0.25));
}

/* Seasonal/Weather Section */
.seasonal-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.seasonal-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.seasonal-card {
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.seasonal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.seasonal-hot {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(234, 179, 8, 0.15));
    border-color: rgba(249, 115, 22, 0.3);
}

.seasonal-cold {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border-color: rgba(59, 130, 246, 0.3);
}

.seasonal-rainy {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(34, 197, 94, 0.15));
    border-color: rgba(20, 184, 166, 0.3);
}

.seasonal-hangover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(239, 68, 68, 0.15));
    border-color: rgba(236, 72, 153, 0.3);
}

.seasonal-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.seasonal-icon {
    font-size: 2rem;
}

.seasonal-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
}

.seasonal-menu-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seasonal-menu-list li {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
}

body.light-mode .seasonal-menu-list li {
    background: rgba(0, 0, 0, 0.03);
}

.seasonal-menu-list li:hover {
    background: rgba(99, 102, 241, 0.15);
    padding-left: 20px;
}

@media (max-width: 768px) {
    .situation-section,
    .seasonal-section {
        padding: 32px 24px;
    }

    .situation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .seasonal-grid {
        grid-template-columns: 1fr 1fr;
    }

    .situation-card {
        padding: 20px 14px;
    }
}

@media (max-width: 480px) {
    .side-nav {
        top: 72px;
    }

    .panel-card {
        padding: 24px 18px;
    }

    .panel-view {
        min-height: 420px;
    }
    .situation-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .seasonal-grid {
        grid-template-columns: 1fr;
    }

    .situation-icon {
        font-size: 2rem;
    }

    .situation-menu-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* Bulletin Board Section */
.bulletin-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.bulletin-section[open] {
    padding-bottom: 56px;
}

.bulletin-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.bulletin-form {
    margin-bottom: 24px;
}

.bulletin-input-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bulletin-input-group input {
    flex: 1;
    min-width: 120px;
    background: var(--input-background);
    border: 2px solid var(--input-border);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.bulletin-input-group input:first-child {
    flex: 0 0 150px;
}

.bulletin-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.bulletin-input-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.bulletin-submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.bulletin-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.bulletin-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bulletin-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.bulletin-posts::-webkit-scrollbar {
    width: 6px;
}

.bulletin-posts::-webkit-scrollbar-track {
    background: transparent;
}

.bulletin-posts::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.bulletin-post {
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.bulletin-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bulletin-post-nickname {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bulletin-post-nickname::before {
    content: '👤';
}

.bulletin-post-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.bulletin-post-message {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    word-break: break-word;
}

.bulletin-loading {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px;
    font-size: 0.95rem;
}

.bulletin-empty {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px;
    font-size: 1rem;
}

.bulletin-empty::before {
    content: '💬';
    display: block;
    font-size: 3rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .bulletin-section {
        padding: 32px 24px;
    }

    .bulletin-input-group {
        flex-direction: column;
    }

    .bulletin-input-group input:first-child {
        flex: 1;
    }

    .bulletin-submit-btn {
        width: 100%;
    }
}

/* Tips Section */
.tips-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.tip-card {
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.tip-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.tip-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.tip-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Info Section (GEO) */
.info-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.info-article p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.info-article p:last-child {
    margin-bottom: 0;
}

/* How to Section */
.how-to-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--primary-color);
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.faq-item {
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-color);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Categories Guide Section */
.categories-guide-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.categories-guide-desc {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
    font-size: 1rem;
}

.categories-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-guide-card {
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.category-guide-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.category-guide-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.category-guide-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .tips-section,
    .how-to-section,
    .info-section,
    .faq-section,
    .categories-guide-section {
        padding: 32px 24px;
    }

    .categories-guide-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 0;
    }

    .footer-divider {
        display: none;
    }
}

/* Custom Scrollbar */
.language-list::-webkit-scrollbar {
    width: 6px;
}

.language-list::-webkit-scrollbar-track {
    background: transparent;
}

.language-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.language-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-section,
    .panel-card {
        padding: 32px 24px;
    }

    header {
        margin-bottom: 40px;
        padding-top: 80px;
    }

    header h1 {
        flex-direction: column;
        gap: 12px;
    }

    .controls-bar {
        top: 16px;
        right: 16px;
        gap: 8px;
    }

    .control-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .dropdown {
        width: 280px;
    }

    #selected-language {
        display: none;
    }

    .language-selector .control-btn .arrow {
        margin-left: -4px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .controls-bar {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        top: 12px;
        right: 12px;
    }

    header {
        padding-top: 120px;
    }

    header h1 {
        font-size: clamp(2.1rem, 9vw, 2.8rem);
    }

    .slot-section,
    .contact-section,
    .panel-card {
        padding: 24px 18px;
    }

    .slot-frame {
        gap: 6px;
        padding: 12px 8px;
    }

    .slot-reel-container {
        width: 72px;
        height: 140px;
    }

    .slot-item {
        width: 72px;
        height: 46px;
    }

    .slot-item .slot-emoji {
        font-size: 1.1rem;
    }

    .slot-item .slot-name {
        font-size: 0.6rem;
    }

    .slot-lever-btn {
        width: 100%;
        justify-content: center;
    }

    .category-filter {
        gap: 8px;
    }

    .category-btn {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }


    .image-container {
        max-width: 100%;
    }

    .menu-recommendation {
        font-size: clamp(2rem, 7vw, 2.6rem);
    }

    .share-container {
        max-width: 100%;
    }

    .share-btn {
        width: 38px;
        height: 38px;
    }

    .share-native {
        width: 100%;
        justify-content: center;
    }
}

/* Ad Container Styles */
.ad-container {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-container ins {
    display: block;
    width: 100%;
}

.ad-between {
    grid-column: 1 / -1;
    margin: 10px 0;
    min-height: 90px;
    max-height: 120px;
    overflow: hidden;
}

.ad-bottom {
    margin-top: 40px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .ad-container {
        padding: 16px;
        margin: 16px 0;
        border-radius: 12px;
    }
}

/* ========================================
   Content Sections for AdSense Compliance
   ======================================== */

/* Popular Menu Top 10 */
.popular-menu-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.popular-menu-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.popular-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.popular-menu-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.popular-rank {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.popular-rank.top3 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.popular-menu-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.popular-menu-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Delivery Category Section */
.delivery-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.delivery-card {
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.delivery-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.delivery-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.delivery-card-header span {
    font-size: 1.5rem;
}

.delivery-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.delivery-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.delivery-menus {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.delivery-menu-tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Meal Time Section */
.meal-time-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.meal-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.meal-time-card {
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
}

.meal-time-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meal-time-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.meal-time-card ul {
    list-style: none;
    padding: 0;
}

.meal-time-card ul li {
    padding: 6px 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--card-border);
    font-size: 0.95rem;
}

.meal-time-card ul li:last-child {
    border-bottom: none;
}

.meal-time-card ul li strong {
    color: var(--text-color);
}

/* Home Cooking Section */
.home-cooking-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.home-cooking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.home-cooking-card {
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.home-cooking-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.home-cooking-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-cooking-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Breakfast Section */
.breakfast-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.breakfast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.breakfast-card {
    background: var(--input-background);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.breakfast-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.breakfast-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breakfast-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.breakfast-card ul {
    list-style: disc;
    padding-left: 20px;
}

.breakfast-card ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* Calorie Guide Section */
.calorie-section {
    grid-column: 1 / -1;
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.calorie-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.calorie-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
}

.calorie-table thead th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
}

.calorie-table tbody tr {
    transition: background 0.2s ease;
}

.calorie-table tbody tr:nth-child(even) {
    background: var(--input-background);
}

.calorie-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.1);
}

.calorie-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.calorie-table tbody td:first-child {
    font-weight: 600;
    color: var(--text-color);
}

.calorie-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.calorie-low {
    background: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
}

.calorie-mid {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.calorie-high {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Section description reusable */
.section-desc {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.7;
}

/* Content article text */
.content-article {
    margin-top: 16px;
}

.content-article p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 14px;
    font-size: 1.02rem;
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .popular-menu-section,
    .delivery-section,
    .meal-time-section,
    .home-cooking-section,
    .breakfast-section,
    .calorie-section {
        padding: 32px 24px;
    }

    .delivery-grid,
    .home-cooking-grid,
    .breakfast-grid {
        grid-template-columns: 1fr;
    }

    .meal-time-grid {
        grid-template-columns: 1fr;
    }

    .calorie-table {
        font-size: 0.85rem;
    }

    .calorie-table thead th,
    .calorie-table tbody td {
        padding: 10px 12px;
    }
}
