:root {
    --bg-base: #0a0a0c;
    --bg-surface: #131318;
    --accent-primary: #eab308;
    --accent-glow: rgba(234, 179, 8, 0.15);
    --text-main: #ffffff;
    --text-muted: #8b8b99;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

#particles {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(234, 179, 8, 0.03) 0%, transparent 60%);
}

.star {
    position: absolute;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp ease-in infinite;
    box-shadow: 0 0 5px var(--accent-primary);
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
    20% { opacity: 0.3; }
    80% { opacity: 0.3; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    border-bottom: 1px solid var(--border-subtle);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-outline-sm {
    border: 1px solid var(--border-subtle);
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
    color: var(--text-main);
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    background: transparent;
}

.btn-outline-sm:hover {
    border-color: var(--accent-primary);
    background: var(--accent-glow);
    color: var(--accent-primary);
}

.btn-outline-sm.full-width {
    display: block;
    width: 100%;
    margin-top: 20px;
}

.btn-filled-sm {
    background: var(--border-subtle);
    color: var(--text-main);
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-filled-sm:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #facc15;
    transform: translateY(-1px);
}

.btn-primary.full-width {
    width: 100%;
    display: block;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.hero-section {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 5%;
}

.status-pill {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
}

.cta-container {
    display: flex;
    gap: 16px;
}

.services-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--text-main);
    text-align: left;
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
}

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

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.card-badge-red {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.card-badge-green {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(91, 239, 68, 0.1);
    border: 1px solid rgba(85, 239, 68, 0.2);
    color: #63ef44;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.card-price span {
    font-size: 1.6rem;
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-heading);
}

.features-section {
    border-top: 1px solid var(--border-subtle);
    padding: 60px 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(19, 19, 24, 0.3);
}

.feature-box {
    max-width: 280px;
    text-align: left;
    padding: 20px;
}

.feature-box h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-base);
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4ade80;
    font-weight: 500;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
    text-align: left;
    max-height: 90vh;
    overflow-y: auto;
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-main);
}

.cart-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
}

.cart-overlay.show {
    display: block;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    z-index: 999;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.6);
}

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

.cart-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.close-cart {
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.close-cart:hover {
    color: var(--text-main);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info h4 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

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

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-custom-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 6px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    width: 60px;
    outline: none;
    transition: border-color 0.2s ease;
}

.cart-custom-input:focus {
    border-color: var(--accent-primary);
}

select.cart-custom-input {
    width: auto;
    cursor: pointer;
}

.cart-custom-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-custom-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.remove-item {
    color: #ef4444;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 6px 10px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-item:hover {
    background: rgba(239, 68, 68, 0.2);
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0,0,0,0.2);
}

.cart-total {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.cart-total span {
    color: var(--accent-primary);
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input, .input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 12px 15px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.5);
}

.input-group input[readonly] {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1.1rem;
    background: rgba(234, 179, 8, 0.05);
    border-color: rgba(234, 179, 8, 0.2);
}

.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #5865F2;
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    font-family: var(--font-body);
}

.discord-btn:hover {
    background-color: #4752C4;
    transform: translateY(-2px);
}

.discord-btn-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #5865F2;
    color: #ffffff !important;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.discord-btn-large:hover {
    background-color: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    aspect-ratio: 16 / 9;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px 15px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: left;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Media Queries for Responsiveness --- */

@media (max-width: 1024px) {
    .services-section {
        padding: 60px 5%;
    }
    .features-section {
        padding: 50px 5%;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .cta-container {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .modal-content {
        padding: 25px;
        width: 95%;
    }
    .cart-header, .cart-items, .cart-footer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 10px;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
    .btn-primary, .btn-secondary {
        padding: 12px 20px;
    }
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }
}