:root {
    --background-color: #0a0a0a;
    --background: 10, 10, 10;
    --text-color: #f5f5f7;
    --text-color-light: #a1a1a6;
    --accent-color: linear-gradient(90deg, rgba(252, 244, 201, 1) 0%, rgba(254, 227, 226, 1) 20%, rgba(251, 205, 242, 1) 40%, rgba(232, 190, 250, 1) 60%, rgba(171, 191, 255, 1) 80%, rgba(187, 243, 192, 1) 100%);
    ;
    --secondary-bg: #1a1a1a;
    --card-bg: #141414;
    --card-shadow: rgba(0, 217, 255, 0.1);
    --gradient-start: #00d9ff;
    --gradient-end: #00a3cc;
    --button-hover: #00b8e6;
    --gradient-start-rgb: 0, 217, 255;
    --gradient-end-rgb: 0, 163, 204;
    --accent-color-rgb: 0, 217, 255;
    --text-color-invert: #000000;
    --sale-color: #ff3e5f;
    --success-color: #00d084;
    --warning-color: #ffa726;
    --border-color: rgba(255, 255, 255, 0.08);
    --hover-bg: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] {
    --background-color: #ffffff;
    --background: 255, 255, 255;
    --text-color: #1d1d1f;
    --text-color-light: #6e6e73;
    --accent-color: #0071e3;
    --secondary-bg: #f5f5f7;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --gradient-start: #0071e3;
    --gradient-end: #0056b3;
    --button-hover: #005bb5;
    --gradient-start-rgb: 0, 113, 227;
    --gradient-end-rgb: 0, 86, 179;
    --accent-color-rgb: 0, 113, 227;
    --text-color-invert: #ffffff;
    --sale-color: #ff3b30;
    --success-color: #34c759;
    --warning-color: #ff9500;
    --border-color: rgba(0, 0, 0, 0.08);
    --hover-bg: rgba(0, 0, 0, 0.03);
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* Sale Badges & Pricing */
.sale-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--sale-color), #ff1744);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 62, 95, 0.3);
    animation: pulseBadge 2s ease-in-out infinite;
}

.btn.secondary-btn {
    margin-bottom: 20px;
    background: linear-gradient(90deg, rgba(252, 244, 201, 1) 0%, rgba(254, 227, 226, 1) 20%, rgba(251, 205, 242, 1) 40%, rgba(232, 190, 250, 1) 60%, rgba(171, 191, 255, 1) 80%, rgba(187, 243, 192, 1) 100%);
    border: none;
    color: var(--background-color);
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(232, 190, 250, 0.3);
}

@keyframes pulseBadge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Staggered Grid Animation */
@keyframes fadePaketsIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadePaketsIn 0.5s ease-out forwards;
    opacity: 0;
    /* Init hidden */
}

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.new-price {
    color: var(--sale-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    border-color: rgba(var(--accent-color-rgb), 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-color-rgb), 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-color-rgb), 0.5);
}

/* Selection */
::selection {
    background: rgba(var(--accent-color-rgb), 0.3);
    color: var(--text-color);
}