
.updates {
    width: 100%;
    position: relative;
    margin-top: 50px;
}

.ad-container {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #c026d3 50%, #000000 100%);
    border-radius: 6px;
    padding: 24px;
    color: #ffffff;
    overflow: hidden;
    border: 2px solid rgba(240, 171, 252, 0.5);
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.4), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    .ad-container {
        padding: 32px;
    }
}

.bg-stripes {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.1) 10px,
        transparent 10px,
        transparent 20px
    );
    pointer-events: none;
    opacity: 0.3;
}

.circle-top-right {
    position: absolute;
    top: -64px;
    right: -64px;
    width: 128px;
    height: 128px;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(24px);
}

.circle-bottom-left {
    position: absolute;
    bottom: -64px;
    left: -64px;
    width: 192px;
    height: 192px;
    background-color: #fbbf24;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(32px);
}

.header-group {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 24px;
}

.offer-h {
    font-size: 2.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, #fde047, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    margin: 0 0 8px 0;
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@media (min-width: 640px) {
    .offer-h {
        font-size: 3rem;
    }
}

.subheading {
    color: #fae8ff;
    font-weight: 600;
    letter-spacing: 0.025em;
    font-size: 0.875rem;
    margin: 0;
}

@media (min-width: 640px) {
    .subheading {
        font-size: 1rem;
    }
}

.offer-card {
    position: relative;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 6px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

@media (min-width: 640px) {
    .offer-card {
        flex-direction: row;
        padding: 24px;
    }
}

.badge-discount {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: #fbbf24;
    color: #111827;
    font-weight: 900;
    border-radius: 6px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-12deg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
    animation: bounce-slight 2s infinite;
    z-index: 20;
}

.badge-discount-inner {
    text-align: center;
    line-height: 1;
}

.badge-percent {
    font-size: 1.5rem;
    display: block;
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.offer-img-div {
    flex-shrink: 0;
    position: relative;
    width: 160px;
    height: 192px;
}

@media (min-width: 640px) {
    .offer-img-div {
        width: 192px;
        height: 224px;
    }
}

.img-placeholder {
    position: absolute;
    inset: 0;
    background-color: #e5e7eb;
    border-radius: 6px;
    animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.offer-img {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f5d0fe;
    transition: transform 0.3s ease;
}

.offer-img-div:hover .offer-img {
    transform: scale(1.05);
}

.unbeatable-badge {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid #ffffff;
    z-index: 20;
}

.offer-content {
    flex-grow: 1;
    text-align: center;
}

@media (min-width: 640px) {
    .offer-content {
        text-align: left;
    }
}

.offer-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@media (min-width: 640px) {
    .offer-title {
        font-size: 1.5rem;
    }
}

.price-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .price-group {
        justify-content: flex-start;
    }
}

.original-price {
    color: #f5d0fe;
    text-decoration: line-through;
    font-size: 0.875rem;
    font-weight: 600;
}

@media (min-width: 640px) {
    .original-price {
        font-size: 1rem;
    }
}

.offer-now {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@media (min-width: 640px) {
    .offer-now {
        font-size: 1.875rem;
    }
}

.offer-desc {
    color: #fdf4ff;
    font-size: 0.75rem;
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .offer-desc {
        font-size: 0.875rem;
    }
}

.buy-btn {
    width: 100%;
    background-color: #ffffff;
    color: #c026d3;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

@media (min-width: 640px) {
    .buy-btn {
        width: auto;
    }
}

.buy-btn:hover {
    background-color: #fdf4ff;
    color: #a21caf;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.buy-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.5);
}

.footer-note {
    text-align: center;
    margin-top: 16px;
    color: #f5d0fe;
    font-size: 0.75rem;
    opacity: 0.75;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes bounce-slight {
    0%, 100% {
        transform: translateY(-5%) rotate(-12deg);
        animation-timing-function: cubic-bezier(0.8,0,1,1);
    }
    50% {
        transform: rotate(-12deg);
        animation-timing-function: cubic-bezier(0,0,0.2,1);
    }
}

.countdown {
    display: flex;
    gap: 12px;
    font-family: 'Courier New', Courier, monospace;
    user-select: none;
    margin-top: 20px;
    flex-grow: 4;
    justify-content: center;
    align-items: center;
  }
  
  @media (min-width:768px) {
    .countdown{
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
  }
  .countdown-block {
    background-color: #1a1a1a;
    color: #f700ff;
    border: 3px solid #000000;
    box-shadow: 5px 5px 0px #000000;
    padding: 5px;
    min-width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
  }
  
  #days, #hours, #minutes, #seconds {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
  }
  
  .label {
    font-size: 0.8rem;
    color: #888888;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: bold;
  }