/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #ffffff;
    --foreground: #171717;
    --primary-indigo: #4f46e5;
    --primary-purple: #7c3aed;
    --primary-pink: #ec4899;
    --primary-green: #10b981;
    --primary-blue: #3b82f6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #0a0a0a;
        --foreground: #ededed;
    }
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-indigo);
    text-decoration: none;
    letter-spacing: -0.025em;
    transition: transform 0.2s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-indigo);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-actions {
    display: flex;
    align-items: center;
}

.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.user-email {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.user-menu-btn:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 4px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Order History Page Styles */
.order-history-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #000000 100%);
    padding-top: 100px;
    padding-bottom: 60px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-link {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #93c5fd;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.8);
}

.page-title {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.order-history-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 80px 20px;
}

.error-icon {
    color: #f87171;
    margin-bottom: 24px;
}

.error-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.error-state p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 32px;
}

/* Orders List */
.orders-list {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.orders-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.orders-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

/* Order Cards */
.orders-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.order-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.order-id {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.order-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.order-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.no-orders {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    padding: 40px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .orders-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .orders-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-details {
        grid-template-columns: 1fr;
    }
    
    .order-actions {
        width: 100%;
    }
    
    .btn {
        flex: 1;
        min-width: 120px;
    }
}

.auth-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: var(--primary-indigo);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.auth-btn:hover {
    background: #4338ca;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.discord-btn:hover {
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

/* Background */
.background-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gradient-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fce7f3, #e9d5ff, #dbeafe);
    animation: gradient-shift 8s ease infinite;
}

@media (prefers-color-scheme: dark) {
    .gradient-bg {
        background: linear-gradient(135deg, #581c87, #6b21a8, #1e3a8a);
    }
}

.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float ease-in-out infinite;
}

.sakura-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.sakura-petal {
    position: absolute;
    font-size: 2.5rem;
    animation: fall linear infinite;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Content */
.content-container {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 8rem 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.title-container {
    position: relative;
    margin-bottom: 2rem;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ec4899, #a855f7, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-x 3s ease infinite;
    text-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
    .main-title {
        font-size: 4.5rem;
    }
}

.subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 640px) {
    .subtitle {
        font-size: 3rem;
    }
}

.title-glow {
    position: absolute;
    inset: 0;
    filter: blur(48px);
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.3), rgba(168, 85, 247, 0.3), rgba(59, 130, 246, 0.3));
    z-index: -10;
    animation: pulse 2s ease-in-out infinite;
}

.description {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    line-height: 1.75;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 640px) {
    .description {
        font-size: 1.875rem;
    }
}

.highlight-pink {
    color: #fbbf24;
}

.highlight-purple {
    color: #c084fc;
}

.highlight-blue {
    color: #93c5fd;
}

/* CTA Buttons */
.cta-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 640px) {
    .cta-container {
        flex-direction: row;
    }
}

.cta-btn {
    position: relative;
    padding: 1.25rem 2.5rem;
    border-radius: 1rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.5s ease;
    transform: scale(1);
    overflow: hidden;
}

.cta-btn:hover {
    transform: scale(1.1);
}

.cta-vps {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.cta-vps:hover {
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.5);
}

.cta-mc {
    background: linear-gradient(90deg, #059669, #10b981);
}

.cta-mc:hover {
    box-shadow: 0 25px 50px -12px rgba(5, 150, 105, 0.5);
}

.btn-text {
    position: relative;
    z-index: 10;
}

.btn-hover-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-vps .btn-hover-bg {
    background: linear-gradient(90deg, #4338ca, #6d28d9);
}

.cta-mc .btn-hover-bg {
    background: linear-gradient(90deg, #047857, #059669);
}

.cta-btn:hover .btn-hover-bg {
    opacity: 1;
}

.btn-glow {
    position: absolute;
    inset: 0;
    filter: blur(24px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-vps .btn-glow {
    background: linear-gradient(90deg, #6366f1, #a855f7);
}

.cta-mc .btn-glow {
    background: linear-gradient(90deg, #34d399, #6ee7b7);
}

.cta-btn:hover .btn-glow {
    opacity: 0.5;
}

/* Features */
.features-container {
    position: relative;
    z-index: 20;
    margin-top: 8rem;
    max-width: 75rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .features-container {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
    transform: scale(1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
    .feature-card {
        background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.8));
        border: 1px solid rgba(55, 65, 81, 0.2);
    }
}

.feature-card:hover {
    transform: scale(1.05);
}

.feature-card:first-child:hover {
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.25);
}

.feature-card:last-child:hover {
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.25);
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card:first-child .feature-icon {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.feature-card:last-child .feature-icon {
    background: linear-gradient(135deg, #059669, #10b981);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.icon {
    font-size: 1.875rem;
}

.feature-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card:last-child .feature-title {
    background: linear-gradient(90deg, #059669, #10b981);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-list {
    color: var(--gray-700);
    font-size: 1.125rem;
    list-style: none;
    text-align: left;
    width: 100%;
}

@media (prefers-color-scheme: dark) {
    .feature-list {
        color: var(--gray-200);
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-item:hover {
    color: var(--primary-indigo);
}

.feature-card:last-child .feature-item:hover {
    color: var(--primary-green);
}

.feature-emoji {
    font-size: 1.5rem;
}

.feature-text {
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient-x {
    0%, 100% {
        background-size: 200% 200%;
        background-position: left center;
    }
    50% {
        background-size: 200% 200%;
        background-position: right center;
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-size: 200% 200%;
        background-position: left center;
    }
    50% {
        background-size: 200% 200%;
        background-position: right center;
    }
}

@keyframes fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.7;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Utility Classes */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-gradient-x {
    animation: gradient-x 3s ease infinite;
}

.animate-fade-in-delayed {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-staggered {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-staggered:nth-child(1) { animation-delay: 0s; }
.animate-fade-in-staggered:nth-child(2) { animation-delay: 0.1s; }
.animate-fade-in-staggered:nth-child(3) { animation-delay: 0.2s; }

/* 3D block styling */
.block-3d {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35), inset 0 2px 6px rgba(255,255,255,0.08);
    transform: perspective(600px) rotateX(6deg) rotateY(-6deg);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.group:hover .block-3d {
    transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale(1.06);
    box-shadow: 0 18px 45px rgba(0,0,0,0.5), inset 0 2px 10px rgba(255,255,255,0.12);
}

/* VPS Page Styles */
.vps-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #111827, #1f2937, #000000);
    padding: 8rem 1rem 5rem;
}

.vps-container {
    max-width: 80rem;
    margin: 0 auto;
}

.vps-header {
    text-align: center;
    margin-bottom: 4rem;
}

.vps-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #3b82f6, #a855f7, #ec4899);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .vps-title {
        font-size: 3.75rem;
    }
}

.vps-description {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

.vps-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .vps-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vps-plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .vps-plans-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.vps-plan {
    position: relative;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(55, 65, 81, 0.5);
    transition: all 0.5s ease;
    transform: scale(1);
    backdrop-filter: blur(4px);
    animation: fadeInUp 0.6s ease-out;
}

.vps-plan:hover {
    transform: scale(1.05);
    border-color: rgba(75, 85, 99, 0.5);
}

.vps-plan-popular {
    border: 2px solid rgba(168, 85, 247, 0.5);
}

.popular-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-icon {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-icon {
    height: 4rem;
    width: 4rem;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35), inset 0 2px 6px rgba(255,255,255,0.08);
    transform: perspective(600px) rotateX(6deg) rotateY(-6deg);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.vps-plan:hover .server-icon {
    transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale(1.06);
    box-shadow: 0 18px 45px rgba(0,0,0,0.5), inset 0 2px 10px rgba(255,255,255,0.12);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.plan-price {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.875rem;
    font-weight: 900;
    color: white;
}

.period {
    color: #9ca3af;
}

.original-price {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: line-through;
}

.plan-specs {
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.spec-icon {
    font-size: 1rem;
}

.spec-text {
    font-weight: 500;
}

.plan-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.plan-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
}

.plan-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.plan-btn-blue {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.plan-btn-indigo {
    background: linear-gradient(90deg, #4f46e5, #4338ca);
}

.plan-btn-purple {
    background: linear-gradient(90deg, #a855f7, #9333ea);
}

.plan-btn-green {
    background: linear-gradient(90deg, #10b981, #059669);
}

.plan-btn-red {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* MC Page Styles */
.mc-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #111827, #1f2937, #000000);
    padding: 8rem 1rem 5rem;
}

.mc-container {
    max-width: 80rem;
    margin: 0 auto;
}

.mc-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mc-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #10b981, #3b82f6, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .mc-title {
        font-size: 3.75rem;
    }
}

.mc-description {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

.mc-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .mc-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mc-plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .mc-plans-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mc-plan {
    position: relative;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(55, 65, 81, 0.5);
    transition: all 0.5s ease;
    transform: scale(1);
    backdrop-filter: blur(4px);
    animation: fadeInUp 0.6s ease-out;
}

.mc-plan:hover {
    transform: scale(1.05);
    border-color: rgba(75, 85, 99, 0.5);
}

.mc-plan-popular {
    border: 2px solid rgba(251, 191, 36, 0.5);
}

.block-icon {
    height: 5rem;
    width: 5rem;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35), inset 0 2px 6px rgba(255,255,255,0.08);
    transform: perspective(600px) rotateX(6deg) rotateY(-6deg);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.mc-plan:hover .block-icon {
    transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale(1.06);
    box-shadow: 0 18px 45px rgba(0,0,0,0.5), inset 0 2px 10px rgba(255,255,255,0.12);
}

/* MC Plan Button Colors */
.plan-btn-gray {
    background: linear-gradient(90deg, #6b7280, #4b5563);
}

.plan-btn-orange {
    background: linear-gradient(90deg, #f97316, #ea580c);
}

.plan-btn-gray-light {
    background: linear-gradient(90deg, #9ca3af, #6b7280);
}

.plan-btn-yellow {
    background: linear-gradient(90deg, #eab308, #ca8a04);
}

.plan-btn-cyan {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
}

.plan-btn-green {
    background: linear-gradient(90deg, #10b981, #059669);
}

.plan-btn-purple {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.plan-btn-red {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* MC Info Section */
.mc-info {
    max-width: 64rem;
    margin: 4rem auto 2rem;
    text-align: center;
}

.info-card {
    background: linear-gradient(90deg, rgba(31, 41, 55, 0.5), rgba(17, 24, 39, 0.5));
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(55, 65, 81, 0.5);
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.info-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    color: #d1d5db;
}

.info-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.info-icon {
    font-size: 1.5rem;
}

/* Custom Plans Section */
.custom-plans {
    max-width: 64rem;
    margin: 2rem auto;
    text-align: center;
}

.custom-card {
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.3), rgba(88, 28, 135, 0.3));
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.custom-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.custom-description {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
}

.custom-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.custom-btn-icon {
    font-size: 1.25rem;
}

/* MC Features Section */
.mc-features {
    max-width: 75rem;
    margin: 4rem auto 0;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.features-description {
    font-size: 1.25rem;
    color: #d1d5db;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.3), rgba(17, 24, 39, 0.3));
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(55, 65, 81, 0.5);
    text-align: center;
}

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #9ca3af;
}

/* Active nav link */
.nav-link.active {
    color: var(--primary-indigo);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1.25rem;
    }
    
    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .vps-title {
        font-size: 2.5rem;
    }
    
    .vps-description {
        font-size: 1.125rem;
    }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVENESS ===== */

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    /* Mobile User Actions */
    .user-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .user-menu {
        position: relative;
    }
    
    .user-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        min-width: 200px;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero {
        padding: 120px 20px 80px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Mobile Features Section */
@media (max-width: 768px) {
    .features {
        padding: 60px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
}

/* Mobile VPS Plans */
@media (max-width: 768px) {
    .vps-main {
        padding: 120px 20px 60px;
    }
    
    .vps-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .vps-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .vps-plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .vps-plan {
        padding: 2rem 1.5rem;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .plan-price .price {
        font-size: 2rem;
    }
    
    .plan-specs {
        gap: 0.75rem;
    }
    
    .spec-item {
        font-size: 0.9rem;
    }
    
    .plan-features {
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .plan-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Mobile MC Hosting Plans */
@media (max-width: 768px) {
    .mc-main {
        padding: 120px 20px 60px;
    }
    
    .mc-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .mc-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .mc-plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .mc-plan {
        padding: 2rem 1.5rem;
    }
    
    .mc-plan-name {
        font-size: 1.5rem;
    }
    
    .mc-plan-price .price {
        font-size: 2rem;
    }
    
    .mc-plan-specs {
        gap: 0.75rem;
    }
    
    .mc-spec-item {
        font-size: 0.9rem;
    }
    
    .mc-plan-features {
        gap: 0.5rem;
    }
    
    .mc-feature-item {
        font-size: 0.9rem;
    }
    
    .mc-plan-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Mobile About Page */
@media (max-width: 768px) {
    .about-main {
        padding: 120px 20px 60px;
    }
    
    .about-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .about-description {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Mobile Support Page */
@media (max-width: 768px) {
    .support-main {
        padding: 120px 20px 60px;
    }
    
    .support-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .support-description {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .support-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .support-methods {
        gap: 1.5rem;
    }
    
    .support-method {
        padding: 2rem 1.5rem;
    }
    
    .support-method h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .support-method p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .support-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 20px 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile Order History Page */
@media (max-width: 768px) {
    .order-history-main {
        padding: 120px 20px 60px;
    }
    
    .page-header {
        margin-bottom: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .orders-list {
        gap: 1rem;
    }
    
    .order-card {
        padding: 1.5rem;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .order-id {
        font-size: 0.9rem;
    }
    
    .order-date {
        font-size: 0.8rem;
    }
    
    .order-details {
        gap: 0.75rem;
    }
    
    .order-detail {
        font-size: 0.9rem;
    }
    
    .order-status {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
}

/* Mobile Login/Signup Pages */
@media (max-width: 768px) {
    .auth-container {
        padding: 2rem 1rem;
        min-height: 100vh;
    }
    
    .auth-card {
        width: 100%;
        max-width: 400px;
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .auth-form {
        gap: 1.5rem;
    }
    
    .form-group {
        gap: 0.5rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-input {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .auth-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .auth-switch {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .vps-title,
    .mc-title,
    .about-title,
    .support-title {
        font-size: 1.8rem;
    }
    
    .vps-plan,
    .mc-plan {
        padding: 1.5rem 1rem;
    }
    
    .plan-name,
    .mc-plan-name {
        font-size: 1.3rem;
    }
    
    .plan-price .price,
    .mc-plan-price .price {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .support-method {
        padding: 1.5rem 1rem;
    }
    
    .feature-title,
    .support-method h3 {
        font-size: 1.3rem;
    }
    
    .btn,
    .plan-btn,
    .mc-plan-btn,
    .support-btn,
    .auth-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .vps-main,
    .mc-main,
    .about-main,
    .support-main {
        padding: 100px 20px 40px;
    }
    
    .vps-plans-grid,
    .mc-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    /* Increase touch targets */
    .nav-links a,
    .btn,
    .plan-btn,
    .mc-plan-btn,
    .support-btn,
    .auth-btn,
    .copy-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve form inputs for mobile */
    .form-input {
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    /* Prevent zoom on input focus */
    .form-input {
        font-size: 16px;
    }
    
    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }
    
    /* Better text selection */
    ::selection {
        background: rgba(96, 165, 250, 0.3);
    }
}
