/* ===================================
   Full Page Views (Mobile-First)
   =================================== */

/* Page Header Mobile */
.page-header-mobile {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-background);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .page-header-mobile {
        padding: 12px 16px;
    }
}

/* Show on all devices */
@media (min-width: 1024px) {
    .page-header-mobile {
        display: flex !important;
    }

    .sticky-actions {
        bottom: 24px;
    }
}

.page-header-mobile h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    flex: 1;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(255, 107, 53, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-back i {
    font-size: 16px;
}

/* Deal Page Content */
.deal-page-content {
    padding: 20px;
    margin: 0 auto;
}

.deal-image-container {
    width: 100%;
    margin-bottom: 24px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--color-surface);
}

.deal-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.deal-header {
    margin-bottom: 24px;
}

.deal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.deal-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.deal-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

.deal-coupon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border: 2px dashed var(--color-primary);
    border-radius: 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deal-coupon:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
    transform: scale(1.05);
}

.deal-coupon i {
    font-size: 18px;
}

/* Button "Ir para Loja" inside price section */
.deal-price-section .btn-view-store {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    font-weight: 700;
    font-size: 18px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.deal-price-section .btn-view-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.deal-price-section .btn-view-store:active {
    transform: translateY(0);
}

.deal-price-section .btn-view-store i {
    font-size: 20px;
}

.deal-description {
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 24px;
}

.deal-description h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
}

.deal-description p {
    margin: 0;
    color: var(--color-dark);
    line-height: 1.6;
}

/* Stats Overview (reusing My Offers stats style) */
.deal-stats-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 600px) {
    .deal-stats-overview {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .deal-stats-overview {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .deal-stats-overview {
        grid-template-columns: repeat(5, 1fr);
    }
}

.deal-stats-section {
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 24px;
}

.deal-ranking-section {
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 24px;
}

.deal-ranking-header {
    margin-bottom: 16px;
}

.deal-ranking-header h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

@media (min-width: 600px) {
    .deal-ranking-header h4 {
        font-size: 20px;
    }
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    transition: all 0.2s ease;
}

@media (min-width: 600px) {
    .ranking-item {
        padding: 14px;
    }
}

.ranking-item:hover {
    background: #f5f5f5;
}

/* Top 3 mantém fundo branco, destaque vem das medalhas */

.ranking-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.medal {
    font-size: 20px;
    flex-shrink: 0;
}

@media (min-width: 600px) {
    .medal {
        font-size: 22px;
    }
}

.ranking-name {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 600px) {
    .ranking-name {
        font-size: 15px;
    }
}

.ranking-stats {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--color-gray);
    align-items: center;
    flex-shrink: 0;
}

.ranking-stats > div {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.ranking-stats i {
    font-size: 14px;
}



.user-ranking-card {
    margin-top: 12px;
    padding: 12px;
    background: white;
    border: 2px solid var(--color-orange-fire, #FF6B35);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.user-ranking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-energy);
}

.user-rank-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-rank-position {
    font-size: 20px;
    font-weight: 700;
}

.user-rank-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-rank-title {
    font-weight: 700;
    color: var(--color-primary);
}

.user-rank-metrics {
    color: var(--color-gray);
    font-size: 14px;
}

.ranking-list-container .loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray);
}

.deal-stats-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
}

.deal-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .deal-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.deal-stat {
    text-align: center;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.deal-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.deal-stat-label {
    font-size: 12px;
    color: var(--color-gray);
}

/* Estilo especial para contador de vendas QuizDrop */
.deal-stat-sales .deal-stat-value {
    color: #ffd700;
}

.deal-stat-sales {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.2);
}

.deal-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.deal-actions .btn {
    flex: 1;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-text-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-caption {
    display: block;
    font-size: 12px;
    color: var(--color-gray);
}

/* Create Post Page Content */
.create-post-page-content {
    padding: clamp(16px, 4vw, 32px);
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.create-post-form-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #FFFFFF;
    border-radius: var(--border-radius);
    padding: clamp(16px, 3vw, 28px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.create-post-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.04));
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.create-post-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.16);
    color: var(--color-primary);
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.1);
}

.chip-soft {
    background: var(--color-surface);
    color: var(--color-dark);
    border-color: var(--border-color);
    box-shadow: none;
}

.create-post-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.tip-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 10px 12px;
}

.tip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 215, 0, 0.16);
    color: var(--color-primary);
}

.tip-title {
    margin: 0;
    font-weight: 700;
}

.tip-copy {
    margin: 4px 0 0 0;
    color: var(--text-muted);
    font-size: 0.93rem;
}

.hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    color: var(--color-primary);
    box-shadow: var(--shadow);
}

.hero-copy h3 {
    margin: 0;
    font-size: 20px;
}

.hero-subtitle {
    margin: 6px 0 10px;
    color: var(--color-gray);
    font-size: 14px;
}

.hero-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-dark);
    font-size: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.create-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.sticky-actions {
    position: sticky;
    bottom: 80px;
    z-index: 5;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.sticky-actions .btn {
    flex: 1;
}

.my-posts-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.my-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.my-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.my-posts-summary {
    display: block;
}

.summary-card {
    background: linear-gradient(120deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.summary-title {
    margin: 0 0 8px 0;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.01em;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.summary-item {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
}

.summary-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-dark);
}

.summary-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.my-post-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.my-post-thumb {
    width: 100%;
    padding-top: 56%;
    background-size: cover;
    background-position: center;
}

.my-post-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.my-post-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.my-post-top h4 {
    margin: 0;
    font-size: 1rem;
}

.my-post-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.my-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 6px 10px;
}

.my-post-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.my-post-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.my-posts-editor .form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.my-posts-editor .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.my-posts-editor .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.my-posts-editor .form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.my-posts-editor .eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin: 0 0 6px;
}

.my-posts-editor .btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}

.my-posts-editor .btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

.form-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.form-card.wide {
    grid-column: span 2;
}

.form-section label.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.form-actions {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.form-actions .btn {
    min-width: 140px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .deal-page-content,
    .create-post-page-content {
        padding: 12px 8px;
    }

    .create-post-form-container {
        padding: 14px;
    }

    .create-post-hero {
        grid-template-columns: 1fr;
    }

    .hero-copy h3 {
        font-size: 18px;
    }

    .create-post-grid {
        gap: 12px;
    }

    .form-card.wide {
        grid-column: 1 / -1;
    }

    .form-actions {
        justify-content: center;
    }

    .form-actions .btn {
        flex: 1;
        min-width: 0;
    }

    .deal-title {
        font-size: 20px;
    }
    
    .deal-price {
        font-size: 28px;
    }
    
    .deal-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .deal-actions {
        flex-direction: column;
    }
}

/* Desktop: Keep back button visible */
@media (min-width: 1024px) {
    .deal-page-content,
    .create-post-page-content {
        padding: 40px;
        background: #FFFFFF;
        border-radius: var(--border-radius);
        margin: 20px auto;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
}


/* ===================================
   Purchase Confirmation Page Styles
   =================================== */

.purchase-confirm-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 20px;
}

.purchase-product-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--color-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.purchase-product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.purchase-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.purchase-product-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.4;
}

.purchase-coupon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #FEC400 0%, #FF6B35 100%);
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.purchase-summary-section,
.purchase-balance-section {
    background: var(--color-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.purchase-section-title {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
}

.purchase-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.purchase-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.purchase-row.purchase-total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid var(--border-color);
}

.purchase-label {
    font-size: 14px;
    color: var(--color-gray);
}

.purchase-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}

.purchase-value.purchase-negative {
    color: #E63946;
}

.purchase-value.purchase-positive {
    color: #2ECC71;
}

.purchase-profit-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(254, 196, 0, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border: 1px solid #FEC400;
    border-radius: 8px;
    margin-top: 16px;
    color: #FF6B35;
    font-size: 14px;
    font-weight: 600;
}

.purchase-profit-notice i {
    font-size: 18px;
}

.purchase-error-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid #E63946;
    border-radius: 8px;
    margin-bottom: 16px;
    color: #E63946;
    font-size: 14px;
    font-weight: 600;
}

.purchase-error-notice i {
    font-size: 18px;
}

.purchase-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.btn-purchase-cancel {
    background: var(--color-light);
    color: var(--color-dark);
    border: 1px solid var(--border-color);
}

.btn-purchase-cancel:hover {
    background: var(--color-gray);
}

.btn-purchase-confirm {
    background: linear-gradient(135deg, #FF6B35 0%, #FEC400 100%);
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.btn-purchase-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-purchase-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .purchase-confirm-container {
        padding: 16px 12px;
    }
    
    .purchase-product-card {
        padding: 16px;
    }
    
    .purchase-product-image {
        width: 80px;
        height: 80px;
    }
    
    .purchase-product-name {
        font-size: 14px;
    }
    
    .purchase-actions {
        grid-template-columns: 1fr;
    }
}


/* ===================================
   Enhanced Button Styles (Identity)
   =================================== */

/* Drop Price Button - Orange/Yellow Gradient */
.btn-drop-price-inline {
    position: relative;
    background: linear-gradient(135deg, #FF6B35 0%, #FEC400 100%);
    color: white;
    border: none;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-drop-price-inline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-drop-price-inline:hover::before {
    left: 100%;
}

.btn-drop-price-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.btn-drop-price-inline:active {
    transform: translateY(0);
}

/* Buy with Points Button - Enhanced Primary Style */
.btn-buy-points {
    position: relative;
    background: linear-gradient(135deg, #FEC400 0%, #FF6B35 100%);
    color: white;
    border: none;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(254, 196, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-buy-points::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-buy-points:hover::before {
    left: 100%;
}

.btn-buy-points:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(254, 196, 0, 0.4);
}

.btn-buy-points:active {
    transform: translateY(0);
}

.btn-buy-points:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-buy-points:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(254, 196, 0, 0.3);
}

.btn-text-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.btn-caption {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive button adjustments */
@media (max-width: 480px) {
    .btn-drop-price-inline,
    .btn-buy-points {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-caption {
        font-size: 10px;
    }
}

/* Enhanced Ranking Section */
.deal-ranking-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 196, 0, 0.02) 100%);
    border: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.deal-ranking-header h4 {
    background: linear-gradient(135deg, #FF6B35 0%, #FEC400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Medal animations */
.medal {
    animation: medalPulse 2s ease-in-out infinite;
}

@keyframes medalPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.ranking-item[data-rank="1"] .medal {
    animation: goldShine 3s ease-in-out infinite;
}

@keyframes goldShine {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(254, 196, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 2px 8px rgba(254, 196, 0, 0.6));
    }
}
