/* ==========================================
   POOJASERVICE - PREMIUM WALLPAPER EXPERIENCE
   ========================================== */

.ps-wallpaper {
    --wp-maroon: #781731;
    --wp-deep: #350b19;
    --wp-gold: #d7ae65;
    --wp-cream: #fff8ec;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 35px 0 85px;
    background:
        radial-gradient(ellipse at 10% 12%, rgba(215,174,101,.15), transparent 35%),
        radial-gradient(ellipse at 90% 38%, rgba(120,23,49,.09), transparent 38%),
        linear-gradient(145deg,#fffaf1,#f8eee0 48%,#fff9ef);
    color: #421322;
    min-height: 80vh;
}

.ps-wallpaper::before,
.ps-wallpaper::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.ps-wallpaper::before {
    width: 360px;
    height: 360px;
    top: 260px;
    left: -210px;
    border: 1px solid rgba(184,137,56,.22);
    box-shadow: 0 0 0 30px rgba(184,137,56,.035),
                0 0 0 65px rgba(184,137,56,.025);
    animation: wp-orbit 22s linear infinite;
}

.ps-wallpaper::after {
    width: 280px;
    height: 280px;
    right: -170px;
    top: 850px;
    border: 1px solid rgba(120,23,49,.12);
    box-shadow: 0 0 0 35px rgba(120,23,49,.025);
    animation: wp-orbit 28s linear infinite reverse;
}

.wp-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.wp-particles span {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c69a4b;
    opacity: .45;
    box-shadow: 0 0 12px 3px rgba(215,174,101,.35);
    animation: wp-float 10s ease-in-out infinite;
}

.wp-particles span:nth-child(1) {left:8%;top:15%;animation-delay:-2s}
.wp-particles span:nth-child(2) {left:19%;top:45%;animation-delay:-5s}
.wp-particles span:nth-child(3) {left:32%;top:8%;animation-delay:-1s}
.wp-particles span:nth-child(4) {left:48%;top:32%;animation-delay:-7s}
.wp-particles span:nth-child(5) {left:63%;top:12%;animation-delay:-3s}
.wp-particles span:nth-child(6) {left:77%;top:42%;animation-delay:-6s}
.wp-particles span:nth-child(7) {left:91%;top:17%;animation-delay:-4s}
.wp-particles span:nth-child(8) {left:13%;top:78%;animation-delay:-8s}
.wp-particles span:nth-child(9) {left:54%;top:82%;animation-delay:-2s}
.wp-particles span:nth-child(10) {left:86%;top:73%;animation-delay:-5s}
.wp-particles span:nth-child(11) {left:39%;top:65%;animation-delay:-4s}
.wp-particles span:nth-child(12) {left:71%;top:91%;animation-delay:-7s}

.wp-hero {
    position: relative;
    max-width: 1120px;
    margin: 0 auto 65px;
    padding: 66px 25px 60px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(231,194,125,.55);
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 50% 115%,rgba(215,174,101,.23),transparent 55%),
        linear-gradient(125deg,#290815,#64152e 48%,#350b19);
    box-shadow: 0 24px 65px rgba(69,12,30,.20),
                inset 0 0 55px rgba(215,174,101,.07);
    animation: wp-hero-enter 1s ease both;
}

.wp-hero::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(224,187,116,.28);
    border-radius: 20px;
    pointer-events: none;
}

.wp-hero::after {
    content: "✦";
    position: absolute;
    top: 24px;
    right: 7%;
    color: #e7c27d;
    font-size: 30px;
    opacity: .75;
    animation: wp-twinkle 3s ease-in-out infinite;
}

.wp-hero-content {
    position: relative;
    z-index: 2;
}

.wp-logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 13px rgba(231,194,125,.35));
    animation: wp-glow 4s ease-in-out infinite;
}

.wp-eyebrow {
    color: #e6c58a;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
}

.wp-title {
    font-family: 'Yatra One',cursive;
    font-weight: 400;
    font-size: clamp(30px,5vw,55px);
    line-height: 1.25;
    margin: 0 0 15px;
    color: #fff5e4;
    text-shadow: 0 3px 25px rgba(255,219,157,.22);
}

.wp-title span {
    color: #edc77f;
}

.wp-subtitle {
    color: rgba(255,245,228,.82);
    font-size: 15px;
    line-height: 1.8;
    max-width: 590px;
    margin: 0 auto 23px;
}

.wp-divider {
    width: 100px;
    height: 2px;
    margin: 0 auto 22px;
    background: linear-gradient(90deg,transparent,#e7c27d,transparent);
}

.wp-count {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 20px;
    border: 1px solid rgba(231,194,125,.45);
    border-radius: 50px;
    background: rgba(255,255,255,.07);
    color: #f5dcae;
    font-size: 13px;
    font-weight: 600;
}

.wp-count-dot {
    width: 7px;
    height: 7px;
    background: #e8c47e;
    border-radius: 50%;
    box-shadow: 0 0 10px #e8c47e;
    animation: wp-twinkle 2s infinite;
}

.wp-section-heading {
    text-align: center;
    margin-bottom: 32px;
    animation: wp-hero-enter .8s ease both;
}

.wp-section-heading h2 {
    font-family: 'Yatra One',cursive;
    font-size: clamp(25px,3vw,34px);
    color: #571329;
    margin: 0 0 9px;
}

.wp-section-heading p {
    color: #846b62;
    font-size: 14px;
    margin: 0;
}

.wp-gallery {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 25px;
}

.wp-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(184,137,56,.22);
    border-radius: 19px;
    box-shadow: 0 8px 28px rgba(76,29,38,.075);
    transition: transform .4s cubic-bezier(.2,.8,.2,1),
                box-shadow .4s ease,
                border-color .4s ease;
    animation: wp-card-enter .8s ease both;
}

.wp-card:nth-child(4n+1) {animation-delay:.08s}
.wp-card:nth-child(4n+2) {animation-delay:.16s}
.wp-card:nth-child(4n+3) {animation-delay:.24s}
.wp-card:nth-child(4n+4) {animation-delay:.32s}

.wp-card:hover {
    transform: translateY(-9px);
    border-color: rgba(184,137,56,.7);
    box-shadow: 0 20px 42px rgba(76,29,38,.15),
                0 0 0 1px rgba(184,137,56,.13);
}

.wp-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #eee2d2;
}

.wp-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 65%,rgba(42,9,22,.22));
    pointer-events: none;
}

.wp-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .75s cubic-bezier(.2,.8,.2,1);
}

.wp-card:hover .wp-image {
    transform: scale(1.09);
}

.wp-image-tag {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 2;
    padding: 6px 11px;
    color: #fff3d8;
    background: rgba(62,12,29,.76);
    border: 1px solid rgba(231,194,125,.65);
    border-radius: 50px;
    font-size: 10px;
    letter-spacing: .7px;
    backdrop-filter: blur(8px);
}

.wp-card-body {
    padding: 18px 16px 17px;
    text-align: center;
}

.wp-card-title {
    color: #531326;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 7px;
    overflow-wrap: anywhere;
}

.wp-card-category {
    color: #9a7c65;
    font-size: 12px;
    min-height: 18px;
    display: block;
    margin-bottom: 16px;
}

.wp-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

.wp-btn {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .3s ease;
}

.wp-btn-view {
    color: #fff !important;
    background: linear-gradient(120deg,#71152e,#a12b4d);
    border: 1px solid #9d3650;
    box-shadow: 0 5px 13px rgba(120,23,49,.15);
}

.wp-btn-view:hover {
    color: #fff !important;
    background: #4b0c20;
    box-shadow: 0 7px 17px rgba(120,23,49,.25);
    transform: translateY(-2px);
}

.wp-btn-download {
    color: #6d4a1c !important;
    background: linear-gradient(120deg,#fff8e9,#f6e5c5);
    border: 1px solid #d4ad6a;
}

.wp-btn-download:hover {
    color: #511027 !important;
    background: #f0d8ac;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(184,137,56,.18);
}

.wp-empty {
    text-align: center;
    padding: 65px 20px;
    border-radius: 22px;
    border: 1px dashed #c9a66e;
    background: rgba(255,255,255,.6);
    color: #795565;
}

@keyframes wp-float {
    0%,100% {transform:translate3d(0,0,0) scale(.8);opacity:.25}
    50% {transform:translate3d(12px,-32px,0) scale(1.4);opacity:.75}
}

@keyframes wp-orbit {
    to {transform:rotate(360deg)}
}

@keyframes wp-twinkle {
    0%,100% {opacity:.4;transform:scale(.85)}
    50% {opacity:1;transform:scale(1.15)}
}

@keyframes wp-glow {
    0%,100% {filter:drop-shadow(0 0 7px rgba(231,194,125,.25))}
    50% {filter:drop-shadow(0 0 20px rgba(231,194,125,.65))}
}

@keyframes wp-hero-enter {
    from {opacity:0;transform:translateY(24px)}
    to {opacity:1;transform:translateY(0)}
}

@keyframes wp-card-enter {
    from {opacity:0;transform:translateY(20px)}
    to {opacity:1;transform:translateY(0)}
}

@media(min-width:1200px) {
    .wp-gallery {gap:28px}
}

@media(max-width:991px) {
    .wp-gallery {grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
    .wp-hero {margin-left:12px;margin-right:12px}
}

@media(max-width:767px) {
    .ps-wallpaper {padding:20px 0 55px}
    .wp-hero {padding:52px 20px 45px;margin-bottom:45px;border-radius:22px}
    .wp-logo {width:55px;height:55px}
    .wp-eyebrow {font-size:9px;letter-spacing:3px}
    .wp-subtitle {font-size:13px}
    .wp-gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
    .wp-card {border-radius:14px}
    .wp-card-body {padding:12px 9px 12px}
    .wp-card-title {font-size:13px}
    .wp-card-category {font-size:11px;margin-bottom:12px}
    .wp-btn {font-size:11px;min-height:40px;gap:5px}
    .wp-section-heading {margin-bottom:23px}
}

@media(max-width:360px) {
    .wp-gallery {gap:9px}
    .wp-card-body {padding:10px 7px}
    .wp-btn {font-size:10px}
}

@media(prefers-reduced-motion:reduce) {
    .ps-wallpaper *,
    .ps-wallpaper *::before,
    .ps-wallpaper *::after {
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
    }
}

/* Smaller Divine Collection label on mobile */
@media (max-width: 576px) {
    .wp-image-tag {
        font-size: 8px !important;
        padding: 4px 7px !important;
        letter-spacing: 0.5px !important;
        border-radius: 20px !important;
    }
}


/* Extra-small Divine Collection label on phones */
@media (max-width: 576px) {
    .wp-image-tag {
        font-size: 6px !important;
        padding: 2px 5px !important;
        letter-spacing: 0.2px !important;
        line-height: 1.2 !important;
    }
}

