:root {
    --bg-color: #f0f8f0;
    --text-color: #1a1a1a;
    --accent-color: #4caf50;
    --accent-dark: #388e3c;
    --accent-light: #81c784;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(76, 175, 80, 0.2);
    --shadow-light: #e8f5e9;
    --shadow-dark: #c8e6c9;
}

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

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #e8f5e9 0%, #c8e6c9 30%, #a5d6a7 60%, #81c784 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(232, 245, 233, 0.2) 0%, rgba(200, 230, 201, 0.2) 100%);
    pointer-events: none;
    z-index: -1;
}

nav {
    padding: 0.7rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

nav.nav-visible {
    transform: translateY(0);
    opacity: 1;
}

nav.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-content.nav-centered {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 1.8rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 1.5rem;
    padding: .4rem .9rem;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(76, 175, 80, 0.2);
    list-style: none;
    align-items: center;
    justify-content: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 0.8rem;
    transition: background 0.2s, color 0.2s;
}

.nav-menu a:hover {
    background: rgba(76, 175, 80, 0.1);
    color: var(--accent-color);
}

.nav-right {
    position: absolute;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    width: auto;
    max-width: calc(100% - 2rem);
}

@media (max-width: 768px) {
    .nav-right {
        position: static;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        margin: 0.5rem 0;
        padding: 0 1rem;
    }
    
    .nav-content.nav-centered {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu {
        padding: 0.3rem 0.6rem;
        gap: 0.8rem;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.2rem 0.4rem;
    }
    
    .login-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .login-btn-text {
        display: inline-block !important;
    }
    
    .user-menu-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* User Menu */
.user-menu-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(76, 175, 80, 0.3);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.user-menu-btn:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--accent-color);
}

.user-name {
    color: var(--accent-color);
    font-weight: 600;
}

.user-balance {
    color: var(--accent-dark);
    font-weight: 700;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(76, 175, 80, 0.3);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
    background: rgba(76, 175, 80, 0.05);
}

.user-dropdown-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.user-dropdown-email {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    word-break: break-all;
}

.user-dropdown-item {
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.user-dropdown-item:hover {
    background: rgba(76, 175, 80, 0.1);
}

.user-dropdown-item i {
    color: var(--accent-color);
    width: 20px;
}

.google-signin-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
}

.google-signin-container > div {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
}

/* Fix Google sign-in button on mobile */
@media (max-width: 768px) {
    .google-signin-container {
        padding: 0;
        width: auto;
        min-width: auto;
        flex-shrink: 1;
    }
    
    .google-signin-btn {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.8rem !important;
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .google-signin-btn span {
        font-size: 0.75rem !important;
    }
    
    .user-menu-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
        gap: 0.4rem;
        flex-wrap: nowrap;
    }
    
    .user-name {
        font-size: 0.75rem;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }
    
    .user-balance {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .user-menu-btn i {
        font-size: 0.7rem;
        flex-shrink: 0;
    }
}

#google-signin-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

#google-signin-modal > div {
    margin: 0 auto;
}

.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.google-signin-btn:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.google-signin-btn:active {
    background: #f1f3f4;
}

.google-signin-btn svg {
    flex-shrink: 0;
}

.google-signin-btn span {
    white-space: nowrap;
}

/* Admin Panel Styles - White & Green Theme */
.admin-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.admin-modal-container {
    background: #ffffff;
    border-radius: 1rem;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #4caf50;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-bottom: 2px solid #45a049;
}

.admin-modal-header h2 {
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.admin-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.admin-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.admin-modal-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
    background: #f9f9f9;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.admin-tab {
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 2px solid transparent;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-weight: 500;
}

.admin-tab:hover {
    color: #4caf50;
    background: #f0f8f0;
    border-color: #4caf50;
}

.admin-tab.active {
    color: #ffffff;
    background: #4caf50;
    border-color: #4caf50;
    font-weight: 600;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-order-item {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.admin-order-item:hover {
    border-color: #4caf50;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.2);
}

.admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #333;
}

.admin-order-header strong {
    color: #333;
    font-size: 1.1rem;
}

.admin-order-items {
    margin: 1rem 0;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #333;
    border-left: 4px solid #4caf50;
}

.admin-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e0e0e0;
    color: #333;
}

.admin-order-footer strong {
    color: #333;
    font-size: 1.1rem;
}

.admin-order-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-btn-small {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.admin-btn-success {
    background: #4caf50;
    color: #fff;
}

.admin-btn-success:hover {
    background: #45a049;
}

.admin-btn-danger {
    background: #f44336;
    color: #fff;
}

.admin-btn-danger:hover {
    background: #da190b;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.order-status-pending {
    background: #ff9800;
    color: #fff;
}

.order-status-paid {
    background: #4caf50;
    color: #fff;
}

.order-status-cancelled {
    background: #f44336;
    color: #fff;
}

.admin-add-money {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid #e0e0e0;
}

.admin-add-money h3 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-add-money h3::before {
    content: '💰';
    font-size: 1.5rem;
}

.admin-add-money input {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #333;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.admin-add-money input:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.admin-btn {
    padding: 0.75rem 1.5rem;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.2s;
}

.admin-btn:hover {
    background: #45a049;
}

/* Transaction History Modal */
.transaction-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.transaction-modal-container {
    background: #1a1a1a;
    border-radius: 1rem;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.transaction-modal-header h2 {
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transaction-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: background 0.2s;
}

.transaction-modal-close:hover {
    background: #333;
}

.transaction-modal-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.transaction-item {
    background: #252525;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #333;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.transaction-status-pending {
    background: #ff9800;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.transaction-status-completed {
    background: #4caf50;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.transaction-status-cancelled {
    background: #f44336;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.admin-transaction-item {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.admin-transaction-item:hover {
    border-color: #4caf50;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.2);
}

.admin-transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #333;
}

.admin-transaction-header strong {
    color: #333;
}

.admin-transactions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Notification Modal with Blur Background */
.notification-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.notification-container {
    background: #ffffff;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .notification-container {
        width: 95%;
        max-height: 95vh;
    }
}

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

.notification-header {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: background 0.2s;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-content {
    padding: 1.5rem;
    color: #333;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
}

.notification-content::-webkit-scrollbar {
    width: 6px;
}

.notification-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.notification-content::-webkit-scrollbar-thumb {
    background: #4caf50;
    border-radius: 3px;
}

.notification-content::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

.notification-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.notification-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    white-space: pre-line;
}

.notification-actions {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    background: #f9f9f9;
}

.notification-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
}

.notification-btn-primary {
    background: #4caf50;
    color: white;
}

.notification-btn-primary:hover {
    background: #45a049;
}

.notification-btn:not(.notification-btn-primary) {
    background: #e0e0e0;
    color: #333;
}

.notification-btn:not(.notification-btn-primary):hover {
    background: #d0d0d0;
}

/* Robux Purchase Form */
.robux-purchase-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
}

@media (max-width: 768px) {
    .robux-purchase-form {
        gap: 0.75rem;
    }
    
    .notification-content {
        padding: 1rem;
        max-height: calc(90vh - 150px);
    }
}

.balance-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.balance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 0.5rem;
    border-left: 4px solid #4caf50;
}

.balance-item.warning {
    border-left-color: #ff9800;
    background: #fff3e0;
}

.balance-item i {
    font-size: 1.5rem;
    color: #4caf50;
}

.balance-item.warning i {
    color: #ff9800;
}

.balance-label {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.balance-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

/* Compact Balance Info */
.balance-info-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.balance-item-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f5f5f5;
    border-radius: 0.5rem;
    border-left: 3px solid #4caf50;
}

.balance-text-compact {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.balance-label-compact {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.balance-value-compact {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.balance-item-compact i {
    font-size: 1rem;
    color: #4caf50;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .balance-info-compact {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .balance-item-compact {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .balance-label-compact {
        font-size: 0.65rem;
    }
    
    .balance-value-compact {
        font-size: 0.8rem;
    }
    
    .balance-item-compact i {
        font-size: 0.9rem;
    }
}

/* Coupon Input */
.coupon-input-group {
    display: flex;
    gap: 0.5rem;
}

.coupon-input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.coupon-input-group input:focus {
    outline: none;
    border-color: #4caf50;
}

.coupon-check-btn {
    padding: 0.75rem 1.25rem;
    background: #4caf50;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.coupon-check-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.coupon-check-btn:active {
    transform: translateY(0);
}

.coupon-status {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.coupon-status.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.coupon-status.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: #333;
}

.input-group input {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #4caf50;
}

.purchase-preview {
    background: #f9f9f9;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-item.total {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 2px solid #4caf50;
    font-weight: 600;
}

.preview-item strong {
    color: #4caf50;
    font-size: 1.125rem;
}

/* Top-Up Modal */
.topup-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.topup-modal-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 1.5rem;
    border: 2px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.topup-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.3);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.topup-modal-close:hover {
    background: var(--accent-color);
    color: #fff;
}

.topup-modal-content {
    padding: 2.5rem;
}

.topup-modal-content h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.topup-amount-section {
    margin-bottom: 2rem;
}

.topup-amount-section label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.topup-amount-section input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.topup-info-section h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.topup-qr-container {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 1rem;
}

.topup-qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.topup-qr-placeholder i {
    font-size: 4rem;
    color: var(--accent-color);
}

.topup-bank-info {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
    border: 1.5px solid rgba(76, 175, 80, 0.2);
}

.topup-bank-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.topup-random-info {
    background: rgba(76, 175, 80, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
    border: 2px solid var(--accent-color);
}

.topup-random-info h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.topup-random-code {
    font-size: 1.2rem;
    color: var(--accent-dark);
    margin: 0.5rem 0;
}

.topup-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.topup-actions {
    margin-top: 2rem;
}

.topup-confirm-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.topup-confirm-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Login Modal */
/* Login Button */
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    white-space: nowrap;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

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

.login-btn-text {
    display: inline-block;
}

@media (max-width: 768px) {
    .login-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        gap: 0.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .login-btn-text {
        display: inline-block !important;
    }
}

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

.login-modal-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border-radius: 1.5rem;
    border: 2px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
    max-height: 95vh;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.login-modal-content {
    padding: 2rem;
    text-align: center;
    overflow-y: auto;
    max-height: 90vh;
}

.login-modal-content h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.login-modal-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.login-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #333;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.login-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

/* Auth Form Styles */
.auth-form-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 70vh;
    padding-right: 0.5rem;
}

/* Custom scrollbar for auth form container */
.auth-form-container::-webkit-scrollbar {
    width: 6px;
}

.auth-form-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.auth-form-container::-webkit-scrollbar-thumb {
    background: rgba(76, 175, 80, 0.3);
    border-radius: 10px;
}

.auth-form-container::-webkit-scrollbar-thumb:hover {
    background: rgba(76, 175, 80, 0.5);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
    text-align: left;
}

.auth-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form .input-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-form .input-group label i {
    color: var(--accent-color);
    width: 18px;
}

.auth-form .input-group input {
    padding: 0.875rem 1rem;
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.auth-form .input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background: white;
}

.auth-submit-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
    margin-top: 0.5rem;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #999;
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
}

.auth-divider span {
    padding: 0 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* Multi-Step Register Form */
.register-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    padding: 0 0.5rem;
    position: relative;
}

.register-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(76, 175, 80, 0.2);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.progress-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.2);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.progress-step.active .progress-step-number {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.progress-step.completed .progress-step-number {
    background: var(--accent-color);
    color: white;
}

.progress-step.completed .progress-step-number::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.progress-step-label {
    font-size: 0.7rem;
    color: #999;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

.progress-step.completed .progress-step-label {
    color: var(--accent-color);
}

/* Register Step Modals - Separate Modal for Each Step */
.register-step-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.register-step-modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

/* Register Step - Inside Login Modal */
.register-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.register-step h2 {
    font-size: 24px;
    font-weight: 600;
    color: #4caf50;
    margin: 0 0 8px 0;
}

.register-step-info {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    font-weight: 500;
}

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

.register-step-input {
    margin-bottom: 24px;
    animation: inputFadeIn 0.5s ease 0.4s both;
}

.register-step-input:last-of-type {
    margin-bottom: 28px;
}

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

.register-step-input label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.register-step-input input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #dadce0;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
}

.register-step-input input:hover {
    border-color: #bdc1c6;
    background: white;
}

.register-step-input input:focus {
    outline: none;
    border-color: #4caf50;
    background: white;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15);
    transform: translateY(-1px);
}

.register-step-input small {
    display: block;
    font-size: 12px;
    color: #5f6368;
    margin-top: 8px;
    line-height: 1.5;
    animation: textFadeIn 0.5s ease 0.5s both;
}

.register-step-input small.success {
    color: #4caf50;
    font-weight: 500;
}

.register-step-input small i {
    margin-right: 6px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.register-step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 24px;
    border-top: 2px solid #e8eaed;
    margin-top: 8px;
    animation: actionsFadeIn 0.5s ease 0.6s both;
}

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

.register-step-btn-primary,
.register-step-btn-secondary {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.register-step-btn-primary {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.register-step-btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.register-step-btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.register-step-btn-primary:hover {
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.register-step-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.register-step-btn-secondary {
    background: white;
    color: #4caf50;
    border: 2px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.register-step-btn-secondary:hover {
    background: #f8f9fa;
    border-color: #4caf50;
    color: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.1);
}

.register-step-btn-secondary:active {
    transform: translateY(0);
}

.register-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #202124;
    line-height: 1.5;
}

.register-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.register-checkbox-label a {
    color: #4caf50;
    text-decoration: none;
}

.register-checkbox-label a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .register-step-modal-content {
        padding: 24px;
        width: 95%;
    }

    .register-step-modal-content h2 {
        font-size: 20px;
    }
}

.register-step-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(76, 175, 80, 0.1);
}

.auth-btn-secondary {
    background: rgba(76, 175, 80, 0.1);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
}

.auth-btn-secondary:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.auth-btn-secondary:active {
    transform: translateY(0);
}

.register-step-actions .auth-submit-btn {
    flex: 1;
    margin: 0;
}

#google-signin-modal,
#google-signin-register-modal {
    display: flex;
    justify-content: center;
}

.google-signin-btn-modal {
    max-width: 100% !important;
    width: 100%;
    margin: 0 auto;
    font-size: 0.85rem !important;
    padding: 0.7rem 1.2rem !important;
}

@media (max-width: 768px) {
    /* Login Modal Mobile */
    .login-modal-overlay {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    .login-modal-container {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        overflow-y: auto;
        overflow-x: hidden;
        margin: 0;
        border-radius: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .login-modal-content {
        padding: 1.25rem 1rem;
        max-height: none;
    }
    
    .login-modal-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .login-modal-content p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }
    
    .login-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    
    /* Auth Form Container Mobile */
    .auth-form-container {
        max-width: 100%;
        padding: 0;
        width: 100%;
    }
    
    .auth-form-container h2 {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .auth-form-container p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }
    
    /* Auth Form Mobile */
    .auth-form {
        gap: 0.875rem;
        margin-top: 0.75rem;
    }
    
    .auth-form .input-group {
        gap: 0.35rem;
        margin-bottom: 0;
    }
    
    .auth-form .input-group label {
        font-size: 0.875rem;
        gap: 0.4rem;
        margin-bottom: 0.25rem;
    }
    
    .auth-form .input-group label i {
        width: 15px;
        font-size: 0.875rem;
    }
    
    .auth-form .input-group input {
        padding: 0.7rem 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px; /* Better touch target */
        border-radius: 0.6rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .auth-form .input-group small {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-top: 0.15rem;
        display: block;
    }
    
    .auth-form {
        min-height: 300px;
    }
    
    .register-step {
        padding: 0.25rem 0;
    }
    
    /* Register Progress Mobile */
    .register-progress {
        margin: 1rem 0;
        padding: 0 0.25rem;
    }
    
    .register-progress::before {
        left: 8%;
        right: 8%;
        top: 18px;
    }
    
    .progress-step-number {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .progress-step-label {
        font-size: 0.65rem;
    }
    
    .register-step-actions {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1.25rem;
    }
    
    .auth-btn-secondary,
    .register-step-actions .auth-submit-btn {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .auth-form .input-group input[readonly] {
        background-color: #e8f5e9 !important;
        border-color: #4caf50 !important;
        font-weight: 600;
    }
    
    .auth-submit-btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .auth-divider {
        margin: 1rem 0;
        font-size: 0.8rem;
    }
    
    .auth-footer {
        margin-top: 1rem;
    }
    
    .auth-footer p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-footer a {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Login Modal Extra Small */
    .login-modal-overlay {
        padding: 0.25rem;
        padding-top: 0.5rem;
    }
    
    .login-modal-container {
        border-radius: 0.75rem;
        max-height: 98vh;
    }
    
    .login-modal-content {
        padding: 1rem 0.75rem;
    }
    
    .login-modal-content h2 {
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }
    
    .login-modal-content p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .login-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    /* Auth Form Extra Small */
    .auth-form-container h2 {
        font-size: 1.25rem;
        margin-bottom: 0.3rem;
    }
    
    .auth-form-container p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .auth-form {
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .auth-form .input-group {
        gap: 0.3rem;
    }
    
    .auth-form .input-group label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .auth-form .input-group label i {
        width: 14px;
        font-size: 0.8rem;
    }
    
    .auth-form .input-group input {
        padding: 0.65rem 0.7rem;
        font-size: 16px;
        border-radius: 0.5rem;
        min-height: 42px;
    }
    
    .auth-form .input-group small {
        font-size: 0.7rem;
        line-height: 1.25;
        margin-top: 0.1rem;
    }
    
    .auth-submit-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        min-height: 42px;
        margin-top: 0.4rem;
    }
    
    .auth-divider {
        margin: 0.875rem 0;
        font-size: 0.75rem;
    }
    
    .auth-footer {
        margin-top: 0.875rem;
    }
    
    .auth-footer p {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
    
    .auth-footer a {
        font-size: 0.75rem;
    }
    
    /* Register Progress Extra Small */
    .register-progress {
        margin: 0.75rem 0;
        padding: 0 0.15rem;
    }
    
    .register-progress::before {
        left: 7%;
        right: 7%;
        top: 16px;
    }
    
    .progress-step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .progress-step-label {
        font-size: 0.6rem;
    }
    
    .auth-form {
        min-height: 280px;
    }
    
    .register-step {
        padding: 0.2rem 0;
    }
    
    .register-step-actions {
        margin-top: 1rem;
    }
    
    .auth-btn-secondary,
    .register-step-actions .auth-submit-btn {
        padding: 0.7rem 0.875rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-right {
        right: 1rem;
    }
    
    .user-menu-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        gap: 0.5rem;
    }
    
    .user-name, .user-balance {
        font-size: 0.85rem;
    }
}

.portfolio-link {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.portfolio-link:hover {
    background: var(--accent-color) !important;
    color: white !important;
}

.nav-item-desktop {
    display: block;
}

.nav-item-portfolio {
    display: block;
}

.nav-item-page {
    display: block;
}

.page-nav-btn {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 0.8rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.page-nav-btn.dev-nav-btn {
    color: var(--accent-color);
}

.page-nav-btn.dev-nav-btn:hover {
    background: rgba(196, 30, 58, 0.1);
    color: var(--accent-dark);
}

.page-nav-btn.cheat-nav-btn {
    color: #ff6b35;
}

.page-nav-btn.cheat-nav-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #d84315;
}

/* Floating Navigation Buttons - Bottom Right */
.floating-nav-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.floating-nav-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.floating-nav-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floating-nav-btn.store-nav-btn {
    background: rgba(76, 175, 80, 0.9);
    border-color: #4caf50;
}

.floating-nav-btn.store-nav-btn:hover {
    background: rgba(76, 175, 80, 1);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.5);
}

.floating-nav-btn.cheat-nav-btn {
    background: rgba(255, 107, 53, 0.9);
    border-color: #ff6b35;
}

.floating-nav-btn.cheat-nav-btn:hover {
    background: rgba(255, 107, 53, 1);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.5);
}

.floating-nav-btn.dev-nav-btn {
    background: rgba(196, 30, 58, 0.9);
    border-color: #c41e3a;
}

.floating-nav-btn.dev-nav-btn:hover {
    background: rgba(196, 30, 58, 1);
    box-shadow: 0 6px 30px rgba(196, 30, 58, 0.5);
}

.floating-nav-btn.portfolio-nav-btn {
    background: rgba(196, 30, 58, 0.9);
    border-color: #c41e3a;
}

.floating-nav-btn.portfolio-nav-btn:hover {
    background: rgba(196, 30, 58, 1);
    box-shadow: 0 6px 30px rgba(196, 30, 58, 0.5);
}

.floating-nav-btn.order-nav-btn {
    background: rgba(76, 175, 80, 0.9);
    border-color: var(--accent-color);
    border: 2px solid;
    cursor: pointer;
    animation: orderButtonPop 2s ease-in-out infinite;
}

@keyframes orderButtonPop {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.floating-nav-btn.order-nav-btn:hover {
    background: rgba(76, 175, 80, 1);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.5);
    animation: none;
    transform: scale(1.15);
}

.floating-nav-btn.cart-nav-btn {
    background: rgba(76, 175, 80, 0.9);
    border-color: var(--accent-color);
    border: 2px solid;
    cursor: pointer;
    position: relative;
}

.floating-nav-btn.cart-nav-btn:hover {
    background: rgba(76, 175, 80, 1);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.5);
}

.floating-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #fff;
}

/* Robux Custom Product */
.robux-custom-card {
    position: relative;
}

.robux-input-section {
    margin: 1.5rem 0;
    text-align: center;
}

.robux-input-section label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.robux-quantity-input {
    width: 100%;
    max-width: 200px;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.robux-quantity-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.robux-price-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 0.5rem;
}

/* Order Modal */
.order-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-modal-overlay[style*="flex"] {
    opacity: 1;
}

.order-modal-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 1.5rem;
    border: 2px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.order-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.3);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.order-modal-close:hover {
    background: var(--accent-color);
    color: #fff;
}

.order-modal-content {
    padding: 2.5rem;
}

.order-modal-content h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.order-items-list {
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 0.8rem;
    margin-bottom: 0.5rem;
}

.order-item-name {
    font-weight: 600;
    color: var(--text-color);
}

.order-item-price {
    font-weight: 700;
    color: var(--accent-color);
}

.order-total-section {
    border-top: 2px solid rgba(76, 175, 80, 0.2);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.order-code-section {
    margin-bottom: 1.5rem;
}

.order-code-section label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.order-code-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.order-code-container input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.8);
    color: var(--accent-color);
    text-align: center;
    letter-spacing: 1px;
}

.copy-order-btn {
    padding: 0.8rem 1.2rem;
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 0.8rem;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-order-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

.order-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.facebook-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: #1877f2;
    color: #fff;
    text-decoration: none;
    border-radius: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #1877f2;
}

.facebook-order-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.facebook-order-btn i {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .order-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .order-modal-content {
        padding: 1.5rem;
    }
    
    .order-modal-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .floating-nav-buttons {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.6rem;
    }
    
    .floating-nav-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1.1rem;
    }
    
    .nav-item-desktop {
        display: none;
    }
    .nav-menu {
        padding: .5rem 1rem;
        gap: 0;
        justify-content: center;
    }
}

main {
    padding-top: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    main {
        padding-top: 60px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.store-hero {
    text-align: center;
    padding: 3rem 0;
}

.store-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.store-subtitle {
    font-size: 1.2rem;
    color: #4a4a4a;
    max-width: 600px;
    margin: 0 auto;
}

/* Shopping Cart Icon */
.cart-icon-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(76, 175, 80, 0.3);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.2);
    z-index: 999;
}

.cart-icon-container:hover {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.4);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 2px solid rgba(76, 175, 80, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.cart-close {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.3);
    color: var(--accent-color);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-close:hover {
    background: var(--accent-color);
    color: #fff;
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-size: 1.1rem;
}

.cart-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1.5px solid rgba(76, 175, 80, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.cart-item-info p {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

.cart-remove-btn {
    background: rgba(244, 67, 54, 0.1);
    border: 1.5px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.cart-remove-btn:hover {
    background: #f44336;
    color: #fff;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid rgba(76, 175, 80, 0.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.cart-checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cart-checkout-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Products Section */
.products-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 3.5rem 0 2.2rem 0;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.category-btn {
    padding: 0.9rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 1rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

.category-btn:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.2);
    color: var(--accent-dark);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.category-btn.active:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.5);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .product-categories {
        gap: 0.7rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .category-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 1.5rem;
    border: 1.5px solid rgba(76, 175, 80, 0.2);
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.product-card.clickable-card {
    cursor: pointer;
}

.product-card.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

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

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
}

.product-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    text-align: left;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.product-description {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

.product-info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-rate {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.product-stock-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4caf50;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Subscription Plans Modal */
.subscription-plans-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.subscription-plans-modal-container {
    background: #ffffff;
    border-radius: 1rem;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #4caf50;
}

.subscription-plans-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-bottom: 2px solid #45a049;
}

.subscription-plans-modal-header h2 {
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.subscription-plans-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.subscription-plans-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.subscription-plans-modal-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

.subscription-info {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.subscription-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.subscription-plan-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.subscription-plan-card:hover {
    transform: translateY(-5px);
    border-color: #4caf50;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.2);
}

.subscription-plan-card.plan-recommended {
    border-color: #4caf50;
    border-width: 3px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: #4caf50;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.plan-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-features p {
    margin: 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.plan-features i {
    color: #4caf50;
    font-size: 0.875rem;
}

.plan-robux-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.robux-amount {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

.plan-buy-btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.plan-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
}

.plan-recommended .plan-buy-btn {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.plan-recommended .plan-buy-btn:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
}

/* Subscription Confirmation Modal */
.subscription-confirm-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.subscription-confirm-modal-container {
    background: #ffffff;
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #4caf50;
}

.subscription-confirm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-bottom: 2px solid #45a049;
}

.subscription-confirm-modal-header h2 {
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.subscription-confirm-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.subscription-confirm-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.subscription-confirm-modal-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

.subscription-confirm-details {
    background: #f9f9f9;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4caf50;
}

.confirm-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.subscription-auto-payment {
    background: #f0f8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid #c8e6c9;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.75rem;
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #4caf50;
}

.auto-payment-note {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.subscription-confirm-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.subscription-confirm-btn {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.subscription-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.subscription-cancel-btn {
    background: #f5f5f5;
    color: #666;
    border: 2px solid #e0e0e0;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscription-cancel-btn:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

.product-stock {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
}


/* About Section */
.about-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 3.5rem 0 2.2rem 0;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.about-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 1.5rem;
    border: 1.5px solid rgba(76, 175, 80, 0.2);
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.15);
    border-color: var(--accent-color);
}

.about-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 1rem;
    color: #6a6a6a;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-dark) 0%, #2e7d32 100%);
    margin-top: 3rem;
    padding: 3rem 0 1.5rem 0;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.footer-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.2rem;
    line-height: 1.5;
}

.footer-location {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact {
    font-size: 1.05rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: rgba(255, 255, 255, 0.8);
    width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Marketplace Styles */
.marketplace-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.marketplace-modal-container {
    max-width: 1200px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.1);
    overflow: hidden;
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

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

.marketplace-modal-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.marketplace-modal-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.marketplace-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.marketplace-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.marketplace-modal-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 100px);
}

.marketplace-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(76, 175, 80, 0.1);
}

.marketplace-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.marketplace-tab:hover {
    color: var(--accent-color);
}

.marketplace-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.marketplace-tab-content {
    display: none;
}

.marketplace-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.marketplace-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 2px solid rgba(76, 175, 80, 0.2);
    background: white;
    color: var(--accent-color);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.pagination-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 0.5rem;
    color: #666;
}

.marketplace-item-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 2px solid rgba(76, 175, 80, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.1);
    display: flex;
    flex-direction: column;
}

.marketplace-item-card.expired {
    opacity: 0.7;
    border-color: rgba(244, 67, 54, 0.3);
}

.marketplace-item-card.expired::after {
    content: 'Hết hạn';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: rgba(244, 67, 54, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 10;
    pointer-events: none;
}

.marketplace-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.2);
    border-color: var(--accent-color);
}

.marketplace-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    position: relative;
}

.marketplace-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.marketplace-item-card:hover .marketplace-item-image img {
    transform: scale(1.05);
}

.marketplace-item-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.marketplace-item-info h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.marketplace-item-info p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.marketplace-item-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(76, 175, 80, 0.1);
}

.marketplace-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.marketplace-item-quantity {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.marketplace-buy-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.marketplace-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.marketplace-buy-btn:active {
    transform: translateY(0);
}

.marketplace-sell-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.marketplace-category-filter {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 2px solid rgba(76, 175, 80, 0.15);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.marketplace-category-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 0.75rem;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}

.marketplace-category-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.marketplace-category-btn.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.marketplace-search-container {
    width: 100%;
}

.marketplace-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.marketplace-search-bar:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.2);
}

.marketplace-search-bar i.fa-search {
    color: #666;
    font-size: 1.1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.marketplace-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-color);
    font-family: inherit;
    padding: 0;
}

.marketplace-search-bar input::placeholder {
    color: #999;
}

.marketplace-search-clear {
    background: rgba(244, 67, 54, 0.1);
    border: none;
    color: #f44336;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.marketplace-search-clear:hover {
    background: #f44336;
    color: white;
    transform: scale(1.1);
}

.marketplace-sell-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.marketplace-sell-form label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.marketplace-sell-form input,
.marketplace-sell-form textarea {
    padding: 1rem;
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.marketplace-sell-form input:focus,
.marketplace-sell-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.marketplace-sell-form textarea {
    resize: vertical;
    min-height: 100px;
}

.marketplace-sell-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
    margin-top: 1rem;
}

.marketplace-sell-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.marketplace-sell-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .marketplace-modal-container {
        margin: 1rem;
        border-radius: 1.5rem;
    }
    
    .marketplace-modal-header {
        padding: 1.5rem;
    }
    
    .marketplace-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .marketplace-modal-content {
        padding: 1.5rem;
    }
}

/* Product Detail Modal */
.product-detail-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.product-detail-modal-container {
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(76, 175, 80, 0.3);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

.product-detail-modal-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.product-detail-modal-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-detail-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.product-detail-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.product-detail-modal-content {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
}

.product-detail-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h2 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.product-detail-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
}

.product-detail-section h3 {
    margin: 0 0 1rem 0;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.info-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-value {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-btn {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    color: white;
    border: none;
    cursor: pointer;
}

.phone-btn {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877f2 0%, #1565c0 100%);
}

.facebook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.zalo-btn {
    background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
}

.zalo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4);
}

@media (max-width: 768px) {
    .product-detail-modal-container {
        margin: 1rem;
        border-radius: 1.5rem;
    }
    
    .product-detail-modal-header {
        padding: 1.5rem;
    }
    
    .product-detail-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .product-detail-modal-content {
        padding: 1.5rem;
    }
    
    .contact-buttons {
        gap: 0.75rem;
    }
    
    .contact-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Modern Transaction History Styles */
.transaction-item-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.25rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(76, 175, 80, 0.15);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.transaction-item-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.transaction-item-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
    border-color: var(--accent-color);
}

.transaction-item-modern:hover::before {
    opacity: 1;
}

.transaction-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}

.transaction-item-modern:hover .transaction-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
}

.transaction-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.transaction-item-modern:hover .transaction-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

.transaction-content {
    flex: 1;
    min-width: 0;
}

.transaction-main-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.transaction-description {
    flex: 1;
    min-width: 0;
}

.transaction-description strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.transaction-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.transaction-meta i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.transaction-amount-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.transaction-amount {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.transaction-status-modern {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.transaction-status-modern i {
    font-size: 0.9rem;
}

.transaction-status-modern.transaction-status-pending {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 193, 7, 0.15) 100%);
    color: #f57c00;
    border: 1.5px solid rgba(255, 193, 7, 0.4);
}

.transaction-status-modern.transaction-status-completed {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.15) 100%);
    color: #2e7d32;
    border: 1.5px solid rgba(76, 175, 80, 0.4);
}

.transaction-status-modern.transaction-status-cancelled {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(244, 67, 54, 0.15) 100%);
    color: #c62828;
    border: 1.5px solid rgba(244, 67, 54, 0.4);
}

@media (max-width: 768px) {
    .transaction-item-modern {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .transaction-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .transaction-icon-wrapper i {
        font-size: 1.25rem;
    }
    
    .transaction-main-info {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .transaction-amount-wrapper {
        align-items: flex-start;
        width: 100%;
    }
    
    .transaction-amount {
        font-size: 1.25rem;
    }
    
    .transaction-description strong {
        font-size: 1rem;
    }
}

/* Settings Modal Styles - Similar to Marketplace */
.settings-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
    justify-content: center;
    align-items: center;
}

.settings-modal-container {
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(76, 175, 80, 0.3), 0 0 0 1px rgba(76, 175, 80, 0.1);
    overflow: hidden;
    animation: slideUp 0.4s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.settings-modal-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.settings-modal-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.settings-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.settings-modal-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 100px);
}

.settings-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(76, 175, 80, 0.1);
}

.settings-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.settings-tab:hover {
    color: var(--accent-color);
}

.settings-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.settings-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.settings-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(76, 175, 80, 0.15);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.settings-section:hover {
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.15);
}

.settings-section h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(76, 175, 80, 0.1);
}

.settings-section h3 i {
    font-size: 1.25rem;
}

.settings-section .input-group {
    margin-bottom: 1.5rem;
}

.settings-section .input-group:last-child {
    margin-bottom: 0;
}

.settings-section label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.settings-section input[type="text"],
.settings-section input[type="password"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.settings-section input[type="text"]:focus,
.settings-section input[type="password"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background: #ffffff;
}

.settings-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    white-space: nowrap;
}

.settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

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

.settings-logout-btn {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.settings-logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.settings-logout-btn:active {
    transform: translateY(0);
}

#roblox-account-status,
#password-change-status {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

#roblox-account-status.success,
#password-change-status.success {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

#roblox-account-status.error,
#password-change-status.error {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

#gamepass-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.gamepass-item {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.gamepass-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.gamepass-item-actions {
    display: flex;
    gap: 0.5rem;
}

.gamepass-delete-btn {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.gamepass-delete-btn:hover {
    background: #f44336;
    color: white;
}

@media (max-width: 768px) {
    .settings-modal-container {
        margin: 1rem;
        border-radius: 1.5rem;
    }
    
    .settings-modal-header {
        padding: 1.5rem;
    }
    
    .settings-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .settings-modal-content {
        padding: 1.5rem;
    }
    
    .settings-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .settings-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .settings-section {
        padding: 1.5rem;
    }
    
    .settings-section h3 {
        font-size: 1.25rem;
    }
    
    .marketplace-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .marketplace-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .marketplace-items-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .marketplace-sell-form {
        max-width: 100%;
    }
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social-row {
    display: flex;
    gap: 1.1rem;
    margin-top: 0.5rem;
}

.footer-social-row a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    transition: color 0.2s, transform 0.2s;
}

.footer-social-row a:hover {
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .store-hero h1 {
        font-size: 2.5rem;
    }
    
    .store-subtitle {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
