/* ===================================
   Kupon Kurdu - Clean Coupon Site Theme
   Professional light color scheme
   =================================== */

:root {
    --primary: #e53935;
    --primary-dark: #c62828;
    --primary-light: #ffebee;
    --secondary: #1976d2;
    --success: #2e7d32;
    --success-light: #e8f5e9;
    --warning: #f57c00;
    --danger: #d32f2f;
    --bg: #f5f5f5;
    --bg-white: #ffffff;
    --bg-gray: #eeeeee;
    --text: #212121;
    --text-secondary: #616161;
    --text-muted: #9e9e9e;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

/* Navbar with Search */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.navbar-logo {
    height: 42px;
    width: auto;
    margin-right: 0.5rem;
    border-radius: 4px;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Header Search Box */
.header-search {
    position: relative;
    flex: 2;
    margin: 0 2rem;
}

.header-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 1rem;
    border: 2px solid #ff9800;
    border-radius: 10px;
    background: #fff3e0;
    color: var(--text);
    transition: all 0.2s ease;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.25);
}

.header-search-input::placeholder {
    color: #e65100;
}

/* Search attention flash animation */
.header-search-input.attention-flash {
    animation: searchFlash 0.6s ease-in-out 3;
}

@keyframes searchFlash {

    0%,
    100% {
        background: #fff3e0;
        border-color: #ff9800;
        box-shadow: 0 0 8px rgba(255, 152, 0, 0.25);
    }

    50% {
        background: #ffffff;
        border-color: #e65100;
        box-shadow: 0 0 20px rgba(255, 152, 0, 0.6), 0 0 30px rgba(255, 152, 0, 0.4);
        transform: scale(1.02);
    }
}

.header-search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.header-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.header-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 4px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid var(--border);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg);
}

.search-result-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: contain;
    background: var(--bg);
    padding: 4px;
    margin-right: 0.75rem;
    border: 1px solid var(--border);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-store {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
}

.search-result-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-discount {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Page Header */
.page-header {
    background: var(--bg-white);
    padding: 2rem 0;
    margin-top: 60px;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.page-header p {
    color: var(--text-secondary);
    margin: 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: var(--primary-dark);
    color: white;
}

.back-button i {
    font-size: 1.2rem;
}

/* Store Rating Stars */
.store-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.store-rating .stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.store-rating .stars i {
    margin-right: 2px;
}

.store-rating .rating-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Highlighted coupon flash effect */
.coupon-card.highlighted {
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.3);
}

.coupon-card.flash {
    animation: flashHighlight 0.5s ease-in-out 3;
}

@keyframes flashHighlight {

    0%,
    100% {
        background: var(--bg-white);
        border-color: var(--primary);
    }

    50% {
        background: #ffebee;
        border-color: var(--primary);
    }
}

/* Categories */
.categories-section {
    padding: 1.5rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.category-pill:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}

.category-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Coupons Section */
.coupons-section {
    padding: 2rem 0 3rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.section-header span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Coupons Grid */
.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

/* Coupon Card */
.coupon-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Verified Badge - inline with store info */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.coupon-card-link {
    display: block;
    height: 100%;
}

.coupon-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.coupon-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.store-logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.store-logo img {
    max-width: 100%;
    max-height: 100%;
    padding: 4px;
    object-fit: contain;
}

.store-initial {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.store-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.store-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.store-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-badge {
    display: none;
}

.discount-badge {
    background: var(--success);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
}

.coupon-body {
    padding: 1rem;
    flex: 1;
    min-height: 80px;
}

.coupon-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.coupon-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.coupon-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem;
    background: var(--bg);
    gap: 0.5rem;
}

.expiry-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-copy,
.btn-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    height: 66px;
}

.btn-copy {
    background: #FFC000;
    color: #000000;
}

.btn-copy:hover {
    background: #e6ac00;
}

.btn-copy .code-preview {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-discount {
    background: #FFC000;
    color: #000000;
    font-size: 1.1rem;
}

.btn-discount:hover {
    background: #e6ac00;
}

.coupon-stats {
    padding: 0.5rem 1rem;
    background: var(--bg);
    font-size: 0.7rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--success);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

/* Footer */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 2rem 0 1.5rem;
}

.footer h5 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.footer h6 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer .text-muted {
    color: var(--text-muted) !important;
}

/* Admin Section */
.admin-section {
    padding: 80px 0 40px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.admin-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

/* Admin Table */
.admin-table {
    color: var(--text);
    margin: 0;
}

.admin-table thead th {
    background: var(--bg);
    border-color: var(--border);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
}

.admin-table tbody td {
    border-color: var(--border);
    padding: 0.75rem 1rem;
    vertical-align: middle;
    font-size: 0.9rem;
}

.admin-table tbody tr:hover {
    background: var(--bg);
}

.store-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.store-logo-small {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: contain;
    background: var(--bg);
    padding: 2px;
    border: 1px solid var(--border);
}

.coupon-code {
    background: var(--success-light);
    color: var(--success);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: monospace;
}

.stats-cell {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.action-buttons {
    display: flex;
    gap: 0.4rem;
}

/* Form Card */
.form-card {
    max-width: 800px;
}

.form-label {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-control,
.form-select {
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    background: var(--bg-white);
    border-color: var(--primary);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Stat Cards */
.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-primary .stat-icon {
    background: var(--primary-light);
    color: var(--primary);
}

.stat-success .stat-icon {
    background: var(--success-light);
    color: var(--success);
}

.stat-info .stat-icon {
    background: #e3f2fd;
    color: var(--secondary);
}

.stat-warning .stat-icon {
    background: #fff3e0;
    color: var(--warning);
}

.stat-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.stat-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Chart Container */
.chart-container {
    height: 280px;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-secondary);
}

.btn-outline-secondary:hover {
    background: var(--bg);
    border-color: var(--border);
    color: var(--text);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-danger {
    border-color: var(--danger);
    color: var(--danger);
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: white;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.bg-success {
    background: var(--success) !important;
}

.bg-danger {
    background: var(--danger) !important;
}

/* Alerts */
.alert-success {
    background: var(--success-light);
    border-color: var(--success);
    color: var(--success);
}

/* Error Page */
.error-section {
    padding: 150px 0;
    text-align: center;
}

.error-icon {
    font-size: 4rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .header-search {
        display: none;
    }
}

@media (max-width: 768px) {
    .coupons-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .social-proof-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .proof-item {
        flex: 1 1 45%;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: var(--bg-white);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    margin-top: 70px;
}

.breadcrumb-nav .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-nav .breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--text);
    font-weight: 500;
}

/* Social Proof Bar */
.social-proof-bar {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-white);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

.proof-item.success-rate {
    background: var(--success-light);
    border-color: var(--success);
    color: var(--success);
}

.proof-item.active-users {
    background: #e3f2fd;
    border-color: #1976d2;
    color: #1976d2;
}

.proof-item.active-users i {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.proof-item.last-used {
    background: #fff3e0;
    border-color: #f57c00;
    color: #f57c00;
}

.proof-item.today-count {
    background: #fce4ec;
    border-color: #e91e63;
    color: #e91e63;
}

/* Verified Badge */
.verified-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--success);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.coupon-card {
    position: relative;
}

/* Coupon Success Rate */
.coupon-success-rate {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 2rem 0;
    background: var(--bg-white);
    margin-top: 2rem;
}

.faq-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    cursor: pointer;
}

.faq-item summary {
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   Coupon Detail Page Styles
   =================================== */

.coupon-detail-hero {
    padding: 2rem 0;
    background: var(--bg-white);
}

.coupon-detail-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.store-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.store-logo-large {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.store-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-initial-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.store-info-large h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.verified-badge-large {
    margin-left: auto;
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.discount-hero {
    text-align: center;
    padding: 2rem 0;
}

.discount-badge-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--success), #43a047);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(46, 125, 50, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(46, 125, 50, 0.6);
    }
}

.discount-hero h1 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.coupon-description-large {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Code Reveal Section */
.code-reveal-section {
    margin: 2rem 0;
    text-align: center;
}

.code-hidden {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.code-masked {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--bg);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 2px dashed var(--border);
    color: var(--text-muted);
    letter-spacing: 2px;
}

.btn-reveal {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    animation: attention-pulse 2s infinite;
}

@keyframes attention-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 152, 0, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 30px rgba(255, 152, 0, 0.6);
    }
}

.btn-reveal:hover {
    background: linear-gradient(135deg, #f57c00, #e65100);
}

.code-revealed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.code-display {
    font-family: monospace;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 1.5rem 3rem;
    border-radius: 12px;
    border: 3px solid #ff9800;
    color: #e65100;
    letter-spacing: 3px;
}

.btn-copy-large {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-copy-large:hover {
    background: #1565c0;
}

.btn-goto {
    background: var(--success);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-goto:hover {
    background: #1b5e20;
    color: white;
}

.btn-deal-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    animation: attention-pulse 2s infinite;
}

.btn-deal-large:hover {
    color: white;
    background: linear-gradient(135deg, #f57c00, #e65100);
}

/* Coupon Terms */
.coupon-terms {
    padding: 2rem 0;
    background: var(--bg);
}

.coupon-terms h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-terms ul {
    list-style: none;
    padding: 0;
}

.coupon-terms li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.coupon-terms li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Related Coupons */
.related-coupons {
    padding: 2rem 0;
    background: var(--bg-white);
}

.related-coupons h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-card-link {
    text-decoration: none;
    color: inherit;
}

.coupon-card-link:hover .coupon-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.view-code-text {
    color: var(--primary);
    font-weight: 600;
}

/* Back Section */
.back-section {
    padding: 2rem 0;
    background: var(--bg);
}

.back-section-top {
    padding: 1rem 0;
    background: var(--bg);
}

.back-button {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-button:hover {
    color: var(--primary-light);
}

/* User Review Section */
.user-review-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: 12px;
    text-align: center;
}

.review-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.review-prompt span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
}

.rating-stars i {
    font-size: 1.75rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-stars i:hover,
.rating-stars i.hovered {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-stars i.selected {
    color: #ffc107;
}

.review-thanks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--success);
    font-weight: 600;
}

.review-thanks i {
    font-size: 1.25rem;
}

/* Expiry proof item */
.proof-item.expiry {
    background: #fff8e1;
    border-color: #ffc107;
    color: #f57c00;
}

/* See Code Button on Cards */
.btn-see-code {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgb(255, 153, 0);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.2s ease;
}

.coupon-card-link:hover .btn-see-code {
    background: rgb(230, 130, 0);
}

/* Code Preview Teaser */
.code-preview-teaser {
    display: inline-flex;
    align-items: center;
    background: wheat;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 18px;
    margin-right: 0.5rem;
    letter-spacing: 2px;
}

.code-visible {
    color: black;
    font-weight: 700;
}

.code-blurred {
    color: rgba(0, 0, 0, 0.3);
    filter: blur(2px);
    font-weight: 700;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Report Section */
.report-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.btn-report {
    background: transparent;
    border: 2px solid var(--danger);
    color: var(--danger);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-report:hover {
    background: var(--danger);
    color: white;
}

.report-thanks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--success);
    font-size: 0.9rem;
}