/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* Tailwind CSS Base & Utilities */
*, :after, :before { box-sizing: border-box; border: 0 solid #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: 'Poppins', sans-serif; scroll-behavior: smooth; }
body { margin: 0; line-height: inherit; background-color: #030712; color: #f9fafb; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }

/* Base Styles */
.dark {
    --background: 222 84% 4.9%; --foreground: 210 40% 98%;
    --card: 222 84% 4.9%; --card-foreground: 210 40% 98%;
    --primary: 210 40% 98%; --primary-foreground: 222 47% 11.2%;
    --secondary: 217 33% 17%; --secondary-foreground: 210 40% 98%;
    --border: 217 33% 17%; --ring: 212 72% 51%;
}

/* Layout and Sizing */
.fixed { position: fixed; } .absolute { position: absolute; } .relative { position: relative; }
.inset-0 { inset: 0; } .top-4 { top: 1rem; } .left-4 { left: 1rem; } .right-4 { right: 1rem; }
.z-10 { z-index: 10; } .z-50 { z-index: 50; } .-z-10 { z-index: -10; }
.flex { display: flex; } .grid { display: grid; } .hidden { display: none; } .inline-block { display: inline-block; } .inline-flex { display: inline-flex; }
.items-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.w-full { width: 100%; }
.max-w-7xl { max-width: 80rem; } .max-w-4xl { max-width: 56rem; } .max-w-3xl { max-width: 48rem; } .max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding and Margin */
.px-4 { padding-left: 1rem; padding-right: 1rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .px-10 { padding-left: 2.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-8 { padding-top: 2rem; padding-bottom: 2rem; } .py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-24 { padding-top: 6rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-12 { margin-bottom: 3rem; } .mr-3 { margin-right: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.gap-8 { gap: 2rem; } .gap-16 { gap: 4rem; } .space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

/* Borders and Shadows */
.rounded-full { border-radius: 9999px; } .rounded-2xl { border-radius: 1rem; } .rounded-xl { border-radius: 0.75rem; }
.border { border-width: 1px; } .border-t { border-top-width: 1px; }
.border-white\/20 { border-color: rgb(255 255 255 / 0.2); }
.border-gray-800 { border-color: #1f2937; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-black\/20 { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.2); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.hover\:shadow-yellow-400\/30:hover { box-shadow: 0 10px 15px -3px rgb(250 204 21 / 0.3), 0 4px 6px -4px rgb(250 204 21 / 0.3); }

/* Gradients and Backgrounds */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-black { --tw-gradient-from: #000; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(0 0 0 / 0)); }
.via-gray-950 { --tw-gradient-stops: var(--tw-gradient-from), #030712, var(--tw-gradient-to, rgb(3 7 18 / 0)); }
.to-black { --tw-gradient-to: #000; }
.from-orange-500\/10 { --tw-gradient-from: rgb(249 115 22 / 0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(249 115 22 / 0)); }
.to-yellow-500\/5 { --tw-gradient-to: rgb(234 179 8 / 0.05); }
.from-red-500\/8 { --tw-gradient-from: rgb(239 68 68 / 0.08); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(239 68 68 / 0)); }
.to-orange-500\/4 { --tw-gradient-to: rgb(249 115 22 / 0.04); }
.bg-black\/30 { background-color: rgb(0 0 0 / 0.3); }
.backdrop-blur-2xl { --tw-backdrop-blur: blur(40px); backdrop-filter: var(--tw-backdrop-blur); }

/* Typography */
.font-poppins { font-family: 'Poppins', sans-serif; }
.text-center { text-align: center; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-black { font-weight: 900; }
.leading-tight { line-height: 1.25; }
.drop-shadow-xl { filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08)); }
.from-orange-300 { --tw-gradient-from: #fdba74; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(253 186 116 / 0)); }
.via-yellow-300 { --tw-gradient-stops: var(--tw-gradient-from), #fde047, var(--tw-gradient-to, rgb(253 224 71 / 0)); }
.to-orange-400 { --tw-gradient-to: #fb923c; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-yellow-100 { color: #fef9c3; }
.font-light { font-weight: 300; }
.leading-relaxed { line-height: 1.625; }
.text-yellow-300 { color: #fde047; }
.font-medium { font-weight: 500; }
.text-white { color: #fff; }

/* Animations and Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 0.3s; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-pulse-slow { animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 50% { opacity: .5; } }

/* Grid Styles */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Game Card Styles */
.game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}
.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.game-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 1.5rem auto;
    object-fit: contain;
}
.game-card-button {
    display: inline-block;
    background-image: linear-gradient(to right, #ea580c, #d97706);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.game-card-button:hover {
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.3), 0 4px 6px -4px rgba(250, 204, 21, 0.3);
    transform: translateY(-2px);
}

/* Feature Card Styles */
.feature-card {
    background: rgb(31 41 55 / 0.5);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgb(55 65 81 / 0.3);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    background: rgb(55 65 81 / 0.5);
}
.feature-icon-wrapper {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to right, rgb(249 115 22 / 1), rgb(234 179 8 / 1));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
}
.feature-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: #fff;
}

/* Centered Grid for Second Row */
.lg\:w-2\/3 {
    width: 66.666667%;
}

/* Footer Styles */
.footer-section {
    background-color: #030712;
    padding: 4rem 1rem;
    border-top: 1px solid rgb(55 65 81 / 0.3);
}

.footer-column {
    text-align: center;
}

.footer-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-link {
    color: #9ca3af; /* gray-400 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fb923c; /* orange-400 */
}

/* 404 Page Styles */
.error-page-container {
    min-height: 80vh; /* Ensures it takes up most of the screen */
}

.error-title {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    background: -webkit-linear-gradient(45deg, #fb923c, #facc15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.error-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background-image: linear-gradient(to right, #ea580c, #d97706);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-page-button:hover {
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.3), 0 4px 6px -4px rgba(250, 204, 21, 0.3);
    transform: translateY(-2px);
}

/* Package Card Styles */
.package-card {
    background: rgb(31 41 55 / 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgb(55 65 81 / 0.3);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.package-card:hover {
    transform: translateY(-10px);
    border-color: #fb923c;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.package-title {
    font-size: 1.875rem; /* 30px */
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.package-price {
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    color: #fb923c; /* orange-400 */
    margin-bottom: 1.5rem;
}
.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}
.package-features li {
    color: #d1d5db; /* gray-300 */
    padding: 0.5rem 0;
    border-bottom: 1px solid rgb(55 65 81 / 0.5);
}
.package-features li:last-child {
    border-bottom: none;
}
.package-button {
    display: inline-block;
    background-image: linear-gradient(to right, #ea580c, #d97706);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom */
}
.package-button:hover {
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.3), 0 4px 6px -4px rgba(250, 204, 21, 0.3);
    transform: translateY(-2px);
}

/* Checkout Page Styles */
.checkout-card {
    background: rgb(31 41 55 / 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgb(55 65 81 / 0.3);
    border-radius: 1rem;
    padding: 2rem;
}
.order-summary {
    text-align: center;
    border-bottom: 1px solid rgb(55 65 81 / 0.5);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.package-details {
    display: flex;
    justify-content: space-around;
    background-color: rgb(17 24 39 / 0.5);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
}
.addons-section {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    text-align: left;
}
.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgb(55 65 81 / 0.5);
}

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

.addon-name {
    color: #d1d5db; /* gray-300 */
    font-weight: 500;
}

.addon-price {
    font-size: 0.875rem;
    color: #9ca3af; /* gray-400 */
}

.addon-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Gap between buttons and number */
}

.addon-quantity-selector {
    display: flex;
    align-items: center;
}

.quantity-btn {
    background-image: linear-gradient(to right, #ea580c, #d97706);
    color: white;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px; /* fully rounded */
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.quantity-btn:hover {
    background-image: linear-gradient(to right, #be4608, #b46305);
}

.addon-quantity {
    background-color: transparent;
    border: none;
    color: #fff;
    width: 3rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    -moz-appearance: textfield; /* Firefox */
}

.addon-quantity::-webkit-outer-spin-button,
.addon-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.addon-name {
    flex-grow: 1;
    color: #d1d5db; /* gray-300 */
}
.addon-price {
    font-weight: 700;
    color: #fde047; /* yellow-300 */
}
.total-section {
    padding-top: 1.5rem;
    text-align: center;
}
.total-price {
    font-size: 1.875rem; /* 30px */
    font-weight: 700;
    color: #fb923c; /* orange-400 */
    margin-bottom: 1.5rem;
}
.checkout-button {
    display: inline-block;
    width: 100%;
    background-image: linear-gradient(to right, #ea580c, #d97706);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.checkout-button:hover {
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.3), 0 4px 6px -4px rgba(250, 204, 21, 0.3);
    transform: translateY(-2px);
}
.footer-logo {
    height: 3.5rem; /* 56px */
    display: inline-block;
}
.footer-logo-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:flex { display: flex; }
    .footer-column {
        text-align: left;
    }
    .footer-logo-column {
        justify-content: flex-end; /* Aligns logo to the right on larger screens */
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

.nav-button {
    display: inline-flex;
    align-items: center;
    background-image: linear-gradient(to right, #ea580c, #d97706);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nav-button:hover {
    box-shadow: 0 4px 10px -2px rgba(250, 204, 21, 0.3);
    transform: translateY(-1px);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.75rem;
    background-color: rgb(31 41 55 / 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgb(55 65 81 / 0.3);
    border-radius: 0.75rem;
    min-width: 12rem;
    z-index: 50;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #d1d5db;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: rgb(55 65 81 / 0.5);
    color: #fff;
}

.package-card.out-of-stock {
    opacity: 0.7;
    border-color: #7f1d1d; /* A darker red for the border */
    /* pointer-events: none; has been removed to allow clicking */
}

.out-of-stock-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ef4444; /* red-500 */
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-top: auto;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.out-of-stock-label:hover {
    background-color: #dc2626; /* red-600 */
}

.contact-us-text {
    display: block;
    font-size: 0.75rem;
    text-transform: none;
    font-weight: 400;
    margin-top: 0.25rem;
    opacity: 0.9;
}