.overlay-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9998;
}

.scratch-ticket {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background: #fff;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    overflow: hidden;
}

.ticket-header {
    background: #f8f8f8;
    padding: 20px;
    border-bottom: 2px dashed #e0e0e0;
    position: relative;
}

.ticket-header:before,
.ticket-header:after {
    content: '';
    position: absolute;
    bottom: -12px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.ticket-header:before {
    left: -12px;
}

.ticket-header:after {
    right: -12px;
}

.ticket-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 5px 0;
}

.ticket-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

.ticket-content {
    padding: 20px;
}

.scratch-area {
    background: #f0f0f0;
    border: none;
    border-radius: 15px;
    height: 70px;
    width: 220px;
    margin: 15px auto;
    position: relative;
    overflow: visible;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
}

.scratch-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: white;
    padding: 2px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#scratch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    border-radius: 15px;
}

.coupon-code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #333;
    z-index: 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease;
    user-select: all;
    padding: 10px 0;
}

.coupon-code.revealed {
    opacity: 1;
    position: relative;
    margin-bottom: 35px;
    padding: 5px 0;
    transition: all 0.3s ease;
    background: none;
    border-radius: 0;
}

.coupon-code.revealed:hover {
    color: #2ecc71;
    background: none;
}

.coupon-code.revealed:after {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    color: #2ecc71;
    white-space: nowrap;
    opacity: 0;
    font-weight: bold;
    transition: opacity 0.3s ease;
    background: rgba(248, 248, 248, 0.95);
    padding: 5px 10px;
    border-radius: 4px;
    pointer-events: none;
}

.coupon-code.revealed:hover:after {
    opacity: 1;
}

.scratch-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
    transform: rotate(15deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stil seçenekleri */
.scratch-area.style-black {
    background: #333;
}

.scratch-area.style-red {
    background: #e74c3c;
}

.scratch-area.style-orange {
    background: #f39c12;
}

.scratch-area.style-green {
    background: #2ecc71;
}

/* Geri sayım stili */
.countdown-timer {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.countdown-timer span {
    font-weight: bold;
    color: #e74c3c;
}

.coupon-details {
    margin-top: 25px;
    text-align: center;
    position: relative;
    padding: 15px 0;
}

.coupon-details:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #eee;
}

.discount-amount {
    font-size: 32px;
    font-weight: bold;
    color: #2ecc71;
    margin-bottom: 5px;
    display: block;
}

.discount-type {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.expiry-date {
    font-size: 14px;
    color: #e74c3c;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(231, 76, 60, 0.1);
    display: inline-block;
    position: relative;
}

/* Nokta işaretlerini kaldır */
.expiry-date:before,
.expiry-date:after {
    display: none;
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
}

.copy-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Çarpı ikonunu gizle */
.close-ticket {
    display: none !important;
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
}

.copy-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Çarpı ikonunu gizle */
.close-ticket {
    display: none !important;
}

.cart-amount-info {
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.cart-amount-info .amount-label {
    display: block;
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.cart-amount-info .amount-value {
    font-size: 14px;
    color: #2ecc71;
    font-weight: bold;
}

.cart-amount-info .current-cart {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(0,0,0,0.1);
} 