.ml-2 {
    margin-left: 0.5rem;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.dropdown-trigger:hover {
    background-color: transparent;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: auto;
    background-color: #1c1c1c;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 1001;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 180px;
    overflow: hidden;
    animation: fadeInDown 0.3s ease;
}

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

.dropdown.active .dropdown-menu {
    display: block !important;
}

.dropdown-menu li {
    padding: 0;
    display: block;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    background-color: transparent;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 1.4rem;
}

.dropdown-menu li a i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

/* Mobile Submenu Styles */
.mobile-submenu {
    list-style: none;
    padding: 0 0 0 1.5rem;
    margin: 0.5rem 0;
}

.mobile-submenu li {
    padding: 0.2rem 0;
}

.mobile-submenu li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.95rem;
}

.mobile-submenu li a i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
}

.mobile-dropdown .mobile-login-link {
    font-weight: 600;
    color: var(--text-color) !important;
}

.logo-fallback {
    width: 50px;
    height: 50px;
    background-color: #f8d7da;
    color: #721c24;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
}
.thumbnail-error-icon {
    width: 100%;
    height: 100%;
    background-color: #f8d7da;
    color: #721c24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.event-thumbnail-container {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}
.cart-menu-item-thumb-container {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
}
.forbidden-item .cart-menu-item-thumb-container {
    border: 2px solid #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.3);
}
.cart-menu-item-thumb-container .thumbnail-error-icon {
    font-size: 1.2rem;
}
.asset-thumbnail-container .thumbnail-error-icon {
    height: 250px; /* Match asset-thumbnail height */
}

*, *::before, *::after {
    box-sizing: border-box;
}
:root {
    --primary-color: black;
    --accent-color: #34495e;
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-color: black;
    --secondary-text: #7f8c8d;
}
.ng-hide {
    display: none !important;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #0a0a0a, #262626);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    transition: background 0.3s ease;
    overflow-x: hidden;
}
@media (max-width: 1024px) {
    body {
        background: linear-gradient(to bottom, #262626, #0a0a0a);
    }
}
header {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 80px;
    background: #000000;
    transition: all 0.3s ease;
}
header.header-transparent {
    background: transparent;
    box-shadow: none;
}
header.header-black {
    background: #000000 !important;
}
header .logo-text,
header .logo-name,
header .logo-subtitle,
header nav ul li a,
header .login-item,
header .hamburger-menu,
header .cart-item-mobile {
    color: #ffffff;
}
header .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}
header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
header nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.logo-text {
    font-family: 'Poppins', sans-serif;
    color: #1c1c1c;
    line-height: 1;
    display: flex;
    flex-direction: column;
}
.logo-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}
.logo-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #666;
    font-weight: 400;
}
.logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}
nav {
    display: flex;
    align-items: center;
    height: 100%;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}
nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}
header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}
.login-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s;
}
.login-item:hover,
.cart-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.login-item.active,
.cart-item.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.login-item i,
.cart-item i {
    font-size: 1.2rem;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s;
}
.cart-notification-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background-color: #ff3b30;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.asset-card.asset-in-cart .asset-thumbnail {
    filter: grayscale(100%) opacity(0.6);
}

.asset-card.asset-in-cart .add-to-cart-button,
.add-to-cart-button.asset-downloaded {
    background-color: #4cd964;
    color: white;
}
.floating-cart-container {
    position: fixed;
    bottom: 30px;
    right: 100px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .floating-cart-container {
        bottom: 20px;
        right: 80px;
    }
}

.view-cart-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color, #007bff);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.2s, background-color 0.2s;
    position: relative;
}

.view-cart-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.view-cart-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .view-cart-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        background-color: rgba(255, 255, 255, 1);
    }
}

.view-cart-btn i {
    font-size: 1.5rem;
}

.btn-cart-count {
    opacity: 0.9;
    font-size: 1rem;
}

@media (max-width: 1024px) {
    /* floating cart already disabled */
}

@media (min-width: 1025px) {
    .cart-item-desktop {
        display: none !important;
    }
}
.cart-menu,
.account-menu {
    position: fixed;
    top: calc(80px + (100svh - 80px - 80svh) / 2);
    right: -450px;
    width: 450px;
    height: 80svh;
    background: var(--card-bg);
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    text-align: left;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.cart-menu.active,
.account-menu.active {
    right: 0;
    visibility: visible;
    opacity: 1;
}
.cart-menu-header h3,
.account-menu-header h3,
.payment-menu-header h3,
.checkout-menu h3,
.mobile-menu-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.cart-menu p,
.account-menu p,
.checkout-menu p,
.mobile-menu p,
.payment-menu p {
    color: var(--text-color);
}

.cart-total-row {
    color: var(--primary-color);
}

.cart-menu label,
.account-menu label,
.checkout-menu label,
.mobile-menu label,
.payment-menu label {
    color: var(--primary-color);
}

.cart-menu-header,
.account-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}
.close-cart,
.close-account,
.mobile-menu-header .close-cart {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-text) !important;
}

.account-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-menu-items li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s;
    cursor: pointer;
}

.account-menu-items li a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.account-menu-items li a i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}
.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 0.5rem;
    min-height: 0; /* Ensures it can shrink and overflow correctly in flexbox */
}

/* Scrollbar styling for better visibility */
.cart-items-list::-webkit-scrollbar,
.checkout-form::-webkit-scrollbar,
.payment-menu-content::-webkit-scrollbar,
.mobile-menu::-webkit-scrollbar {
    width: 6px;
}
.cart-items-list::-webkit-scrollbar-thumb,
.checkout-form::-webkit-scrollbar-thumb,
.payment-menu-content::-webkit-scrollbar-thumb,
.mobile-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.cart-menu-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    margin-right: 0.5rem;
}
.cart-menu-item-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #eee;
}
.cart-menu-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
}
.cart-menu-item-name {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}
.cart-menu-item-price-info {
    color: var(--secondary-text);
    font-size: 0.8rem;
}
.cart-menu-item-total {
    font-weight: 600;
    color: var(--text-color);
}
.cart-menu-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}
.cart-menu-qty-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.cart-menu-qty-label {
    font-size: 0.75rem;
    color: var(--secondary-text);
    font-weight: 600;
}
.cart-menu-qty {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
}
.remove-item-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.remove-item-btn:hover {
    color: #c0392b;
    transform: scale(1.1);
    background: none;
}
.cart-menu-footer {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.cart-total-row, .cart-adjustment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.adjustment-description-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.info-btn:hover {
    opacity: 1;
    background: none;
}

.adjustment-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.adjustment-info-overlay.active {
    display: flex;
}

.adjustment-info-modal {
    position: relative;
    z-index: 10002;
    background-color: white;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* Desktop View */
@media (min-width: 769px) {
    .adjustment-info-modal {
        width: 400px;
        max-width: 90vw;
        border-radius: 12px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .adjustment-info-overlay {
        align-items: flex-end;
    }
    .adjustment-info-modal {
        width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
    }
    .adjustment-info-modal.active {
        transform: translateY(0);
    }
}

.adjustment-info-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.adjustment-info-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.close-info {
    cursor: pointer;
    font-size: 1.2rem;
    color: #999;
    padding: 0.5rem;
}

.adjustment-info-body {
    padding: 1.5rem;
}

.info-text {
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
    color: #444;
}

.what-to-do-box {
    background-color: #fffde7;
    border: 1px solid #fff9c4;
    padding: 1rem;
    border-radius: 8px;
    color: #856404;
    font-weight: 500;
    text-align: center;
}

.cart-adjustment-row {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--secondary-text);
}
.cart-adjustment-row:first-of-type {
    margin-top: 0.25rem;
}
.cart-total-row {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #eee;
}
.checkout-btn {
    margin-top: 0.5rem;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}
.checkout-btn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}
.cart-validity-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid #ffeeba;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.4;
}
.cart-validity-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}
.cart-validity-warning i {
    font-size: 1rem;
}
.checkout-form {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeIn 0.3s ease-in-out;
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    padding-right: 5px;
    margin-bottom: 2rem; /* Ensure some space for the button when it's short */
}
.checkout-form.active {
    display: flex;
}
.checkout-form-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-text);
}
.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}
.form-group input {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.back-to-cart-btn {
    background: none;
    border: none;
    color: var(--secondary-text);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}
.back-to-cart-btn:hover {
    color: var(--primary-color);
    background: none;
}
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1500;
    display: none;
}
.cart-overlay.active {
    display: block;
}
.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.5rem;
    z-index: 1100;
}
.hidden {
    display: none !important;
}

.embedded-payment-section {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    background: linear-gradient(to right, #0a0a0a, #262626); /* Asset background gradient */
    color: #333;
    padding: 20px 2rem;
    z-index: 900;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-height: 600px) and (min-width: 769px) {
    .embedded-payment-section {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .payment-embedded-content-modals {
        margin-top: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 1024px) {
    .embedded-payment-section {
        background: linear-gradient(to bottom, #262626, #0a0a0a);
    }
}

.payment-embedded-header-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto 1.5rem auto;
    width: 100%;
    flex-shrink: 0;
}

.back-btn-icon {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background-color 0.2s;
    border-radius: 50%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.back-btn-icon:hover {
    color: #ffffff;
    background-color: rgba(255,255,255,0.1);
}

.centered-payment-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.payment-embedded-content-modals {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-grow: 1;
    align-items: stretch;
    justify-content: center;
    min-height: 0; /* Important for flex-grow items to be able to shrink and scroll */
}

.payment-embedded-modal {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.payment-main-modal {
    flex: 1.3;
    max-width: 620px;
    display: flex;
    flex-direction: column;
}

.payment-summary-modal {
    flex: 1;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.payment-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    color: #666;
}

.payment-loading-container .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top: 3px solid #1a1a1a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.payment-summary-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
}

.payment-modal-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #1a1a1a;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.payment-summary-modal h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #1a1a1a;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    flex: 1;
}

.toggle-icon-container {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.payment-summary-collapsible {
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#payment-element-embedded,
#payment-element,
#express-checkout-element {
    margin-bottom: 1.5rem;
}

.payment-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-separator::before,
.payment-separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #eee;
}

.payment-separator:not(:empty)::before {
    margin-right: .5em;
}

.payment-separator:not(:empty)::after {
    margin-left: .5em;
}

.separator-text {
    padding: 0 10px;
}

.payment-embedded-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.payment-summary-modal .cart-items-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}

.payment-summary-modal .cart-menu-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.payment-summary-modal .cart-menu-footer {
    margin-top: auto;
    padding-top: 1rem;
    flex-shrink: 0;
}

.payment-summary-modal .cart-menu-item-name {
    color: #1a1a1a;
}
.payment-summary-modal .cart-menu-item-total {
    color: #1a1a1a;
}
.payment-summary-modal .cart-menu-item {
    border-bottom: 1px solid #eee;
}
.payment-summary-modal .cart-total-row {
    font-size: 1.2rem;
    color: #1a1a1a;
}

.payment-embedded-actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    justify-content: center;
}

.payment-embedded-actions .checkout-btn {
    width: 100%;
    max-width: 400px;
}

@media (max-width: 768px) {
    .embedded-payment-section {
        height: auto;
        min-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: 1rem;
        padding-top: 20px;
        justify-content: flex-start;
    }
    
    .payment-embedded-content-modals {
        flex-direction: column-reverse;
        gap: 1rem;
        align-items: center;
        height: auto;
        min-height: unset;
        margin-bottom: 20px;
        flex-grow: 0;
    }
    
    .payment-summary-modal {
        width: 100%;
        max-width: 420px;
        padding: 1rem 1.5rem;
        box-sizing: border-box;
    }

    .payment-main-modal {
        width: 100%;
        max-width: 420px;
        box-sizing: border-box;
    }

    .payment-summary-toggle {
        cursor: pointer;
    }

    .payment-summary-modal h3,
    .payment-modal-title {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .toggle-icon-container {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .payment-summary-collapsible {
        max-height: 0;
        overflow: hidden;
        display: block;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.5s ease;
    }

    .payment-summary-collapsible:not(.collapsed) {
        max-height: 2000px;
        margin-top: 1rem;
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }

    .payment-embedded-header-bg {
        margin-bottom: 1rem;
    }

    .centered-payment-title {
        font-size: 1.5rem;
    }
    
    .payment-embedded-modal {
        padding: 1.5rem;
        border-radius: 8px;
        height: auto;
        min-height: unset;
    }

    .payment-embedded-actions {
        margin-top: 1.5rem;
        padding-top: 0;
    }
}

.cart-item-mobile {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.mobile-menu {
    position: fixed;
    top: calc(80px + (100svh - 80px - 80svh) / 2);
    right: -450px;
    width: 450px;
    height: 80svh;
    background: var(--card-bg);
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    text-align: left;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    overflow-y: auto;
}
.mobile-menu.active {
    right: 0;
    visibility: visible;
    opacity: 1;
}
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}
.mobile-menu-links {
    display: flex !important;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu-links li {
    width: 100%;
}
.mobile-menu-links li a {
    text-decoration: none;
    color: var(--text-color) !important;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}
.mobile-menu-links li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color) !important;
}
.mobile-menu-links li a.active, .mobile-menu-links li.active .mobile-login-link {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color) !important;
}
.container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    width: 100%;
    min-height: calc(100svh - 80px - 1px);
    box-sizing: border-box;
}
.container-home, .container-download {
    padding: 0;
    overflow-x: hidden;
    background-color: transparent;
    height: calc(100svh - 80px);
    overflow-y: hidden;
}

@media (max-width: 1024px) {
    .container-home, .container-download {
        height: auto;
        overflow-y: visible;
    }
}
.section h2 {
    color: #ffffff;
}
#contact h2, #appointment h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}
.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 2rem;
    color: #7f8c8d;
}
.section h3:not(.event-name) {
    color: #ffffff;
}
.section {
    display: none;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
    flex-grow: 1;
    color: #ffffff;
    visibility: visible !important;
}
.section.active {
    display: flex;
    flex-direction: column;
}
#home.section.active {
    justify-content: center;
    max-width: none;
    text-align: left;
}
h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.input-group {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
input, textarea {
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: inherit;
}
button {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}
button:hover {
    background-color: var(--accent-color);
}
#response, #contactResponse {
    margin-top: 2rem;
    text-align: left;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    max-width: 100%;
    overflow: auto;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.event-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, background-color 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    cursor: pointer;
}
.event-card.non-clickable {
    cursor: default;
    opacity: 0.7;
}
.event-card.non-clickable:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
}
.event-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}
.event-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #eee;
}
.event-details {
    padding: 0.75rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: #ffffff;
    color: #000000;
}
.event-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #000000 !important;
}
.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status-active { background-color: #d4edda; color: #155724; }
.status-coming_soon { background-color: #fff3cd; color: #856404; }
.status-ended { background-color: #f8d7da; color: #721c24; }

/* Assets styling */
.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: transparent;
    padding: 1rem 0;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.header-left h2 {
    margin: 0;
}
.search-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}
.back-btn-heading {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-btn-heading:hover {
    color: var(--secondary-text);
}
.search-icon {
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-icon:hover {
    color: var(--secondary-text);
}
.header-cart-icon {
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.header-cart-icon:hover {
    color: var(--secondary-text);
}
.cart-notification-bubble {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #ff4757;
    border-radius: 50%;
    border: 1.5px solid #000;
    z-index: 1;
}
.search-bar {
    display: none;
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    animation: slideIn 0.3s ease-out;
    z-index: 10;
}
.search-bar.active {
    display: flex;
}
.search-bar input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}
.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.search-bar input:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}
@keyframes slideIn {
    from { opacity: 0; width: 0; }
    to { opacity: 1; width: 250px; }
}

/* Assets styling */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.asset-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background-color 0.3s;
    height: 100%;
}
.asset-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}
.asset-card:hover .asset-action-overlay,
.asset-card.is-downloaded .asset-action-overlay {
    opacity: 1;
}
.asset-action-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none; /* Let clicks pass to children */
}
.asset-card.is-downloaded .asset-action-overlay {
    background: transparent;
}
.asset-card.is-downloaded:hover .asset-action-overlay {
    background: transparent;
}
.add-to-cart-container {
    align-self: flex-end;
    padding: 10px;
    cursor: pointer;
    pointer-events: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.add-to-cart-button {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s, background 0.2s;
}
.add-to-cart-button:hover {
    transform: scale(1.1);
    background: white;
}
.add-to-cart-button.asset-downloaded:not(.is-downloading) {
    transform: scale(0.5);
    background-color: #4cd964 !important;
    color: white !important;
}
.add-to-cart-button.asset-downloaded:not(.is-downloading):hover {
    transform: scale(0.65) !important;
    background-color: #4cd964 !important;
}
.add-to-cart-button.is-downloading {
    transform: scale(1) !important;
    background-color: #4cd964 !important;
    color: white !important;
    cursor: default;
}
.add-to-cart-button i {
    font-size: 1.6rem;
}
.asset-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #000;
}
.asset-details {
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    color: #000000;
}
.asset-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Orders Section Styling */
.orders-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}
.order-container.status-authorized {
    border: 1.5px solid #ff9800;
}
.order-container.status-expired {
    border: 1.5px solid #e67e22;
}
.authorized-warning-icon, .expired-warning-icon {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}
.authorized-warning-icon {
    color: #ff9800;
}
.expired-warning-icon {
    color: #e67e22;
}
.order-tooltip {
    background: #333;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    pointer-events: none;
}
.order-tooltip.desktop-only {
    position: absolute;
    left: 1.5rem;
    top: calc(100% - 0.5rem);
    width: 200px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}
.order-row:hover .order-tooltip.desktop-only {
    opacity: 1;
    transform: translateY(0);
}
.order-tooltip.mobile-only {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    color: #ff9800;
    text-align: center;
}
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 1024px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
}

.order-container {
    width: calc(50% - 0.75rem); /* Half width on desktop */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease, margin 0.3s ease;
    align-self: flex-start;
}
.order-container:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}
.order-row {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.order-id-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 100px;
}
.order-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}
.order-actions-col {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    gap: 0.75rem;
}
.order-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}
.expand-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.expand-btn:hover {
    color: #ffffff;
}
.order-details {
    padding: 0 1.5rem 0.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.order-summary-details {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.cart-adjustment-row,
.order-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    align-items: center;
}

.adjustment-description-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-summary-row {
    gap: 0.5rem;
}

.order-summary-row .label {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-summary-row .value {
    color: #ffffff;
    font-weight: 600;
}

.collapsible-assets-section {
    margin-top: 0.5rem;
}

.collapsible-assets-section.assets-collapsed {
    padding-bottom: 0.75rem;
}

.assets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.assets-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.assets-header {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.thumbnail-square {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.thumbnail-square img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-square:hover img {
    transform: scale(1.1);
}

.asset-id-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.65rem;
    padding: 4px 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-square:hover .asset-id-overlay {
    opacity: 1;
}

.no-assets-container {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.4);
}

.no-assets-container i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

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

@media (max-width: 480px) {
    .assets-grid {
        grid-template-columns: 1fr;
    }
}
.order-action-btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Added transparent border to match download-btn/expired-box */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.contact-btn {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}
.contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}
.download-btn, .expired-box {
    min-width: 140px;
    justify-content: center;
}
.download-btn {
    background: #ffffff;
    color: #121212;
    border-color: #ffffff;
}
.download-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}
.download-btn.downloaded-success {
    background-color: #2ecc71;
    color: #ffffff;
    border-color: #2ecc71;
    transition: all 0.5s ease;
}
.download-btn.downloading-pending {
    background-color: #95a5a6 !important;
    color: #ffffff !important;
    border-color: #95a5a6 !important;
    cursor: wait;
}
.expired-box {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 126, 34, 0.5);
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
}
.expired-box:hover {
    background: rgba(230, 126, 34, 0.2);
}

/* Removed expired-section as it is no longer used */
/*.expired-section {
    margin-top: 1rem;
    padding: 1.25rem;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 10px;
}
.expired-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e67e22;
}
.expired-notice i {
    font-size: 1.5rem;
}
.expired-text p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}*/

/* Contact Us Revamp */
.contact-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.contact-form label {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
}
.contact-form input, .contact-form textarea {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    width: 100%;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}
.contact-form .form-actions {
    margin-top: 0.5rem;
}
.contact-form button {
    background: #ffffff;
    color: #121212;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}
.contact-form button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.email-display-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.email-text {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
}

.edit-email-btn {
    background: none !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 0 !important;
    width: auto !important;
    cursor: pointer;
    font-size: 0.9rem !important;
    transition: color 0.2s ease !important;
    transform: none !important;
}

.edit-email-btn:hover {
    color: #ffffff !important;
    background: none !important;
    transform: none !important;
}

.success-screen {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 1.5rem;
}

.success-screen h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.success-screen p {
    color: #bdc3c7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.success-screen .ok-btn {
    background: #ffffff;
    color: #121212;
    padding: 0.75rem 3rem;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.success-screen .ok-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Media Queries for Orders */
@media (max-width: 1024px) {
    .order-container {
        width: 100%; /* Full width on mobile */
    }
    .order-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .order-info-col {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    .order-actions-col {
        width: 100%;
        justify-content: flex-start;
    }
    .order-action-btn {
        flex: 1;
        justify-content: center;
    }
}

/* Appointment Form */
.appointment-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}
.appointment-form .form-row {
    display: flex;
    gap: 1.5rem;
}
.appointment-form .form-group {
    width: 100%;
}
.appointment-form .form-row .form-group {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    display: block;
}
.appointment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
}
.appointment-form input[type="text"],
.appointment-form input[type="email"],
.appointment-form input[type="tel"],
.appointment-form input[type="date"],
.appointment-form textarea,
.appointment-form select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    width: 100%;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.appointment-form input:focus,
.appointment-form textarea:focus,
.appointment-form select:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}
.appointment-form select option {
    background: #121212;
    color: #ffffff;
}

/* Flatpickr Custom Styling */
.flatpickr-container {
    width: 100%;
}

.flatpickr-calendar {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border: 1px solid #edf2f7;
    font-family: 'Poppins', sans-serif;
    width: 100% !important;
    max-width: none !important;
    margin-top: 5px;
}

.flatpickr-months, .flatpickr-innerContainer, .flatpickr-days, .dayContainer {
    width: 100% !important;
    max-width: none !important;
}

.dayContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.flatpickr-day {
    max-width: none !important;
    flex-basis: 14.28%;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay:hover, .flatpickr-day.startRange.prevMonthDay:hover, .flatpickr-day.endRange.prevMonthDay:hover, .flatpickr-day.selected.nextMonthDay:hover, .flatpickr-day.startRange.nextMonthDay:hover, .flatpickr-day.endRange.nextMonthDay:hover {
    background: #1a252f;
    border-color: #1a252f;
}

.flatpickr-day.today {
    border-color: var(--primary-color);
}

.flatpickr-day.today:hover {
    background: #edf2f7;
    color: var(--primary-color);
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: transparent;
}

.form-actions button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Time Slot and Duration Slot Styling */
.time-slots-container, .duration-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.time-group-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.time-group-selector .time-slot {
    flex: 1;
    min-width: 150px;
    white-space: nowrap;
}

.duration-slots-container {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}

.time-slot, .duration-slot {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a5568;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.time-slot:hover, .duration-slot:hover {
    border-color: var(--primary-color);
    background-color: #f7fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.time-slot.active, .duration-slot.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.time-slot-group-container {
    margin-bottom: 1.5rem;
}

[ng-if] .time-slots-container {
    animation: fadeInSlide 0.3s ease-out;
}

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

.appointment-form.form-submitted input.ng-invalid,
.appointment-form.form-submitted select.ng-invalid,
.appointment-form.form-submitted textarea.ng-invalid,
.appointment-form.form-submitted .invalid-highlight {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

@media (max-width: 600px) {
    .appointment-form .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    .appointment-form-container {
        padding: 1.5rem;
    }
}
/* Payment Menu (Right pop-out) */
.payment-menu, .checkout-menu {
    position: fixed;
    top: calc(50% + 40px);
    transform: translateY(-50%);
    right: -450px;
    width: 450px;
    height: auto;
    max-height: calc(90svh - 80px);
    background: var(--card-bg);
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    text-align: left;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.payment-menu.active, .checkout-menu.active {
    right: 0;
    visibility: visible;
    opacity: 1;
}

/* Prefilled Personal Details Popout Styles */
.prefilled-popout .prefilled-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
    gap: 1.5rem;
}

.prefilled-header-text {
    font-size: 1.5rem;
    line-height: 1.4;
}

.prefilled-email-text {
    font-size: 1.25rem;
}

.prefilled-change-link {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #666;
}

.prefilled-change-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.prefilled-change-link a:hover {
    text-decoration: underline;
}

.prefilled-popout .checkout-actions {
    width: 100%;
    margin-top: 1rem;
}

.validation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2010;
    border-radius: 12px;
}

.validation-overlay p {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.payment-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.payment-menu-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.payment-summary {
    background: #f0f7ff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-weight: 600;
    color: #444;
}

.summary-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

#payment-request-button {
    margin-bottom: 1.5rem;
    min-height: 44px; /* Matches the button height set in app.js */
}

.payment-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #888;
    font-size: 0.9rem;
}

.payment-separator::before,
.payment-separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #eee;
}

.payment-separator span {
    padding: 0 10px;
}

.card-details-form {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.full-width {
    width: 100%;
}

.half-width {
    width: 50%;
}

.stripe-element-container {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    transition: border-color 0.2s;
}

.stripe-element-container.StripeElement--focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.payment-error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    min-height: 1.2em;
}

.payment-actions .checkout-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Login Modal Styles */
.login-modal-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    background: rgba(0,0,0,0.8);
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-modal-content {
    background: var(--card-bg);
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.login-iframe-container {
    display: flex;
    flex-direction: column;
}

.login-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-login {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 4001;
    background: rgba(0,0,0,0.5);
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-login:hover {
    background: rgba(0,0,0,0.8);
}

@media (max-width: 1024px) {
    header {
        padding: 1rem;
        justify-content: flex-start;
        position: sticky;
        top: 0;
        min-height: 80px;
        background: #000000;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        z-index: 3000; /* Ensure header is above everything */
    }
    header.header-transparent {
        background: transparent;
        box-shadow: none;
    }
    .logo {
        position: relative;
        left: 0;
        transform: none;
        gap: 0.75rem;
    }
    @media (max-width: 380px) {
        .logo {
            left: 0;
            transform: none;
        }
    }
    .logo img {
        height: 40px;
    }
    .logo-name {
        font-size: 18px;
        font-family: 'Poppins', sans-serif;
        color: #ffffff !important;
    }
    .logo-subtitle {
        font-size: 9px;
        letter-spacing: 3px;
        color: #ffffff !important;
    }
    nav ul {
        display: none;
    }
    nav ul.mobile-nav-visible {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        gap: 1rem;
    }
    .hamburger-menu {
        display: block;
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1060; /* Ensure it stays above overlay if needed, or at least visible */
    }
    .cart-item-mobile {
        position: absolute;
        right: 3.5rem;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-color);
        font-weight: 600;
        cursor: pointer;
    }
    .cart-item-mobile .cart-count-badge {
        display: none !important;
    }
    .cart-item {
        display: none !important;
    }
    .cart-menu, .mobile-menu, .payment-menu, .checkout-menu, .account-menu {
        width: 100%;
        max-width: none;
        height: calc(100svh - 80px);
        max-height: none;
        top: 80px;
        transform: none;
        right: -100%;
        border-radius: 0;
        padding: 1.5rem;
        z-index: 2500;
        opacity: 0;
        visibility: hidden;
        transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
    }
    .account-menu {
        display: none !important;
    }
    .cart-menu, .mobile-menu, .payment-menu, .checkout-menu, .account-menu {
        box-sizing: border-box;
    }
    .cart-menu.active, .mobile-menu.active, .payment-menu.active, .checkout-menu.active, .account-menu.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    #download-landing.section.active {
        display: flex;
        flex-direction: column;
        min-height: calc(100svh - 80px);
        justify-content: center;
        max-width: none;
    }
    #download-landing .download-landing-container {
        height: 100%;
        min-height: auto;
        padding: 1.5rem;
        background: transparent;
        text-align: center;
    }
    #download-landing .download-title {
        font-size: 2.5rem;
    }
    #download-landing .download-card {
        padding: 1.5rem;
        border-radius: 0;
        box-shadow: none;
        border: none;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: transparent;
    }
    .asset-action-overlay {
        opacity: 1;
    }
    .cart-overlay {
        z-index: 1050; /* Above header (1000) but below mobile menu (1100) */
    }
    .events-header {
        background: transparent;
        padding: 0.75rem 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    .header-left {
        flex: 1;
        display: flex;
        align-items: center;
    }
    .search-container {
        position: static;
        display: contents; /* Allow children to participate in the events-header flex layout */
    }
    .search-bar {
        position: relative;
        width: 100%;
        right: 0;
        top: 0;
        transform: none;
        order: 3;
        margin-top: 0.5rem;
    }
    .search-bar.active {
        display: flex;
    }
    .search-icon {
        order: 2;
    }
    .header-cart-icon {
        display: none !important;
    }
    @keyframes slideIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
}
.initial-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-color: #333333; /* Gray background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease-in-out;
}
.initial-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.checkout-complete-overlay .spinner,
.initial-loading-overlay .spinner {
    display: block;
    border-left-color: #ffffff;
    border-top-color: rgba(255, 255, 255, 0.3);
    border-right-color: rgba(255, 255, 255, 0.3);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin: 2rem auto;
    display: block;
}

.hourglass-spinner {
    font-size: 4rem;
    text-align: center;
    margin: 2rem auto;
    display: block;
    animation: hourglass-flip 2s ease-in-out infinite;
}

@keyframes hourglass-flip {
    0% { transform: rotate(0deg); }
    40% { transform: rotate(180deg); }
    50% { transform: rotate(180deg); }
    90% { transform: rotate(360deg); }
    100% { transform: rotate(360deg); }
}

.events-loading-container, .events-no-data-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
    text-align: center;
    padding: 2rem;
}

.events-loading-container .spinner {
    margin-bottom: 1rem;
    border-left-color: #ffffff;
    border-top-color: rgba(255, 255, 255, 0.3);
    border-right-color: rgba(255, 255, 255, 0.3);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.events-loading-container p, .events-no-data-container p {
    font-size: 1.1rem;
    color: #ffffff;
}

.events-no-data-container p {
    color: #666;
}

.events-no-data-container i {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.login-hint {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ffffff;
}

.login-hint a {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}
.spinner.mini {
    width: 24px;
    height: 24px;
    border-width: 3px;
    margin: 0;
    display: block;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Asset Thumbnail and Spinner */
.asset-thumbnail-container {
    position: relative;
    width: 100%;
    height: 250px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.asset-spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    animation: fadeIn 0.5s ease-in-out;
}
.pagination-pages {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.pagination-btn, .pagination-page {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}
.pagination-btn:hover:not(:disabled), .pagination-page:hover:not(.dots):not(.active) {
    background-color: #f0f2f5;
    border-color: var(--primary-color);
}
.pagination-page.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    cursor: default;
}
.pagination-page.dots {
    border: none;
    background: none;
    cursor: default;
    padding: 0;
    min-width: 20px;
}
.pagination-btn:disabled {
    background-color: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
}
@media (max-width: 600px) {
    .pagination {
        gap: 0.5rem;
    }
    .pagination-page:not(.active) {
        display: none;
    }
    .pagination-page.active {
        display: flex;
    }
    .pagination-page.dots {
        display: none;
    }
}


/* Success Popup Styles */
.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.success-popup-overlay.active {
    display: flex;
}

.checkout-complete-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    backdrop-filter: blur(5px);
}

.checkout-complete-overlay.active {
    display: flex;
}
.success-popup {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: popupAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popupAppear {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}
.success-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}
.success-message {
    color: var(--secondary-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.order-id {
    background-color: #f8f9fa;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid #dee2e6;
}
.continue-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Asset Preview Modal Styles */
.asset-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 4000;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    backdrop-filter: blur(8px);
}
.asset-preview-overlay.active {
    display: flex;
}
.preview-modal {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.preview-top-bar {
    width: 100%;
    background-color: transparent;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1001;
    height: 80px;
    box-sizing: border-box;
}
.preview-top-bar .logo {
    position: relative;
    left: auto;
    transform: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.preview-top-bar .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}
.preview-top-bar .logo-name, .preview-top-bar .logo-text {
    color: #ffffff;
}
.preview-top-bar .close-preview {
    margin-left: auto;
}
.preview-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
    z-index: 10;
    margin-top: 80px;
}
.preview-loader .spinner {
    margin: 0;
    display: block;
    border-left-color: white;
}
.preview-loader span {
    font-size: 1.1rem;
    font-weight: 500;
}
.preview-image {
    max-width: 90%;
    max-height: calc(90svh - 100px);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
    margin-top: 80px;
}
.close-preview {
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s;
}
.close-preview:hover {
    transform: scale(1.1);
}
@media (max-width: 1024px) {
    .preview-top-bar {
        padding: 1rem;
        height: auto;
        min-height: 80px;
        justify-content: center;
    }
    .preview-top-bar .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .preview-top-bar .close-preview {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    .preview-image {
        max-width: 95%;
        max-height: calc(95svh - 100px);
    }
    .close-preview {
        font-size: 1.8rem;
    }
}

/* Download Landing Page */
#download-landing.section.active {
    max-width: none;
}

@media (min-width: 1025px) {
    #download-landing.section.active {
        min-height: calc(100vh - 80px);
    }
}

.download-landing-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: calc(100vh - 80px);
    width: 100%;
    background: transparent;
}

@media (min-width: 1025px) {
    .download-landing-container {
        min-height: calc(100vh - 80px);
    }
}

.download-split-view {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
}

@media (min-width: 1025px) {
    .download-split-view {
        flex-direction: row;
        min-height: calc(100vh - 80px);
        align-items: flex-start;
    }

    .download-left-col {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        position: sticky;
        top: 80px;
        height: calc(100vh - 80px);
        overflow: hidden;
    }

    .download-right-col {
        flex: 1;
        padding: 4rem 2rem;
        background: rgba(0, 0, 0, 0.2);
        min-height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .download-right-col .assets-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
    }

    .download-right-col .download-assets-container {
        margin-top: 0;
        padding: 0;
    }
}

.download-assets-container {
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
    padding: 0 1rem 4rem;
}

.download-assets-container .section-subtitle {
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.download-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.info-btn-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.info-btn-circle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.modal-details {
    margin-bottom: 0;
    border: none;
    background: transparent;
}

.modal-details .detail-label,
.modal-details .detail-value {
    color: #333333;
    opacity: 1;
}

.modal-details .detail-row {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.download-help-text {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
}

.download-help-text a {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
    margin-left: 0.25rem;
}

.download-help-text a:hover {
    opacity: 0.8;
}

.download-card {
    background: transparent;
    padding: 3rem;
    border-radius: 1.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: none;
    border: none;
}

.download-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.download-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.camera-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    color: white;
}

.download-subtitle {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
}

.download-details-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #ffffff;
    opacity: 0.7;
    font-size: 0.9rem;
}

.detail-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.download-action-btn {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.download-action-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.download-action-btn:disabled:not(.downloaded-success) {
    background: #444;
    color: #888;
    cursor: not-allowed;
}

.download-action-btn.downloaded-success {
    background-color: #2ecc71;
    color: #ffffff;
    transition: all 0.5s ease;
}

.download-action-btn.downloaded-success:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

.download-error {
    color: #ff6b6b;
    margin: 2rem 0;
}

.download-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.logout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.download-login-prompt {
    margin: 2rem 0;
    text-align: center;
}

.login-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.login-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.login-prompt-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background-color: #ffffff;
    border: none;
    color: #121212;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.login-prompt-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.download-loading {
    padding: 2rem 0;
}

/* Download Carousel Styles */
@media (min-width: 1025px) {
    .download-carousel-container {
        position: relative;
        width: 100%;
        margin-top: 1rem;
    }

    .download-carousel-viewport {
        overflow: hidden;
        width: 100%;
    }

    .download-carousel-track {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .download-carousel-page {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .download-right-col .assets-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
        gap: 2rem;
    }

    .carousel-pill-pager {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .pill-nav-btn {
        background: transparent;
        border: none;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    .pill-nav-btn:hover {
        transform: scale(1.2);
    }

    .pills-container {
        display: flex;
        gap: 0.75rem;
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }

    .pill {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s;
    }

    .pill.active {
        background: white;
        transform: scale(1.2);
    }
}

@media (max-width: 380px) {
    .preview-top-bar .logo {
        left: 1rem;
        transform: none;
        position: absolute;
    }
}


/* --- Vision 2026 Styles --- */
:root {
    --vision-bg: #121212;
    --vision-bg-rgb: 18, 18, 18;
    --vision-text: #ffffff;
    --vision-accent: #3b82f6;
    --vision-glass-bg: rgba(255, 255, 255, 0.03);
    --vision-glass-border: rgba(255, 255, 255, 0.1);
    --font-display: 'Cormorant Garamond', Georgia, serif;
}

.hero-2026 {
    min-height: calc(100svh - 80px);
    display: none;
    align-items: center;
    width: 100%;
    background: transparent;
    color: var(--vision-text);
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.mobile-hero-bg {
    display: none;
}

.hero-2026.active {
    display: flex !important;
}

.home-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    gap: clamp(1rem, 5vw, 4rem);
    padding: 2rem 4rem;
    padding: clamp(1rem, 3vh, 2rem) clamp(2rem, 5vw, 4rem);
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    transition: none !important;
    will-change: transform, opacity;
    align-items: center;
}

.show-options .hero-content-wrapper {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.home-options-section {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    padding: 2rem 4rem;
    box-sizing: border-box;
    background: transparent;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    will-change: transform, opacity;
    --dynamic-accent-color: #000000;
    --dynamic-contrast-color: #ffffff;
}

.show-options .home-options-section {
    transform: translateX(0);
    opacity: 1;
}

.options-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
    position: absolute;
    top: 2rem;
    left: 4rem;
}

.mobile-options-close {
    display: none;
}

@media (max-width: 1024px) {
    .options-header {
        display: none;
    }
    .mobile-options-close {
        display: flex;
        position: absolute;
        top: 20px;
        right: 2rem;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
        z-index: 2001;
        background: rgba(0,0,0,0.2);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease;
    }
    .mobile-options-close:hover {
        background: rgba(0,0,0,0.4);
    }
}

.back-to-hero {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: auto;
}

.back-to-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.hero-title-lines .line-1,
.hero-title-lines .line-3 {
    transition: color 1.5s ease;
}

.hero-title-lines .line-2 {
    transition: color 1.5s ease;
}

.hero-2026-content {
    text-align: left;
    user-select: none;
}

.hero-2026 h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, min(5vw, 10vh), 4rem);
    font-weight: 700;
    margin-bottom: clamp(0.5rem, 3vh, 1.5rem);
    letter-spacing: -0.04em;
    color: #ffffff;
    line-height: 1.1;
    text-transform: capitalize;
}

.hero-2026 p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vh, 1.1rem);
    max-width: 500px;
    opacity: 0.9;
    margin-bottom: clamp(1rem, 5vh, 2.5rem);
    color: #ffffff;
    line-height: 1.6;
    font-weight: 300;
}

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--vision-accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn-vision {
    padding: clamp(0.5rem, 1.5vh, 0.8rem) clamp(1rem, 3vw, 2rem);
    border-radius: 100px;
    font-size: clamp(0.9rem, 2vh, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-vision-primary {
    background-color: var(--vision-accent, var(--vision-text));
    color: var(--vision-bg);
    border: 1px solid transparent;
    transition: background-color 1.5s ease, color 1.5s ease, border-color 1.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-vision-secondary {
    background-color: transparent;
    color: var(--vision-text);
    border: 1px solid var(--vision-glass-border);
}

.btn-vision:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.btn-vision-primary:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-vision i {
    transition: transform 0.3s ease;
}

.btn-vision:hover i {
    transform: translateX(5px);
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 32px;
    background: #000;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0.8;
    vertical-align: middle;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
}

.option-card {
    position: relative;
    height: 450px;
    max-height: 40vh;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #ffffff;
    color: #000000;
    user-select: none;
}

.option-card .option-content h3 {
    color: #000000;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.option-card:hover .option-content h3 {
    letter-spacing: 0.05em;
    transform: scale(1.1);
}

.option-card-arrow {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: inherit;
}

.option-card:hover .option-card-arrow {
    opacity: 1;
    right: 20px;
}

@media (max-width: 1024px) {
    .home-options-section {
        padding: 2rem;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100svh - 80px);
        background: linear-gradient(to bottom, #262626, #0a0a0a);
        transform: none;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.6s ease;
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 80px;
        box-sizing: border-box;
        z-index: 2000;
    }

    .show-options .home-options-section {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .options-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        flex-grow: 1;
    }

    .option-card {
        background-color: #ffffff !important;
        color: #000000 !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 1.5rem !important;
        margin-bottom: 0;
        border-radius: 12px;
        min-height: 80px !important;
        height: auto !important;
        border: none !important;
        flex: 1;
        transform: none !important;
        box-shadow: none !important;
    }

    .option-card .option-content {
        padding: 0 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: transparent !important;
        transform: none !important;
    }

    .option-card .option-content h3 {
        margin: 0 !important;
        color: #000000;
        font-size: 1.2rem !important;
        text-align: left;
        letter-spacing: normal !important;
        transform: none !important;
    }

    .option-card-arrow {
        font-size: 1.2rem;
        margin-left: 1rem;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        color: #000000;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev { left: 1.5rem; }
.carousel-next { right: 1.5rem; }

.carousel-toggle {
    left: 1.5rem;
    bottom: 1.5rem;
    top: auto;
    transform: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 1.5s ease;
}

.carousel-toggle:hover {
    transform: scale(1.1);
}

.carousel-toggle:active {
    transform: scale(0.95);
}

.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 1.5s ease;
}

.indicator.active {
    background: var(--vision-accent);
    width: 24px;
    border-radius: 4px;
    transition: background 1.5s ease, width 0.3s ease;
}

/* Responsive Vision */
@media (max-width: 1024px) {
    .hero-2026 {
        display: flex; /* Ensure it is visible on mobile */
        background: transparent;
        min-height: calc(100svh - 80px);
        align-items: flex-start;
        padding-top: calc(45svh - 80px); 
        position: relative;
        z-index: 50; 
        opacity: 1;
        transition: opacity 0.6s ease;
    }

    .mobile-hero-bg {
        display: block;
        position: fixed; /* Fixed to cover the whole viewport behind the top bar */
        top: 0;
        left: 0;
        width: 100%;
        height: 55svh; /* Increased height to allow for more aggressive fade */
        z-index: 1; /* Keep it at the lowest layer */
        overflow: hidden;
        background: var(--vision-bg); /* Prevents white flash before image/gradient loads */
        pointer-events: none; /* Allows clicks to pass through to the content below if needed, though z-index should handle it */
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .show-options .mobile-hero-bg {
        opacity: 0;
        pointer-events: none;
    }

    .carousel-container {
        display: none !important;
    }

    .mobile-hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.7);
    }

    .mobile-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Restore the linear gradient fade to the background color with more stops for smoothness */
        background: linear-gradient(to bottom, 
            transparent 0%, 
            transparent 30%, 
            rgba(var(--vision-bg-rgb), 0.1) 50%,
            rgba(var(--vision-bg-rgb), 0.3) 65%,
            rgba(var(--vision-bg-rgb), 0.6) 80%,
            rgba(var(--vision-bg-rgb), 0.85) 90%,
            var(--vision-bg) 100%);
        z-index: 2;
    }

    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        text-align: left;
        min-height: auto;
        position: relative;
        z-index: 100;
        transition: none !important;
    }

    .show-options .hero-content-wrapper {
        opacity: 0 !important;
        transform: none !important;
        pointer-events: none !important;
        display: none !important;
        transition: none !important;
    }

    .hero-2026-content {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        position: relative;
        z-index: 110;
    }

    .hero-title-lines {
        display: flex;
        flex-direction: column;
        margin-top: 0;
        margin-bottom: 1rem;
        position: relative;
        z-index: 80;
        background: transparent;
        width: 100%;
        overflow: visible;
    }

    .hero-title-lines span {
        display: block;
        font-family: var(--font-display);
        font-size: clamp(2.5rem, 10vw, 4rem);
        font-weight: 450;
        line-height: 1.2;
        letter-spacing: -0.02em;
        white-space: normal;
    }

    .hero-title-lines .line-1,
    .hero-title-lines .line-2,
    .hero-title-lines .line-3 {
        transition: color 1.5s ease;
    }

    .hero-title-lines .line-1,
    .hero-title-lines .line-3 {
        color: #ffffff;
    }

    .hero-title-lines .line-2 {
        font-style: italic;
        /* Color will be set by JS in style attribute */
    }

    .hero-2026-title-lines-hidden {
        display: none; /* Hide original h1 if still present */
    }

    .hero-2026 p {
        order: 2;
        margin: 0;
        margin-bottom: 1.5rem;
        color: #ffffff; /* Ensure white color */
        text-align: left;
        max-width: 100%;
        position: relative;
        z-index: 80;
    }

    .cta-group {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        position: relative;
        z-index: 80 !important;
    }

    .cta-group .btn-vision-primary {
        transition: background-color 1.5s ease, color 1.5s ease, border-color 1.5s ease, transform 0.3s ease, filter 0.3s ease !important;
    }

    .cta-group .btn-vision-primary:hover {
        filter: brightness(1.2);
        transform: translateY(-2px);
    }

    .carousel-track {
        height: 100% !important;
    }

    .carousel-slide {
        height: 100% !important;
    }
}

/* Floating Cart Button Style (matching refresh button) */
.floating-cart-btn-container {
    position: fixed;
    bottom: 30px; /* Aligned with refresh button */
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.cart-added-message {
    background-color: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    margin-right: 15px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    position: relative;
}

.cart-added-message.visible {
    opacity: 1;
    visibility: visible;
}

.cart-added-message::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

/* If refresh button is not present, we might want it at bottom 30px, 
   but for simplicity and consistency with the request "like the refresh events button" 
   we'll put it in the same area. */

.cart-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color, #007bff);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.2s, background-color 0.2s;
    position: relative;
}

.cart-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.cart-btn:active {
    transform: scale(0.95);
}

/* Red notification dot for the floating button */
.cart-btn .cart-notification-bubble {
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border: 2px solid white;
}

/* Asset In-Cart Grey-out logic */
.asset-card.in-cart-limited .asset-thumbnail {
    filter: grayscale(100%) opacity(0.6);
}

.in-cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.in-cart-overlay i.fa-shopping-cart {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.tick-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2ecc71;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .floating-cart-btn-container {
        bottom: 20px;
        right: 20px;
    }

    .cart-added-message {
        position: relative;
        bottom: auto;
        right: auto;
        margin-right: 15px;
        font-size: 12px;
        padding: 6px 12px;
    }

    .cart-added-message::after {
        right: -8px;
        top: 50%;
        border-width: 8px 0 8px 8px;
        border-color: transparent transparent transparent #333;
        transform: translateY(-50%);
    }
    
    .cart-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .cart-btn .cart-notification-bubble {
        width: 12px;
        height: 12px;
    }
}

.floating-refresh-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.refresh-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color, #007bff);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.2s, background-color 0.2s;
}

.refresh-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.refresh-btn:active {
    transform: scale(0.95);
}

.spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

@media (max-width: 768px) {
    .floating-refresh-container {
        bottom: 20px;
        right: 20px;
    }
    
    .refresh-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        background-color: rgba(255, 255, 255, 1);
    }
}

/* Submission Screen and Cards */
.submissions-screen-container {
    animation: fadeIn 0.3s ease;
}

.submission-cards-grid {
    padding: 10px 0;
}

.submission-card {
    background: #000000 !important;
    border-radius: 12px;
    border: 3px solid #333;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    color: #ffffff;
}

.submission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Status Outlines */
.status-outline-pending { border-color: #f39c12; }
.status-outline-approved { border-color: #27ae60; }
.status-outline-denied { border-color: #e74c3c; }

.submission-card-status-header {
    display: flex;
    justify-content: center;
    padding: 15px 0 5px 0;
}

.submission-status-chip {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submission-status-chip.pending { background: #f39c12; color: #fff; }
.submission-status-chip.approved { background: #27ae60; color: #fff; }
.submission-status-chip.denied { background: #e74c3c; color: #fff; }

.submission-card-body {
    padding: 15px 20px;
    flex-grow: 1;
}

.submission-name {
    margin: 0 0 10px 0;
    text-align: center;
    font-size: 1.25rem;
    color: #fff;
}

.no-name-placeholder {
    text-align: center;
    color: #888;
    font-style: italic;
    margin-bottom: 10px;
}

.submission-chiplets {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.chiplet-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.chiplet {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chiplet i {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.submission-metadata-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.metadata-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.metadata-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.metadata-label {
    color: #888;
    font-weight: 500;
}

.metadata-value {
    color: #ffffff;
    text-align: right;
}

.submission-card-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.submission-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-approve, .btn-deny {
    padding: 8px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-approve { background: #27ae60; color: #fff; }
.btn-approve:hover { background: #219150; }
.btn-approve:disabled { background: #1a6d3c; opacity: 0.7; }

.btn-deny { background: #e74c3c; color: #fff; }
.btn-deny:hover { background: #c0392b; }
.btn-deny:disabled { background: #962d22; opacity: 0.7; }

.status-finalized {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-finalized span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-finalized .fa-check-circle { color: #27ae60; }
.status-finalized .fa-times-circle { color: #e74c3c; }

.btn-icon {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #333;
    border-color: #666;
}


/* Event Direct Styles */
.event-direct-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.event-summary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.event-direct-next-step {
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
}

.next-step-emoji {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.event-direct-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.event-direct-next-step p {
    margin-bottom: 1.5rem;
}

.event-direct-next-step .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .event-direct-container {
        padding: 1rem;
        justify-content: flex-start;
        padding-top: 2rem;
    }
    
    .event-summary-content {
        gap: 1.5rem;
    }
    
    .event-direct-next-step {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .event-direct-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (min-width: 769px) {
    .event-summary-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 5rem;
        max-width: 1100px;
    }
    
    .event-summary-content .event-card {
        flex: 0 0 450px;
        max-width: 450px;
        height: auto;
        opacity: 1; /* Remove opacity 0.7 from non-clickable */
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        border-radius: 18px;
    }
    
    .event-summary-content .event-card .event-thumbnail {
        height: 300px;
    }

    .event-summary-content .event-card .event-details {
        padding: 1.125rem 1.5rem;
        gap: 0.375rem;
    }

    .event-summary-content .event-card .event-name {
        font-size: 1.875rem;
    }

    .event-summary-content .event-card .status-badge {
        top: 15px;
        right: 15px;
        padding: 0.375rem 1.125rem;
        font-size: 1.2rem;
        border-radius: 30px;
    }
    
    .event-direct-next-step {
        flex: 1;
        max-width: 550px;
        text-align: center;
        padding: 3.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .event-direct-next-step p {
        font-size: 1.4rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        font-weight: 500;
    }
    
    .event-direct-buttons {
        justify-content: center;
    }
}