/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    z-index: 9999;
    height: 65px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-button {
    background: transparent;
    color: white;
    border: none;
    padding: 0.4rem 0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-button:hover {
    color: #ff9900;
    transform: translateY(-1px);
}

/* Main Content */
.main-select-container {
    padding-top: 35px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.server-section {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.server-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.server-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.product-list {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.product-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.product-item a {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.product-item a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

/* Background Video */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

body, html {
    min-height: 100%;
    height: auto;
}

/* Bottom Bar */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    z-index: 9999;
}

.bottom-bar-button {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.bottom-bar-button:hover {
    color: #ff9900;
    transform: translateY(-1px);
}

/* Global Styles */
:root {
    --primary-gold: #FFB800;
    --secondary-gold: #FFA000;
    --dark-gold: #B78400;
    --light-gold: #FFD700;
    --background-dark: #0f0f0f;
    --text-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--background-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    z-index: 1000;
    height: 65px;
}

.nav-button {
    background: transparent;
    color: var(--primary-gold);
    border: none;
    padding: 0.4rem 0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-button:hover {
    color: var(--light-gold);
    transform: translateY(-1px);
}

/* Cards and Sections */
.card {
    background: rgba(255, 184, 0, 0.05);
    border: 1px solid var(--primary-gold);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.15);
}

/* Buttons */
.button {
    background: var(--primary-gold);
    color: var(--background-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button:hover {
    background: var(--secondary-gold);
    transform: translateY(-1px);
}

.button.outline {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
}

.button.outline:hover {
    background: var(--primary-gold);
    color: var(--background-dark);
}

/* Links */
a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--light-gold);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Input Fields */
input, select, textarea {
    background: rgba(255, 184, 0, 0.05);
    border: 1px solid var(--dark-gold);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.1);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th {
    background: rgba(255, 184, 0, 0.1);
    color: var(--primary-gold);
    padding: 1rem;
    text-align: left;
}

td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 184, 0, 0.1);
}

tr:hover {
    background: rgba(255, 184, 0, 0.05);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Selection */
::selection {
    background: var(--primary-gold);
    color: var(--background-dark);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-family: 'Inter', sans-serif;
    color: #fff;
    overflow: hidden;
    position: fixed;
}

body {
    background: #0f172a;
}

#app, .main-select-container, .top-navbar, .server-buttons, .server-dropdown, .dropdown-list {
    position: relative;
    z-index: 1;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1600px;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cart-btn {
    background: #60a5fa;
    color: #0f172a;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.cart-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

.cart-count {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    background: #60a5fa;
    color: #0f172a;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-btn:hover {
    background: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.5);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.feature-item i {
    color: #60a5fa;
    font-size: 1.2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating-card i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #60a5fa;
}

.floating-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.floating-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: #1e293b;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 2rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #f8fafc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.add-product-btn {
    background: #60a5fa;
    color: #0f172a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
    white-space: nowrap;
}

.add-product-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #334155;
    border-radius: 20px;
    border: 1px solid #475569;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #1e293b;
    border-radius: 15px;
    border: 1px solid #475569;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #60a5fa;
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 2rem;
    color: #60a5fa;
    width: 50px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: #334155;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #475569;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #60a5fa;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #64748b;
}

.product-info {
    padding: 2rem;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #f8fafc;
}

.product-description {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: #60a5fa;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(96, 165, 250, 0.3);
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.add-to-cart-btn {
    flex: 1;
    background: #60a5fa;
    color: #0f172a;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.add-to-cart-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

.edit-product-btn {
    background: #f59e0b;
    color: #0f172a;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.edit-product-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.delete-product-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.delete-product-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: #1e293b;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #475569;
}

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

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid #475569;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #334155;
}

.cart-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #cbd5e1;
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.close-cart:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

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

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #475569;
    align-items: center;
    background: #334155;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    background: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #64748b;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f8fafc;
    font-size: 1.1rem;
}

.cart-item-price {
    color: #60a5fa;
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.quantity-btn {
    background: #475569;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #f8fafc;
}

.quantity-btn:hover {
    background: #60a5fa;
    color: #0f172a;
}

.remove-item-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid #475569;
    background: #334155;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #f8fafc;
}

.checkout-btn {
    width: 100%;
    background: #60a5fa;
    color: #0f172a;
    border: none;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.checkout-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

.cart-help {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.cart-help p {
    color: #cbd5e1;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: #1e293b;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #475569;
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #475569;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #334155;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #cbd5e1;
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.close-modal:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.add-product-form {
    padding: 2rem;
}

.form-help {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.form-help p {
    color: #cbd5e1;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #f8fafc;
    font-size: 1.1rem;
}

.form-group label i {
    color: #60a5fa;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #475569;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #334155;
    color: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.cancel-btn {
    flex: 1;
    background: #475569;
    color: #f8fafc;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cancel-btn:hover {
    background: #64748b;
    transform: translateY(-2px);
}

.save-btn {
    flex: 1;
    background: #60a5fa;
    color: #0f172a;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.save-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #0f172a;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #f8fafc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.2rem;
    color: #cbd5e1;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: #1e293b;
    transition: all 0.3s ease;
    border: 1px solid #475569;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: #60a5fa;
}

.feature i {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 1.5rem;
}

.feature h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #f8fafc;
}

.feature p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #1e293b;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #f8fafc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #334155;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid #475569;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #60a5fa;
}

.contact-item i {
    font-size: 2rem;
    color: #60a5fa;
    width: 50px;
    text-align: center;
}

.contact-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f8fafc;
    font-size: 1.2rem;
}

.contact-item p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-item small {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid #475569;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f8fafc;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: #60a5fa;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #475569;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #475569;
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }
    
    .hero {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #475569;
    border-top: 3px solid #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 4000;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.message.success {
    background: #065f46;
    color: #d1fae5;
    border: 1px solid #10b981;
}

.message.error {
    background: #7f1d1d;
    color: #fecaca;
    border: 1px solid #ef4444;
}

/* Enhanced User-Friendly Elements */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

/* Better focus indicators for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Larger touch targets for mobile */
@media (max-width: 768px) {
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }
    
    .cart-btn {
        padding: 1.25rem 2rem;
        font-size: 1.2rem;
    }
    
    .add-product-btn {
        padding: 1.25rem 2rem;
        font-size: 1.2rem;
    }
    
    .product-actions button {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
}

.main-select-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 8px #000a;
}

.server-buttons {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.server-dropdown {
    position: relative;
}

.server-btn {
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
    margin-bottom: 1rem;
}

.server-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.server-btn.active {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Product lists */
.product-list {
    display: none;
    width: 400px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem;
    z-index: 1000;
}

.product-list.active {
    display: grid !important;
}

.product-item {
    padding: 0;
}

.product-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-item a:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Server sections */
.server-section {
    position: relative;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.server-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
}

.server-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.server-btn.active {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Container adjustments */
.container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1600px;
    padding: 0 2rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
}

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

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Top Navigation Bar Styles */
.top-navbar {
    width: 100%;
    height: 56px;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-logo img {
    height: 57px;
    width: auto;
    display: block;
}
.nav-logo-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links.nav-links-left {
    display: flex !important;
    align-items: center;
    gap: 1.1rem;
    margin-left: 0.5rem;
}
.nav-link {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    background: rgba(96, 165, 250, 0.08);
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    border: none;
    outline: none;
}
.nav-link:hover, .nav-link:focus {
    background: #60a5fa;
    color: #0f172a;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: absolute;
    right: 2rem;
    top: 1rem;  /* Added 0.4rem (from 0.6 to 1.0) */
}

/* Responsive for nav bar */
@media (max-width: 700px) {
    .top-navbar {
        flex-direction: column;
        height: auto;
        padding: 0.5rem 1rem;
    }
    .nav-links {
        gap: 1.2rem;
    }
    .main-select-container {
        margin-top: 100px;
    }
}

.nav-logo-fixed {
    width: 50px;
    height: auto;
    margin-right: 1rem;
}

.top-blur-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 0 2rem;
}

.top-bar-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.top-bar-link:hover {
    opacity: 0.8;
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: 100;
}

.bottom-bar-button {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.bottom-bar-button:hover {
    opacity: 0.8;
}

/* Container styles */
.product-container {
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 120px !important;
}

.main-content {
    margin-top: 120px;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.product-image {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.product-details {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-content {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
    }
    
    .product-details {
        position: static;
    }
}

/* Common styles for all pages */
.tabs {
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0.5rem;
    overflow: hidden;
    width: 100%;
}

.tab-content {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    min-height: 200px;
}

/* Utility classes */
.text-center { text-align: center; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Overlay for better text readability */
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Base styles */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #0f172a;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Container styles */
.product-container {
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Server sections */
.server-section {
    position: relative;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.server-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
}

.server-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.server-btn.active {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Product lists */
.product-list {
    display: none;
    width: 400px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem;
    z-index: 1000;
}

.product-list.active {
    display: grid !important;
}

.product-item {
    padding: 0;
}

.product-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-item a:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Bottom bar */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: 100;
}

.bottom-bar-button {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.bottom-bar-button:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .server-section {
        width: 450px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .top-blur-bar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .top-bar-links, .top-bar-right {
        gap: 1rem;
    }

    .bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
    }

    .server-btn {
        font-size: 1.2rem;
        padding: 1rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    z-index: 9999;
    height: 65px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: absolute;
    right: 2rem;
    top: 1rem;  /* Added 0.4rem (from 0.6 to 1.0) */
}

.nav-logo {
    height: 50px;
    width: 50px;
    object-fit: cover;
    vertical-align: middle;
    filter: brightness(1.2) contrast(1.1);
    border-radius: 4px;
}

.nav-button {
    background: transparent;
    color: #fff;
    border: none;
    padding: 0.4rem 0;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    line-height: 1;
}

.nav-button:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-button i {
    font-size: 1.1rem;
}

/* Ensure the main content starts below the navbar */
.main-select-container {
    margin-top: 65px;
}

/* Adjust main content to not be hidden by nav bar */
.product-container {
    margin-top: 65px !important;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 9999;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    z-index: 9999;
}

/* Animated video background for all public pages except /admin/ */
#animated-bg-video {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  object-fit: cover;
  z-index: -100;
  pointer-events: none;
}
#animated-bg-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: -99;
  pointer-events: none;
}
body.admin-page #animated-bg-video,
body.admin-page #animated-bg-overlay {
  display: none !important;
}

.add-to-cart {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 10;
    min-width: 220px;
    max-width: 90vw;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    background: #ff9900;
    color: #fff;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.add-to-cart:hover {
    background: #ffa733;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    transform: translateX(-50%) scale(1.04);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 0;
    pointer-events: none;
} 