/* Modern Theme Styles */

:root {
    --modern-bg: #111827;
    --modern-card: #1f2937;
    --modern-border: #374151;
    --modern-text: #f9fafb;
    --modern-text-secondary: #d1d5db;
    --modern-primary: #3b82f6;
    --modern-primary-hover: #2563eb;
}

/* CRITICAL: Footer always at bottom - must be loaded last */
html {
    margin: 0 !important;
    padding: 0 !important;
}

html body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--modern-bg);
    color: var(--modern-text);
}

/* Header should not grow */
html body > nav,
html body > header {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

html body > main {
    flex: 1 0 auto !important;
    background: var(--modern-bg);
    padding-bottom: 2rem;
}

/* Footer always at bottom - CRITICAL */
html body > footer {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: auto !important;
    margin-top: auto !important;
    width: 100% !important;
}

/* Cards */
.theme-card {
    background: var(--modern-card);
    border: 1px solid var(--modern-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.theme-button {
    background: var(--modern-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.theme-button:hover {
    background: var(--modern-primary-hover);
}

/* Account Pages */
.account-page {
    padding: 2rem 0;
}


body > footer {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

.account-card {
    background: var(--modern-card);
    border: 1px solid var(--modern-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.account-card h1,
.account-card h2 {
    color: var(--modern-text);
    margin-bottom: 1rem;
}

.account-card p {
    color: var(--modern-text-secondary);
}

/* Forms */
.theme-input {
    background: var(--modern-card);
    border: 1px solid var(--modern-border);
    color: var(--modern-text);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
}

.theme-input:focus {
    outline: none;
    border-color: var(--modern-primary);
    ring: 2px;
    ring-color: var(--modern-primary);
}

/* Tables */
.theme-table {
    width: 100%;
    border-collapse: collapse;
}

.theme-table th,
.theme-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--modern-border);
    color: var(--modern-text);
}

.theme-table th {
    background: var(--modern-card);
    font-weight: 600;
    color: var(--modern-text);
}

.theme-table tr:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Prose adjustments */
.prose i {
    margin-right: 0.25rem;
}

.prose {
    color: var(--modern-text-secondary);
}

.prose h1, .prose h2, .prose h3 {
    color: var(--modern-text);
}

/* Footer styles */
footer {
    background: var(--modern-card) !important;
    border-top: 1px solid var(--modern-border) !important;
    color: var(--modern-text-secondary) !important;
}

footer a {
    color: var(--modern-text-secondary) !important;
}

footer a:hover {
    color: var(--modern-text) !important;
}

/* Text color fixes for better contrast */
.text-gray-400,
.text-gray-300,
.text-gray-500 {
    color: var(--modern-text-secondary) !important;
}

.text-gray-600,
.text-gray-700 {
    color: var(--modern-text) !important;
}

/* Ensure white text on dark backgrounds is visible */
.bg-gray-800 .text-white,
.bg-gray-900 .text-white,
.bg-gray-800 h1,
.bg-gray-900 h1,
.bg-gray-800 h2,
.bg-gray-900 h2 {
    color: var(--modern-text) !important;
}

/* ============================================
   STOREFRONT FORM ELEMENTS
   ============================================ */

/* Select Dropdowns - Abgerundete Ecken und dunkles Design */
select,
.product-option-select,
#laufzeit-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: rgba(55, 65, 81, 0.5) !important;
    border: 1px solid rgba(75, 85, 99, 0.5) !important;
    border-radius: 0.75rem !important;
    color: white !important;
    padding: 0.75rem 2.5rem 0.75rem 1rem !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.25em 1.25em !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

select:focus,
.product-option-select:focus,
#laufzeit-select:focus {
    outline: none !important;
    border-color: var(--modern-primary) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4) !important;
}

select:hover,
.product-option-select:hover,
#laufzeit-select:hover {
    border-color: rgba(107, 114, 128, 0.7) !important;
}

/* Option Elemente - Dunkler Hintergrund */
select option {
    background-color: #1f2937 !important;
    color: white !important;
    padding: 0.5rem !important;
}

/* Input Felder im Storefront */
input[type="text"].product-option-input,
input[type="number"].product-option-input,
textarea.product-option-input {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: rgba(55, 65, 81, 0.5) !important;
    border: 1px solid rgba(75, 85, 99, 0.5) !important;
    border-radius: 0.75rem !important;
    color: white !important;
}

input[type="text"].product-option-input:focus,
input[type="number"].product-option-input:focus,
textarea.product-option-input:focus {
    outline: none !important;
    border-color: var(--modern-primary) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4) !important;
}

/* Checkbox Styling */
input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: #374151 !important;
    border: 2px solid #4b5563 !important;
    border-radius: 0.375rem !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked {
    background-color: var(--modern-primary) !important;
    border-color: var(--modern-primary) !important;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

input[type="checkbox"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4) !important;
}

/* Additional contrast improvements */
.bg-gradient-to-r {
    color: white !important;
}

.bg-gradient-to-r p,
.bg-gradient-to-r span {
    color: white !important;
}

/* Links in cards */
.account-card a {
    color: var(--modern-primary) !important;
}

.account-card a:hover {
    color: var(--modern-primary-hover) !important;
}

/* Ensure text in gradient boxes is readable */
.bg-gradient-to-r.text-white,
.bg-gradient-to-r .text-white,
.bg-gradient-to-r p,
.bg-gradient-to-r span,
.bg-gradient-to-r div {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CMS BLOCK STYLES
   Jedes Theme kann diese Variablen und Klassen
   individuell überschreiben.
   ============================================ */

:root {
    /* Block: Hero */
    --block-hero-bg: #111827;
    --block-hero-text: #ffffff;

    /* Block: Hero Register */
    --block-hero-register-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --block-hero-register-title-color: #c8ff00;
    --block-hero-register-button-color: #c8ff00;
    --block-hero-register-form-bg: #1f2937;
    --block-hero-register-badge-color: #c8ff00;

    /* Block: CTA */
    --block-cta-bg: #3b82f6;
    --block-cta-text: #ffffff;
    --block-cta-button-bg: #ffffff;
    --block-cta-button-text: #3b82f6;

    /* Block: Domain Search */
    --block-domain-search-bg: linear-gradient(180deg, #0f172a 0%, #162033 100%);
    --block-domain-search-text: #ffffff;

    /* Block: Contact Form */
    --block-contact-bg: #1e293b;

    /* Block: Feature Boxes */
    --block-feature-box-bg: rgba(30, 41, 59, 0.5);
    --block-feature-box-border: rgba(55, 65, 81, 0.5);
    --block-feature-text: #ffffff;

    /* Block: Category Overview */
    --block-category-card-bg: #1e293b;
    --block-category-text: #ffffff;

    /* Block: Payment Methods */
    --block-payment-title-color: #c8ff00;
    --block-payment-card-bg: #1e293b;

    /* Block: FAQ */
    --block-faq-bg: #1e293b;
    --block-faq-header-bg: #162032;
    --block-faq-open-bg: #273549;
    --block-faq-open-border: #475569;

    /* Block: Divider */
    --block-divider-color: #374151;
}

/* Block: Hero */
.block-hero {
    background-color: var(--block-hero-bg);
    color: var(--block-hero-text);
}

/* Block: Hero Register */
.block-hero-register {
    background: var(--block-hero-register-bg);
}

.block-hero-register .block-title {
    color: var(--block-hero-register-title-color);
}

.block-hero-register .block-button-primary {
    background: var(--block-hero-register-button-color);
}

.block-hero-register .block-form-bg {
    background: var(--block-hero-register-form-bg);
}

.block-hero-register .block-badge-icon {
    color: var(--block-hero-register-badge-color);
    background: color-mix(in srgb, var(--block-hero-register-badge-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--block-hero-register-badge-color) 25%, transparent);
}

/* Block: CTA */
.block-cta {
    background-color: var(--block-cta-bg);
    color: var(--block-cta-text);
}

.block-cta .block-button {
    background-color: var(--block-cta-button-bg);
    color: var(--block-cta-button-text);
}

/* Block: Domain Search */
.block-domain-search {
    background: var(--block-domain-search-bg);
    color: var(--block-domain-search-text);
}

/* Block: Contact Form */
.block-contact-form {
    background-color: var(--block-contact-bg);
}

/* Block: Feature Boxes */
.block-feature-boxes .block-title {
    color: var(--block-feature-text);
}

.block-feature-boxes .block-subtitle {
    color: var(--block-feature-text);
}

.block-feature-boxes .block-box {
    background: var(--block-feature-box-bg);
    border: 1px solid var(--block-feature-box-border);
}

.block-feature-boxes .block-box-title {
    color: var(--block-feature-text);
}

.block-feature-boxes .block-box-text {
    color: var(--block-feature-text);
}

/* Block: Category Overview */
.block-category-overview .block-title {
    color: var(--block-category-text);
}

.block-category-overview .block-subtitle {
    color: var(--block-category-text);
}

.block-category-overview .block-card {
    background: var(--block-category-card-bg);
}

.block-category-overview .block-card-title {
    color: var(--block-category-text);
}

.block-category-overview .block-card-text {
    color: var(--block-category-text);
    opacity: 0.8;
}

/* Block: Payment Methods */
.block-payment-methods .block-title {
    color: var(--block-payment-title-color);
}

.block-payment-methods .block-card {
    background: var(--block-payment-card-bg);
}

/* Block: FAQ */
.block-faq .faq-item {
    background: var(--block-faq-bg);
}

.block-faq .faq-item button {
    background: var(--block-faq-header-bg);
}

.block-faq .faq-item.faq-open {
    border-color: var(--block-faq-open-border) !important;
    background: var(--block-faq-open-bg) !important;
}

/* Block: Divider */
.block-divider hr {
    background-color: var(--block-divider-color);
}

/* ============================================
   NAVIGATION HOVER EFFECTS WITH ROUNDED CORNERS
   ============================================ */

/* Header button/link hovers - transparent with rounded corners */
nav.bg-gray-800 button:hover,
nav.bg-gray-800 .hover\:bg-gray-700:hover {
    background: rgba(59, 130, 246, 0.15) !important;
    border-radius: 0.5rem;
}

/* Dropdown menus - rounded corners */
nav .absolute,
nav #cartDropdown,
nav #accountDropdown {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.08) !important;
    border-radius: 0.75rem !important;
}

/* Dropdown hover items - rounded corners */
nav .absolute a:hover:not(.cart-checkout-btn),
nav #cartDropdown a:hover:not(.cart-checkout-btn),
nav #accountDropdown a:hover,
nav .hover\:bg-gray-600:hover {
    background: rgba(59, 130, 246, 0.2) !important;
    border-radius: 0.375rem !important;
}

/* Cart checkout button */
.cart-checkout-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 8px 16px !important;
    background: var(--modern-primary) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: background 0.15s ease !important;
}

.cart-checkout-btn:hover {
    background: var(--modern-primary-hover) !important;
}

:root {
    --themetest-bg: #07131d;
    --themetest-surface: rgba(8, 21, 34, 0.72);
    --themetest-surface-strong: rgba(9, 24, 39, 0.9);
    --themetest-border: rgba(255, 255, 255, 0.1);
    --themetest-text: #eefcf7;
    --themetest-muted: rgba(226, 248, 240, 0.75);
    --themetest-primary: #2dd4bf;
    --themetest-secondary: #38bdf8;
    --themetest-accent: #f97316;
    --themetest-lime: #bef264;
    --themetest-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

html body.themetest-body {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(45, 212, 191, 0.22), transparent 28%),
        radial-gradient(circle at 92% 10%, rgba(249, 115, 22, 0.18), transparent 24%),
        linear-gradient(180deg, #06111a 0%, #081420 46%, #07131d 100%);
    color: var(--themetest-text);
    font-family: "Plus Jakarta Sans", sans-serif;
}

.themetest-body h1,
.themetest-body h2,
.themetest-body h3,
.themetest-body h4,
.themetest-body .font-bold,
.themetest-body .font-semibold {
    font-family: "Space Grotesk", sans-serif;
}

.themetest-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.themetest-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(70px);
    opacity: 0.5;
}

.themetest-orb-a {
    width: 24rem;
    height: 24rem;
    left: -6rem;
    top: -4rem;
    background: rgba(45, 212, 191, 0.24);
    animation: themetestFloat 14s ease-in-out infinite;
}

.themetest-orb-b {
    width: 32rem;
    height: 32rem;
    right: -10rem;
    top: 8rem;
    background: rgba(249, 115, 22, 0.17);
    animation: themetestFloat 18s ease-in-out infinite reverse;
}

.themetest-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 85%);
}

.themetest-nav,
.themetest-main,
.themetest-footer,
.themetest-banner {
    position: relative;
    z-index: 1;
}

.themetest-banner {
    background: linear-gradient(90deg, rgba(45, 212, 191, 0.92) 0%, rgba(56, 189, 248, 0.88) 50%, rgba(190, 242, 100, 0.86) 100%);
    color: #04201d !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.28), 0 6px 24px rgba(45, 212, 191, 0.18);
}

.themetest-nav {
    padding-top: 1rem;
    z-index: 30;
}

.themetest-nav-inner {
    position: relative;
    isolation: isolate;
    overflow: visible !important;
    border-radius: 28px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

.themetest-nav-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(12, 28, 44, 0.82) 0%, rgba(8, 21, 34, 0.78) 50%, rgba(10, 24, 39, 0.84) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(24px);
    box-shadow: var(--themetest-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.themetest-nav-inner::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(45, 212, 191, 0.55) 35%, rgba(56, 189, 248, 0.55) 65%, transparent 100%);
    border-radius: 9999px;
    pointer-events: none;
    z-index: 2;
}

.themetest-nav-inner > * {
    position: relative;
    z-index: 1;
}

.themetest-brand-name {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.themetest-desktop-nav {
    position: relative;
    z-index: 2;
    padding: 0.35rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.themetest-nav-link {
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    color: rgba(238, 252, 247, 0.8);
    transition: background 0.2s ease, color 0.2s ease;
}

.themetest-nav-link:hover,
.themetest-nav-item:hover > .themetest-nav-link {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.22) 0%, rgba(56, 189, 248, 0.18) 100%);
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.18) inset;
}

.themetest-icon-button {
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
}

.themetest-icon-button:hover {
    background: rgba(45, 212, 191, 0.14) !important;
}

.themetest-badge {
    background: linear-gradient(135deg, var(--themetest-accent), #fb7185) !important;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
}

.themetest-floating-menu,
.themetest-floating-panel,
.themetest-mobile-menu {
    background: var(--themetest-surface-strong) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(24px);
    box-shadow: var(--themetest-shadow) !important;
}

.themetest-nav-submenu {
    margin-top: 0 !important;
    padding-top: 0.6rem;
    min-width: 15rem;
}

.themetest-dropdown-panel,
.themetest-nav-submenu {
    overflow: visible !important;
    z-index: 80 !important;
}

.themetest-submenu-link,
.themetest-mobile-link,
.themetest-mobile-submenu-link,
#accountDropdown a,
#accountDropdown button {
    border-radius: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.themetest-submenu-link:hover,
.themetest-mobile-link:hover,
.themetest-mobile-submenu-link:hover,
#accountDropdown a:hover,
#accountDropdown button:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

.themetest-main {
    position: relative;
    background: transparent !important;
    margin-top: -1.25rem;
    padding: 3.25rem 0 3rem;
}

.themetest-main::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: clamp(6rem, 12vw, 9rem);
    background:
        linear-gradient(180deg, rgba(8, 21, 34, 0.94) 0%, rgba(10, 24, 37, 0.76) 38%, rgba(7, 19, 29, 0.16) 78%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.themetest-main-inner {
    position: relative;
    z-index: 1;
}

.themetest-main-inner > .bg-gray-900,
.themetest-main-inner > .bg-gray-100,
.themetest-main-inner > section.bg-gray-900,
.themetest-main-inner > section.bg-gray-100,
.themetest-main-inner > div.bg-gray-900,
.themetest-main-inner > div.bg-gray-100,
.themetest-main-inner > div.min-h-screen.bg-gray-900,
.themetest-main-inner > div.min-h-screen.bg-gray-100,
.themetest-main-inner > div.container.bg-gray-900,
.themetest-main-inner > div.container.bg-gray-100 {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.themetest-main-inner > .min-h-screen,
.themetest-main-inner > section {
    position: relative;
}

.themetest-footer {
    position: relative;
    margin-top: 4rem;
    width: 100%;
}

.themetest-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(45, 212, 191, 0.55) 25%, rgba(56, 189, 248, 0.55) 50%, rgba(190, 242, 100, 0.5) 75%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.themetest-footer > * {
    position: relative;
    z-index: 1;
}

.themetest-footer-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    background:
        linear-gradient(180deg, rgba(10, 26, 41, 0.96) 0%, rgba(7, 18, 28, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 -24px 60px -20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
}

.themetest-footer-inner::before {
    content: "";
    position: absolute;
    top: -10rem;
    left: -8rem;
    width: 26rem;
    height: 26rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.14), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.themetest-footer-inner::after {
    content: "";
    position: absolute;
    top: -6rem;
    right: -8rem;
    width: 22rem;
    height: 22rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.themetest-footer-inner > * {
    position: relative;
    z-index: 1;
}

.themetest-footer-kicker,
.themetest-footer-heading {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(190, 242, 100, 0.82);
}

.themetest-footer-title {
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    line-height: 0.96;
}

.themetest-footer-copy,
.themetest-footer-meta {
    color: var(--themetest-muted);
}

.themetest-footer-copy {
    max-width: 38rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.themetest-footer-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.themetest-footer-link {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
}

.themetest-footer-link:hover {
    color: var(--themetest-lime) !important;
    background: rgba(45, 212, 191, 0.1);
    border-color: rgba(45, 212, 191, 0.24);
    transform: translateY(-1px);
}

.themetest-footer-bottom-bar {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, rgba(5, 14, 22, 0.6) 0%, rgba(4, 11, 18, 0.85) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.themetest-footer-bottom-bar::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(45, 212, 191, 0.35) 50%, transparent 100%);
    pointer-events: none;
}

.themetest-footer-bottom {
    padding: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    color: var(--themetest-muted);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.themetest-footer-powered a {
    color: #ffffff !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.themetest-footer-powered a:hover {
    color: var(--themetest-primary) !important;
}

.themetest-body .theme-card,
.themetest-body .account-card,
.themetest-body .bg-gray-800,
.themetest-body .bg-gray-900,
.themetest-body .bg-gray-700,
.themetest-body .bg-white,
.themetest-body .bg-gray-100 {
    background: var(--themetest-surface) !important;
    border-color: var(--themetest-border) !important;
    box-shadow: var(--themetest-shadow);
    backdrop-filter: blur(20px);
}

.themetest-body .text-gray-300,
.themetest-body .text-gray-400,
.themetest-body .text-gray-500,
.themetest-body .text-gray-600 {
    color: var(--themetest-muted) !important;
}

.themetest-body .text-gray-700,
.themetest-body .text-gray-800,
.themetest-body .text-gray-900 {
    color: var(--themetest-text) !important;
}

.themetest-body .border-gray-700,
.themetest-body .border-gray-800,
.themetest-body .border-gray-600,
.themetest-body .border-gray-300 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.themetest-body .bg-blue-600,
.themetest-body .bg-blue-500,
.themetest-body .cart-checkout-btn,
.themetest-body .theme-button {
    background: linear-gradient(135deg, var(--themetest-primary), var(--themetest-secondary)) !important;
    color: #042521 !important;
    border: none !important;
    box-shadow: 0 18px 32px rgba(45, 212, 191, 0.24);
}

.themetest-body .bg-blue-600:hover,
.themetest-body .bg-blue-500:hover,
.themetest-body .cart-checkout-btn:hover,
.themetest-body .theme-button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.themetest-body input,
.themetest-body textarea,
.themetest-body select {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-radius: 18px !important;
}

.themetest-body .prose,
.themetest-body .prose p,
.themetest-body .prose li {
    color: var(--themetest-muted) !important;
}

.themetest-body .prose h1,
.themetest-body .prose h2,
.themetest-body .prose h3,
.themetest-body .prose strong,
.themetest-body .prose a {
    color: #fff !important;
}

@keyframes themetestFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, 24px, 0) scale(1.08);
    }
}

@media (max-width: 1024px) {
    .themetest-nav-inner {
        border-radius: 24px;
    }
}

@media (max-width: 767px) {
    .themetest-main {
        margin-top: -0.75rem;
        padding-top: 2.25rem;
    }

    .themetest-nav {
        padding-top: 0.75rem;
    }

    .themetest-nav-inner {
        border-radius: 24px;
    }

    .themetest-footer {
        margin-top: 2.5rem;
    }

    .themetest-footer-link-grid {
        grid-template-columns: 1fr;
    }

    .themetest-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
