/* ============================================================
   SPOTIFY PROMOTION PAGE - Full Theme Match
   Brand: #229D78 (primary-green), #1B337B (secondary-blue), #F8B430 (accent-yellow)
   ============================================================ */

/* ---------- Aurora Background ---------- */
.sp-page-root {
    position: relative;
    overflow: hidden;
}

.sp-aurora-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.sp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.13;
    animation: ytBlobFloat 22s infinite alternate;
}
.sp-blob-1 {
    width: 700px; height: 700px;
    background: linear-gradient(135deg, #229D78, #1B337B);
    top: -180px; right: -120px;
}
.sp-blob-2 {
    width: 600px; height: 600px;
    background: linear-gradient(135deg, #1DB954, #F8B430);
    bottom: -200px; left: -100px;
    animation-delay: -8s;
}
.sp-blob-3 {
    width: 350px; height: 350px;
    background: #229D78;
    top: 40%; left: 10%;
    opacity: 0.07;
    animation-delay: -14s;
}

@keyframes ytBlobFloat {
    0%   { transform: translate(0,0) scale(1) rotate(0deg); }
    100% { transform: translate(100px,60px) scale(1.25) rotate(25deg); }
}

/* ---------- Hero Section ---------- */
.sp-hero {
    position: relative;
    padding: 180px 0 120px;
    z-index: 2;
}

.sp-breadcrumb-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34,157,120,0.08);
    border: 1px solid rgba(34,157,120,0.2);
    color: #229D78;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 22px;
    border-radius: 100px;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.sp-breadcrumb-pill:hover {
    background: rgba(34,157,120,0.15);
    color: #229D78;
}
.sp-breadcrumb-chevron { font-size: 10px; }

.sp-guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
}
.sp-guarantee-badge i { color: #229D78; }

/* Hero right visual mockup */
.sp-mockup-container {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-mockup-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29,185,84,0.06) 0%, rgba(27,51,123,0.06) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.sp-central-icon {
    position: relative;
    z-index: 3;
    text-align: center;
}
.sp-central-icon .sp-big-logo {
    font-size: 100px;
    color: #1DB954;
    filter: drop-shadow(0 20px 40px rgba(29,185,84,0.3));
    animation: ytLogoPulse 3s ease-in-out infinite;
}
@keyframes ytLogoPulse {
    0%,100% { transform: scale(1); filter: drop-shadow(0 20px 40px rgba(29,185,84,0.3)); }
    50%      { transform: scale(1.06); filter: drop-shadow(0 25px 55px rgba(29,185,84,0.45)); }
}

.sp-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: #1B337B;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin: 6px 4px;
    border: 1px solid rgba(27,51,123,0.08);
}
.sp-stat-chip i { color: #229D78; font-size: 16px; }

.sp-float-el {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: #1B337B;
    z-index: 4;
    border: 1px solid rgba(255,255,255,0.6);
}
.sp-float-el-1 { top: 18%; left: -10px; animation: floatEl1 5s ease-in-out infinite; }
.sp-float-el-2 { bottom: 15%; right: -10px; animation: floatEl2 6s ease-in-out infinite; }
.sp-float-el-3 { top: 65%; left: 5%; animation: floatEl3 4.5s ease-in-out infinite; }

@keyframes floatEl1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes floatEl2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
@keyframes floatEl3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.sp-pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #229D78;
    display: inline-block;
    margin-right: 6px;
    animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.4; transform:scale(1.4); }
}

/* ---------- Filter Tabs ---------- */
.sp-filter-section {
    position: relative;
    z-index: 2;
    padding-bottom: 20px;
}

.sp-filter-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.sp-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #555;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 22px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.sp-filter-btn:hover,
.sp-filter-btn.active {
    background: #1B337B;
    border-color: #1B337B;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27,51,123,0.2);
}
.sp-filter-btn i { font-size: 14px; }

/* ---------- Cards Grid Section ---------- */
.sp-cards-section {
    position: relative;
    z-index: 2;
    padding: 60px 0 100px;
}

/* ---------- Spotify Service Card ---------- */
.sp-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #f1f5f9;
    box-shadow: 0 6px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(27,51,123,0.12);
    border-color: rgba(34,157,120,0.3);
}

/* SALE ribbon */
.sp-sale-ribbon {
    position: absolute;
    top: 0; left: 0;
    width: 80px; height: 80px;
    overflow: hidden;
    z-index: 5;
}
.sp-sale-ribbon span {
    display: block;
    position: absolute;
    top: 18px; left: -18px;
    width: 80px;
    text-align: center;
    background: #F8B430;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(248,180,48,0.4);
}

.sp-card-inner {
    padding: 30px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    text-align: center;
}

/* Spotify logo area */
.sp-logo-area {
    margin: 8px 0 16px;
}
.sp-logo-area .sp-icon {
    font-size: 48px;
    color: #1DB954;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(29,185,84,0.2));
    transition: transform 0.3s ease;
}
.sp-card:hover .sp-logo-area .sp-icon {
    transform: scale(1.1);
}

/* View count number */
.sp-view-count {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: #1B337B;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 4px;
}

/* Service label */
.sp-service-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: #1B337B;
    margin-bottom: 6px;
}

/* Short description */
.sp-short-desc {
    font-family: var(--font-premium);
    font-size: 12px;
    color: #888;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 14px;
    padding: 0 4px;
}

/* Divider */
.sp-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 12px 0;
}

/* Discount badge */
.sp-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34,157,120,0.08);
    border: 1px solid rgba(34,157,120,0.2);
    color: #229D78;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.sp-discount-badge i { font-size: 12px; }

/* Price row */
.sp-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.sp-original-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #aaa;
    text-decoration: line-through;
}
.sp-sale-price {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 900;
    color: #229D78;
    letter-spacing: -1px;
}

/* Add to Cart button */
.sp-add-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #229D78 0%, #1B337B 100%);
    color: #fff !important;
    border: none;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: auto;
}
.sp-add-cart-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background: linear-gradient(135deg, #1B337B 0%, #229D78 100%);
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
    border-radius: 100px;
}
.sp-add-cart-btn:hover::before { width: 100%; }
.sp-add-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(34,157,120,0.3);
    color: #fff !important;
}
.sp-add-cart-btn i { font-size: 15px; transition: transform 0.3s ease; }
.sp-add-cart-btn:hover i { transform: translateX(4px); }

/* Featured card highlight */
.sp-card.featured {
    border: 2px solid #229D78;
    box-shadow: 0 10px 40px rgba(34,157,120,0.15);
}
.sp-card.featured .sp-add-cart-btn {
    background: linear-gradient(135deg, #1DB954 0%, #158a3e 100%);
}
.sp-card.featured .sp-add-cart-btn::before {
    background: linear-gradient(135deg, #158a3e 0%, #1DB954 100%);
}
.sp-card.featured .sp-add-cart-btn:hover {
    box-shadow: 0 15px 35px rgba(29,185,84,0.3);
}

.sp-featured-pill {
    position: absolute;
    top: 14px; right: 16px;
    background: #229D78;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    z-index: 5;
}

/* ---------- Section Heading ---------- */
.sp-section-header {
    text-align: center;
    margin-bottom: 50px;
}
.sp-section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #1B337B;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 14px;
}
.sp-section-title .highlight { color: #229D78; }
.sp-section-subtitle {
    font-family: var(--font-premium);
    font-size: 1rem;
    color: #777;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- Why Choose Section ---------- */
.sp-why-section {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0faf6 100%);
}

.sp-why-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    height: 100%;
}
.sp-why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(27,51,123,0.1);
    border-color: rgba(34,157,120,0.25);
}
.sp-why-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}
.sp-why-icon.green { background: rgba(34,157,120,0.1); color: #229D78; }
.sp-why-icon.blue  { background: rgba(27,51,123,0.1);  color: #1B337B; }
.sp-why-icon.red   { background: rgba(29,185,84,0.08);   color: #1DB954; }
.sp-why-icon.gold  { background: rgba(248,180,48,0.1); color: #F8B430; }

.sp-why-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: #1B337B;
    margin-bottom: 8px;
}
.sp-why-text {
    font-family: var(--font-premium);
    font-size: 13.5px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- Stats Strip ---------- */
.sp-stats-strip {
    position: relative;
    z-index: 2;
    background: #1B337B;
    padding: 55px 0;
}
.sp-stat-block {
    text-align: center;
}
.sp-stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #F8B430;
    line-height: 1;
    letter-spacing: -2px;
    display: block;
}
.sp-stat-label {
    font-family: var(--font-premium);
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
    display: block;
}

/* ---------- Delays for stagger ---------- */
.sp-delay-1 { transition-delay: 0.1s; }
.sp-delay-2 { transition-delay: 0.2s; }
.sp-delay-3 { transition-delay: 0.3s; }
.sp-delay-4 { transition-delay: 0.4s; }
.sp-delay-5 { transition-delay: 0.5s; }
.sp-delay-6 { transition-delay: 0.6s; }

/* pkg delay compat */
.pkg-delay-2 { transition-delay: 0.15s; }
.pkg-delay-4 { transition-delay: 0.3s; }
.pkg-delay-6 { transition-delay: 0.5s; }

/* ---------- Utility Classes for Decoupled Inline Styling ---------- */
.sp-z-index-2 {
    position: relative;
    z-index: 2 !important;
}
.sp-text-red {
    color: #1DB954 !important;
}
.sp-text-blue {
    color: #1B337B !important;
}
.sp-text-yellow {
    color: #F8B430 !important;
}
.sp-text-green {
    color: #229D78 !important;
}
.sp-category-title {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    color: #1B337B !important;
}

/* ---------- Toast popup notification ---------- */
#sp-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #1B337B;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 16px 28px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(27,51,123,0.25);
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    max-width: 360px;
    border-left: 4px solid #229D78;
    pointer-events: none;
}
#sp-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .sp-hero { padding: 140px 0 80px; }
    .sp-mockup-container { height: 320px; margin-top: 40px; }
    .hero-aurora-title { font-size: 4rem !important; }
    .sp-section-title { font-size: 2.2rem; }
    .sp-view-count { font-size: 2rem; }
}
@media (max-width: 575.98px) {
    .hero-aurora-title { font-size: 3rem !important; }
    .sp-stat-number { font-size: 2rem; }
}
