/* Gaming Theme CSS - Based on inspo Design */

/* CSS Variables */
:root {
    /* Dark Gaming Theme */
    --background: hsl(220, 15%, 8%);
    --foreground: hsl(220, 10%, 95%);

    /* Glass Cards */
    --card: hsl(220, 15%, 12%);
    --card-foreground: hsl(220, 10%, 95%);
    --glass: hsl(220, 15%, 15%);
    --glass-border: hsl(220, 20%, 25%);

    /* Popover */
    --popover: hsl(220, 15%, 10%);
    --popover-foreground: hsl(220, 10%, 95%);

    /* Neon Accents */
    --primary: hsl(180, 100%, 50%);
    --primary-foreground: hsl(220, 15%, 8%);
    --primary-glow: hsl(180, 100%, 60%);

    /* Secondary Neon */
    --secondary: hsl(270, 100%, 70%);
    --secondary-foreground: hsl(220, 15%, 8%);
    --secondary-glow: hsl(270, 100%, 80%);

    /* Muted Elements */
    --muted: hsl(220, 15%, 20%);
    --muted-foreground: hsl(220, 10%, 70%);

    /* Accent Colors */
    --accent: hsl(30, 100%, 60%);
    --accent-foreground: hsl(220, 15%, 8%);
    --accent-glow: hsl(30, 100%, 70%);

    /* States */
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(220, 10%, 95%);

    /* Borders & Inputs */
    --border: hsl(220, 20%, 25%);
    --input: hsl(220, 15%, 15%);
    --ring: hsl(180, 100%, 50%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(180, 100%, 50%), hsl(270, 100%, 70%));
    --gradient-secondary: linear-gradient(135deg, hsl(270, 100%, 70%), hsl(30, 100%, 60%));
    --gradient-hero: linear-gradient(135deg, hsl(220, 15%, 8%), hsl(220, 15%, 12%));
    --gradient-glass: linear-gradient(135deg, hsla(220, 15%, 15%, 0.8), hsla(220, 15%, 10%, 0.6));

    /* Shadows & Glows */
    --shadow-neon: 0 0 20px hsla(180, 100%, 50%, 0.3);
    --shadow-glow: 0 0 40px hsla(180, 100%, 60%, 0.2);
    --shadow-glass: 0 8px 32px hsla(220, 15%, 5%, 0.4);

    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --radius: 0.75rem;
}

/* Base Styles */
* {
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: 
        radial-gradient(circle at 25% 25%, hsla(180, 100%, 50%, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, hsla(270, 100%, 70%, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.glass {
    background: linear-gradient(135deg, hsla(220, 15%, 15%, 0.8), hsla(220, 15%, 15%, 0.4));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsla(220, 20%, 25%, 0.3);
    box-shadow: var(--shadow-glass);
}

.neon-glow {
    box-shadow: var(--shadow-neon);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 20px hsla(180, 100%, 50%, 0.3); }
    100% { box-shadow: 0 0 30px hsla(180, 100%, 50%, 0.6), 0 0 40px hsla(180, 100%, 50%, 0.2); }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.animate-slide-up {
    animation: slide-up 0.6s ease-out;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--muted);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    transition: var(--transition-smooth);
}

.nav-container.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    box-shadow: var(--shadow-neon);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
}

.discount-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-neon);
}

.discount-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: var(--transition-smooth);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    inset: 0;
    z-index: 50;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition-smooth);
}

.mobile-sidebar.open {
    visibility: visible;
    opacity: 1;
}

.mobile-sidebar-backdrop {
    position: absolute;
    inset: 0;
    background: hsla(220, 15%, 8%, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-sidebar-content {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 16rem;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: var(--transition-smooth);
}

.mobile-sidebar.open .mobile-sidebar-content {
    transform: translateX(0);
}

.mobile-sidebar-header {
    display: flex;
    justify-content: flex-end;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-close-btn {
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: hsla(220, 15%, 20%, 0.5);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.mobile-discount-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-neon);
    width: 100%;
}

.mobile-discount-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* Stream Banner */
.stream-banner {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 30;
    max-width: 24rem;
    opacity: 0;
    transform: translateY(50px);
    animation: slide-up 0.6s ease-out 2s forwards;
}

.stream-content {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid hsla(180, 100%, 50%, 0.3);
    box-shadow: var(--shadow-neon);
}

.stream-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.stream-live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stream-live-indicator svg {
    color: var(--primary);
    animation: pulse 2s infinite;
}

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

.stream-title {
    font-weight: 600;
    color: var(--primary);
}

.stream-close {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition-smooth);
}

.stream-close:hover {
    color: var(--foreground);
}

.stream-name {
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.stream-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.stream-detail {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.stream-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.stream-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.countdown-time {
    font-weight: 700;
    color: var(--primary);
}

.stream-watch-btn {
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-neon);
}

.stream-watch-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

/* Discount Modal */
.discount-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition-smooth);
}

.discount-modal.open {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: hsla(220, 15%, 8%, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsla(180, 100%, 50%, 0.3);
    border-radius: var(--radius);
    max-width: 28rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: var(--transition-spring);
}

.discount-modal.open .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-title svg {
    color: var(--primary);
}

.title-text {
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

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

.modal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.discount-offer {
    text-align: center;
}

.discount-percentage {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.discount-description {
    color: var(--muted-foreground);
}

.discount-code-section {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid var(--border);
}

.code-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.code-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.discount-code {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin: 0;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem;
    border-radius: calc(var(--radius) - 4px);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-neon);
}

.copy-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.terms-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.terms-list {
    list-style: disc;
    list-style-position: inside;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.action-btn.primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-neon);
}

.action-btn.primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.action-btn.secondary:hover {
    background: var(--muted);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, 
            hsla(220, 15%, 8%, 0.85) 0%, 
            hsla(220, 15%, 12%, 0.75) 100%),
        url('assets/img/header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: slide-up 0.6s ease-out;
}

.hero-badge {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    border: 1px solid hsla(180, 100%, 50%, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--muted-foreground);
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
}

.hero-btn.primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-neon);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.hero-btn.primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.hero-btn.secondary {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.hero-btn.secondary:hover {
    background: var(--muted);
    border-color: var(--primary);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.stat-item {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    animation: float 6s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-icon {
    margin: 0 auto 0.5rem;
    color: var(--primary);
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: hsla(220, 15%, 20%, 0.2);
}

.section-header {
    max-width: 48rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: hsla(180, 100%, 50%, 0.4);
    box-shadow: var(--shadow-neon);
    transform: translateY(-4px);
}

.service-header {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-foreground);
    box-shadow: var(--shadow-neon);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-features {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    flex: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.service-features svg {
    color: var(--primary);
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.service-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.service-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

/* Particle Background */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .services {
        padding: 4rem 0;
    }
    
    .stream-banner {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

/* Hidden class for JavaScript */
.hidden {
    display: none !important;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-neon);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--foreground);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-count {
    background: var(--muted);
    color: var(--muted-foreground);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.filter-btn.active .filter-count {
    background: hsla(180, 100%, 50%, 0.2);
    color: var(--primary-foreground);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.portfolio-item {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    border-color: hsla(180, 100%, 50%, 0.4);
    box-shadow: var(--shadow-neon);
    transform: translateY(-4px) scale(1.02);
}

.portfolio-image {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--muted);
    color: var(--muted-foreground);
    transition: var(--transition-smooth);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: hsla(220, 15%, 8%, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-view-btn {
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-neon);
}

.portfolio-view-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.portfolio-tag {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    border: 1px solid hsla(180, 100%, 50%, 0.3);
}

/* 3D Printing Section */
.printing {
    padding: 5rem 0;
    background: hsla(220, 15%, 20%, 0.2);
}

.printing-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .printing-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.printing-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .printing-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: hsla(180, 100%, 50%, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-content h4 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.printing-image {
    position: relative;
}

.printing-placeholder {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    color: var(--muted-foreground);
    width: 100%;
}

.printing-placeholder svg {
    margin-bottom: 1rem;
    color: var(--primary);
}

.printing-placeholder p {
    font-size: 1.125rem;
    font-weight: 500;
}

.printing-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glass);
}

.printing-img:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

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

.about-content {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .about-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.about-feature svg {
    color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.about-feature span {
    color: var(--foreground);
    font-size: 0.875rem;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: hsla(220, 15%, 20%, 0.2);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.team-member {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.team-member:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
    transform: translateY(-4px);
}

.team-avatar {
    margin: 0 auto 1.5rem;
    width: 5rem;
    height: 5rem;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    border: 2px solid var(--border);
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border);
    transition: var(--transition-smooth);
}

.team-member:hover .team-avatar-img {
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.team-content {
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--muted);
    color: var(--muted-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-neon);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.testimonial-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
}

.testimonial-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    border: 2px solid var(--border);
}

.testimonial-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border);
    transition: var(--transition-smooth);
}

.testimonial-card:hover .testimonial-avatar-img {
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.testimonial-content {
    flex: 1;
}

.testimonial-rating {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.testimonial-text {
    color: var(--foreground);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -0.25rem;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
}

.testimonial-text::after {
    content: '"';
    position: absolute;
    bottom: -0.5rem;
    right: -0.25rem;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
}

.testimonial-author {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    font-style: normal;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: hsla(220, 15%, 20%, 0.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.contact-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: hsla(180, 100%, 50%, 0.4);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.contact-card-text {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-btn {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 3rem 0 1rem;
    background: var(--background);
    border-top: 1px solid hsla(180, 100%, 50%, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }
}

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

@media (min-width: 1024px) {
    .footer-brand {
        text-align: left;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .footer-logo {
        justify-content: flex-start;
    }
}

.footer-logo .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    box-shadow: var(--shadow-neon);
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 28rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .footer-socials {
        justify-content: flex-start;
    }
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-links-section {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

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

@media (min-width: 1024px) {
    .footer-column {
        text-align: left;
    }
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright,
.footer-made {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin: 0;
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.heart-icon {
    color: var(--destructive);
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}