/* DESKTOP BACKGROUND */
.room-wrapper {
    position: relative;
    width: 100%;
    max-width: 1536px;
    height: 1024px;
    margin: 0 auto;

    background-image: url("room.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

/* LEFT COLUMN POSITION — DESKTOP */
.left-buttons {
    position: absolute;
    left: 240px;
    bottom: 178px; /* 10 cm under couch */
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 10;
}

/* RIGHT COLUMN POSITION — DESKTOP */
.right-buttons {
    position: absolute;
    right: 280px;
    bottom: 178px; /* 10 cm under couch */
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 10;
}

/* MOBILE BACKGROUND + MOBILE BUTTON POSITIONS */
@media (max-width: 1024px) {
    .room-wrapper {
        background-image: url("room_mobile.webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 100svh;
    }

    .left-buttons {
        left: 60px;
        bottom: 120px;
        gap: 28px;
    }

    .right-buttons {
        right: 60px;
        bottom: 120px;
        gap: 28px;
    }
    
    .portal-btn {
        width: 200px;        /* MOBILE WIDTH */
        padding: 20px 0;     /* MOBILE HEIGHT */
        font-size: 1.85rem;  /* MOBILE TEXT SIZE */
    }

 }

/* UNIFIED BUTTON STYLE */
.portal-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 200px; /* updated width */

    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    font-weight: 600;

    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 1px rgba(0,0,0,0.45);

    text-decoration: none;
    overflow: hidden;
    transition: background 0.3s ease;
}

/* GOLD RIBBON — LEFT COLUMN (ribbon on RIGHT) */
.portal-btn.gold-left::after {
    content: "";
    position: absolute;
    right: 0;
    width: 6px;
    height: 100%;
    background: #d4a300;
    border-radius: 6px;
    z-index: 2;
}
.portal-btn.gold-left::before {
    content: "";
    position: absolute;
    right: 0;
    width: 14px;
    height: 100%;
    background: radial-gradient(circle,
        rgba(212,163,0,0.45) 0%,
        rgba(212,163,0,0.0) 70%);
    filter: blur(10px);
    z-index: 2;
}

/* GOLD RIBBON — RIGHT COLUMN (ribbon on LEFT) */
.portal-btn.gold-right::after {
    content: "";
    position: absolute;
    left: 0;
    width: 6px;
    height: 100%;
    background: #d4a300;
    border-radius: 999px 0 0 999px;
    z-index: 2;
}
.portal-btn.gold-right::before {
    content: "";
    position: absolute;
    left: 0;
    width: 14px;
    height: 100%;
    background: radial-gradient(circle,
        rgba(212,163,0,0.45) 0%,
        rgba(212,163,0,0.0) 70%);
    filter: blur(10px);
    z-index: 2;
}

/* BLUE RIBBON — LEFT COLUMN (ribbon on RIGHT) */
.portal-btn.blue-left::after {
    content: "";
    position: absolute;
    right: 0;
    width: 6px;
    height: 100%;
    background: #6aa8ff;
    border-radius: 6px;
    z-index: 2;
}
.portal-btn.blue-left::before {
    content: "";
    position: absolute;
    right: 0;
    width: 14px;
    height: 100%;
    background: radial-gradient(circle,
        rgba(106,168,255,0.45) 0%,
        rgba(106,168,255,0,0) 70%);
    filter: blur(10px);
    z-index: 1;
}

/* BLUE RIBBON — RIGHT COLUMN (ribbon on LEFT) */
.portal-btn.blue-right::after {
    content: "";
    position: absolute;
    left: 0;
    width: 6px;
    height: 100%;
    background: #6aa8ff;
    border-radius: 6px;
    z-index: 2;
}
.portal-btn.blue-right::before {
    content: "";
    position: absolute;
    left: 0;
    width: 14px;
    height: 100%;
    background: radial-gradient(circle,
        rgba(106,168,255,0.45) 0%,
        rgba(106,168,255,0,0) 70%);
    filter: blur(10px);
    z-index: 1;
}

/* HOVER */
.portal-btn:hover {
    background: rgba(70,130,255,0.45);
    box-shadow: 0 0 18px rgba(90,160,255,0.85);
    border-color: rgba(159,190,255,0.85);
}

.lamp-text {
    position: absolute;
    bottom: 160px; /* adjust to sit under your lamp */
    left: 50%;
    transform: translateX(-50%);
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 1.3rem;
    color: #ffdca8;
    text-shadow: 0 0 12px rgba(255, 200, 120, 0.9),
                 0 0 22px rgba(255, 160, 80, 0.7),
                 0 0 32px rgba(255, 120, 40, 0.5);
    animation: lampGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes lampGlow {
    from {
        opacity: 0.7;
        text-shadow: 0 0 8px rgba(255, 200, 120, 0.6),
                     0 0 16px rgba(255, 160, 80, 0.4);
    }
    to {
        opacity: 1;
        text-shadow: 0 0 14px rgba(255, 200, 120, 1),
                     0 0 28px rgba(255, 160, 80, 0.9),
                     0 0 40px rgba(255, 120, 40, 0.7);
    }
}

.portal-btn.lamp-free {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;

    /* OVERRIDES */
    font-family: "Dancing Script", cursive;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    font-weight: 500;

    background: none;
    border: none;

    color: #F6F7F8;

    text-shadow:
        0 0 6px rgba(255, 210, 140, 0.7),
        0 0 12px rgba(255, 180, 100, 0.6),
        0 0 20px rgba(255, 150, 80, 0.5);

    animation: lampBreath 3s ease-in-out infinite alternate;
}

/* SPECIAL STYLE — New to MB button */
.left-buttons .portal-btn.gold-left:first-child {
    border: 1px solid gold;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.left-buttons .portal-btn.gold-left:first-child:hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.8);
}

/* SPECIAL STYLE — Leave Here button */
.portal-btn.gold-right.latest-posts {
    border: 1px solid gold;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.portal-btn.gold-right.latest-posts:hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.8);
}


/* MOBILE OVERRIDES — MUST COME LAST */
@media (max-width: 1024px) {
    .portal-btn {
        width: 250px;
        padding: 21px 0;
        font-size: 1.30rem;
    }
}






