html,
body {
    font-family: "Century Gothic", 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

.theme-toggle {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.theme-toggle:hover {
    color: #ffc600;
    transform: scale(1.1);
    opacity: 1;
}

body.light-theme {
    background-color: #fff;
    color: #000;
}

body.dark-theme {
    background-color: #333;
    color: #fff;
}

.deus-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 100px 2em 50px 2em;
    box-sizing: border-box;
}

.deus-slide h1 {
    font-size: 3rem;
    margin: 0 0 40px 0;
    letter-spacing: 1rem;
    text-align: center;
}

.dashboard-btn {
    position: absolute;
    top: 25px;
    left: 30px;
    z-index: 20;
    font-weight: bold;
    letter-spacing: 0.1rem;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dashboard-btn:hover {
    color: #ffc600;
    transform: translateX(-3px);
}

@media (max-width: 800px) {
    .deus-slide h1 {
        font-size: 2rem;
        letter-spacing: 0.5rem;
    }
}

.cart-panel-wrapper {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.cart-premium-card {
    border-radius: 16px;
    padding: 35px;
    box-sizing: border-box;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.light-theme .cart-premium-card {
    background: rgba(245, 245, 245, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

body.dark-theme .cart-premium-card {
    background: rgba(30, 30, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cart-product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
}

.cart-product-row:first-child {
    padding-top: 0;
}

body.light-theme .cart-product-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark-theme .cart-product-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-meta-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-logo-frame {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255, 198, 0, 0.1);
    border: 1px solid rgba(255, 198, 0, 0.3);
    color: #ffc600;
}

.product-details h2 {
    margin: 0 0 6px 0;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lifetime-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    background: rgba(255, 198, 0, 0.15);
    color: #ffc600;
    border: 1px solid rgba(255, 198, 0, 0.25);
}

/* Quantity Adjuster */
.quantity-adjuster {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 4px;
}

body.light-theme .quantity-adjuster {
    background: rgba(0, 0, 0, 0.05);
}

body.dark-theme .quantity-adjuster {
    background: rgba(255, 255, 255, 0.05);
}

.qty-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.qty-btn:hover:not(:disabled) {
    background: #ffc600;
    color: #000;
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-value {
    font-weight: bold;
    font-size: 1rem;
    min-width: 35px;
    text-align: center;
}

.cart-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 30px;
    gap: 30px;
}

.upgrade-module {
    flex: 1;
    max-width: 480px;
}

.upgrade-module h3 {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.upgrade-toggle-group {
    display: inline-flex;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 0;
    transition: margin 0.3s ease;
}

body.light-theme .upgrade-toggle-group {
    background: rgba(0, 0, 0, 0.05);
}

body.dark-theme .upgrade-toggle-group {
    background: rgba(255, 255, 255, 0.05);
}

.toggle-opt {
    background: transparent;
    border: none;
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.toggle-opt.active {
    background: #ffc600;
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(255, 198, 0, 0.3);
}

.upgrade-input-drawer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.license-input-premium {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

body.light-theme .license-input-premium {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #000;
}

body.dark-theme .license-input-premium {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.license-input-premium:focus {
    border-color: #ffc600;
    box-shadow: 0 0 0 2px rgba(255, 198, 0, 0.2);
}

.validate-action-btn {
    padding: 12px 20px;
    border: none;
    background: #ffc600;
    color: #000;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.validate-action-btn:hover {
    background: #e6b300;
    transform: translateY(-1px);
}

.validation-status-msg {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.validation-status-msg.success {
    color: #2ecc71;
}

.validation-status-msg.error {
    color: #e74c3c;
}

.summary-checkout-block {
    text-align: right;
    min-width: 220px;
}

.pricing-display {
    margin-bottom: 15px;
}

.pricing-display .label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 4px;
}

.pricing-display .original-slashed {
    font-size: 1.1rem;
    text-decoration: line-through;
    opacity: 0.4;
    margin-right: 8px;
}

.pricing-display .final-amt {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.pricing-display .final-amt.upgraded {
    color: #ffc600;
}

.checkout-action-btn {
    width: 100%;
    padding: 14px 30px;
    background: #ffc600;
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 198, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-action-btn:hover {
    background: #e6b300;
    box-shadow: 0 8px 24px rgba(255, 198, 0, 0.45);
    transform: translateY(-2px);
}

.cart-empty-premium {
    padding: 50px 20px;
    font-size: 1.1rem;
    opacity: 0.6;
    letter-spacing: 1px;
}

@media(max-width: 768px) {
    .cart-footer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .summary-checkout-block {
        text-align: left;
    }

    .checkout-action-btn {
        width: 100%;
    }
}