/**
 * Advanced Subscription Modal CSS
 * Modern, sleek styling for blockchain-based subscription system
 */

/* Theme Variables */
:root {
    --primary-color: #00a3ff;
    --secondary-color: #2980b9;
    --accent-color: #2ecc71;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
    --text-color: #f8f9fa;
    --text-light: #f8f9fa;
    --border-color: rgba(255, 255, 255, 0.08);
    --modal-bg: rgba(20, 25, 35, 0.7);
    --modal-overlay: rgba(0, 0, 0, 0.85);
    --plan-card-bg: rgba(26, 31, 46, 0.7);
    --plan-card-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    --input-bg: rgba(51, 51, 51, 0.7);
    --success-color: #27ae60;
    --selected-plan-border: #2ecc71;
    --discount-badge-bg: #e74c3c;
    --info-bg: rgba(37, 37, 37, 0.7);
    --neon-glow: 0 0 15px rgba(0, 163, 255, 0.5);
    --transition-fast: 0.3s ease;

    /* Rainbow border colors */
    --rainbow-red: #ff0000;
    --rainbow-orange: #ff7f00;
    --rainbow-yellow: #ffff00;
    --rainbow-green: #00ff00;
    --rainbow-blue: #0000ff;
    --rainbow-indigo: #4b0082;
    --rainbow-violet: #8b00ff;
}

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

.subscription-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.subscription-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.subscription-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-overlay);
    transition: opacity 0.3s ease-in-out;
}

.subscription-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--modal-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 28px;
    padding: 45px;
    overflow-y: auto;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10000;
    border: 1px solid var(--border-color);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6), 
        0 0 50px rgba(52, 152, 219, 0.15), 
        0 0 120px rgba(52, 152, 219, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    scrollbar-width: thin;
    scrollbar-color: rgba(52, 152, 219, 0.3) rgba(255, 255, 255, 0.05);
}

.subscription-modal-content::-webkit-scrollbar {
    width: 8px;
}

.subscription-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 10px 0;
}

.subscription-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3498db, #2ecc71);
    border-radius: 10px;
    border: 2px solid rgba(26, 31, 46, 0.7);
}

.subscription-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2980b9, #27ae60);
}

.plan-card {
    flex: 1;
    min-width: 220px;
    max-width: 24%;
    min-height: 340px;
    background: var(--plan-card-bg);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--plan-card-shadow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
}

.plan-card.selected {
    border: 2px solid var(--selected-plan-border);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(46, 204, 113, 0.3);
    transform: translateY(-5px);
}

.plan-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 5px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 5px 15px rgba(0, 163, 255, 0.3);
    flex-shrink: 0;
}

.plan-card h4 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--text-color);
    text-align: center;
}

.plan-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

.plan-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
}

.plan-duration {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0;
}

.plan-select-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.plan-select-btn.selected {
    background: var(--accent-color);
    color: white;
    border-color: transparent;
}

.plan-savings {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-align: center;
    margin: 0;
}

.plan-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* Make sure plan features still look good in a row layout */
.plan-features {
    min-height: 160px;
}

@media (max-width: 768px) {
    .subscription-plan-section h3::after {
        content: "← Swipe to see all plans →";
        display: block;
        font-size: 12px;
        font-weight: normal;
        color: var(--primary-color);
        margin-top: 5px;
        opacity: 0.8;
    }
    
    .plan-card {
        min-width: 80%;
        max-width: 80%;
        scroll-snap-align: center;
    }
    
    .plan-features {
        min-height: auto;
    }
}

/* Header */
.subscription-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.header-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.header-subtitle {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-modal-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

/* Subscription Status Box */
.subscription-info-box {
    width: 100%;
    padding: 0 5px;
    margin-bottom: 20px;
}

/* Remove dark background for active subscription */
.subscription-info-box.has-active-subscription {
    background: none;
    border: none;
    padding: 0;
}

/* Active Subscription Styles */
.subscription-status-content.active {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(52, 152, 219, 0.15));
    border-radius: 24px;
    padding: 35px;
    width: calc(100% - 10px);
    border: 1px solid rgba(46, 204, 113, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(46, 204, 113, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 5px 20px 5px;
    flex-direction: column;
    align-items: flex-start;
}

.subscription-status-content.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.1) 0%,
        transparent 50%,
        rgba(52, 152, 219, 0.1) 100%);
    pointer-events: none;
}

.subscription-status-content.active h3 {
    color: var(--accent-color);
    font-size: 1.6rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.subscription-status-content.active .status-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--modal-bg);
    margin-right: 5px;
}

.subscription-status-content.active .subscription-time {
    font-size: 1.15rem;
    color: var(--text-light);
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.subscription-status-content.active .expiry-date {
    background: rgba(46, 204, 113, 0.15);
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 500;
    color: var(--accent-color);
}

.subscription-status-content.active .subscription-message {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Plan Cards Section */
.subscription-plan-section {
    margin-bottom: 30px;
}

.subscription-plan-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.plan-cards {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    overflow-x: auto;
    padding: 10px 5px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.plan-card {
    flex: 1;
    min-width: 220px;
    max-width: 24%;
    min-height: 340px;
    background: var(--plan-card-bg);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--plan-card-shadow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
}

.plan-card.selected {
    border: 2px solid var(--selected-plan-border);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(46, 204, 113, 0.3);
    transform: translateY(-5px);
}

.plan-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 5px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 5px 15px rgba(0, 163, 255, 0.3);
    flex-shrink: 0;
}

.plan-card h4 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--text-color);
    text-align: center;
}

.plan-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

.plan-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
}

.plan-duration {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0;
}

.plan-select-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.plan-select-btn.selected {
    background: var(--accent-color);
    color: white;
    border-color: transparent;
}

.plan-savings {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-align: center;
    margin: 0;
}

.plan-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* Price Summary Section */
.price-summary {
    margin: 15px 0;
    padding: 15px;
    background: linear-gradient(165deg, rgba(26, 32, 44, 0.7), rgba(17, 24, 39, 0.8));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.price-row:first-child span:last-child {
    opacity: 0.8;
}

.price-row.total {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row.total span:last-child {
    color: var(--accent-color);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.2);
}

/* Transaction Info */
.transaction-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 16px;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.12) 0%, 
        rgba(0, 163, 255, 0.08) 50%, 
        rgba(52, 152, 219, 0.05) 100%);
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid rgba(52, 152, 219, 0.25);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.transaction-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(52, 152, 219, 0.15), 
        transparent);
    animation: info-shimmer 3s ease-in-out infinite;
}

@keyframes info-shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

.transaction-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.35);
}

.transaction-info i {
    color: var(--primary-color);
    margin-top: 2px;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(0, 163, 255, 0.1));
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: info-pulse 2s ease-in-out infinite;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

@keyframes info-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(52, 152, 219, 0);
        transform: scale(1.05);
    }
}

.transaction-info p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.subscribe-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 15px;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 163, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 163, 255, 0.4);
}

.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.subscribe-btn.processing {
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
}

.subscribe-btn.processing::before,
.subscribe-btn.processing::after {
    display: none;
}

.subscribe-btn.success {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

/* Button Text Styling for Better Typography */
.btn-text {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-fast);
}

.subscribe-btn:hover .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(3px);
}

.subscribe-btn:hover .btn-icon i {
    transform: translateX(1px);
}

.subscribe-btn.processing .btn-icon {
    animation: spin 1s linear infinite;
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-btn.success .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    animation: success-bounce 0.6s ease-out;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes success-bounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cancel-btn {
    background: rgba(100, 100, 100, 0.2);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: rgba(100, 100, 100, 0.3);
    transform: translateY(-2px);
}

/* Status message */
.status-message {
    padding: 18px 22px;
    border-radius: 14px;
    margin: 15px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.status-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: message-shimmer 3s ease-in-out infinite;
}

@keyframes message-shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

.status-message:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.status-message.loading {
    background: linear-gradient(135deg, 
        rgba(0, 163, 255, 0.15) 0%, 
        rgba(52, 152, 219, 0.1) 100%);
    border-color: rgba(0, 163, 255, 0.2);
    color: var(--primary-color);
}

.status-message.error {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.15) 0%, 
        rgba(192, 57, 43, 0.1) 100%);
    border-color: rgba(231, 76, 60, 0.2);
    color: var(--error-color);
}

.status-message.success {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.15) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    border-color: rgba(46, 204, 113, 0.2);
    color: var(--success-color);
}

.status-message.warning {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.15) 0%, 
        rgba(230, 126, 34, 0.1) 100%);
    border-color: rgba(243, 156, 18, 0.2);
    color: var(--warning-color);
}

/* Transaction Tracker */
.transaction-tracker {
    display: none !important;
}

#wallet-status .transaction-tracker {
    display: none !important;
}

.transaction-tracker {
    background: rgba(26, 31, 46, 0.8);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.transaction-tracker::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 163, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.transaction-tracker.processing::before {
    animation: shimmer 2s infinite;
}

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

.tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tracker-header h4 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.tracker-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.tracker-status::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.6s ease;
}

.tracker-status.pending {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
    animation: pulse-warning 2s infinite;
}

.tracker-status.pending::before {
    animation: status-shimmer 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% { box-shadow: 0 0 5px rgba(241, 196, 15, 0.3); }
    50% { box-shadow: 0 0 15px rgba(241, 196, 15, 0.6); }
}

@keyframes status-shimmer {
    0% { left: -100%; }
    25% { left: 100%; }
    100% { left: -100%; }
}

.tracker-status.success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
    animation: pulse-success 1s ease-out;
}

@keyframes pulse-success {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.tracker-status.error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.tracker-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.tracker-progress:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    right: 25%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

.tracker-progress:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--warning-color), var(--success-color));
    transform: translateY(-50%);
    z-index: 2;
    border-radius: 2px;
    transition: width 0.8s ease;
}

.tracker-progress.step-1:after {
    width: 50%;
}

.tracker-progress.step-2:after {
    width: 100%;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 3;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(255, 255, 255, 0.1) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-step.active .step-icon {
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
    border-color: var(--warning-color);
    color: white;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.4);
    animation: pulse-active 2s infinite;
}

.progress-step.active .step-icon::before {
    opacity: 1;
    animation: ripple 2s infinite;
}

@keyframes pulse-active {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.progress-step.completed .step-icon {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    border-color: var(--success-color);
    color: white;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
    animation: bounce-in 0.6s ease-out;
    position: relative;
}

.progress-step.completed .step-icon i {
    color: white !important;
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
}

.progress-step.completed .step-icon::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: white;
    border: 2px solid rgba(26, 31, 46, 0.9);
    animation: check-appear 0.4s ease-out 0.3s both;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
}

@keyframes check-appear {
    0% { 
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
        opacity: 1;
    }
    100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.step-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: color 0.3s ease;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--text-color);
    font-weight: 600;
}

.tracker-message {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.tracker-hash {
    text-align: center;
}

.tracker-hash a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0, 163, 255, 0.1);
    border: 1px solid rgba(0, 163, 255, 0.2);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tracker-hash a::after {
    content: '↗';
    font-size: 0.8rem;
    opacity: 0.7;
}

.tracker-hash a:hover {
    background: rgba(0, 163, 255, 0.2);
    border-color: rgba(0, 163, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.3);
}

/* Celebration Animation */
.celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 10001;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confetti-fall 5s ease-in-out forwards;
    z-index: 10001;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.celebration-message {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--success-color);
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    animation: message-fade 4s ease-in-out forwards;
}

@keyframes message-fade {
    0% {
        opacity: 0;
        transform: translate(-50%, -70%);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
}

/* Rainbow Border Animation */
@keyframes rainbow-border {
    0% { border-image: linear-gradient(45deg, 
        var(--rainbow-red),
        var(--rainbow-orange),
        var(--rainbow-yellow),
        var(--rainbow-green),
        var(--rainbow-blue),
        var(--rainbow-indigo),
        var(--rainbow-violet),
        var(--rainbow-red)) 2 stretch; }
    14% { border-image: linear-gradient(45deg,
        var(--rainbow-violet),
        var(--rainbow-red),
        var(--rainbow-orange),
        var(--rainbow-yellow),
        var(--rainbow-green),
        var(--rainbow-blue),
        var(--rainbow-indigo),
        var(--rainbow-violet)) 2 stretch; }
    28% { border-image: linear-gradient(45deg,
        var(--rainbow-indigo),
        var(--rainbow-violet),
        var(--rainbow-red),
        var(--rainbow-orange),
        var(--rainbow-yellow),
        var(--rainbow-green),
        var(--rainbow-blue),
        var(--rainbow-indigo)) 2 stretch; }
    42% { border-image: linear-gradient(45deg,
        var(--rainbow-blue),
        var(--rainbow-indigo),
        var(--rainbow-violet),
        var(--rainbow-red),
        var(--rainbow-orange),
        var(--rainbow-yellow),
        var(--rainbow-green),
        var(--rainbow-blue)) 2 stretch; }
    57% { border-image: linear-gradient(45deg,
        var(--rainbow-green),
        var(--rainbow-blue),
        var(--rainbow-indigo),
        var(--rainbow-violet),
        var(--rainbow-red),
        var(--rainbow-orange),
        var(--rainbow-yellow),
        var(--rainbow-green)) 2 stretch; }
    71% { border-image: linear-gradient(45deg,
        var(--rainbow-yellow),
        var(--rainbow-green),
        var(--rainbow-blue),
        var(--rainbow-indigo),
        var(--rainbow-violet),
        var(--rainbow-red),
        var(--rainbow-orange),
        var(--rainbow-yellow)) 2 stretch; }
    85% { border-image: linear-gradient(45deg,
        var(--rainbow-orange),
        var(--rainbow-yellow),
        var(--rainbow-green),
        var(--rainbow-blue),
        var(--rainbow-indigo),
        var(--rainbow-violet),
        var(--rainbow-red),
        var(--rainbow-orange)) 2 stretch; }
    100% { border-image: linear-gradient(45deg,
        var(--rainbow-red),
        var(--rainbow-orange),
        var(--rainbow-yellow),
        var(--rainbow-green),
        var(--rainbow-blue),
        var(--rainbow-indigo),
        var(--rainbow-violet),
        var(--rainbow-red)) 2 stretch; }
}

.code-input-container::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 14px; /* Increased border radius */
    background: linear-gradient(
        45deg,
        var(--rainbow-red),
        var(--rainbow-orange),
        var(--rainbow-yellow),
        var(--rainbow-green),
        var(--rainbow-blue),
        var(--rainbow-indigo),
        var(--rainbow-violet)
    );
    animation: rotate 4s linear infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .subscription-modal-content {
        padding: 15px;
        width: 95%;
    }
    
    .plan-cards {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .plan-card {
        min-width: 180px;
    }
    
    .tracker-progress {
        margin: 30px 0;
    }
    
    .step-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .step-label {
        font-size: 10px;
    }
}

/* Discount and Referral Section */
.discount-referral-section {
    background: linear-gradient(165deg, rgba(26, 32, 44, 0.7), rgba(17, 24, 39, 0.8));
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
    animation: rainbow-border 4s linear infinite;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1),
                0 5px 15px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1),
                0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes move-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.discount-referral-tabs {
    display: flex;
    background: linear-gradient(165deg, rgba(26, 32, 44, 0.7), rgba(17, 24, 39, 0.8));
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-item {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-item:last-child {
    border-right: none;
}

.tab-item:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.tab-item.active {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.code-input-container {
    margin-top: 15px;
    background: rgba(26, 32, 44, 0.7);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.code-input-wrapper {
    display: flex;
    gap: 12px;
}

.code-input {
    flex-grow: 1;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    outline: none;
}

.code-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

.code-apply-btn {
    padding: 0 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.2);
}

.code-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 163, 255, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.code-apply-btn:active {
    transform: translateY(0);
}

.code-status {
    margin-top: 12px;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
    animation: fadeIn 0.3s ease;
    font-weight: 500;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.code-status:not(:empty) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-status.loading {
    background: rgba(30, 144, 255, 0.15);
    color: #1e90ff;
    border-left: 4px solid #1e90ff;
}

.code-status.error {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
}

.code-status.success {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border-left: 4px solid #2ecc71;
}

/* Add styles for discounted price */
#final-price.discounted {
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    animation: highlight-pulse 2s infinite;
}

@keyframes highlight-pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* New Subscription Status Sections */
.subscription-status-content {
    background: linear-gradient(145deg, rgba(26, 32, 44, 0.9), rgba(17, 24, 39, 0.95));
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.subscription-status-content.expanded {
    max-height: 500px;
    padding: 20px;
}

.subscription-status-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.has-active-subscription .subscription-status-toggle {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.15), rgba(46, 213, 115, 0.05));
    border: 1px solid rgba(46, 213, 115, 0.2);
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.1);
}

.subscription-status-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.08), rgba(255, 71, 87, 0.02));
    border: 1px solid rgba(255, 71, 87, 0.15);
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin-top: -1px;
}

.has-active-subscription .subscription-status-content {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.08), rgba(46, 213, 115, 0.02));
    border: 1px solid rgba(46, 213, 115, 0.15);
    border-top: none;
}

.subscription-status-content.expanded {
    max-height: 500px;
    padding: 20px;
}

.subscription-status-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.12), rgba(255, 71, 87, 0.04));
    transform: translateY(-1px);
}

.has-active-subscription .subscription-status-toggle:hover {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.2), rgba(46, 213, 115, 0.08));
    transform: translateY(-1px);
}

.toggle-icon {
    color: #ff4757;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.has-active-subscription .toggle-icon {
    color: #2ed573;
}

.chevron-icon {
    transition: transform 0.3s ease;
    color: var(--text-color);
    opacity: 0.7;
}

.subscription-status-toggle.expanded .chevron-icon {
    transform: rotate(180deg);
}

.subscription-status-content h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-primary);
}

.subscription-status-content h3 i {
    color: var(--accent-color);
}

.status-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 25px;
}

.time-remaining, .expiry-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 160px;
    text-align: center;
}

.time-remaining i, .expiry-date i {
    font-size: 1.8em;
    color: var(--accent-color);
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.15), rgba(46, 213, 115, 0.05));
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.time-remaining i {
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.15), rgba(0, 163, 255, 0.05));
    color: var(--primary-color);
}

.time-remaining span, .expiry-date span {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1em;
    opacity: 0.9;
}

.extension-notice {
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.1), rgba(0, 163, 255, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(46, 213, 115, 0.2);
    color: var(--text-color);
    font-size: 0.95em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.extension-notice i {
    color: var(--primary-color);
    font-size: 16px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(0, 163, 255, 0.1));
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: extension-pulse 3s ease-in-out infinite;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

@keyframes extension-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 6px rgba(52, 152, 219, 0);
        transform: scale(1.1);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .subscription-status-content.active {
        padding: 20px;
    }
    
    .section-content {
        padding-left: 20px;
    }
    
    .time-detail {
        flex-direction: column;
    }
    
    .time-detail i {
        margin-bottom: 8px;
    }
    
    .detail-text {
        padding-left: 24px;
    }
    
    .status-strip {
        flex-direction: column;
        gap: 10px;
    }
    
    .status-separator {
        display: none;
    }
    
    .status-item {
        width: 100%;
        justify-content: center;
    }
    
    .status-info {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .status-badge, .time-remaining, .expiry-date {
        width: 100%;
        min-width: unset;
    }
}

.status-badge-mini {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-badge-mini.active {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.2), rgba(46, 213, 115, 0.1));
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
    box-shadow: 0 2px 8px rgba(46, 213, 115, 0.15);
    animation: subtle-glow 3s ease-in-out infinite;
}

.status-badge-mini.inactive {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.2);
}

@keyframes subtle-glow {
    0% {
        box-shadow: 0 2px 8px rgba(46, 213, 115, 0.15);
    }
    50% {
        box-shadow: 0 2px 12px rgba(46, 213, 115, 0.25);
    }
    100% {
        box-shadow: 0 2px 8px rgba(46, 213, 115, 0.15);
    }
}

.toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes bounce-in {
    0% { transform: scale(0.3); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Enhanced Subscription Status Content */
.subscription-status-content .status-info p,
.extension-notice {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.12) 0%, 
        rgba(46, 204, 113, 0.08) 50%, 
        rgba(52, 152, 219, 0.06) 100%);
    border-radius: 14px;
    padding: 18px 22px;
    margin: 15px 0;
    border: 1px solid rgba(52, 152, 219, 0.25);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.subscription-status-content .status-info p::before,
.extension-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(52, 152, 219, 0.15), 
        transparent);
    animation: status-shimmer 4s ease-in-out infinite;
}

.subscription-status-content .status-info p:hover,
.extension-notice:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.35);
}

.subscription-status-content .status-info p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

.extension-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 1;
}

.extension-notice i {
    color: var(--primary-color);
    font-size: 16px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(0, 163, 255, 0.1));
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: extension-pulse 3s ease-in-out infinite;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

@keyframes extension-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 6px rgba(52, 152, 219, 0);
        transform: scale(1.1);
    }
}