/* ========================================
   RESULTS PAGE STYLES - COMPLETE
   ======================================== */

/* ========================================
   SECTION BASICS
   ======================================== */

.section-landing,
.section-quiz,
.section-results {
    width: 100%;
    display: block;
}

.quiz-embed-section {
    background-color: #e8efef;
    padding: 0;
    margin: 0;
}

.quiz-embed-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.results-content-wrapper {
    background-color: #FFFFFF;
    display: block;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   RESULTS HERO SECTION
   ======================================== */

.results-hero-section {
    background: #004988;
    padding: 60px 40px;
    position: relative;
    border-bottom-left-radius: 180px;
    border-bottom-right-radius: 180px;
    overflow: visible;
    margin-bottom: -180px;
    z-index: 1;
}

.results-hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.results-main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #77D5EF;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
}

.results-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 0 auto;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

.results-gift-box {
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.results-gift-box:hover {
    transform: scale(1.05);
}

.results-gift-box-image {
    width: 81px;
    height: auto;
    display: block;
}

.results-gift-box-top-right {
    top: -30%;
    right: 3%;
}

.results-gift-box-top-right .results-gift-box-image {
    transform: rotate(14.37deg);
}

.results-gift-box-bottom-left {
    bottom: 30px;
    left: 20px;
    display: none;
}

.results-gift-box-bottom-left .results-gift-box-image {
    transform: rotate(-17.65deg);
}

/* ========================================
   CATEGORY TABS SECTION
   ======================================== */

.category-tabs-section {
    background-color: #0277D0;
    padding: 240px 20px 80px;
    position: relative;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-tab {
    background-color: #004988;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border: none;
    border-radius: 11.64px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
    width: 193px;
    height: 62px;
}

.category-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-tab.active {
    border: 2.33px solid #004988;
    background-color: #FFFFFF;
    color: #004988;
    box-shadow: 0 4px 15px rgba(255, 140, 40, 0.4);
}

.category-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    max-width: 575px;
    margin-left: auto;
    margin-right: auto;
}

.location-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.location-badge-bg {
    background-image: url('../img/Rectangle\ 3877.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 12px 40px;
    display: inline-block;
    min-width: 350px;
    text-align: center;
}

.location-badge-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #FFFFFF;
    margin: 0;
}

.category-gift-box {
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.category-gift-box:hover {
    transform: scale(1.05);
}

.category-gift-box-image {
    width: 95px;
    height: 90px;
    display: block;
}

.category-gift-box-left {
    left: 170px;
    top: 45%;
    transform: translateY(-50%) rotate(-17.65deg);
}

@media (min-width: 1025px) {
    /* City */
    .category-gift-box-left.city {
        left: 170px;
        top: 45%;
    }

    /* Suburban */
    .category-gift-box-left.suburban {
        left: 170px;
        top: 34%;
    }

    /* Waterfront */
    .category-gift-box-left.waterfront {
        left: 170px;
        top: 55%;
    }

    /* Nature */
    .category-gift-box-left.nature {
        left: 170px;
        top: 38%;
    }
}



.category-gift-box-left:hover {
    transform: translateY(-50%) rotate(-17.65deg) scale(1.05);
}

.category-gift-box-right {
    right: 80px;
    bottom: 80px;
    transform: rotate(14.37deg);
}

.category-gift-box-right:hover {
    transform: rotate(14.37deg) scale(1.05);
}

/* ========================================
   PROPERTY CARDS GRID
   ======================================== */

.property-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 200px);
    gap: 25px;
    margin-bottom: 40px;
    justify-content: center;
}

.property-card {
    background: transparent;
    border-radius: 9.31px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 193.27px;
    height: 126.91px;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.property-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

/* ========================================
   XPLOSIVE SECTION
   ======================================== */

.xplosive-section {
    background-color: #E8F3EE;
    background-image: url('../img/xplosive-bg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 20px 200px;
    text-align: center;
    position: relative;
    margin-bottom: -185px;

}

.xplosive-logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.xplosive-logo img {
    max-width: 280px;
    height: auto;
}

.xplosive-main-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #00807D;
    margin-bottom: 20px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.xplosive-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #0277D0;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.xplosive-tap-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    color: #004988;
    margin-bottom: 50px;
}

/* ========================================
   FLIP CARDS GRID - SIMPLIFIED (Images Only)
   ======================================== */

.flip-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 320px);
    gap: 30px;
    max-width: 670px;
    margin: 0 auto 60px;
    justify-content: center;
}

.flip-card {
    width: 320px;
    height: 320px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-out;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.flip-card-front {
    /* background-color: #fff; */
}

.flip-card-back {
    transform: rotateY(180deg);
    background-color: #fff;
}

.flip-card-front img,
.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   XPLOSIVE BOTTOM CTA
   ======================================== */

.xplosive-bottom-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #00807D;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.xplosive-hashtag {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #0277D0;
    margin-bottom: 30px;
    max-width: 250px;
    background: linear-gradient(to bottom, transparent 50%, #0277D036 50%);
    display: flex;
    justify-content: center;
    margin: 0 auto 30px;
}

.xplosive-cta-button {
    background: radial-gradient(50% 50% at 50% 50%, #FCB169 0%, #EB8627 100%);
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    /* margin-bottom: 80px; */
    margin-bottom: 30px;
}

.xplosive-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(235, 134, 39, 0.4);
}

.xplosive-cta-button i {
    font-size: 18px;
}

.xplosive-tandc {
    margin-bottom: 80px;
}

/* ========================================
   SHARE NOW SECTION
   ======================================== */

.share-now-section {
    background: #0277D0;
    padding: 60px 20px;
    text-align: center;
    border-radius: 180px 180px 0 0;
    position: relative;
    margin-top: 0;
}

.share-gift-box {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.share-gift-box:hover {
    transform: translateX(-50%) scale(1.1);
}

.share-gift-box img {
    width: 90px;
    height: 90px;
    display: block;
}

.share-now-button {
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    margin-top: 40px;
}

.share-now-button:hover {
    background-color: #E8F4F8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.share-now-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #FFFFFF;
    margin: 0;
}

/* ========================================
   FINAL CTA SECTION (KEPT FOR REFERENCE)
   ======================================== */

.final-cta-section {
    background: linear-gradient(135deg, #0277D0 0%, #0056B3 100%);
    padding: 80px 20px;
    text-align: center;
}

.final-cta-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-button {
    background-color: #FF8C28;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    padding: 18px 60px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.final-cta-button:hover {
    background-color: #E67A1F;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 40, 0.4);
}

.share-cta-section {
    background-color: #0277D0;
    padding: 60px 20px;
    text-align: center;
    border-radius: 50px 50px 0 0;
}

.share-story-btn {
    background-color: #FFFFFF;
    color: #0277D0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.share-story-btn:hover {
    background-color: #E8F4F8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.share-story-btn i {
    font-size: 18px;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Desktop - Card Positioning */
@media (min-width: 1025px) {
    .city-card-5 {
        grid-column: 2 / 3;
    }
    .city-card-6 {
        grid-column: 3 / 4;
    }
    .waterfront-card-1 {
        grid-column: 1 / -1;
        justify-self: center;
    }
    .suburban-card-13 {
        grid-column: 2 / 3;
    }
    .suburban-card-14 {
        grid-column: 3 / 4;
    }
    .nature-special {
        justify-content: center;
        display: flex;
        gap: 25px;
        grid-column: 1 / -1;
    }
}

/* Tablet - 1024px */
@media screen and (max-width: 1024px) {
    .property-cards-grid {
        grid-template-columns: repeat(2, 200px);
        gap: 20px;
    }
    .property-card:nth-child(5),
    .property-card:nth-child(6) {
        grid-column: auto;
    }
    .flip-cards-grid {
        grid-template-columns: repeat(2, 280px);
        gap: 25px;
    }
    .flip-card {
        width: 280px;
        height: 280px;
    }
}

/* Tablet - 768px */
@media screen and (max-width: 768px) {
    .property-card{
        width: 166px;
        height: 109px;
    }
    .results-hero-section {
        padding: 50px 20px 60px;
    }
    .results-hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
    .results-main-title {
        /* font-size: 20px; */
        padding: 0 20px;
        margin-bottom: 16px;
    }
    .results-subtitle {
        /* font-size: 14px; */
        max-width: 100%;
        padding: 0 10px;
    }
    .results-gift-box-top-right {
        top: 25px;
        right: -16px;
    }
    .results-gift-box-top-right .results-gift-box-image {
        width: 80px;
        height: 80px;
    }
    .results-gift-box-bottom-left {
        display: block;
        bottom: 20px;
        left: 10px;
    }
    .results-gift-box-bottom-left .results-gift-box-image {
        width: 70px;
        height: 65px;
    }
    .category-tabs-section {
        padding: 240px 15px 60px;
    }
    .category-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .category-tab {
        font-size: 12px;
        padding: 10px 18px;
        width: 166px;
        height: 53px;
    }
    .category-description {
        font-size: 14px;
    }
    .location-badge-bg {
        min-width: 90%;
        padding: 10px 20px;
    }
    .location-badge-text {
        font-size: 13px;
    }
    .category-gift-box-left {
        left: -5px;
        top: 145px;
        transform: rotate(-17.65deg);
    }
    .category-gift-box-left:hover {
        transform: rotate(-17.65deg) scale(1.05);
    }
    .category-gift-box-right {
        right: 10px;
        bottom: 20px;
    }
    .category-gift-box-image {
        width: 80px;
        height: 80px;
    }
    .property-cards-grid {
        gap: 10px 0;
        justify-items: center;
    }
    .property-card:nth-child(5),
    .property-card:nth-child(6) {
        grid-column: auto;
    }
    .xplosive-section {
        padding: 60px 20px 80px;
        margin-bottom: -70px;
    }
    .xplosive-main-heading {
        font-size: 20px;
    }
    .xplosive-subtitle {
        font-size: 14px;
    }
    .xplosive-tap-text {
        font-size: 14px;
        margin-bottom: 40px;
    }
    .flip-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px;
    }
    .flip-card {
        width: 100%;
        max-width: 320px;
        height: 320px;
    }
    .xplosive-bottom-heading {
        font-size: 20px;
    }
    .xplosive-hashtag {
        font-size: 14px;
        max-width: 220px;
    }
    .xplosive-cta-button {
        font-size: 14px;
        padding: 14px 35px;
        margin-bottom: 30px;
    }

    .xplosive-tandc {
        margin-bottom: 60px;
    }

    .share-now-section {
        padding: 50px 20px;
        border-radius: 100px 100px 0 0;
    }
    .share-gift-box {
        top: -30px;
    }
    .share-gift-box img {
        width: 70px;
        height: 65px;
    }
    .share-now-button {
        margin-top: 0;
        /* font-size: 14px; */
        /* padding: 12px 30px; */
    }
    .share-now-text {
        font-size: 13px;
    }
    .final-cta-section {
        padding: 60px 20px;
    }
    .final-cta-section h2 {
        font-size: 26px;
    }
    .final-cta-button {
        font-size: 16px;
        padding: 16px 50px;
    }
}

/* Mobile - 480px */
@media screen and (max-width: 400px) {
    .results-hero-section {
        padding: 40px 15px 50px;
    }
    .results-hero-content {
        padding: 0 10px;
    }
    .results-main-title {
        /* font-size: 18px; */
    }
    .results-subtitle {
        /* font-size: 13px; */
        padding: 0;
    }
    .results-gift-box-top-right .results-gift-box-image,
    .results-gift-box-bottom-left .results-gift-box-image {
        width: 80px;
        height: 80px;
    }
    .results-gift-box-top-right {
        top: 28px;
        right: -25px;
    }
    .results-gift-box-bottom-left {
        bottom: 15px;
        left: 5px;
    }
    .category-tabs {
        gap: 10px;
    }
    .category-tab {
        font-size: 11px;
        padding: 8px 15px;
    }
    .xplosive-section {
        padding: 50px 15px 80px;
    }
    .xplosive-logo img {
        max-width: 180px;
    }
    .xplosive-main-heading {
        font-size: 18px;
    }
    .xplosive-subtitle {
        font-size: 13px;
    }
    .xplosive-tap-text {
        font-size: 13px;
    }
    .flip-cards-grid {
        max-width: 280px;
    }
    .flip-card {
        max-width: 280px;
        height: 280px;
    }
    .xplosive-bottom-heading {
        font-size: 18px;
    }
    .xplosive-hashtag {
        font-size: 13px;
        max-width: 205px;
    }
    .xplosive-cta-button {
        font-size: 13px;
        padding: 12px 30px;
    }
    .share-now-section {
        border-radius: 80px 80px 0 0;
    }
    .share-gift-box img {
        width: 60px;
        height: 56px;
    }
    .share-now-button {
        /* font-size: 13px;
        padding: 11px 25px; */
    }
    .final-cta-section h2 {
        font-size: 22px;
    }
    .final-cta-button {
        font-size: 14px;
        padding: 14px 40px;
        width: 90%;
        max-width: 300px;
    }
    .share-story-btn {
        font-size: 14px;
        padding: 12px 30px;
    }
}

/* Mobile - 360px */
@media screen and (max-width: 360px) {
    .property-cards-grid{
        grid-template-columns: repeat(2, 180px);
    }
    .results-main-title {
        /* font-size: 16px; */
    }
    .results-subtitle {
        font-size: 12px;
    }
    .results-gift-box-top-right .results-gift-box-image,
    .results-gift-box-bottom-left .results-gift-box-image {
        width: 55px;
        height: 51px;
    }
    .category-tab {
        font-size: 12px;
        padding: 7px 0;
        width: 166px;
        height: 53px;
    }
    .xplosive-logo img {
        max-width: 160px;
    }
    .xplosive-main-heading {
        font-size: 16px;
    }
    .xplosive-subtitle {
        font-size: 12px;
    }
    .xplosive-tap-text {
        font-size: 12px;
    }
    .flip-cards-grid {
        max-width: 260px;
    }
    .flip-card {
        max-width: 260px;
        height: 260px;
    }
    .xplosive-bottom-heading {
        font-size: 16px;
    }
    .xplosive-cta-button {
        font-size: 12px;
        padding: 11px 25px;
    }
    .share-gift-box img {
        width: 55px;
        height: 51px;
    }
    .final-cta-section h2 {
        font-size: 20px;
    }
}