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

body {
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(0, 255, 204, 0.3);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 32px;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #00ffcc;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
}

.logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}


.nav-toggle {
    display: none;
    min-width: 46px;
    min-height: 46px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 204, 0.45);
    border-radius: 12px;
    cursor: pointer;
    padding: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(0, 255, 204, 0.12);
    border-color: rgba(0, 255, 204, 0.75);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.4);
    outline: none;
}

.nav-toggle-icon {
    position: relative;
    width: 26px;
    height: 18px;
    display: block;
}

.nav-toggle-icon span {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: #00ffcc;
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(0, 255, 204, 0.35);
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.nav-toggle-icon span:nth-of-type(1) {
    top: 0;
}

.nav-toggle-icon span:nth-of-type(2) {
    top: calc(50% - 1.5px);
}

.nav-toggle-icon span:nth-of-type(3) {
    bottom: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-of-type(1) {
    top: calc(50% - 1.5px);
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-of-type(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-of-type(3) {
    bottom: auto;
    top: calc(50% - 1.5px);
    transform: rotate(-45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #00ffcc;
    bottom: -6px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
}

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

.nav-link.active {
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    padding-right: 18px;
}

.dropdown-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.3s ease;
}

.nav-item-dropdown.is-active .dropdown-caret,
.nav-item-dropdown.is-open .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 10px;
    min-width: 200px;
    padding: 16px 0 12px;
    display: none;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
    z-index: 1100;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #d8d8d8;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a.active {
    background: rgba(0, 255, 204, 0.1);
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
}

.nav-item-dropdown:hover > .dropdown-menu,
.nav-item-dropdown.is-open > .dropdown-menu {
    display: block;
}

.nav-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 204, 0.55);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.35);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #00ffcc;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.credits-pill {
    display: inline-block;
    color: #e0e0e0;
    background: #1a1a1a;
    border: 1px solid #00ffcc;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.nav-meta .credits-pill {
    margin-left: auto;
}

.credits-pill:hover {
    background: #00ffcc;
    color: #000;
    box-shadow: 0 0 15px #00ffcc;
    transform: scale(1.05);
}

.credits-inline {
    text-align: center;
    margin-bottom: 20px;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.credits-inline span {
    color: #00ffcc;
    font-weight: 600;
}

:root {
    --btn-gradient: linear-gradient(135deg, #00ffcc, #0099ff);
    --btn-shadow: 0 0 14px rgba(0, 255, 204, 0.25);
    --btn-hover-shadow: 0 0 22px rgba(0, 255, 204, 0.4);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 6px;
    border: none;
    background-image: var(--btn-gradient);
    color: #000;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: var(--btn-shadow);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--btn-hover-shadow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
    transform: skewX(-12deg);
    transition: left 0.45s ease;
    pointer-events: none;
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
    left: 120%;
}

.btn-primary:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}


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

nav .auth-link {
    color: #e0e0e0;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 204, 0.6);
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    font-weight: 500;
}

nav .auth-link:hover,
nav .auth-link.active {
    background: #00ffcc;
    color: #000;
    box-shadow: 0 0 15px #00ffcc;
    transform: translateY(-2px);
}

nav .logout-link {
    background-image: var(--btn-gradient);
    border: none;
    color: #000;
    font-weight: 600;
    box-shadow: var(--btn-shadow);
}

nav .logout-link:hover,
nav .logout-link:focus-visible {
    box-shadow: var(--btn-hover-shadow);
    transform: translateY(-2px);
}

.flash-container {
    max-width: 960px;
    margin: 100px auto 20px;
    padding: 0 20px;
}

.flash-message {
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 255, 204, 0.4);
    background: rgba(0, 0, 0, 0.65);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.3);
}

.flash-success {
    color: #0fd9aa;
}

.flash-info {
    color: #4dc9ff;
}

.flash-error {
    color: #ff7b7b;
    border-color: rgba(255, 123, 123, 0.5);
    box-shadow: 0 0 12px rgba(255, 123, 123, 0.2);
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 20px;
    margin-top: 40px;
}

.auth-card {
    position: relative;
    z-index: 1;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.2);
}

.auth-card h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    color: #00ffcc;
}

.auth-subtext {
    font-size: 0.95rem;
    text-align: center;
    color: #9aa0a6;
    margin-bottom: 18px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-form label {
    font-size: 0.95rem;
    color: #b0b0b0;
}

.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 204, 0.3);
    background: rgba(0, 0, 0, 0.6);
    color: #e0e0e0;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    outline: none;
    border-color: #00ffcc;
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.4);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.auth-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px 0;
    color: #7d848d;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 255, 204, 0), rgba(0, 255, 204, 0.4), rgba(0, 255, 204, 0));
}

.auth-divider::before {
    margin-right: 14px;
}

.auth-divider::after {
    margin-left: 14px;
}

.auth-form .btn-primary {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #b0b0b0;
    text-align: center;
}

.auth-provider-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.6);
    color: #e0e0e0;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.auth-provider-button:hover,
.auth-provider-button:focus-visible {
    border-color: rgba(0, 255, 204, 0.7);
    box-shadow: 0 0 16px rgba(0, 255, 204, 0.3);
    transform: translateY(-1px);
}

.auth-provider-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-provider-button.google {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(15, 15, 15, 0.85);
}

.auth-provider-button.google::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 533.5 544.3'%3E%3Cpath fill='%23EA4335' d='M533.5 278.4c0-17.4-1.4-34.1-4.1-50.4H272v95.4h147.3c-6.4 34.8-25.7 64.3-54.8 83.9v69.7h88.7c52-47.9 80.3-118.5 80.3-198.6z'/%3E%3Cpath fill='%234285F4' d='M272 544.3c73.7 0 135.6-24.3 180.8-66.3l-88.7-69.7c-24.6 16.5-56.2 26-92.1 26-70.9 0-131-47.9-152.5-112.1H27.4v70.5C72.6 486.4 165.4 544.3 272 544.3z'/%3E%3Cpath fill='%23FBBC05' d='M119.5 322.2c-10.9-32.5-10.9-68 0-100.6V151H27.4c-36.9 73.9-36.9 161.2 0 235.1l92.1-63.9z'/%3E%3Cpath fill='%2334A853' d='M272 107.7c39.9 0 75.7 13.7 103.9 40.6l78-78C407.6 24.1 345.7 0 272 0 165.4 0 72.6 57.9 27.4 151l92.1 70.5C141 155.6 201.1 107.7 272 107.7z'/%3E%3C/svg%3E") no-repeat center/contain;
}

.auth-feedback {
    margin-top: 18px;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    display: none;
}

.auth-feedback.is-visible {
    display: block;
}

.auth-feedback[data-status="info"] {
    color: #4dc9ff;
    border-color: rgba(77, 201, 255, 0.3);
    background: rgba(12, 37, 54, 0.6);
}

.auth-feedback[data-status="success"] {
    color: #0fd9aa;
    border-color: rgba(15, 217, 170, 0.3);
    background: rgba(12, 54, 48, 0.6);
}

.auth-feedback[data-status="error"] {
    color: #ff7b7b;
    border-color: rgba(255, 123, 123, 0.4);
    background: rgba(54, 12, 12, 0.6);
}

.auth-footer a {
    color: #00ffcc;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.pricing {
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.credit-grid .pricing-card {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(0, 255, 204, 0.4);
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.credit-grid .pricing-card.premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(0, 255, 204, 0.3);
}

.pricing-card .price-sub {
    font-size: 1.15rem;
    color: #7efaff;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.pricing-card.utility {
    border-color: rgba(0, 255, 204, 0.25);
    box-shadow: 0 0 18px rgba(0, 255, 204, 0.12);
}

.pricing-card.utility .price {
    color: #00ffcc;
}

.pricing-card.utility .price-sub {
    color: #bfffea;
}

.pricing-card .price-details {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    color: #b9fdf4;
    font-size: 0.95rem;
}

.pricing-card .price-details li {
    margin-bottom: 6px;
}

.pricing-card .btn-primary {
    width: 100%;
    text-align: center;
}

.pricing-card .price-details strong {
    font-size: 1.05rem;
    color: #00ffcc;
}

.pricing .btn-primary,
.pricing-card .btn-primary {
    margin-top: 12px;
    padding: 12px 28px;
    justify-content: center;
}

/* Shared Section Styles */
section {
    padding: 100px 50px;
    background: #0a0a0a;
    position: relative;
    margin-top: 80px;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 204, 0.1), rgba(255, 0, 255, 0.1));
    z-index: 0;
}

section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #00ffcc;
    text-shadow: 0 0 15px #00ffcc;
    position: relative;
    z-index: 1;
    animation: scaleFadeIn 1s ease;
}

/* Features Section */
.features {
    padding: 100px 50px;
    background: #0a0a0a;
    position: relative;
    margin-top: 0;
    z-index: 1;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 204, 0.1), rgba(255, 0, 255, 0.1));
    z-index: 0;
}

.features-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path-to-parallax-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(20, 20, 20, 0.9);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #00ffcc;
    text-align: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #00ffcc;
}

.feature-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border: 1px solid #00ffcc;
    border-radius: 5px;
    box-shadow: 0 0 10px #00ffcc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00ffcc;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #00ffcc;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #00ffcc;
}

.feature-card p {
    font-size: 1rem;
    color: #b0b0b0;
}

/* AI Generator Section */
.ai-generator form {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.9);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #00ffcc;
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
}

.ai-generator .input-column,
.ai-generator .output-column {
    flex: 1;
}

.artist-carousel {
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.artist-carousel::before,
.artist-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.artist-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.92), transparent);
}

.artist-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 10, 0.92), transparent);
}

.artist-carousel .carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(140px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding: 6px 2px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.artist-carousel .carousel-track::-webkit-scrollbar {
    display: none;
}

.artist-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border: 1px solid rgba(0, 255, 204, 0.25);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(18, 18, 18, 0.88), rgba(24, 30, 30, 0.78));
    box-shadow: 0 0 16px rgba(0, 255, 204, 0.16);
    width: 220px;
    min-height: 110px;
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.artist-card img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 255, 204, 0.45);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.25);
}

.artist-card h4 {
    font-size: 1rem;
    color: #00ffcc;
    margin: 0 0 6px;
}

.artist-card p {
    font-size: 0.8rem;
    line-height: 1.35;
    color: #9ff0e8;
    margin: 0;
}

.artist-card:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 22px rgba(0, 255, 204, 0.35);
    border-color: rgba(0, 255, 204, 0.45);
}

.artist-card:hover img {
    box-shadow: 0 0 16px rgba(0, 255, 204, 0.4);
}

@media (max-width: 640px) {
    .artist-carousel .carousel-track {
        grid-auto-columns: minmax(180px, 82%);
        gap: 14px;
        padding: 8px 4px;
    }

    .artist-card {
        padding: 12px 18px;
        width: auto;
        min-width: 180px;
        min-height: 100px;
    }

    .artist-card img {
        width: 52px;
        height: 52px;
    }
}

.ai-generator label {
    display: block;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.ai-generator input,
.ai-generator select,
.ai-generator textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #1a1a1a;
    border: 1px solid #00ffcc;
    border-radius: 5px;
    color: #e0e0e0;
    font-family: 'Orbitron', sans-serif;
}

.ai-generator textarea {
    height: 100px;
    resize: none;
}

.ai-generator button {
    display: block;
    width: 100%;
}

.ai-generator .btn-primary {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ai-generator .output-column img {
    max-width: 100%;
    border: 1px solid #00ffcc;
    border-radius: 10px;
    box-shadow: 0 0 20px #00ffcc;
}

.ai-generator .output-column .status-message {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #b0b0b0;
    text-align: center;
}

.status-message a {
    color: #00ffcc;
    text-decoration: underline;
}

.status-message a:hover,
.status-message a:focus-visible {
    color: #4dffe4;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
}

/* Stencil Maker Section */
.stencil-maker form {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.9);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #00ffcc;
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
}

.stencil-maker .input-column,
.stencil-maker .output-column {
    flex: 1;
}

.stencil-maker label {
    display: block;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.stencil-maker input[type="file"],
.stencil-maker input[type="range"],
.stencil-maker input[type="checkbox"] {
    width: 100%;
    margin-bottom: 20px;
}

.stencil-maker input[type="file"] {
    padding: 10px;
    background: #1a1a1a;
    border: 1px solid #00ffcc;
    border-radius: 5px;
    color: #e0e0e0;
}

.stencil-maker input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #1a1a1a;
    border: 1px solid #00ffcc;
    border-radius: 5px;
    outline: none;
}

.stencil-maker input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 20px;
    background: #00ffcc;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px #00ffcc;
}

.stencil-maker input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 20px;
    background: #00ffcc;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px #00ffcc;
}

.stencil-maker .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.stencil-maker input[type="checkbox"] {
    width: auto;
    accent-color: #00ffcc;
}

.stencil-maker button {
    display: block;
    width: 100%;
}

.stencil-maker .btn-primary {
    width: 100%;
    display: flex;
    justify-content: center;
}

.stencil-maker .output-column img {
    max-width: 100%;
    border: 1px solid #00ffcc;
    border-radius: 10px;
    box-shadow: 0 0 20px #00ffcc;
}

.stencil-maker .output-column .status-message {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #b0b0b0;
    text-align: center;
}

/* .stencil-maker .supplier-ads {
    margin: 32px 0 42px;
    text-align: center;
}

.stencil-maker .supplier-ads h3 {
    font-size: 1.8rem;
    color: #00ffcc;
    margin-bottom: 12px;
}

.stencil-maker .supplier-ads p {
    max-width: 640px;
    margin: 0 auto 24px;
    color: #b0b0b0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .stencil-maker .supplier-ads {
        margin: 24px 0 34px;
    }
} */

/* Overlay Editor Section */
.overlay-editor form {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.9);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #00ffcc;
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
}

.overlay-editor .input-column,
.overlay-editor .output-column {
    flex: 1;
}

.overlay-editor label {
    display: block;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.overlay-editor input[type="file"],
.overlay-editor input[type="range"],
.overlay-editor select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #1a1a1a;
    border: 1px solid #00ffcc;
    border-radius: 5px;
    color: #e0e0e0;
    font-family: 'Orbitron', sans-serif;
}

.overlay-editor input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #1a1a1a;
    border: 1px solid #00ffcc;
    border-radius: 5px;
    outline: none;
}

.overlay-editor input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 20px;
    background: #00ffcc;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px #00ffcc;
}

.overlay-editor input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 20px;
    background: #00ffcc;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px #00ffcc;
}

.overlay-editor .controls {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.overlay-editor .controls .btn-primary {
    flex: 1;
    display: flex;
    justify-content: center;
}

.overlay-editor .output-column {
    position: relative;
}

.overlay-editor #canvas-container {
    position: relative;
    display: inline-block;
    touch-action: none;
}

.overlay-editor #editor-canvas {
    max-width: 100%;
    border: 1px solid #00ffcc;
    border-radius: 10px;
    box-shadow: 0 0 20px #00ffcc;
    touch-action: none;
}

.overlay-editor .handle,
.overlay-editor .rotate-handle {
    position: absolute;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.55);
    background: radial-gradient(circle, #00ffcc 0%, #009e82 70%, #007063 100%);
    cursor: grab;
    touch-action: none;
}

.overlay-editor .handle:active,
.overlay-editor .rotate-handle:active {
    cursor: grabbing;
}

.overlay-editor .rotate-handle {
    background: radial-gradient(circle, #ff5cf5 0%, #9c34ff 70%, #5d1dd6 100%);
    box-shadow: 0 0 12px rgba(255, 92, 245, 0.65);
}

.overlay-editor .rotate-handle::after {
    content: '\21bb';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -53%);
    font-size: 11px;
    color: #ffe9ff;
}

.overlay-editor .transform-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.overlay-editor .btn-secondary {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.25), rgba(0, 255, 204, 0.08));
    color: #9fffee;
    border: 1px solid rgba(0, 255, 204, 0.4);
    border-radius: 6px;
    padding: 12px 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.overlay-editor .btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.45), rgba(0, 255, 204, 0.12));
    box-shadow: 0 0 18px rgba(0, 255, 204, 0.35);
    transform: translateY(-2px);
}

.overlay-editor .btn-secondary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


.overlay-editor .download-primary {
    width: 100%;
}

.overlay-editor .output-actions {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.overlay-editor .output-transform-controls {
    margin: 0;
}

.overlay-editor .output-transform-controls .btn-secondary {
    min-height: 48px;
}

.overlay-editor .mobile-hint {
    font-size: 0.88rem;
    color: #8fd8d2;
    margin-top: 6px;
    text-align: center;
}

.generation-gallery {
    margin-top: 32px;
}

.generation-gallery h3 {
    font-size: 1.2rem;
    color: #9fffee;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gallery-frame {
    margin: 0 -12px;
    padding: 0 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.gallery-track {
    display: grid;
    grid-auto-flow: column;
    gap: 12px;
    grid-auto-columns: minmax(82px, 120px);
    padding: 6px 0 2px;
    scroll-snap-type: x proximity;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 204, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.18);
    background: rgba(10, 10, 10, 0.85);
    cursor: pointer;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
    scroll-snap-align: center;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.45);
    border-color: rgba(0, 255, 204, 0.6);
}

.gallery-item:focus-visible {
    outline: 2px solid #00ffcc;
    outline-offset: 3px;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.6);
}

.gallery-item::-moz-focus-inner {
    border: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-empty {
    font-size: 0.9rem;
    color: #7ddfcd;
    margin-top: 8px;
    text-align: center;
    opacity: 0.85;
}

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    overflow-y: auto;
}

.gallery-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(540px, 92vw);
    max-height: 92vh;
    padding: 20px 22px 24px;
    border-radius: 14px;
    background: rgba(12, 12, 12, 0.94);
    border: 1px solid rgba(0, 255, 204, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 16px;
    outline: none;
}

.gallery-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gallery-lightbox-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #9fffee;
}

.gallery-lightbox-close {
    background: transparent;
    border: none;
    color: #9fffee;
    font-size: 1.3rem;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
    background: rgba(0, 255, 204, 0.12);
    color: #00ffcc;
    transform: scale(1.05);
    outline: none;
}

.gallery-lightbox-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-body img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
    background: #000;
}

.gallery-lightbox-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-lightbox-hint {
    margin: 0;
    font-size: 0.9rem;
    color: #7ddfcd;
}

@media (max-width: 640px) {
    .gallery-track {
        grid-auto-columns: minmax(74px, 34vw);
    }
}

@media (max-width: 600px) {
    .gallery-lightbox {
        padding: 16px;
    }

    .gallery-lightbox-dialog {
        width: 100%;
        max-height: 88vh;
        padding: 18px;
    }

    .gallery-lightbox-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .gallery-lightbox-hint {
        text-align: center;
    }
}

.overlay-editor .output-column .status-message {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #b0b0b0;
    text-align: center;
}

/* Informational Pages */
.content-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 170px 20px 96px;
    color: #e0e0e0;
}

.content-page .page-hero {
    text-align: center;
    margin-bottom: 48px;
}

.content-page .page-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 16px;
    color: #00ffcc;
}

.content-page .page-hero p {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 620px;
    margin: 0 auto;
}

.content-page--compact {
    max-width: 850px;
    text-align: center;
}

.content-page .page-body h2 {
    font-size: 1.8rem;
    color: #9fffee;
    margin: 32px 0 16px;
}


.inline-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.inline-list li {
    color: #c8c8c8;
    max-width: 620px;
}

.content-page .page-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: #c8c8c8;
}

.content-page .page-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-page .page-body ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 14px;
    color: #c8c8c8;
}

.content-page .page-body ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #00ffcc;
}

.content-page .page-body a {
    color: #00ffcc;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .content-page {
        padding: 140px 20px 80px;
    }

    .content-page .page-hero h1 {
        font-size: 2.2rem;
    }

    .content-page .page-body h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .content-page {
        padding: 130px 18px 64px;
    }

    .content-page .page-hero {
        margin-bottom: 36px;
    }

    .content-page .page-hero h1 {
        font-size: 1.9rem;
    }

    .content-page .page-hero p {
        font-size: 1rem;
    }

    .content-page .page-body h2 {
        font-size: 1.4rem;
    }

    .content-page .page-body p,
    .content-page .page-body ul li {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .content-page .page-body ul li {
        padding-left: 22px;
        margin-bottom: 12px;
    }
}

/* Footer */
footer {
    background: #000;
    padding: 50px 50px 20px;
    text-align: center;
    border-top: 1px solid #00ffcc;
}

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

.footer-grid div h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #00ffcc;
    text-shadow: 0 0 5px #00ffcc;
    animation: scaleFadeIn 1s ease;
}

.footer-grid div ul {
    list-style: none;
}

.footer-grid div ul li {
    margin-bottom: 10px;
}

.footer-grid div ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-grid div ul li a:hover {
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #b0b0b0;
}

/* Animations */
@keyframes neonGlow {
    from {
        text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc, 0 0 30px #00ffcc;
    }
    to {
        text-shadow: 0 0 20px #00ffcc, 0 0 30px #00ffcc, 0 0 40px #00ffcc;
    }
}

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

@keyframes scaleFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

/* Responsive Design */
@media (max-width: 900px) {
    .header-inner {
        padding: 14px 20px;
    }

    .nav-content {
        gap: 18px;
    }

    .nav-links {
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 14px 20px;
    }

    .logo span {
        font-size: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-content {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 18px 20px 24px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid rgba(0, 255, 204, 0.4);
        z-index: 999;
        gap: 20px;
        box-shadow: 0 16px 24px rgba(0, 0, 0, 0.35);
    }

    .nav-content.is-open {
        display: flex;
        animation: slideDown 0.3s ease-in-out;
    }

    .nav-content:not(.is-open) {
        animation: slideUp 0.3s ease-in-out;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .nav-item-dropdown .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        border: 1px solid rgba(0, 255, 204, 0.25);
        padding: 10px 14px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.02);
    }

    .nav-item-dropdown .dropdown-menu {
        position: static;
        border: none;
        background: transparent;
        padding: 6px 0 0;
        box-shadow: none;
        display: none;
    }

    .nav-item-dropdown.is-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 14px;
        border-radius: 4px;
    }

    .nav-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nav-avatar {
        margin-left: auto;
    }

    .nav-meta .credits-pill {
        text-align: center;
        font-size: 0.95rem;
        padding: 10px 18px;
    }

    .auth-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .auth-actions .auth-link {
        width: 100%;
        text-align: center;
    }

    .user-pill {
        text-align: center;
        width: 100%;
    }

    .flash-container {
        margin: 80px auto 15px;
    }

    .auth-section {
        padding: 120px 20px;
    }

    .auth-card {
        padding: 30px 24px;
    }

    section {
        padding: 80px 20px;
        margin-top: 60px;
    }

    section h2 {
        font-size: 2rem;
    }

    /* Features Responsive */
    .features {
        padding: 80px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 15px;
    }

    .feature-card img {
        max-width: 150px;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Responsive adjustments for forms */
    .ai-generator form,
    .stencil-maker form,
    .overlay-editor form {
        flex-direction: column;
        padding: 20px;
    }

    .ai-generator .input-column,
    .ai-generator .output-column,
    .stencil-maker .input-column,
    .stencil-maker .output-column,
    .overlay-editor .input-column,
    .overlay-editor .output-column {
        flex: none;
        width: 100%;
    }

    .ai-generator label,
    .stencil-maker label,
    .overlay-editor label {
        font-size: 1rem;
    }

    .ai-generator input,
    .ai-generator select,
    .ai-generator textarea,
    .stencil-maker input[type="file"],
    .stencil-maker input[type="range"],
    .overlay-editor input[type="file"],
    .overlay-editor input[type="range"],
    .overlay-editor select {
        padding: 12px;
        font-size: 0.9rem;
    }

    .ai-generator textarea {
        height: 80px;
    }

    .ai-generator button,
    .stencil-maker button,
    .overlay-editor .controls button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .ai-generator .output-column img,
    .stencil-maker .output-column img,
    .overlay-editor #editor-canvas {
        max-width: 100%;
    }

    .ai-generator .output-column .status-message,
    .stencil-maker .output-column .status-message,
    .overlay-editor .output-column .status-message {
        font-size: 0.9rem;
    }

    .overlay-editor .controls {
        flex-direction: column;
        gap: 10px;
    }

    

    .overlay-editor .output-actions {
        margin-top: 20px;
        gap: 14px;
    }

    .overlay-editor .output-transform-controls {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    footer {
        padding: 50px 20px 20px;
    }
    
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #00ffcc;
    text-shadow: 0 0 10px #00ffcc;
}

.logo img {
    width: 40px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 10px #00ffcc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00ffcc;
}


.footer-sponsor {
    color: #00ffcc;
}

.footer-sponsor:hover,
.footer-sponsor:focus-visible {
    color: #4dffe4;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}
