:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --bg-color: #0f172a;
    --bg-card: #1e293b;
    --text-color: #f1f5f9;
    --text-gray: #94a3b8;
    --text-light: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    perspective: 500px;
}

.grid-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 70%);
}

/* Header & Nav */
header {
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
}

.header-content {
    gap: 16px;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

/* Status Badges */
.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}
.status-pending { background: rgba(255, 193, 7, 0.2); color: #ffc107; border: 1px solid rgba(255, 193, 7, 0.3); }
.status-approved { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-completed { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-cancelled { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

.order-files {
    margin-top: 15px;
    padding: 15px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border: 1px dashed rgba(99, 102, 241, 0.3);
}



.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo .highlight {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: var(--text-light);
    font-size: 1rem;
}

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

.nav-btn {
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
}

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

.nav-balance-btn {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.nav-balance-btn:hover {
    background: var(--success);
    color: white;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    min-width: 200px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    color: var(--text-gray);
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    object-fit: contain;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: 0.3s;
}

.cart-icon:hover {
    color: var(--primary-color);
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    min-height: 1.2em;
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.highlight {
    background: linear-gradient(to right, #fff, #6366f1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero.hidden {
    opacity: 0;
    transform: scale(1.03);
    pointer-events: none;
}

.btn {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.shop-now-btn {
    position: relative;
    overflow: visible;
    isolation: isolate;
}

.shop-now-btn::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    bottom: 100%;
    width: 110px;
    height: 80px;
    background-image: url('black-hair.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    z-index: -1;
}

.shop-now-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    bottom: 100%;
    width: 120px;
    height: 95px;
    background-image: url('yellow-hair.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    filter: drop-shadow(0 0 0 rgba(250, 204, 21, 0));
    z-index: -1;
}

.shop-now-btn:hover {
    background-color: #111827;
    color: #f9fafb;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.35);
}

.shop-now-btn:hover::before {
    animation: base-hair 2s ease-out forwards;
}

.shop-now-btn:hover::after {
    animation: ssj-hair 1.1s ease-out forwards;
    animation-delay: 2s;
}

@keyframes base-hair {
    0% {
        opacity: 0;
        transform: translate(-50%, 10px) scale(0.85);
        filter: brightness(0.8);
    }
    25% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
        filter: brightness(1);
    }
    60% {
        opacity: 0.8;
        transform: translate(-50%, -4px) scale(1.03);
        filter: brightness(1.1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -8px) scale(1.08);
        filter: brightness(1.2);
    }
}

@keyframes ssj-hair {
    0% {
        opacity: 0;
        transform: translate(-50%, -4px) scale(0.9);
        filter: drop-shadow(0 0 0 rgba(250, 204, 21, 0));
    }
    40% {
        opacity: 0.6;
        transform: translate(-50%, -6px) scale(1.02);
        filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.6));
    }
    75% {
        opacity: 1;
        transform: translate(-50%, -10px) scale(1.08);
        filter: drop-shadow(0 0 18px rgba(250, 204, 21, 0.9));
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -8px) scale(1.05);
        filter: drop-shadow(0 0 24px rgba(250, 204, 21, 1));
    }
}

/* Global Responsive Layout */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    nav ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
    }
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0 12px;
    }
    .logo h1 {
        font-size: 1.4rem;
    }
    nav ul {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px 14px;
    }
    nav a {
        font-size: 0.9rem;
    }
    .hero {
        padding-top: calc(var(--nav-height) + 20px);
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero h2 {
        font-size: 2.3rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .products-section {
        padding: 60px 0;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .cart-sidebar {
        width: 100%;
        max-width: 420px;
    }

    .balance-layout {
        padding-top: 110px;
    }

    .balance-inner {
        flex-direction: column;
    }

    .balance-sidebar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.9rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .btn {
        width: 100%;
        padding: 12px 18px;
    }
    .shop-now-btn::before,
    .shop-now-btn::after {
        width: 90px;
        height: 70px;
    }
    .section-title {
        font-size: 2rem;
    }
    .cart-sidebar {
        max-width: 100%;
    }
}

.impact-video {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    z-index: 1000;
    pointer-events: none;
    background: #000;
}

.impact-video.active {
    opacity: 1;
    visibility: visible;
}

#bgImpactVideo {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.glass-crack {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: url("glass-crack.png") center center no-repeat;
    background-size: cover;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.6s ease;
    z-index: 1300;
    will-change: transform, opacity;
}

.glass-crack.cracked {
    transform: scale(1.2);
    opacity: 0.9;
}

.flash-effect {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: #ffffff;
    opacity: 0;
    z-index: 1400;
    transition: opacity 0.18s ease-out;
    will-change: opacity;
}

.flash-effect.flash-active {
    opacity: 0.95;
}

.shockwave {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 14vmin;
    height: 14vmin;
    border-radius: 50%;
    border: 2px solid rgba(243, 244, 246, 0.9);
    box-shadow: 0 0 25px rgba(250, 250, 250, 0.7);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 1200;
    will-change: transform, opacity;
}

.shockwave.active {
    animation: shockwave-expand 1.1s ease-out forwards;
}

@keyframes shockwave-expand {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0.9;
    }
    40% {
        transform: translate(-50%, -50%) scale(2.6);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(4.5);
        opacity: 0;
    }
}

.css-ripple {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 18vmin;
    height: 18vmin;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 1100;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    will-change: transform, opacity;
}

.css-ripple.active {
    animation: css-ripple-wave 1.2s ease-out forwards;
}

@keyframes css-ripple-wave {
    0% {
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 0.9;
    }
    60% {
        transform: translate(-50%, -50%) scale(2.8);
        opacity: 0.45;
    }
    100% {
        transform: translate(-50%, -50%) scale(4.3);
        opacity: 0;
    }
}

.ripple-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    will-change: opacity;
}

.ripple-canvas.active {
    opacity: 1;
}

body.impact-blur .impact-video {
    filter: blur(1.4px);
    transition: filter 0.25s ease-out;
}

/* Products Section (Restored) */
.products-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.balance-layout {
    padding-top: 120px;
    min-height: 80vh;
}

.balance-inner {
    display: flex;
    gap: 30px;
}

.balance-sidebar {
    width: 240px;
}

.balance-main {
    flex: 1;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #334155;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.product-image {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.description {
    color: var(--text-gray);
    margin-bottom: 20px;
    height: 50px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--success);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: var(--bg-card);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
}

.close-btn:hover {
    color: white;
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 5px;
}

.remove-item {
    color: var(--danger);
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
}

.total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.total-price {
    display: flex;
    align-items: center;
}

.robux-icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    vertical-align: middle;
}

.robux-icon-small {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.checkout-btn {
    width: 100%;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shoot-left {
    0% { 
        transform: translate(0, 0) rotate(0deg) scale(0.5); 
        opacity: 1; 
    }
    50% { opacity: 1; }
    100% { 
        transform: translate(var(--tx), var(--ty)) rotate(720deg) scale(1); 
        opacity: 0; 
    }
}

@keyframes shoot-right {
    0% { 
        transform: translate(0, 0) rotate(0deg) scale(0.5); 
        opacity: 1; 
    }
    50% { opacity: 1; }
    100% { 
        transform: translate(var(--tx), var(--ty)) rotate(720deg) scale(1); 
        opacity: 0; 
    }
}

/* Cool Back Button */
.cool-back-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cool-back-btn::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: 0.5s;
}

.cool-back-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.cool-back-btn:hover::before {
    left: 100%;
}

.cool-back-btn:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

/* Checkout Page Specifics */
.checkout-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.checkout-card {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(99, 102, 241, 0.1);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 10;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-card h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.checkout-intro {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.checkout-form .form-group {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease-out forwards;
}

.checkout-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Staggered Form Animation */
.checkout-form .form-group:nth-child(1) { animation-delay: 0.2s; }
.checkout-form .form-group:nth-child(2) { animation-delay: 0.3s; }
.checkout-form .form-group:nth-child(3) { animation-delay: 0.4s; }
.checkout-form .form-group:nth-child(4) { animation-delay: 0.5s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.checkout-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: var(--primary-color);
    background-color: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), inset 0 0 10px rgba(99, 102, 241, 0.1);
    outline: none;
    transform: scale(1.01);
}

.checkout-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.6s forwards;
}

.checkout-actions .btn {
    flex: 1;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cancel-btn {
    background-color: var(--danger);
}

.cancel-btn:hover {
    background-color: #dc2626;
}

/* Glass Shard Particles */
.shard {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    /* Realistic Glass effect */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 10px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    will-change: transform, opacity;
    backface-visibility: hidden;
    /* mix-blend-mode: overlay; Removed for better visibility of "real" shards */
}

/* Cracked effect for Shop Now Button */
.shop-now-btn.cracked {
    position: relative;
    overflow: hidden;
}

.shop-now-btn.cracked::before,
.shop-now-btn.cracked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    animation: showCracks 0.1s forwards;
}

.shop-now-btn.cracked::before {
    background: 
        linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.8) 46%, rgba(255,255,255,0.8) 47%, transparent 48%),
        linear-gradient(-45deg, transparent 45%, rgba(255,255,255,0.8) 46%, rgba(255,255,255,0.8) 47%, transparent 48%),
        linear-gradient(15deg, transparent 20%, rgba(255,255,255,0.6) 21%, transparent 22%),
        linear-gradient(-75deg, transparent 70%, rgba(255,255,255,0.6) 71%, transparent 72%);
    background-size: 100% 100%;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.5));
    z-index: 12;
}

.shop-now-btn.cracked::after {
    background: 
        linear-gradient(45deg, transparent 45%, rgba(0,0,0,0.4) 46%, rgba(0,0,0,0.4) 47%, transparent 48%),
        linear-gradient(-45deg, transparent 45%, rgba(0,0,0,0.4) 46%, rgba(0,0,0,0.4) 47%, transparent 48%);
    background-size: 100% 100%;
    z-index: 11;
    transform: translate(1px, 1px); /* Slight offset for depth */
}

@keyframes showCracks {
    to { opacity: 1; }
}

/* User Profile Dropdown */
.user-profile-container {
    position: relative;
    display: inline-block;
}

.user-avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-card);
}

.user-avatar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--primary-color);
}

.user-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 250px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-header {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(to right, rgba(99, 102, 241, 0.1), transparent);
}

.profile-name {
    display: block;
    font-weight: bold;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.profile-balance {
    display: block;
    font-size: 0.9rem;
    color: var(--success);
    font-family: monospace;
}

.profile-links {
    list-style: none;
    padding: 10px 0;
    display: block; /* Override header ul display flex if inherited */
}

.profile-links li {
    display: block; /* Override nav ul li display */
}

.profile-links a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
}

.profile-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    padding-left: 25px;
}

.profile-links a i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.money-rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2000;
}

.money-rain-emoji {
    position: absolute;
    top: -60px;
    animation-name: money-fall;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

@keyframes money-fall {
    0% {
        transform: translateY(-60px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(20deg);
        opacity: 0;
    }
}

.profile-links .divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.profile-links #logout-btn {
    color: var(--danger);
}

.profile-links #logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Notifications */
#notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: var(--bg-card);
    color: var(--text-color);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    border: 1px solid rgba(255,255,255,0.1);
    animation: slideInRight 0.3s ease-out forwards;
    backdrop-filter: blur(10px);
}

.notification.success { border-left: 4px solid var(--success); }
.notification.error { border-left: 4px solid var(--danger); }
.notification i { font-size: 1.2rem; }
.notification.success i { color: var(--success); }
.notification.error i { color: var(--danger); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(20px); }
}

/* Snow Effect */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    to { transform: translateY(100vh); }
}

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

.popper-wrapper {
    position: absolute;
    bottom: 0;
    width: 100px;
    height: 100px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popper-wrapper.left { left: 20px; transform: translateY(100%) rotate(45deg); }
.popper-wrapper.right { right: 20px; transform: translateY(100%) rotate(-45deg); }
.popper-wrapper.active { transform: translateY(0) rotate(45deg); }
.popper-wrapper.right.active { transform: translateY(0) rotate(-45deg); }

.popper-wrapper.pop { animation: recoil 0.3s ease-out; }

@keyframes recoil {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f00;
    border-radius: 2px;
}

/* Standalone Auth Pages */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.auth-card-standalone {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideUpFade {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.auth-header p {
    color: var(--text-gray);
}

/* Modern Input Group */
.input-group-modern {
    position: relative;
    margin-bottom: 30px;
}

.input-group-modern input {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: white;
    border: none;
    border-bottom: 1px solid var(--text-gray);
    outline: none;
    background: transparent;
    transition: 0.3s;
}

.input-group-modern label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: var(--text-gray);
    pointer-events: none;
    transition: 0.3s ease all;
}

.input-group-modern input:focus ~ label,
.input-group-modern input:valid ~ label {
    top: -20px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.input-group-modern .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.input-group-modern input:focus ~ .line,
.input-group-modern input:valid ~ .line {
    width: 100%;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: 0.3s;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-pass {
    color: var(--text-gray);
    transition: 0.3s;
}

.forgot-pass:hover {
    color: var(--primary-color);
}

/* Auth Button */
.auth-btn {
    position: relative;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    transition: 0.3s;
    z-index: 1;
}

.auth-btn:hover {
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    border-color: transparent;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: 0.5s;
}

.auth-btn:hover::before {
    left: 0;
}

/* Social Login */
.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login p {
    color: var(--text-gray);
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.social-login p::before { left: 0; }
.social-login p::after { right: 0; }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.1rem;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-icon.google:hover { background: #db4437; border-color: #db4437; }
.social-icon.github:hover { background: #333; border-color: #333; }

.auth-redirect {
    margin-top: 25px;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.auth-redirect a {
    color: var(--primary-color);
    font-weight: bold;
}

.auth-redirect a:hover {
    text-decoration: underline;
}

/* Checkout Page Enhancements */
.order-summary-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.checkout-item-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.checkout-item-price {
    font-weight: bold;
    color: var(--secondary-color);
}

.promo-code-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#checkout-promo-input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-small {
    padding: 10px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

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

#checkout-promo-message {
    margin-top: 10px;
    font-size: 0.9rem;
    min-height: 20px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px dashed rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    font-weight: bold;
}

.payment-instruction {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary-color);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.payment-instruction h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.upi-box {
    background: white;
    color: black;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-family: monospace;
    font-weight: bold;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.1rem;
}

.file-input {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    width: 100%;
    color: white;
}

/* Settings Page Redesign */
.settings-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Sidebar */
.settings-sidebar {
    width: 250px;
    background: rgba(15, 23, 42, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 0 25px 20px 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.settings-sidebar ul {
    list-style: none;
    padding: 0 10px;
}

.settings-sidebar li {
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-gray);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.settings-sidebar li i {
    width: 24px;
    margin-right: 10px;
    font-size: 1.1rem;
    text-align: center;
}

.settings-sidebar li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    transform: translateX(5px);
}

.settings-sidebar li.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.settings-sidebar li.danger-zone-link:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

/* Content Area */
.settings-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    position: relative;
}

.settings-section-content {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.settings-section-content.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, var(--text-gray));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-gray);
}

/* Setting Cards */
.setting-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.setting-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.setting-card.danger-card {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setting-info {
    display: flex;
    flex-direction: column;
}

.setting-title {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.setting-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.sub-setting {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Form Elements */
.modern-select {
    background: rgba(15, 23, 42, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    transition: 0.2s;
}

.modern-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.modern-range {
    appearance: none;
    -webkit-appearance: none;
    width: 150px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.modern-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: 0.2s;
}

.modern-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Switch Modern */
.switch-modern {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch-modern input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-modern {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.slider-modern:before {
    position: absolute;
    content: '';
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider-modern {
    background-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

input:checked + .slider-modern:before {
    transform: translateX(24px);
}

/* Profile Preview */
.profile-preview {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(15, 23, 42, 0.4));
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 20px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.profile-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.profile-info p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

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

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

.btn-danger:hover {
    background: #dc2626;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .settings-container {
        flex-direction: column;
        margin-top: 0;
        border-radius: 0;
        height: auto;
    }

    .settings-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px;
    }
    
    .settings-sidebar ul {
        display: flex;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .settings-sidebar li {
        margin-right: 10px;
        white-space: nowrap;
        margin-bottom: 0;
    }

    .settings-content {
        padding: 20px;
    }
}


/* Settings Page Specifics */
.settings-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.settings-sidebar {
    width: 250px;
    background: rgba(15, 23, 42, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
}

.settings-sidebar ul {
    flex: 1;
    padding: 10px 0;
}

.settings-sidebar li {
    padding: 15px 25px;
    cursor: pointer;
    color: var(--text-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 3px solid transparent;
}

.settings-sidebar li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.settings-sidebar li.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.settings-sidebar li i {
    width: 20px;
    text-align: center;
}

.settings-content {
    flex: 1;
    padding: 30px;
    position: relative;
    overflow-y: auto;
}

.settings-section-content {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}

.settings-section-content.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-gray);
}

.setting-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.setting-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setting-info {
    flex: 1;
    padding-right: 20px;
}

.setting-title {
    display: block;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 4px;
}

.setting-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Form Elements */
.modern-select {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    min-width: 150px;
}

.switch-modern {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch-modern input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-modern {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.slider-modern:before {
    position: absolute;
    content: '';
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider-modern {
    background-color: var(--primary-color);
}

input:checked + .slider-modern:before {
    transform: translateX(24px);
}

/* Range Slider */
input[type=range] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.danger-zone-link {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--danger) !important;
}

.danger-zone-link:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

.danger-btn {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .settings-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    
    .settings-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .settings-sidebar ul {
        display: flex;
        overflow-x: auto;
        padding: 0;
    }
    
    .settings-sidebar li {
        flex: 0 0 auto;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 15px;
    }
    
    .settings-sidebar li.active {
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
        background: transparent;
    }
    
    .settings-content {
        padding: 20px;
    }
}

/* Modern Checkout Page */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: start;
    position: relative;
    z-index: 10;
}

.checkout-section {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: slideUpFade 0.6s ease-out forwards;
}

.checkout-section:nth-child(2) {
    animation-delay: 0.2s;
}

.checkout-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    padding: 10px;
    border-radius: 12px;
}

.checkout-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

/* Order Summary Items */
.order-summary-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.summary-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.summary-item-info h4 {
    margin-bottom: 5px;
    color: var(--text-color);
}

.summary-item-info small {
    color: var(--text-gray);
    font-family: monospace;
}

.summary-item-price {
    font-weight: bold;
    color: var(--primary-color);
}

/* Total Section */
.summary-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Form Styling */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

.modern-input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    color: white;
    width: 100%;
    transition: 0.3s;
}

.modern-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}

.modern-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Payment Box */
.payment-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.1));
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.payment-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 3s infinite;
}

.upi-display {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.copy-btn-modern {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.copy-btn-modern:hover {
    color: white;
    transform: scale(1.1);
}

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.02);
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.upload-icon {
    font-size: 2rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

/* Action Buttons */
.checkout-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
}

.btn-modern {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    flex: 1;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-section {
        padding: 20px;
    }
    .order-summary-list {
        max-height: 300px;
    }
}


/* Cool Input Animations */
.input-group-cool {
    position: relative;
    margin-bottom: 25px;
}

.input-group-cool input,
.input-group-cool textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(15, 23, 42, 0.4);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.input-group-cool input:focus,
.input-group-cool textarea:focus {
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.input-group-cool label {
    position: absolute;
    left: 45px;
    top: 14px;
    color: var(--text-gray);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* Floating Label Logic */
.input-group-cool input:focus ~ label,
.input-group-cool input:not(:placeholder-shown) ~ label,
.input-group-cool textarea:focus ~ label,
.input-group-cool textarea:not(:placeholder-shown) ~ label {
    top: -22px;
    left: 0;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Icon Styling */
.input-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-gray);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.input-group-cool input:focus ~ .input-icon,
.input-group-cool textarea:focus ~ .input-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Animated Border Bottom */
.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.4s ease;
    border-radius: 0 0 8px 8px;
}

.input-group-cool input:focus ~ .input-border,
.input-group-cool textarea:focus ~ .input-border {
    width: 100%;
}


/* Cool Back Button */
.cool-back-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cool-back-btn::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: 0.5s;
}

.cool-back-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.cool-back-btn:hover::before {
    left: 100%;
}

.cool-back-btn:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}
