/* ==========================================================================
   Purchase Notifications Styles
   Sistema moderno de notificações responsivo
   ========================================================================== */

:root {
    --notification-primary: #6366f1;
    --notification-success: #10b981;
    --notification-warning: #f59e0b;
    --notification-error: #ef4444;
    --notification-bg: #ffffff;
    --notification-text: #1f2937;
    --notification-text-muted: #6b7280;
    --notification-border: #e5e7eb;
    --notification-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --notification-radius: 12px;
    --notification-z-index: 9999;
}

/* Container Principal das Notificações */
.notifications-container {
    position: fixed;
    pointer-events: none;
    z-index: var(--notification-z-index);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Posicionamento Desktop */
.notifications-container.position-top-left {
    top: 20px;
    left: 20px;
}

.notifications-container.position-top-right {
    top: 20px;
    right: 20px;
}

.notifications-container.position-bottom-left {
    bottom: 20px;
    left: 20px;
}

.notifications-container.position-bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Posicionamento Mobile */
.notifications-container.position-mobile-top {
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
}

.notifications-container.position-mobile-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    padding-bottom: calc(env(safe-area-inset-bottom, 16px) + 8px);
    z-index: 10001; /* Acima de outros elementos mobile */
}

/* Backdrop blur apenas quando há notificações */
.notifications-container:not(:empty) {
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.notifications-container.position-mobile-bottom:not(:empty) {
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
}

/* Notificação Individual - SOBRESCREVER ESTILOS ANTIGOS */
.purchase-notification {
    pointer-events: auto;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 12px;
    max-width: none !important;
    min-width: none !important;
    position: relative;
    overflow: visible !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Mobile: Notificação ocupa toda a largura */
@media (max-width: 768px) {
    .purchase-notification {
        max-width: none;
        min-width: auto;
        margin: 0 0 8px 0;
        border-radius: 8px;
    }
    
    .notifications-container.position-mobile-top .purchase-notification {
        margin-top: 8px;
    }
}

/* Estados da Notificação */
.purchase-notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.purchase-notification.removing {
    transform: scale(0.95);
    opacity: 0;
}

/* Barra Colorida Lateral */
.purchase-notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}



.purchase-notification.type-winner::before {
    background: linear-gradient(135deg, var(--notification-warning), #fbbf24);
}

/* Header da Notificação */
.notification-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.notification-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.notification-icon.type-purchase {
    background: linear-gradient(135deg, var(--notification-success), #34d399);
}

.notification-icon.type-winner {
    background: linear-gradient(135deg, var(--notification-warning), #fbbf24);
}

.notification-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.notification-title {
    font-weight: 600;
    color: var(--notification-text);
    font-size: 14px;
    margin: 0;
    flex: 1;
}

.notification-close {
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    color: var(--notification-text-muted);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 16px;
    line-height: 1;
}

.notification-close:hover {
    background: #f3f4f6;
    color: var(--notification-text);
}

/* Conteúdo da Notificação */
.notification-content {
    color: var(--notification-text);
    font-size: 13px;
    line-height: 1.4;
}

.notification-content strong {
    font-weight: 600;
    color: var(--notification-text);
}

.notification-user {
    color: var(--notification-primary);
    font-weight: 600;
}

.notification-location {
    color: var(--notification-text-muted);
}

.notification-raffle {
    color: var(--notification-text);
    font-weight: 600;
}

.notification-quantity {
    color: var(--notification-success);
    font-weight: 600;
}

/* Footer da Notificação */
.notification-footer {
    display: flex;
    justify-content: between;
    align-items: center;
    font-size: 11px;
    color: var(--notification-text-muted);
}

.notification-time {
    flex: 1;
}

.notification-action {
    background: none;
    border: none;
    color: var(--notification-primary);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.notification-action:hover {
    background: #f0f9ff;
    color: var(--notification-primary);
    text-decoration: none;
}

/* Animações de Entrada */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-100%);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Classes de Animação */
.notification-enter.animation-slide {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-enter.animation-slide.position-left {
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-enter.animation-slide.position-top {
    animation: slideInTop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-enter.animation-slide.position-bottom {
    animation: slideInBottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-enter.animation-fade {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-enter.animation-bounce {
    animation: bounceIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-enter.animation-scale {
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animações de Saída */
@keyframes slideOutRight {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideOutLeft {
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutTop {
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes slideOutBottom {
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes scaleOut {
    to {
        opacity: 0;
        transform: scale(0);
    }
}

.notification-exit.animation-slide {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-exit.animation-slide.position-left {
    animation: slideOutLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-exit.animation-slide.position-top {
    animation: slideOutTop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-exit.animation-slide.position-bottom {
    animation: slideOutBottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-exit.animation-fade {
    animation: fadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-exit.animation-scale {
    animation: scaleOut 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsividade */
@media (max-width: 768px) {
    .notifications-container {
        z-index: 10000; /* Acima de modais mobile */
    }
    
    .notification-content {
        font-size: 14px;
    }
    
    .notification-title {
        font-size: 15px;
    }
    
    /* Push notification style no mobile */
    .notifications-container.position-mobile-top .purchase-notification {
        background: var(--notification-bg);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .purchase-notification {
        border: 2px solid var(--notification-text);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .purchase-notification,
    .notification-icon::after,
    .notification-close {
        transition: none;
        animation: none;
    }
    
    .notification-enter,
    .notification-exit {
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --notification-bg: #1f2937;
        --notification-text: #f9fafb;
        --notification-text-muted: #9ca3af;
        --notification-border: #374151;
        --notification-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
    
    .notification-close:hover {
        background: #374151;
    }
    
    .notification-action:hover {
        background: #1e40af;
    }
}

/* Accessibility */
.purchase-notification:focus {
    outline: 2px solid var(--notification-primary);
    outline-offset: 2px;
}

.purchase-notification[aria-live="polite"] {
    /* Screen reader announcements */
}

/* Loading state */
.notifications-container.loading {
    opacity: 0.7;
}

/* Error state */
.notifications-container.error {
    pointer-events: none;
}

.notifications-container.error .purchase-notification {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* Success state for transitions */
.notification-success-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: var(--notification-success);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.notification-success-indicator.show {
    opacity: 1;
    transform: scale(1);
}

.notification-success-indicator::after {
    content: '✓';
    color: white;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Performance optimizations */
.purchase-notification {
    will-change: transform, opacity;
    contain: layout style paint;
}

/* Print styles */
@media print {
    .notifications-container {
        display: none;
    }
}

/* ==========================================================================
   RAFFLE NOTIFICATION - DARK NEON DESIGN (Matching Site Style)
   ========================================================================== */

:root {
    /* Core Dark Palette (matching site) */
    --notification-bg-primary: #0a0a0b;
    --notification-bg-secondary: #1a1a1c;
    --notification-bg-tertiary: #2a2a2d;
    --notification-bg-card: rgba(26, 26, 28, 0.95);
    --notification-bg-glass: rgba(26, 26, 28, 0.6);
    
    /* Neon Accent Colors (matching site) */
    --notification-accent-green: #00ff88;
    --notification-accent-blue: #00d4ff;
    --notification-accent-pink: #ff0080;
    --notification-accent-yellow: #ffb800;
    --notification-accent-red: #ff3366;
    
    /* Text Colors (matching site) */
    --notification-text-primary: #ffffff;
    --notification-text-secondary: #a1a1aa;
    --notification-text-muted: #71717a;
    
    /* Border & Shadow (matching site) */
    --notification-border-glass: rgba(255, 255, 255, 0.1);
    --notification-shadow-neon: 0 0 20px rgba(0, 255, 136, 0.3);
    --notification-shadow-deep: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    
    /* Animation (matching site) */
    --notification-duration-fast: 0.2s;
    --notification-duration-normal: 0.3s;
    --notification-duration-slow: 0.6s;
    --notification-easing: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Borders (matching site) */
    --notification-border-radius: 12px;
    --notification-border-radius-lg: 20px;
}

/* Main Notification Card - Following raffle-card style */
.notification-raffle-card {
    background: rgba(26, 26, 28, 0.9);
    backdrop-filter: blur(25px) saturate(1.2);
    -webkit-backdrop-filter: blur(25px) saturate(1.2);
    border: 1px solid var(--notification-border-glass);
    border-radius: var(--notification-border-radius);
    overflow: hidden;
    position: relative;
    transition: all var(--notification-duration-normal) var(--notification-easing);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    max-width: 320px;
    min-width: 280px;
    max-height: none; /* evita cortar conteúdo (ex.: botão) */
    animation: notificationSlideIn 0.5s var(--notification-easing);
    display: grid;
    grid-template-columns: 88px 1fr; /* thumb + conteúdo */
}

.notification-raffle-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        var(--notification-shadow-deep), 
        var(--notification-shadow-neon),
        0 0 0 1px rgba(0, 255, 136, 0.2) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    border-color: rgba(0, 255, 136, 0.4);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
}

/* Top Neon Border - Following raffle-card style */
.notification-raffle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--notification-accent-green), var(--notification-accent-blue), var(--notification-accent-pink));
    animation: shimmerNotification 3s ease-in-out infinite;
}

/* Image Container - Following raffle-image style */
.notification-raffle-image {
    position: relative;
    height: 100%;
    min-height: 70px;
    overflow: hidden;
}

.notification-raffle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--notification-duration-slow) var(--notification-easing);
}

.notification-raffle-card:hover .notification-raffle-image img {
    transform: scale(1.1);
}

/* Status Badge - Following raffle-status style */
.notification-status {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 10;
}

.notification-status.active {
    background: rgba(0, 255, 136, 0.25);
    color: var(--notification-accent-green);
    border-color: rgba(0, 255, 136, 0.4);
    animation: pulseGlowNotification 2s ease-in-out infinite;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulseDotNotification 1.5s ease-in-out infinite;
}

/* Shimmer Effect - Following site style */
.notification-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmerSweep 2s infinite;
}

/* Content Area - Following raffle-content style */
.notification-raffle-content {
    padding: 0.55rem 0.6rem 0.6rem; /* mais espaço inferior */
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.35rem;
}

/* Badge - Following raffle-label style */
.notification-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 212, 255, 0.25);
    color: var(--notification-accent-blue);
    border: 1px solid rgba(0, 212, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: pulseGlowBlueNotification 3s ease-in-out infinite;
}

.badge-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulseDotNotification 2s ease-in-out infinite;
}

/* Close Button */
.notification-close {
    width: 20px;
    height: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--notification-text-secondary);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--notification-duration-normal) var(--notification-easing);
    font-size: 16px;
    line-height: 1;
    border: 1px solid var(--notification-border-glass);
}

.notification-close:hover {
    background: rgba(255, 51, 102, 0.2);
    border-color: rgba(255, 51, 102, 0.4);
    color: var(--notification-accent-red);
    transform: scale(1.1);
}

/* Title - Following raffle-title style */
.notification-raffle-title {
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--notification-text-primary);
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Text Content */
.notification-text {
    color: var(--notification-text-secondary);
    font-size: 0.64rem;
    line-height: 1.25;
    margin: 0 0 0.3rem 0;
}

.notification-user {
    color: var(--notification-accent-blue);
    font-weight: 600;
}

.notification-location {
    color: var(--notification-text-muted);
    font-size: 0.75rem;
}

.notification-quantity {
    color: var(--notification-accent-green);
    font-weight: 700;
}

/* Meta Info - Following raffle-meta style */
.notification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    font-size: 0.65rem;
}

.notification-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--notification-accent-green);
    font-weight: 600;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 6px;
    padding: 0.26rem 0.5rem;
}

.notification-time {
    color: var(--notification-text-muted);
    font-size: 0.7rem;
    margin-left: auto; /* empurra para a direita, criando espaço */
}

/* Action Button - Following btn-neon style */
.notification-action-wrapper {
    width: 100%;
    margin-top: 0.1rem; /* garante espaço para o botão */
}

.notification-btn-neon {
    width: 100%;
    padding: 0.2rem 0.45rem;
    background: linear-gradient(135deg, var(--notification-accent-green), var(--notification-accent-blue));
    color: var(--notification-bg-primary);
    border: none;
    border-radius: var(--notification-border-radius);
    font-weight: 700;
    font-size: 0.58rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--notification-duration-normal) var(--notification-easing);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    white-space: nowrap;
    min-height: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notification-btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
    color: var(--notification-bg-primary);
    text-decoration: none;
}

.notification-btn-neon::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;
}

.notification-btn-neon:hover::before {
    left: 100%;
}

/* Animations - Following site style */
@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes shimmerNotification {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes shimmerSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulseGlowNotification {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
    }
    50% { 
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8), 0 0 30px rgba(0, 255, 136, 0.4);
    }
}

@keyframes pulseGlowBlueNotification {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
    }
    50% { 
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.4);
    }
}

@keyframes pulseDotNotification {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Mobile Responsive - Following site mobile style */
@media (max-width: 768px) {
    .notification-raffle-card {
        max-width: calc(100vw - 2rem);
        min-width: 260px;
        max-height: none; /* não cortar em telas médias */
        grid-template-columns: 74px 1fr; /* thumb menor no mobile */
    }
    
    .notification-raffle-image { min-height: 70px; }
    
    .notification-raffle-content {
        padding: 0.4rem;
    }
    
    .notification-raffle-title {
        font-size: 0.7rem;
        margin-bottom: 0.15rem;
    }
    
    .notification-text {
        font-size: 0.6rem;
        margin: 0 0 0.2rem 0;
    }
    
    .notification-btn-neon {
        font-size: 0.55rem;
        padding: 0.18rem 0.38rem;
        min-height: 20px;
    }
    
    .notification-status {
        top: 0.25rem;
        right: 0.25rem;
        padding: 0.15rem 0.3rem;
        font-size: 0.45rem;
    }
    
    .notification-badge {
        padding: 0.15rem 0.3rem;
        font-size: 0.45rem;
    }
    
    .notification-header {
        margin-bottom: 0.2rem;
    }
    
    .notification-meta {
        margin-bottom: 0.2rem;
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .notification-raffle-card {
        min-width: 240px;
        max-width: calc(100vw - 1rem);
        max-height: none; /* não cortar em telas pequenas */
        grid-template-columns: 68px 1fr;
    }
    
    .notification-raffle-content { padding: 0.35rem 0.5rem; }
    
    .notification-raffle-image { min-height: 68px; }
    
    .notification-raffle-title {
        font-size: 0.65rem;
        margin-bottom: 0.1rem;
    }
    
    .notification-text {
        font-size: 0.55rem;
        margin: 0 0 0.15rem 0;
    }
    
    .notification-btn-neon {
        font-size: 0.5rem;
        padding: 0.14rem 0.3rem;
        min-height: 20px;
    }
    
    .notification-header {
        margin-bottom: 0.15rem;
    }
    
    .notification-meta {
        margin-bottom: 0.15rem;
        font-size: 0.5rem;
    }
}

/* Performance optimizations - Following site style */
.notification-raffle-card {
    will-change: transform, opacity;
    contain: layout style paint;
}

.notification-raffle-image img {
    will-change: transform;
}

/* Reduced motion - Following site accessibility */
@media (prefers-reduced-motion: reduce) {
    .notification-raffle-card,
    .notification-raffle-card *,
    .notification-raffle-card *::before,
    .notification-raffle-card *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 