/* Horizontal payment methods for footer */
.payment-methods-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}
/* Vertical payment methods for footer */
.payment-methods-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-top: 10px;
}

/* ============================================
   Mobile Bottom Navigation (Twitter-style)
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 10000;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: center;
    /* iOS Safari/Chrome fixes for dynamic viewport and fixed positioning */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    /* Ensure proper stacking on iOS */
    -webkit-overflow-scrolling: touch;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    min-width: 60px;
}

.bottom-nav-item:hover,
.bottom-nav-item:active {
    color: #1a4fd6;
}

.bottom-nav-item.active {
    color: #1a4fd6;
}

.bottom-nav-item.active .bottom-nav-icon {
    background: linear-gradient(135deg, rgba(26, 79, 214, 0.15) 0%, rgba(74, 144, 226, 0.15) 100%);
    transform: scale(1.1);
}

.bottom-nav-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.bottom-nav-icon.cart-nav-icon {
    position: relative;
}

.bottom-nav-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.bottom-nav-cart-badge.show {
    opacity: 1;
    transform: scale(1);
}

.bottom-nav-label {
    font-size: 10px;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/* Mobile Account Menu (slide-up drawer) */
.mobile-account-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-account-overlay.show {
    display: block;
    opacity: 1;
}

.mobile-account-menu {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-account-menu.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-account-handle {
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 12px auto 4px;
    cursor: grab;
    touch-action: none;
}

.mobile-account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px 24px 0 0;
}

.mobile-account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.mobile-account-user i {
    font-size: 32px;
    color: #1a4fd6;
}

.mobile-account-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-account-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.mobile-account-items {
    padding: 12px 16px 24px;
}

.mobile-account-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: #334155;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.mobile-account-item:hover,
.mobile-account-item:active {
    background: linear-gradient(135deg, rgba(26, 79, 214, 0.08) 0%, rgba(74, 144, 226, 0.08) 100%);
    color: #1a4fd6;
}

.mobile-account-item i {
    width: 24px;
    font-size: 20px;
    text-align: center;
    color: #1a4fd6;
}

.mobile-account-item.logout {
    color: #dc2626;
    margin-top: 8px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    border-radius: 0 0 16px 16px;
}

.mobile-account-item.logout i {
    color: #dc2626;
}

.mobile-account-item.logout:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
}

/* Mobile Cart Dropdown (slides up from bottom like account menu) */
.mobile-cart-dropdown {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-cart-dropdown.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px 24px 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-cart-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.mobile-cart-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-cart-close:hover,
.mobile-cart-close:active {
    background: #e2e8f0;
    color: #1e293b;
}

.mobile-cart-items {
    padding: 16px 20px;
    min-height: 150px;
}

.mobile-cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    position: sticky;
    bottom: 0;
}

.mobile-cart-footer .cart-totals {
    margin-bottom: 16px;
}

.mobile-cart-footer .cart-total {
    font-size: 20px;
    color: #1e293b;
}

.mobile-cart-footer .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Use dynamic viewport height for iOS Safari */
    height: 100%;
    height: -webkit-fill-available;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: white;
    min-height: 100%;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.brand-text {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a4fd6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-user-menu {
    display: none !important;
}

.mobile-nav-icons {
    display: none;
}

.mobile-nav-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.mobile-nav-modal.active {
    display: block !important;
}

.mobile-nav-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 90%;
    width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mobile-nav-modal-content h3 {
    margin: 0 0 15px 0;
    color: #1a4fd6;
    font-size: 1.5rem;
}

.mobile-nav-modal-content p {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 1.1rem;
}

.mobile-nav-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-modal {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modal.btn-primary {
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    color: white;
}

.btn-modal.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 79, 214, 0.4);
}

.btn-modal.btn-secondary {
    background: #e2e8f0;
    color: #333;
}

.btn-modal.btn-secondary:hover {
    background: #cbd5e0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    padding-top: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    color: #2d3748;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1 1 auto;
    max-width: 600px;
    margin-bottom: 0;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.blue-text {
    color: #2563eb;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Illustration: desktop-only and positioned to the right to fill open space */
.hero-content {
    position: relative;
}

.hero-illustration {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    max-width: 38%;
    display: block;
    pointer-events: none;
}

/* Hide the illustration on narrower viewports (tablets and phones) */
@media (max-width: 992px) {
    .hero-illustration {
        display: none;
    }
}

/* Hero Reviews Carousel */
.hero-top-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 2rem;
}

.hero-heading {
    flex: 1 1 auto;
    max-width: 600px;
}

.hero-reviews-carousel {
    flex: 0 0 380px;
    max-width: 380px;
    min-width: 380px;
}

.hero-reviews-container {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset,
                0 0 60px rgba(26, 79, 214, 0.15);
    backdrop-filter: blur(20px);
}

.hero-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-reviews-header h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-reviews-header h3 i {
    color: #ffd700;
}

.hero-reviews-header .review-count {
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-reviews-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    contain: layout style;
}

.hero-review-card {
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 79, 214, 0.15) 0%, rgba(74, 144, 226, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    position: relative;
    overflow: hidden;
}

/* Visible review cards */
.hero-review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Highlight the middle card */
.hero-review-card.highlight {
    background: linear-gradient(135deg, rgba(26, 79, 214, 0.25) 0%, rgba(74, 144, 226, 0.25) 100%);
    border: 1px solid rgba(26, 79, 214, 0.3);
    box-shadow: 0 8px 24px rgba(26, 79, 214, 0.2);
}

/* Exiting cards animation */
.hero-review-card.exiting {
    opacity: 0;
    transform: translateY(-10px);
}

/* Entering cards animation */
.hero-review-card.entering {
    animation: none;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero Review card content */
.hero-review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.hero-review-stars i {
    color: #ffd700;
    filter: drop-shadow(0 1px 3px rgba(255, 215, 0, 0.5));
}

.hero-review-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 12px;
    text-shadow: none;
    position: relative;
    z-index: 2;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-review-read-more {
    background: linear-gradient(135deg, #1a4fd6 0%, #4a90e2 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 12px;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(26, 79, 214, 0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-review-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 79, 214, 0.5);
    background: linear-gradient(135deg, #1557e8 0%, #5a9de8 100%);
}

/* Review Modal */
.review-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.review-modal-overlay.show {
    display: flex;
}

.review-modal {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    position: relative;
}

.review-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.review-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.review-modal-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.review-modal-stars i {
    color: #ffd700;
}

.review-modal-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.review-modal-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review-modal-author h4 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.review-modal-author span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.hero-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.hero-review-author h4 {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.hero-review-author span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Responsive adjustments for hero reviews carousel */
@media (max-width: 1400px) {
    .hero-reviews-carousel {
        flex: 0 0 340px;
        max-width: 340px;
        min-width: 340px;
    }
    
    .hero-top-row {
        gap: 30px;
    }
}

@media (max-width: 1200px) {
    .hero-top-row {
        gap: 24px;
    }
    
    .hero-reviews-carousel {
        flex: 0 0 280px;
        max-width: 280px;
        min-width: 280px;
    }
    
    .hero-review-card {
        padding: 12px 14px;
    }
    
    .hero-review-text {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-top-row {
        flex-direction: column !important;
        align-items: flex-start;
    }
    
    .hero-reviews-carousel {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        margin-top: 20px;
    }
    
    .hero-reviews-track {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-review-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-reviews-carousel {
        margin-top: 16px;
    }
    
    .hero-reviews-header h3 {
        font-size: 1.1rem;
    }
    
    .hero-review-card {
        padding: 14px 16px;
    }
    
    .hero-review-text {
        font-size: 0.9rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5), 0 0 30px rgba(26, 79, 214, 0.3);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border: none;
}

.btn-primary::before {
    /* Removed overlay to prevent color shift */
    display: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6), 0 0 40px rgba(26, 79, 214, 0.4);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-primary:hover::before {
    animation-duration: 1s;
}

@keyframes flowingLight {
    0% {
        transform: translateX(-150%) translateY(-150%) rotate(45deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(150%) translateY(150%) rotate(45deg);
        opacity: 0;
    }
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(75, 85, 99, 0.4), 0 0 30px rgba(107, 114, 128, 0.25);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(75, 85, 99, 0.5), 0 0 40px rgba(107, 114, 128, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}



.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

/* Pricing: make price text inherit the plan title color so price labels match the plan name */
.pricing-card .price,
.pricing-card .price .paypal-price,
.pricing-header .price {
    color: inherit;
}

/* Plan card Robux price should match the price styling (not override global inline styles) */
.pricing-card .robux-price {
    color: inherit;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1;
}

/* Checkout and cart inline Robux totals: scope styles here so they can be larger and green without affecting plan cards */
.checkout-main .robux-inline,
.cart-dropdown .robux-inline,
#purchaseBtn .robux-inline {
    color: #22c55e;
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563eb;
    text-shadow: none;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4a5568;
}

/* coation.warning { border-left: 4px solid #ffb020; }

.notification-icon { font-size: 20px; }
.notification.success .notification-icon { color: #28a745; }
.notification.error .notification-icon { color: #dc3545; }
.notification.info .notification-icon { color: #17a2b8; }
.notification.warning .notification-icon { color: #ffb020; }

.notification-message { flex: 1; color: #333; font-weight: 500; }
.notification-close { cursor: pointer; color: #999; font-size: 18px; transition: color 0.2s; }
.notification-close:hover { color: #333; }

@keyframes slideIn { from { transform: translateX(400px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(400px); opacity: 0; } }
.notification.hiding { animation: slideOut 0.3s ease-out forwards; }


.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1rem;
    position: relative;
    text-align: center !important;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.4rem;
    color: #718096;
    max-width: 700px;
    margin: 1.5rem auto 0 auto;
    text-align: center !important;
    display: block;
    width: 100%;
}

/* Services Section */
.services {
    background: #f7fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    border: 2px solid #1a4fd6;
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.featured-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: badgeFlow 2.5s infinite;
}

@keyframes badgeFlow {
    0% {
        left: -100%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.service-card p {
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #4a5568;
}

.service-features i {
    color: #4ecdc4;
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    background: #ffffff;
    color: #2d3748;
}

.pricing .section-title {
    color: #2d3748;
}

.pricing .section-subtitle {
    color: #718096;
    text-align: center !important;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.pricing-card {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    color: #2d3748;
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    background: #f7fafc;
    border: 2px solid #2563eb;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}







.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ad-count {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1rem;
    font-weight: 500;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 5px;
}

.period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
}

.pricing-features i {
    color: #4ecdc4;
}

.pricing-features i.fa-times {
    color: #e53e3e;
}

.custom-plan {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: #2d3748;
}

.custom-plan-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.custom-plan-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Pricing Slider Styles */
.pricing-slider {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: #f7fafc;
    border-radius: 50px;
    padding: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #e2e8f0;
}

.slider-option {
    flex: 1;
    padding: 12px 24px;
    text-align: center;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #718096;
    background: transparent;
    border: none;
    font-size: 1rem;
}

.slider-option:hover {
    color: #2d3748;
}

.slider-option.active {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.pricing-content {
    display: none;
}

.pricing-content.active {
    display: block;
}

/* Pricing Slider Styles */
.pricing-slider {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: #f7fafc;
    border-radius: 50px;
    padding: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #e2e8f0;
}

.slider-option {
    flex: 1;
    padding: 12px 24px;
    text-align: center;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #718096;
    background: transparent;
    border: none;
    font-size: 1rem;
}

.slider-option:hover {
    color: #2d3748;
}

.slider-option.active {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.pricing-content {
    display: none;
}

.pricing-content.active {
    display: block;
}

/* Pricing Slider Styles */
.pricing-slider {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pricing-slider::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(33.333% - 8px);
    height: calc(100% - 16px);
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    border-radius: 40px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    z-index: 1;
}

.pricing-slider[data-active="invites"]::before {
    transform: translateX(100%);
}

.pricing-slider[data-active="subscriptions"]::before {
    transform: translateX(200%);
}

.slider-option {
    flex: 1;
    padding: 12px 24px;
    text-align: center;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #718096;
    background: transparent;
    border: none;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.slider-option:hover {
    color: #2d3748;
}

.slider-option.active {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pricing-content {
    display: none;
}

.pricing-content.active {
    display: block;
}

/* Plan Explanation Bubbles */
.plan-explanation {
    display: none;
    margin-bottom: 3rem;
}

.plan-explanation.active {
    display: block;
}

.speech-bubble {
    background: linear-gradient(135deg, #f8faff, #e6f3ff);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 25px 30px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.speech-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: #2563eb;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f8faff, #e6f3ff);
    border: 2px solid #e2e8f0;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}

.speech-bubble h4 {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.speech-bubble h4 i {
    color: #2563eb;
    font-size: 1.1rem;
}

.speech-bubble p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 0;
}

.subscription-difference {
    background: linear-gradient(135deg, #fff8f0, #fef7e6);
    border-color: #f6ad55;
}

.subscription-difference::before {
    background: linear-gradient(135deg, #fff8f0, #fef7e6);
    border-color: #f6ad55;
}

.subscription-difference:hover::before {
    border-color: #2563eb;
}

.subscription-difference:hover::before {
    background: linear-gradient(135deg, #ffe4b5, #ffdca8);
    border-color: #f6ad55;
}

.subscription-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 15px;
}

.sub-type {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(246, 173, 85, 0.2);
}

.sub-type h5 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-type h5 i {
    color: #f6ad55;
    font-size: 0.9rem;
}

.sub-type p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background: #f7fafc;
    padding: 80px 0;
    overflow: hidden;
}

/* Reviews Carousel */
.reviews-carousel {
    position: relative;
    height: 500px;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.review-card {
    position: absolute;
    width: 90%;
    max-width: 600px;
    background: white;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Position states for the carousel */
.review-card.center {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    filter: blur(0px);
}

.review-card.top {
    opacity: 0.3;
    transform: translate(-50%, -180%) scale(0.85);
    z-index: 2;
    filter: blur(2px);
    pointer-events: none;
}

.review-card.bottom {
    opacity: 0.3;
    transform: translate(-50%, 80%) scale(0.85);
    z-index: 2;
    filter: blur(2px);
    pointer-events: none;
}

.review-card.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 1;
    pointer-events: none;
}

/* Review card content */
.review-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 1.5rem;
    color: #ffd700;
    font-size: 1.2rem;
    justify-content: center;
}

.review-text {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
}

.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.review-author h4 {
    color: #2d3748;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.review-author span {
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive adjustments for reviews carousel */
@media (max-width: 768px) {
    .reviews-carousel {
        height: 450px;
    }
    
    .review-card {
        padding: 30px 25px;
        width: 95%;
    }
    
    .review-card.top {
        transform: translate(-50%, -160%) scale(0.8);
    }
    
    .review-card.bottom {
        transform: translate(-50%, 60%) scale(0.8);
    }
    
    .review-text {
        font-size: 0.95rem;
    }
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p {
    color: #718096;
    margin-bottom: 10px;
}

.contact-details a {
    color: #1a4fd6;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #f7fafc;
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a4fd6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-brand-text {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #4a5568;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #1a4fd6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

.payment-methods i {
    color: #a0aec0;
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    color: #718096;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #2d3748;
}

.modal-content h3 {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.payment-options {
    margin-top: 2rem;
}

.payment-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    color: #718096;
}

.payment-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: -1;
}

.payment-divider span {
    background: white;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10001;
    }
    
    .hero {
        padding-top: 90px;
    }
    
    /* Show mobile bottom navigation */
    .mobile-bottom-nav {
        display: flex !important;
    }
    
    /* Hide old mobile nav icons - replaced by bottom nav */
    .mobile-nav-icons {
        display: none !important;
    }
    
    /* Add padding to footer for bottom nav */
    .footer {
        padding-bottom: 100px;
    }
    
    /* Add padding to body for bottom nav */
    body {
        padding-bottom: 80px;
    }
    
    .logo {
        display: none;
    }
    
    .checkout-progress ~ .user-info {
        display: none !important;
    }
    
    body:not(:has(.checkout-progress)) .nav-brand .brand-text {
        display: block !important;
        font-size: 1rem !important;
    }
    
    body:not(:has(.checkout-progress)) .nav-container {
        justify-content: center;
    }
    
    body:not(:has(.checkout-progress)) .nav-brand {
        margin: 0 auto;
    }
    
    .checkout-progress + * .brand-text,
    .nav-container:has(.checkout-progress) .nav-brand .brand-text {
        display: none;
    }
    
    .checkout-progress {
        justify-content: center;
        flex: 1;
        margin: 0;
    }
    
    .progress-step span {
        font-size: 0.65rem;
    }
    
    .progress-step .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .user-info {
        display: none !important;
    }
    
    .mobile-nav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #1a4fd6, #4a90e2);
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-icon i {
        font-size: 1.2rem;
    }
    
    .mobile-nav-icon:hover {
        transform: scale(1.1);
    }
    
    .nav-menu {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 25px;
        z-index: 9999;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    /* Hide Pricing, Reviews, Contact on mobile (adjusted positions) */
    .nav-menu li:nth-child(3),
    .nav-menu li:nth-child(4),
    .nav-menu li:nth-child(5) {
        display: none !important;
    }
    
    .nav-link {
        font-size: 1.3rem;
        padding: 15px;
        display: block;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .brand-text {
        font-size: 1rem !important;
        overflow: visible;
    }
    
    .brand-text::before {
        content: none;
    }
    
    .nav-menu.active .mobile-user-menu {
        display: block !important;
        border-top: 1px solid #e2e8f0;
        padding-top: 20px;
        margin-top: 20px;
    }
    
    .nav-menu.active .mobile-user-menu:first-of-type {
        border-top: 2px solid #1a4fd6;
    }
    
    .mobile-user-info {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        padding: 10px 0;
    }
    
    .mobile-user-info i {
        font-size: 1.5rem;
        color: #1a4fd6;
    }
    
    .mobile-user-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 0;
    }
    
    .mobile-user-item i {
        width: 20px;
        text-align: center;
    }
    
    .nav-actions {
        gap: 8px;
        margin-right: 15px;
    }
    
    /* Hide hamburger menu - using bottom nav instead */
    .hamburger {
        display: none !important;
    }
    
    /* Hide only the cart icon in top nav on mobile - dropdown still works */
    .cart-container .cart-icon {
        display: none !important;
    }
    
    .cart-icon {
        margin-right: 0;
    }
    
    .nav-menu {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 25px;
        z-index: 9999;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.3rem;
        padding: 15px;
        display: block;
    }
    
    .hero-title {
        font-size: 4.5rem;
        line-height: 1.2;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 30px 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    border-radius: 4px;
}
.cart-icon {
    position: relative;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon:hover {
    background: linear-gradient(135deg, #1557e8, #5a9de8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 79, 214, 0.3);
}

.cart-icon i {
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.cart-count.show {
    display: flex;
}

.cart-bounce {
    animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 380px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.cart-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-header {
    padding: 20px 20px 10px;
    border-bottom: 1px solid #eee;
}

.cart-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.cart-items {
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.empty-cart p {
    margin: 0;
    font-size: 16px;
}

.cart-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h5 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cart-item-info p {
    margin: 0 0 8px;
    font-size: 12px;
    color: #666;
}

.cart-item-price {
    font-weight: 600;
    color: #1a4fd6;
    font-size: 14px;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 2px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #1a4fd6;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #1a4fd6;
    color: white;
}

.quantity {
    min-width: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #ff4757;
    color: white;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.cart-total {
    margin-bottom: 15px;
    text-align: center;
    font-size: 18px;
    color: #333;
}

.cart-checkout {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.checkout-summary {
    padding: 20px 0;
}

.checkout-summary h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #1a4fd6;
    text-align: center;
    font-size: 18px;
    color: #333;
}

/* Mobile Cart Styles */
@media (max-width: 768px) {
    /* Cart dropdown appears from bottom on mobile */
    .cart-dropdown {
        display: block !important;
        position: fixed !important;
        top: auto !important;
        bottom: 80px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(calc(100% + 80px)) !important;
        width: calc(100% - 32px) !important;
        max-width: 400px !important;
        max-height: 60vh !important;
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2) !important;
        z-index: 10003 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease, visibility 0.4s ease !important;
    }
    
    .cart-dropdown.show {
        display: block !important;
        transform: translateX(-50%) translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    /* Mobile cart overlay */
    .mobile-cart-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 10002;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-cart-overlay.show {
        display: block;
        opacity: 1;
    }
    
    .cart-item {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cart-item-controls {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
}

/* Auth Styles */
.auth-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2px 0;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-navbar.hidden {
    transform: translateY(-100%);
}

.auth-nav-logo {
    height: 20px;
    width: auto;
    margin-right: 8px;
}

.auth-section {
    min-height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-main {
    padding-top: 100px;
    padding-bottom: 20px;
}

.auth-navbar .nav-brand span {
    font-size: 16px;
    font-weight: 600;
}

.auth-back-link {
    font-size: 16px !important;
    padding: 6px 12px !important;
}

.auth-back-link i {
    font-size: 14px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 900px;
    width: 100%;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 20px;
}

.auth-header h2 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

.auth-toggle {
    display: flex;
    background: #f8fafc;
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 20px;
}

.toggle-btn {
    flex: 1;
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 7px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 79, 214, 0.3);
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-btn:hover {
    border-color: #1a4fd6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 79, 214, 0.15);
}

.google-btn svg {
    flex-shrink: 0;
}

.discord-btn svg {
    flex-shrink: 0;
}


.auth-divider {
    text-align: center;
    margin: 20px 0;
}

.auth-divider span {
    color: #64748b;
    font-size: 14px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    background: white !important;
    color: #000000 !important;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input::placeholder {
    color: #6b7280;
}

.form-group input:focus {
    outline: none;
    border-color: var(--discord-blue);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
    background: white !important;
    color: #000000 !important;
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 16px;
    pointer-events: none;
    z-index: 100;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 16px;
    z-index: 100;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--discord-blue);
}

.password-strength {
    margin-bottom: 20px;
}

.strength-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 12px;
    color: black;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: black;
    font-size: 14px;
}

.checkbox-container input {
    margin-right: 8px;
}

.forgot-link, .terms-link, .privacy-link {
    color: var(--discord-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover, .terms-link:hover, .privacy-link:hover {
    color: #22c55e;
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 15px;
}

.forgot-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-content h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.benefit-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Alert Styles */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    max-width: 400px;
    height: 100%;
    width: 100%;
    border-radius: 0 0 12px 12px;
    transform-origin: left;
    animation: alertProgress 4s linear forwards;
}

.alert-success .alert-progress-bar {
    background: #10b981;
}

.alert-error .alert-progress-bar {
    background: #ef4444;
}

.alert-warning .alert-progress-bar {
    background: #f59e0b;
}

.alert-info .alert-progress-bar {
    background: #3b82f6;
}

@keyframes alertProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Responsive auth styles */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .benefit-item {
        padding: 15px;
    }
}

/* Checkout Page Styles */
.checkout-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(88, 101, 242, 0.3);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-nav-logo {
    width: 32px;
    height: 32px;
}

.checkout-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.progress-step.completed .step-number {
    background: var(--discord-blue);
    color: #000000;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
}

.progress-step.active .step-number {
    background: #22c55e;
    color: #000000;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    animation: pulse 2s infinite;
}

.progress-step.completed span {
    color: var(--discord-blue);
    font-weight: 600;
}

.progress-step.active span {
    color: #22c55e;
    font-weight: 600;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.progress-step span {
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 500;
}

.progress-line {
    width: 60px;
    height: 3px;
    background: #6b7280;
    margin: 0 0.5rem;
    border-radius: 1px;
}

.progress-line.completed {
    background: var(--discord-blue);
}

.progress-line.active {
    background: linear-gradient(90deg, var(--discord-blue) 0%, #22c55e 100%);
}

.navbar .user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.navbar .user-info:hover {
    background: #f3f4f6;
}

.user-info i {
    font-size: 1.5rem;
    color: var(--discord-blue);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item:hover {
    background: #f9fafb;
}

.user-dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.user-dropdown-item.logout {
    color: #ef4444;
}

.user-dropdown-item.logout:hover {
    background: #fef2f2;
}

.user-dropdown-item.logout i {
    color: #ef4444;
}

.navbar .checkout-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkout-main {
    min-height: 100vh;
    background: #f1f5f9;
    padding: 100px 2rem 3rem;
}

.checkout-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start;
}

.checkout-left,
.checkout-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-right {
    position: sticky;
    top: 90px;
}

.checkout-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.checkout-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.checkout-section .section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.checkout-section .section-header h2 {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    letter-spacing: -0.01em;
}

.checkout-section .section-header h2 i {
    color: var(--discord-blue);
    font-size: 1rem;
}

.checkout-section .section-header p {
    color: #6b7280;
    font-size: 0.8rem;
    margin: 0;
    text-align: left;
}

/* Order Summary */
.order-items {
    margin-bottom: 1.5rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-name {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.item-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.item-quantity {
    color: #9ca3af;
    font-size: 0.75rem;
}

.item-price {
    color: #22c55e;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Coupon Section */
.coupon-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px dashed #d1d5db;
}

.coupon-input-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--discord-blue);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.coupon-input:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

.coupon-message {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.coupon-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.coupon-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.order-totals {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.total-line.total {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.total-line.total span:last-child {
    color: #22c55e;
}

/* Server Form */
.server-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #1f2937;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--discord-blue);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #ffffff;
}

.payment-method:hover {
    border-color: rgba(88, 101, 242, 0.5);
}

.payment-method.selected {
    background: #dbeafe;
    border-color: var(--discord-blue);
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.1);
}

.payment-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
}

.payment-radio {
    position: relative;
}

.payment-radio input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-radio input[type="radio"]:checked {
    border-color: #3b82f6;
    background: #3b82f6;
}

.payment-radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.payment-info {
    flex: 1;
}

.payment-title {
    color: #000000;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.payment-title i {
    color: var(--discord-blue);
}

.payment-desc {
    color: #6b7280;
    font-size: 0.875rem;
}

.payment-badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    background: #22c55e;
    color: #000000;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.new {
    background: linear-gradient(45deg, var(--discord-blue), #22c55e);
}

.card-icons {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.5rem 1rem 1.5rem;
    align-items: center;
}

.card-icons i {
    font-size: 2rem;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.card-icons .fa-cc-visa {
    color: #1434CB;
}

.card-icons .fa-cc-mastercard {
    color: #EB001B;
}

.card-icons .fa-cc-amex {
    color: #006FCF;
}

.card-icons .fa-cc-discover {
    color: #FF6000;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.payment-icons i {
    font-size: 1.5rem;
    color: #9ca3af;
}

.payment-details {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem;
    background: #f9fafb;
}

/* Card Form */
.card-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Crypto Options */
.crypto-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.crypto-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-option:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.crypto-option i {
    color: #22c55e;
    font-size: 1.25rem;
}

/* Bot Invite Section */
.bot-invite-section {
    margin-bottom: 2rem;
}

.bot-invite-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-icon i {
    color: white;
    font-size: 1.5rem;
}

.notice-content h3 {
    color: #1e40af;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.notice-content p {
    color: #475569;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

.discord-connection-check {
    margin-bottom: 1.5rem;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.connection-status i {
    font-size: 1.25rem;
}

.connection-status.connected {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    color: #166534;
}

.connection-status.connected i {
    color: #22c55e;
}

.connection-status.disconnected {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.connection-status.disconnected i {
    color: #ef4444;
}

.connection-status.error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.connection-status.error i {
    color: #ef4444;
}

.connection-action {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    text-align: center;
}

.connection-action p {
    margin: 0 0 1rem 0;
    color: #475569;
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.bot-invite-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.step-content p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.verification-status {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
}

.verification-status.success {
    background: #f0fdf4;
    border: 1px solid #22c55e;
}

.verification-status.success i {
    color: #22c55e;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.verification-status.success strong {
    color: #166534;
    display: block;
    margin-bottom: 0.25rem;
}

.verification-status.success p {
    color: #166534;
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
}

.verification-status.error {
    background: #fef2f2;
    border: 1px solid #ef4444;
}

.verification-status.error i {
    color: #ef4444;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.verification-status.error strong {
    color: #991b1b;
    display: block;
    margin-bottom: 0.25rem;
}

.verification-status.error p {
    color: #991b1b;
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
}

/* Server Selection List */
.server-selection-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.server-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-option:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.server-option.selected {
    border-color: #22c55e;
    background: #f0fdf4;
}

.server-option-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-option-icon i {
    color: white;
    font-size: 1.5rem;
}

.server-option-info {
    flex: 1;
}

.server-option-name {
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.server-option-id {
    color: #64748b;
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
}

.server-option-invite {
    color: #3b82f6;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.server-option-check {
    flex-shrink: 0;
}

.server-option-check i {
    color: #cbd5e1;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.server-option.selected .server-option-check i {
    color: #22c55e;
}

/* Advertisement Review Section */
.ad-review-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.ad-review-notice .notice-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.ad-review-notice .notice-content p {
    color: #92400e;
}

.invite-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.comparison-item h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.invite-link-display {
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    word-break: break-all;
}

.invite-link-display code {
    color: #3b82f6;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.comparison-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.5rem;
}

.ad-preview-container {
    margin-bottom: 2rem;
}

.ad-preview-container h3 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.ad-approval-section {
    padding: 1.5rem;
    background: #f0fdf4;
    border: 2px solid #22c55e;
    border-radius: 12px;
    text-align: center;
}

.approval-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.approval-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.approval-checkbox label {
    color: #166534;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

#approveAdBtn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.6;
}

#approveAdBtn:disabled:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .invite-comparison {
        grid-template-columns: 1fr;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
}

/* Security Notice */
.security-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #22c55e;
    border: 1px solid #16a34a;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.security-notice i {
    color: #ffffff;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.security-notice strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
}

.security-notice p {
    color: #ffffff;
    font-size: 0.875rem;
    margin: 0;
}

/* Purchase Button */
#purchaseBtn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1rem;
}

.purchase-btn:active {
    transform: translateY(0);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--discord-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Payment mode: collapse to single centered column */
.checkout-container.payment-mode {
    grid-template-columns: 1fr;
    max-width: 780px;
    transition: max-width 0.35s ease;
}

.checkout-container.payment-mode .checkout-left {
    display: none;
}

.checkout-container.payment-mode .checkout-right {
    position: static;
}

.checkout-container.payment-mode .checkout-section {
    padding: 2.25rem 2.5rem;
}

.checkout-container.payment-mode .section-header h2 {
    font-size: 1.3rem;
}

.checkout-container.payment-mode .order-totals {
    font-size: 1.05rem;
}

.checkout-container.payment-mode .total-line.total {
    font-size: 1.4rem;
}

/* ── Checkout Responsive Design ────────────────────────── */

/* Tablet: collapse to single column */
@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
        padding: 0 0.25rem;
    }

    /* Cart/payment appears first on tablet/mobile */
    .checkout-right {
        position: static;
        order: -1;
    }

    /* Payment mode already single-column — just keep max-width loose */
    .checkout-container.payment-mode {
        max-width: 100%;
        padding: 0;
    }
}

/* Mobile landscape / large phone */
@media (max-width: 768px) {
    .checkout-progress {
        display: none;
    }

    .checkout-main {
        padding: 80px 0.75rem 2rem;
    }

    .checkout-container {
        gap: 1rem;
    }

    .checkout-section {
        padding: 1.25rem;
        border-radius: 12px;
    }

    /* Payment mode cards: reset enlarged padding to mobile-friendly size */
    .checkout-container.payment-mode .checkout-section {
        padding: 1.25rem;
    }

    .checkout-container.payment-mode .section-header h2 {
        font-size: 1rem;
    }

    .checkout-container.payment-mode .order-totals {
        font-size: 0.95rem;
    }

    .checkout-container.payment-mode .total-line.total {
        font-size: 1.15rem;
    }

    /* Section header */
    .checkout-section .section-header h2 {
        font-size: 1rem;
    }

    /* Form rows stack vertically */
    .checkout .form-row,
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Payment method card: tighten padding */
    .payment-header {
        padding: 1rem;
        gap: 0.75rem;
    }

    .payment-details {
        padding: 1rem;
    }

    /* Payment badges: hide on small screens to prevent overflow */
    .payment-badges {
        display: none;
    }

    /* Card brand icons: smaller */
    .card-icons {
        padding: 0 1rem 0.875rem;
        gap: 0.5rem;
    }

    .card-icons i {
        font-size: 1.5rem;
    }

    /* Coupon row: stack input and button */
    .coupon-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .coupon-input-group .btn {
        width: 100%;
        justify-content: center;
    }

    /* Order totals: tighter */
    .order-totals {
        font-size: 0.9rem;
    }

    .total-line.total {
        font-size: 1.1rem;
    }

    /* Bot invite notice: stack icon and text */
    .bot-invite-notice {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0.75rem;
    }

    .notice-icon {
        width: 36px;
        height: 36px;
    }

    .notice-icon i {
        font-size: 1.1rem;
    }

    /* Step items: tighten */
    .step-item {
        gap: 0.75rem;
        padding: 1rem;
    }

    /* Security notice */
    .security-notice {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    /* Affiliate section inside right column */
    #affiliateSection {
        padding: 12px 14px !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .checkout-main {
        padding: 75px 0.5rem 1.5rem;
    }

    .checkout-container {
        gap: 0.875rem;
    }

    .checkout-section {
        padding: 1rem;
        border-radius: 10px;
    }

    .checkout-container.payment-mode .checkout-section {
        padding: 1rem;
    }

    /* Payment method header: wrap radio + info + icons into column on very small screens */
    .payment-header {
        flex-wrap: wrap;
        padding: 0.875rem;
    }

    .payment-title {
        font-size: 0.875rem;
    }

    .payment-desc {
        font-size: 0.8rem;
    }

    /* Card icons: even smaller */
    .card-icons i {
        font-size: 1.25rem;
    }

    /* Purchase button */
    #purchaseBtn {
        font-size: 1rem !important;
        padding: 14px !important;
    }

    /* Continue to payment button */
    #continueToReviewBtn {
        font-size: 1rem !important;
        padding: 14px !important;
    }

    /* Section header smaller still */
    .checkout-section .section-header h2 {
        font-size: 0.95rem;
        gap: 0.4rem;
    }

    /* Totals */
    .total-line.total {
        font-size: 1rem;
    }

    /* Affiliate input row: fully stacked */
    #affiliateSection > div:nth-child(2) {
        flex-direction: column !important;
    }

    #affiliateSection input {
        max-width: 100% !important;
    }

    #applyAffiliateBtn,
    #removeAffiliateBtn {
        width: 100%;
        text-align: center;
    }

    /* Back-link area */
    #returnHomeLink,
    #backToServerInfoLink {
        font-size: 13px;
    }
}

/* Discord Preview Container */
.discord-preview-container {
    margin-top: 1.5rem;
    border: 2px solid #5865F2;
    border-radius: 12px;
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.discord-mockup {
    background: #36393f;
    padding: 1.5rem;
}

.discord-message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.discord-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a4fd6, #4a90e2);
    flex-shrink: 0;
}

.discord-content {
    flex: 1;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.discord-username {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.discord-timestamp {
    color: #72767d;
    font-size: 0.75rem;
}

.discord-text {
    color: #dcddde;
    line-height: 1.5;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.discord-text strong {
    font-weight: 700;
}

.discord-text em {
    font-style: italic;
}

.discord-text u {
    text-decoration: underline;
}

.discord-text s {
    text-decoration: line-through;
}

.discord-text code {
    background: #2f3136;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.discord-text a {
    color: #00b0f4;
    text-decoration: none;
}

.discord-text a:hover {
    text-decoration: underline;
}

/* Discord Headings */
.discord-heading {
    font-weight: 700;
    margin: 0.5rem 0;
}

.discord-heading-1 {
    font-size: 1.5rem;
    color: #ffffff;
}

.discord-heading-2 {
    font-size: 1.25rem;
    color: #ffffff;
}

.discord-heading-3 {
    font-size: 1.1rem;
    color: #ffffff;
}

/* Discord Quote */
.discord-quote {
    border-left: 4px solid #4e5058;
    padding-left: 0.75rem;
    margin: 0.25rem 0;
    color: #b9bbbe;
}

.discord-quote-block {
    border-left: 4px solid #4e5058;
    padding-left: 0.75rem;
    margin: 0.5rem 0;
    color: #b9bbbe;
    line-height: 1.5;
}

/* Discord Standalone Images */
.discord-image-link {
    color: #00b0f4;
    text-decoration: none;
    word-break: break-all;
}

.discord-image-link:hover {
    text-decoration: underline;
}

.discord-standalone-image {
    margin: 0.5rem 0;
    border-radius: 4px;
    overflow: hidden;
    max-width: 400px;
}

.discord-standalone-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Discord Embed */
.discord-embed {
    background: #2f3136;
    border-left: 4px solid #5865F2;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    max-width: 520px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
}

.discord-embed-content {
    grid-column: 1;
    grid-row: 1;
}

.discord-embed-thumbnail {
    grid-column: 2;
    grid-row: 1;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.discord-embed-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discord-embed-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.discord-embed-description {
    color: #dcddde;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.discord-embed-image {
    grid-column: 1 / -1;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.75rem;
    max-width: 100%;
}

.discord-embed-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.discord-embed-footer {
    grid-column: 1 / -1;
    color: #72767d;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.preview-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.preview-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f0f4ff;
    border-radius: 8px;
    color: #4b5563;
    font-size: 0.875rem;
}

.preview-info i {
    color: #5865F2;
    font-size: 1.25rem;
}

/* Toast alert styles used by showCustomAlert */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .alert-container {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .custom-alert,
    .notification {
        width: 100%;
        max-width: 100%;
    }
}

/* Notification Container (used by notification.js) */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification-container .notification {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .notification-container .notification {
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }
}

.custom-alert {
    width: 320px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(2,6,23,0.2);
    overflow: hidden;
    transform: translateY(-10px) scale(0.98);
    opacity: 0;
    transition: all 240ms ease;
    pointer-events: auto;
}

.custom-alert.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.custom-alert.hide {
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
}

.custom-alert .alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}

.custom-alert .alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.custom-alert.alert-success .alert-icon { background: #e6ffed; color: #166534; }
.custom-alert.alert-error .alert-icon { background: #fee2e2; color: #7f1d1d; }
.custom-alert.alert-warning .alert-icon { background: #fff7ed; color: #92400e; }
.custom-alert.alert-info .alert-icon { background: #eef2ff; color: #1e3a8a; }

.custom-alert .alert-message {
    flex: 1;
    color: #0f172a;
    font-size: 0.95rem;
}

.custom-alert .alert-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
}

.custom-alert .alert-progress {
    height: 4px;
    background: rgba(0,0,0,0.04);
}

.custom-alert .alert-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, rgba(26, 79, 214,0.9), rgba(74, 144, 226,0.9));
    transform-origin: left;
    animation: alert-progress 4s linear forwards;
}

@keyframes alert-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Pricing: make the Robux label on plan cards inherit the plan title color */
.pricing-card .price .robux-price {
    color: inherit;
    font-size: 1.15em;
    font-weight: 700;
    margin-top: 8px;
    display: block;
}

/* Keep inline Robux shown in cart/checkout styled prominently in green */
.cart-dropdown .robux-inline,
.checkout-main .robux-inline,
.cart-dropdown .robux-price,
.checkout-main .robux-price {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.05em;
}

/* Ensure the Complete Purchase button's text (including Robux string) is white */
#purchaseBtn,
#purchaseBtn #purchaseTotal,
#purchaseBtn .robux-inline,
#purchaseBtn .robux-price {
    color: #ffffff !important;
}

/* Notification System (uses .alert-container) */
.alert-container .notification {
    pointer-events: auto;
}

.notification {
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    background: white;
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.error {
    border-left: 4px solid #dc3545;
}

.notification.info {
    border-left: 4px solid #17a2b8;
}

.notification.warning {
    border-left: 4px solid #ffc107;
}

.notification-icon {
    font-size: 20px;
}

.notification.success .notification-icon {
    color: #28a745;
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification.info .notification-icon {
    color: #17a2b8;
}

.notification.warning .notification-icon {
    color: #ffc107;
}

.notification-message {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.notification-close {
    cursor: pointer;
    color: #999;
    font-size: 18px;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.notification.hiding {
    animation: slideOut 0.3s ease-out forwards;
}