:root {
    --bg-dark: #0a0a0c;
    --bg-surface: rgba(18, 18, 22, 0.65);
    --border-color: rgba(255, 255, 255, 0.07);
    --primary-accent: #ffffff;
    --primary-accent-hover: #e4e4e7;
    --primary-accent-glow: rgba(255, 255, 255, 0.25);
    --text-primary: #f4f4f7;
    --text-secondary: #a0a0aa;
    --text-muted: #71717a;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-dark);
}

#interactive-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
}

.blob-white {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
}

.blob-dark {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

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

html {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.scroll-container {
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: transparent;
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
}

.hero-modern {
    min-height: 100vh;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.hero-hud-decor {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    pointer-events: none;
}

.hero-hud-decor.top-left {
    top: 2rem;
    left: 2rem;
}

.hero-hud-decor.top-right {
    top: 2rem;
    right: 2rem;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    margin-bottom: 2rem;
}

.hero-glitch-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 14vw, 9.5rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.2rem;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-glitch-title .char {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    background: linear-gradient(90deg, #ffffff, #a1a1aa, #52525b, #ffffff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 6s linear infinite;
    animation-delay: calc(var(--char-index) * -0.2s);
}

.hero-role {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.25em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    font-weight: 300;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 0.1em;
    transition: var(--transition-smooth);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: #0a0a0c;
    box-shadow: 0 4px 20px var(--primary-accent-glow);
    border: 1px solid var(--primary-accent);
}

.btn-primary:hover {
    background-color: var(--primary-accent-hover);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
    pointer-events: none;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.scroll-arrow {
    color: var(--primary-accent);
    font-size: 1rem;
    font-weight: 700;
}

.section {
    min-height: 100vh;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.section-scrollable {
    position: relative;
    min-height: 100vh;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.snap-anchor-end {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    scroll-snap-align: end;
    pointer-events: none;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-accent);
    transition: var(--transition-smooth);
}

.section-header:hover .section-divider {
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.portfolio-card {
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    align-self: stretch;
    cursor: pointer;
}

.portfolio-glow-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    z-index: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-card:hover .portfolio-glow-glow {
    opacity: 1;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.08), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.portfolio-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.02);
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.9);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
    filter: brightness(1);
}

.portfolio-body {
    padding: 1.5rem;
    background: rgba(15, 15, 18, 0.35);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-body {
    background: rgba(255, 255, 255, 0.02);
    border-top-color: rgba(255, 255, 255, 0.15);
}

.portfolio-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-accent);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.portfolio-item-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portfolio-item-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
    flex-grow: 1;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.price-card {
    position: relative;
    border-radius: 8px;
    padding: 3rem 2.5rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.08), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.price-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.25);
}

.price-card.highlighted {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
}

.price-glow-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.price-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.price-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.price-tag.featured {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--primary-accent);
    border-color: rgba(255, 255, 255, 0.15);
}

.price-value-container {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-currency {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0;
    max-width: 0;
    transform: translateX(-10px);
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-card:hover .price-currency,
.price-card:active .price-currency,
.price-card.active .price-currency {
    opacity: 1;
    max-width: 350px;
    transform: translateX(0);
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.price-features {
    list-style: none;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.price-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-features li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-accent);
}

.btn-card-action {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding: 0.85rem;
    text-align: center;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.btn-card-action:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-card-primary {
    background-color: var(--primary-accent);
    color: #0a0a0c;
    border: 1px solid var(--primary-accent);
    width: 100%;
    padding: 0.85rem;
    text-align: center;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px var(--primary-accent-glow);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.btn-card-primary:hover {
    background-color: var(--primary-accent-hover);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.contact-lead {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 480px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.contact-card.discord:hover {
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.1);
}

.contact-card.funpay:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-card.discord:hover .contact-icon {
    background-color: rgba(88, 101, 242, 0.15);
    color: #5865F2;
}

.contact-card.funpay:hover .contact-icon {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--primary-accent);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.contact-username {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.footer {
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: rgba(6, 6, 8, 0.8);
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toast {
    position: fixed;
    top: 6rem;
    right: 2rem;
    transform: translateX(150%);
    background: rgba(15, 15, 20, 0.85);
    border-left: 3px solid var(--primary-accent);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-primary);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    pointer-events: none;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 992px) {
    .hero-widgets {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hud-widget {
        width: 100%;
        max-width: 450px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 4rem 1.5rem;
        height: auto;
        min-height: 100vh;
    }

    .hero-glitch-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
        flex-wrap: nowrap;
        line-height: 0.9;
        justify-content: center;
    }

    .hero-hud-decor {
        font-size: 0.6rem;
    }

    .hero-hud-decor.top-left {
        top: 1rem;
        left: 1rem;
    }

    .hero-hud-decor.top-right {
        top: 1rem;
        right: 1rem;
    }

    .section {
        height: auto;
        min-height: 100vh;
        padding: 4rem 1.5rem;
    }

    .section-scrollable {
        height: auto;
        min-height: 100vh;
        padding: 4rem 1.5rem;
    }

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

    .portfolio-image-wrapper {
        height: 180px;
    }

    .price-card {
        padding: 2rem 1.5rem;
    }

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

    .btn {
        width: 100%;
    }

    .toast {
        top: auto;
        bottom: 2rem;
        left: 50%;
        right: auto;
        transform: translate(-50%, 150%);
    }

    .toast.show {
        transform: translate(-50%, 0);
    }
}

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 12, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-lightbox.show {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-surface);
}

.lightbox-close {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-heading);
    pointer-events: none;
    white-space: nowrap;
}

.portfolio-zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    transition: var(--transition-smooth);
    z-index: 5;
    pointer-events: none;
}

.portfolio-card:hover .portfolio-zoom-btn {
    opacity: 1;
    transform: scale(1.1);
    background: var(--primary-accent);
    color: #0a0a0c;
    border-color: var(--primary-accent);
    box-shadow: 0 0 15px var(--primary-accent-glow);
}