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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

.home-container {
    width: 1440px;
    min-height: 1200px;
    position: relative;
    background-color: #FFFFFF;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ============ HEADER ============ */

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 170px;
    background-color: #A3B18A;
    display: flex;
    align-items: center;
    padding: 0 25px;
    gap: 30px;
}

.header-left {
    flex: 0 0 auto;
}

.btn-menu {
    width: 76px;
    height: 43px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 11px;
    padding: 0;
    z-index: 2000;
    position: relative;
    transition: transform 0.2s ease;
    color: #2b2b2b;
}

.btn-menu:hover {
    transform: scale(1.05);
}

.btn-menu:active {
    transform: scale(0.95);
}

.btn-menu span {
    display: block;
    width: 76px;
    height: 7px;
    background-color: #EDE0D4;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.logo-section {
    flex: 0 0 auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo-section:hover {
    transform: scale(1.08);
}

.logo-circle {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background-color: #EDE0D4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.logo-section:hover .logo-circle {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-image {
    width: 73px;
    height: 73px;
    object-fit: contain;
}

.search-section {
    flex: 1;
    display: flex;
    align-items: center;
}

.search-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar {
    width: 100%;
    height: 67px;
    padding: 0 20px 0 50px;
    border: none;
    border-radius: 40px;
    background-color: #FFFFFF;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 20.833px;
    color: rgba(0, 0, 0, 0.6);
}

.search-bar::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.search-icon-img {
    position: absolute;
    left: 20px;
    width: 24px;
    height: 24px;
    opacity: 0.5;
}

.page-title {
    margin: 0;
    padding: 0;
    font-family: 'Limelight', serif;
    font-size: 69.459px;
    color: #2b2b2b;
    flex: 0 0 auto;
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    gap: 20px;
}

.bell-icon,
.profile-icon {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background-color: #EDE0D4;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* ============ MAIN CONTENT ============ */

.main-content {
    position: absolute;
    top: 340px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    padding: 40px 64px;
    gap: 30px;
    overflow-y: auto;
    scrollbar-width: none;
}

.main-content::-webkit-scrollbar {
    display: none;
}

.recipe-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-content: flex-start;
}

.recipe-card {
    width: 476px;
    display: flex;
    flex-direction: column;
    gap: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.recipe-card[data-locked="false"]:hover {
    transform: scale(1.02);
}

.card-image {
    width: 476px;
    height: 450px;
    background-color: #EDE0D4;
    border-radius: 40px 40px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    position: relative;
}


.card-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}


.lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lock-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.card-label {
    width: 476px;
    height: 129px;
    background-color: #A2B19F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Limelight', 'Arial', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
}

/* ============ NOTIFICATION POPUP ============ */

.notification-popup {
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 1113px;
    height: 170px;
    background-color: transparent;
    display: flex;
    gap: 0;
    border-radius: 0;
    overflow: hidden;
    z-index: 200;
    animation: slideDown 0.3s ease-in-out;
    pointer-events: none;
}

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

.notification-left {
    width: 204px;
    height: 170px;
    background-color: #A3B18A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    pointer-events: auto;
}

.notification-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.notification-right {
    flex: 1;
    height: 170px;
    background-color: #EDE0D4;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    pointer-events: auto;
}

.notification-text {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 35.424px;
    color: #2b2b2b;
    line-height: 1.6;
    text-align: center;
}

.notification-text strong {
    font-weight: 700;
}

/* ============ CONTENT LOCKED MODAL ============ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    width: 709px;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 60px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #D9D9D9;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #2b2b2b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-close:hover {
    background-color: #A2B19F;
    color: #FFFFFF;
}

.close-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.modal-lock-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.modal-lock-img {
    width: 154px;
    height: 128px;
    object-fit: contain;
}

.modal-title {
    font-family: 'Limelight', 'Arial', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 30px;
}

.modal-message {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 18px;
    color: #2b2b2b;
    line-height: 1.8;
}

/* ============ CUSTOM SCROLL TRACK ============ */

.scroll-track {
    position: absolute;
    right: 20px;
    top: 170px;
    width: 16px;
    bottom: 0;
    background-color: rgba(163, 177, 138, 0.3);
    border-radius: 8px;
    cursor: pointer;
    z-index: 50;
}

.scroll-fill {
    position: absolute;
    width: 100%;
    min-height: 30px;
    background-color: #a3b18a;
    border-radius: 4px;
    transition: all 0.2s ease;
    top: 0;
    cursor: grab;
}

.scroll-fill:active {
    cursor: grabbing;
}
