@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #010508;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.container img {
    max-width: 100px;
    /* margin-bottom: 20px; */
}

/* Button chính */
.main-button {
    background-color: transparent;
    color: #4af38b;
    padding: 12px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    border-color: #4af286;
    border-width: 2px;
    border: 2px solid #4af38b;   /* thêm border */
}
/* .main-button:hover {
    background-color: #1a949b;
    transform: translateY(-2px);
}
.main-button:active {
    transform: scale(0.95);
} */

.main-button-mocktails {
    background-color: transparent;
    color: #ab50f3;
    padding: 12px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    border-color: #ab50f3;
    border-width: 2px;
    border: 2px solid #ab50f3;   /* thêm border */
}
/* .main-button-mocktails:hover {
    background-color: #1a949b;
    transform: translateY(-2px);
}
.main-button-mocktails:active {
    transform: scale(0.95);
} */


.main-button-snacks {
    background-color: transparent;
    color: #f89947;
    padding: 12px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    border-color: #f89947;
    border-width: 2px;
    border: 2px solid #f89947;   /* thêm border */
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: center;
}

.filter-btn {
    background-color: transparent;
    color: #ff6f61;
    padding: 8px 15px;
    margin: 5px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-color: #ff6f61;
    border-width: 2px;
    border: 2px solid #ff6f61;
    flex: 0 0 calc(33.333% - 10px);
    min-width: 100px;
}

.filter-btn.active {
    background-color: rgb(53, 53, 54);
    color: #4af286;
    border-color: #4af286;
}

.main-button-takeaway {
    background-color: transparent;
    color: #00eeff;
    padding: 12px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    border-color: #00eeff;
    border-width: 2px;
    border: 2px solid #00eeff;   /* thêm border */
}

/* .main-button-snacks:hover {
    background-color: #1a949b;
    transform: translateY(-2px);
}
.main-button-snacks:active {
    transform: scale(0.95);
} */

/* Sub-buttons */
.sub-buttons {
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    max-height: 0;
    opacity: 0;
}
.sub-buttons.show {
    max-height: 500px;
    opacity: 1;
}
.sub-buttons button {
    background-color: transparent;
    color: #4af38b;
    border: 2px solid #4af38b;
    border-radius: 15px;
    padding: 10px;
    margin: 5px;
    font-size: 14px;
    width: 70%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sub-buttons button:hover {
    background-color: #0f3133;
    color: #fff;
    transform: scale(1.05);
}
.sub-buttons button:active {
    transform: scale(0.95);
}

/* Menu item */
.menu-item {
    background-color: transparent;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
    

.menu-item.show {
    opacity: 1;
    transform: translateY(0);
}
.menu-item:hover {
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}
.menu-item h2 {
    margin: 0;
    font-size: 15px;
    color: #03ffef;
}
.menu-item p {
    margin: 5px 0;
    /* font-size: 14px; */
    color: #00d3e2;
}
.menu-item .price {
    font-weight: bold;
    color: #ffeb3b;;
    font-size: 15px;
    white-space: nowrap;
}

.menu-info {
    flex: 1;
    text-align: left;
}

.menu-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #00eaff; /* xanh neon */
    letter-spacing: 0.5px;
}
.menu-desc {
    font-size: 10px;
    color: #80f7ff; /* xanh nhạt neon */
    margin: 3px 0 0;
    text-align: left;
    white-space: pre-line; /* giữ xuống dòng gốc */
}
.popup-desc {
    white-space: pre-line;
}
.menu-price {
    font-size: 16px;
    font-weight: bold;
    color: #ffeb3b; /* vàng neon */
    white-space: nowrap;
    text-align: right;
    min-width: 80px;
}

.menu-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline; /* canh đều chữ và giá */
    gap: 10px;
}

.menu-original {
    font-size: 13px;
    font-weight: normal;
    color: #80f7ff;
    margin-left: 6px;
    text-transform: none;
}

/* Popup */
#description-popup, #random-cocktail-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#description-popup.show, #random-cocktail-popup.show {
    opacity: 1;
    pointer-events: all;
}
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 80%;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}
#description-popup.show .popup-content,
#random-cocktail-popup.show .popup-content {
    transform: scale(1);
}
.popup-content button {
    padding: 8px 15px;
    background: #f5679d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.popup-content button:hover {
    background: #0f3133;
}

/* Scroll to top */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #0f3133;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
#scroll-to-top.show {
    display: block;
    opacity: 1;
}
#scroll-to-top:hover {
    background-color: #1a949b;
    transform: translateY(-3px);
}


.logo-text {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.logo-text .title {
    font-size: 52px;
    font-weight: 600;
    color: #ff43ff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text .subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #ff43ff;
    margin: 4px 0 0;
    text-transform: uppercase;
}

.logo-text .time {
    font-size: 15px;
    font-weight: 500;
    color: #25f8e6;
    margin: 4px 0 0;
}

.takeaway-text {
    font-size: 16px;
    color: #ffeb3b;
    margin-top: 8px;
    font-weight: bold;
    border-top: 1px dashed #00eeff;
    padding-top: 6px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ==================== RESPONSIVE DESIGN ====================  */

/* Tablet screens (768px and below) */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .container {
        max-width: 100%;
    }
    
    .container img {
        max-width: 80px;
    }
    
    .logo-text .title {
        font-size: 36px;
        letter-spacing: 0.5px;
    }
    
    .logo-text .subtitle {
        font-size: 14px;
    }
    
    .logo-text .time {
        font-size: 12px;
    }
    
    .main-button,
    .main-button-mocktails,
    .main-button-snacks,
    .main-button-takeaway {
        padding: 10px 15px;
        font-size: 15px;
        width: 95%;
        max-width: 100%;
        margin: 6px 0;
    }
    
    .sub-buttons button {
        width: 85%;
        font-size: 13px;
        padding: 8px;
        margin: 4px;
    }
    
    .filter-btn {
        flex: 0 0 calc(33.333% - 10px);
        padding: 6px 10px;
        font-size: 12px;
        min-width: auto;
    }
    
    .menu-item {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .menu-name {
        font-size: 15px;
    }
    
    .menu-desc {
        font-size: 10px;
    }
    
    .menu-price {
        font-size: 14px;
    }
    
    .menu-original {
        font-size: 11px;
    }
    
    .popup-content {
        width: 90%;
        padding: 15px;
    }
    
    .takeaway-text {
        font-size: 14px;
    }
}

/* Mobile screens (480px and below) */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container img {
        max-width: 70px;
    }
    
    .logo-text .title {
        font-size: 28px;
        letter-spacing: 0.3px;
    }
    
    .logo-text .subtitle {
        font-size: 12px;
    }
    
    .logo-text .time {
        font-size: 11px;
    }
    
    .main-button,
    .main-button-mocktails,
    .main-button-snacks,
    .main-button-takeaway {
        padding: 8px 12px;
        font-size: 13px;
        width: 100%;
        max-width: 100%;
        margin: 5px 0;
        border-radius: 12px;
    }
    
    .sub-buttons button {
        width: 90%;
        font-size: 12px;
        padding: 7px;
        margin: 3px;
        border-radius: 12px;
    }
    
    .filter-buttons {
        gap: 5px;
        margin-bottom: 8px;
    }
    
    .filter-btn {
        flex: 0 0 calc(50% - 5px);
        padding: 6px 8px;
        font-size: 11px;
        margin: 2px;
        min-width: auto;
    }
    
    .menu-item {
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 8px;
    }
    
    .menu-name {
        font-size: 13px;
    }
    
    .menu-original {
        font-size: 10px;
        margin-left: 4px;
    }
    
    .menu-desc {
        font-size: 9px;
        margin-top: 2px;
    }
    
    .menu-price {
        font-size: 12px;
        min-width: 70px;
    }
    
    .menu-line {
        gap: 8px;
    }
    
    .popup-content {
        width: 95%;
        padding: 12px;
    }
    
    .popup-content h2 {
        font-size: 16px;
        margin: 0 0 8px 0;
    }
    
    .popup-content p {
        font-size: 12px;
        margin: 4px 0;
    }
    
    .popup-content button {
        padding: 7px 12px;
        font-size: 12px;
    }
    
    #scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 18px;
    }
    
    .takeaway-text {
        font-size: 12px;
        white-space: normal;
        padding-top: 4px;
    }
}

/* Small mobile screens (360px and below) */
@media (max-width: 360px) {
    .logo-text .title {
        font-size: 22px;
    }
    
    .logo-text .subtitle {
        font-size: 11px;
    }
    
    .main-button,
    .main-button-mocktails,
    .main-button-snacks,
    .main-button-takeaway {
        padding: 7px 10px;
        font-size: 12px;
    }
    
    .filter-btn {
        flex: 0 0 calc(50% - 5px);
        padding: 5px 6px;
        font-size: 10px;
    }
    
    .menu-name {
        font-size: 12px;
    }
    
    .menu-price {
        font-size: 11px;
    }
}