/* Essential Tailwind CSS Utilities */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #0C1430;
    color: white;
    overflow-x: hidden;
    overflow-y: hidden;
    /* Prevent body scroll, let content area handle it */
}

html {
    overflow-x: hidden;
    overflow-y: hidden;
    /* Prevent html scroll */
}

/* Fixed Background */
#bg-frug {
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Layout */
.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.sticky {
    position: sticky;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

.-z-10 {
    z-index: -10;
}

/* Display */
.block {
    display: block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

/* Flexbox */
.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Spacing */
.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.m-0 {
    margin: 0;
}

.m-4 {
    margin: 1rem;
}

.m-6 {
    margin: 1.5rem;
}

.m-8 {
    margin: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Sizing */
.w-full {
    width: 100%;
}

.w-screen {
    width: 100vw;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-7xl {
    max-width: 80rem;
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-normal {
    font-weight: 400;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Colors */
.text-white {
    color: #000000;
}

.text-black {
    color: #000000;
}

.text-gray-100 {
    color: #f3f4f6;
}

.text-gray-200 {
    color: #e5e7eb;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-900 {
    color: #111827;
}

.bg-white {
    background-color: #ffffff;
}

.bg-black {
    background-color: #000000;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-gray-300 {
    background-color: #d1d5db;
}

.bg-gray-400 {
    background-color: #9ca3af;
}

.bg-gray-500 {
    background-color: #6b7280;
}

.bg-gray-600 {
    background-color: #4b5563;
}

.bg-gray-700 {
    background-color: #374151;
}

.bg-gray-800 {
    background-color: #1f2937;
}

.bg-gray-900 {
    background-color: #111827;
}

/* Background utilities */
.bg-center {
    background-position: center;
}

.bg-cover {
    background-size: cover;
}

.bg-contain {
    background-size: contain;
}

.bg-no-repeat {
    background-repeat: no-repeat;
}

/* Border */
.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-solid {
    border-style: solid;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

/* Shadows */
.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Opacity */
.opacity-0 {
    opacity: 0;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-100 {
    opacity: 1;
}

/* Transform */
.scale-95 {
    transform: scale(0.95);
}

.scale-100 {
    transform: scale(1);
}

.scale-105 {
    transform: scale(1.05);
}

.scale-110 {
    transform: scale(1.1);
}

/* Transition */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-150 {
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.ease-in {
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover states */
.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:bg-gray-200:hover {
    background-color: #e5e7eb;
}

.hover\:bg-gray-300:hover {
    background-color: #d1d5db;
}

.hover\:bg-gray-400:hover {
    background-color: #9ca3af;
}

.hover\:bg-gray-500:hover {
    background-color: #6b7280;
}

.hover\:bg-gray-600:hover {
    background-color: #4b5563;
}

.hover\:bg-gray-700:hover {
    background-color: #374151;
}

.hover\:bg-gray-800:hover {
    background-color: #1f2937;
}

.hover\:bg-gray-900:hover {
    background-color: #111827;
}

.hover\:text-gray-100:hover {
    color: #f3f4f6;
}

.hover\:text-gray-200:hover {
    color: #e5e7eb;
}

.hover\:text-gray-300:hover {
    color: #d1d5db;
}

.hover\:text-gray-400:hover {
    color: #9ca3af;
}

.hover\:text-gray-500:hover {
    color: #6b7280;
}

.hover\:text-gray-600:hover {
    color: #6b7280;
}

.hover\:text-gray-700:hover {
    color: #374151;
}

.hover\:text-gray-800:hover {
    color: #1f2937;
}

.hover\:text-gray-900:hover {
    color: #111827;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

/* Focus states */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Responsive utilities */
@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }

    .sm\:hidden {
        display: none;
    }

    .sm\:flex {
        display: flex;
    }

    .sm\:grid {
        display: grid;
    }

    .sm\:text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .sm\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .sm\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .sm\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .sm\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .sm\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .sm\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .sm\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .sm\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .sm\:p-4 {
        padding: 1rem;
    }

    .sm\:p-6 {
        padding: 1.5rem;
    }

    .sm\:p-8 {
        padding: 2rem;
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .sm\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .sm\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .sm\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .sm\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .sm\:my-8 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .sm\:my-12 {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .sm\:my-16 {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .sm\:max-w-4xl {
        max-width: 56rem;
    }

    .sm\:max-w-5xl {
        max-width: 64rem;
    }

    .sm\:max-w-6xl {
        max-width: 72rem;
    }

    .sm\:max-w-7xl {
        max-width: 80rem;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sm\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sm\:gap-4 {
        gap: 1rem;
    }

    .sm\:gap-6 {
        gap: 1.5rem;
    }

    .sm\:gap-8 {
        gap: 2rem;
    }

    .sm\:text-left {
        text-align: left;
    }

    .sm\:text-center {
        text-align: center;
    }

    .sm\:text-right {
        text-align: right;
    }
}

@media (min-width: 768px) {

    /* Hide mobile menu toggle on desktop */
    #mobile-menu-toggle {
        display: none !important;
    }

    /* Show desktop sidebar */
    #sidebar {
        display: block !important;
        transform: translateX(0) !important;
    }

    .md\:block {
        display: block;
    }

    .md\:hidden {
        display: none;
    }

    .md\:flex {
        display: flex;
    }

    .md\:grid {
        display: grid;
    }

    .md\:text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .md\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .md\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .md\:p-4 {
        padding: 1rem;
    }

    .md\:p-6 {
        padding: 1.5rem;
    }

    .md\:p-8 {
        padding: 2rem;
    }

    .md\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .md\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .md\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .md\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .md\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .md\:my-8 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .md\:my-12 {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .md\:my-16 {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .md\:max-w-4xl {
        max-width: 56rem;
    }

    .md\:max-w-5xl {
        max-width: 64rem;
    }

    .md\:max-w-6xl {
        max-width: 72rem;
    }

    .md\:max-w-7xl {
        max-width: 80rem;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:gap-4 {
        gap: 1rem;
    }

    .md\:gap-6 {
        gap: 1.5rem;
    }

    .md\:gap-8 {
        gap: 2rem;
    }

    .md\:text-left {
        text-align: left;
    }

    .md\:text-center {
        text-align: center;
    }

    .md\:text-right {
        text-align: right;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:flex-col {
        flex-direction: column;
    }

    .md\:items-start {
        align-items: flex-start;
    }

    .md\:items-center {
        align-items: center;
    }

    .md\:justify-start {
        justify-content: flex-start;
    }

    .md\:justify-center {
        justify-content: center;
    }

    .md\:justify-between {
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:flex {
        display: flex;
    }

    .lg\:grid {
        display: grid;
    }

    .lg\:text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .lg\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .lg\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .lg\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .lg\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .lg\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .lg\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .lg\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .lg\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .lg\:p-4 {
        padding: 1rem;
    }

    .lg\:p-6 {
        padding: 1.5rem;
    }

    .lg\:p-8 {
        padding: 2rem;
    }

    .lg\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lg\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .lg\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .lg\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .lg\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .lg\:my-8 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .lg\:my-12 {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .lg\:my-16 {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .lg\:max-w-4xl {
        max-width: 56rem;
    }

    .lg\:max-w-5xl {
        max-width: 64rem;
    }

    .lg\:max-w-6xl {
        max-width: 72rem;
    }

    .lg\:max-w-7xl {
        max-width: 80rem;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:gap-4 {
        gap: 1rem;
    }

    .lg\:gap-6 {
        gap: 1.5rem;
    }

    .lg\:gap-8 {
        gap: 2rem;
    }

    .lg\:text-left {
        text-align: left;
    }

    .lg\:text-center {
        text-align: center;
    }

    .lg\:text-right {
        text-align: right;
    }

    .lg\:flex-row {
        flex-direction: row;
    }

    .lg\:flex-col {
        flex-direction: column;
    }

    .lg\:items-start {
        align-items: flex-start;
    }

    .lg\:items-center {
        align-items: center;
    }

    .lg\:justify-start {
        justify-content: flex-start;
    }

    .lg\:justify-center {
        justify-content: center;
    }

    .lg\:justify-between {
        justify-content: space-between;
    }
}

@media (min-width: 1280px) {
    .xl\:block {
        display: block;
    }

    .xl\:hidden {
        display: none;
    }

    .xl\:flex {
        display: flex;
    }

    .xl\:grid {
        display: grid;
    }

    .xl\:text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .xl\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .xl\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .xl\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .xl\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .xl\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .xl\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .xl\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .xl\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .xl\:p-4 {
        padding: 1rem;
    }

    .xl\:p-6 {
        padding: 1.5rem;
    }

    .xl\:p-8 {
        padding: 2rem;
    }

    .xl\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .xl\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .xl\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .xl\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .xl\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .xl\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .xl\:my-8 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .xl\:my-12 {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .xl\:my-16 {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .xl\:max-w-4xl {
        max-width: 56rem;
    }

    .xl\:max-w-5xl {
        max-width: 64rem;
    }

    .xl\:max-w-6xl {
        max-width: 72rem;
    }

    .xl\:max-w-7xl {
        max-width: 80rem;
    }

    .xl\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xl\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .xl\:gap-4 {
        gap: 1rem;
    }

    .xl\:gap-6 {
        gap: 1.5rem;
    }

    .xl\:gap-8 {
        gap: 2rem;
    }

    .xl\:text-left {
        text-align: left;
    }

    .xl\:text-center {
        text-align: center;
    }

    .xl\:text-right {
        text-align: right;
    }

    .xl\:flex-row {
        flex-direction: row;
    }

    .xl\:flex-col {
        flex-direction: column;
    }

    .xl\:items-start {
        align-items: flex-start;
    }

    .xl\:items-center {
        align-items: center;
    }

    .xl\:justify-start {
        justify-content: flex-start;
    }

    .xl\:justify-center {
        justify-content: center;
    }

    .xl\:justify-between {
        justify-content: space-between;
    }
}

/* Grid */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.grid-cols-8 {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.grid-cols-9 {
    grid-template-columns: repeat(9, minmax(0, 1fr));
}

.grid-cols-10 {
    grid-template-columns: repeat(10, minmax(0, 1fr));
}

.grid-cols-11 {
    grid-template-columns: repeat(11, minmax(0, 1fr));
}

.grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-scroll {
    overflow: scroll;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

/* User select */
.select-none {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.select-text {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.select-all {
    -webkit-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
    user-select: all;
}

/* Font families */
.font-ui {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

.font-pixel {
    font-family: "Press Start 2P", monospace;
}

.font-terminal {
    font-family: "VT323", monospace;
}

/* Custom CSS Variables */
:root {
    --frug-green-600: #3B7D35;
    --frug-green-400: #5AAE4A;
    --frug-orange: #F39A2E;
    --xp-blue: #2A5CAA;
    --titlebar-dark: #0A246A;
    --titlebar-light: #A6CAF0;
    --win-gray: #C0C0C0;
    --cosmic-navy: #0C1430;
}

/* Custom Component Styles */
/* Note: nav-item styles moved to Navigation & Sidebar section below */

.social-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.2s;
    cursor: pointer;
    padding: 0.25rem;
}

.social-icon:hover {
    color: white;
    transform: scale(1.05);
}

/* Note: system-tray-icon styles moved to Social Icons section below */

/* Glitch Effects */
.glitch-title {
    position: relative;
    display: inline-block;
}

.scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%,
            rgba(0, 0, 0, 0.5) 50%);
    background-size: 100% 4px;
    animation: scanlines 0.1s linear infinite;
    pointer-events: none;
}

.crt-flicker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    animation: flicker 0.15s infinite linear;
    pointer-events: none;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(4px);
    }
}

@keyframes flicker {
    0% {
        opacity: 0.278;
    }

    5% {
        opacity: 0.347;
    }

    10% {
        opacity: 0.236;
    }

    15% {
        opacity: 0.906;
    }

    20% {
        opacity: 0.181;
    }

    25% {
        opacity: 0.51;
    }

    30% {
        opacity: 0.419;
    }

    35% {
        opacity: 0.81;
    }

    40% {
        opacity: 0.605;
    }

    45% {
        opacity: 0.117;
    }

    50% {
        opacity: 0.877;
    }

    55% {
        opacity: 0.014;
    }

    60% {
        opacity: 0.165;
    }

    65% {
        opacity: 0.3;
    }

    70% {
        opacity: 0.876;
    }

    75% {
        opacity: 0.96;
    }

    80% {
        opacity: 0.153;
    }

    85% {
        opacity: 0.737;
    }

    90% {
        opacity: 0.421;
    }

    95% {
        opacity: 0.638;
    }

    100% {
        opacity: 0.278;
    }
}



/* Modal Backdrop */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.video-controls.show {
    transform: translateY(0);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

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

/* Progress Bar */
.progress-bar {
    width: 100%;
    background-color: #374151;
    border-radius: 9999px;
    height: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    background-color: var(--frug-green-400);
    height: 100%;
    transition: all 0.3s ease-out;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #374151;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ========================================
   WINDOWS 98/XP COMPONENT STYLES
   ======================================== */

/* Main Window Container */
.win98-window {
    background: var(--win-gray);
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    box-shadow:
        0 0 0 1px #000,
        0 0 0 2px #fff,
        0 0 0 3px #000,
        0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 0;
    overflow: hidden;
}

/* Titlebar */
.titlebar {
    background: linear-gradient(90deg, var(--titlebar-light) 0%, var(--titlebar-dark) 100%);
    border-bottom: 2px solid #000;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 20px;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.titlebar-icon {
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.titlebar-title {
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 0 #fff;
}

.titlebar-right {
    display: flex;
    gap: 2px;
}

/* Titlebar Buttons */
.titlebar-button {
    width: 16px;
    height: 16px;
    border: 1px solid;
    border-color: #fff #000 #000 #fff;
    background: var(--win-gray);
    font-size: 10px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}

.titlebar-button:hover {
    background: #fff;
    border-color: #000 #fff #fff #000;
}

.titlebar-button:active {
    background: var(--win-gray);
    border-color: #000 #fff #fff #000;
}

.titlebar-button.minimize {
    background: var(--win-gray);
}

.titlebar-button.maximize {
    background: var(--win-gray);
}

.titlebar-button.close {
    background: var(--win-gray);
}

.titlebar-button.close:hover {
    background: #ff0000;
    color: #fff;
}

/* Window Body */
.window-body {
    background: var(--win-gray);
    padding: 8px;
    border: 1px solid #000;
    border-top: none;
    overflow: hidden;
}

/* Windows 98 Buttons */
.win98-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    background: var(--win-gray);
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 12px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.1s ease;
    min-height: 24px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.win98-button:hover {
    background: #fff;
    border-color: #000 #fff #fff #000;
}

.win98-button:active {
    background: var(--win-gray);
    border-color: #000 #fff #fff #000;
    transform: translate(1px, 1px);
}

.win98-button:disabled {
    background: #c0c0c0;
    color: #808080;
    cursor: not-allowed;
    border-color: #808080;
}

.win98-button:disabled:hover {
    background: #c0c0c0;
    border-color: #808080;
    transform: none;
}

/* Button Variants */
.win98-button.primary {
    background: var(--xp-blue);
    color: #fff;
    border-color: #fff #000 #000 #fff;
}

.win98-button.primary:hover {
    background: #4a7bc8;
    border-color: #000 #fff #fff #000;
}

.win98-button.primary:active {
    background: var(--xp-blue);
    border-color: #000 #fff #fff #000;
}

.win98-button.ghost {
    background: transparent;
    color: var(--xp-blue);
    border-color: var(--xp-blue);
}

.win98-button.ghost:hover {
    background: var(--xp-blue);
    color: #fff;
}

/* ========================================
   RIGHT SIDEBAR STYLES
   ======================================== */

/* Right Sidebar - Windows 98 Style */
#right-sidebar {
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    height: 100vh !important;
    width: 200px !important;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
    z-index: 30 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: none !important;
    /* Prevent any transforms */
}

/* Right Sidebar Content */
#right-sidebar .p-4 {
    padding: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Right Sidebar Button Styling */
#right-sidebar .win98-button {
    width: 100%;
    padding: 0.75rem;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    border-radius: 0;
}

#right-sidebar .win98-button.primary {
    background: #2A5CAA;
    color: white;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
}

#right-sidebar .win98-button.primary:hover {
    background: #4a7bc8;
    transform: translate(1px, 1px);
}

#right-sidebar .win98-button.default {
    background: #C0C0C0;
    color: #000;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
}

#right-sidebar .win98-button.default:hover {
    background: #fff;
    transform: translate(1px, 1px);
}

/* Right Sidebar Social Media Icons */
#right-sidebar .social-icon-clean,
#right-sidebar .sidebar-community-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.25rem;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

#right-sidebar .social-icon-clean:hover,
#right-sidebar .sidebar-community-link:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(120%) contrast(100%);
}

.social-icon-clean img,
.sidebar-community-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Mobile Toggle Button */
#mobile-right-toggle {
    background: #2A5CAA !important;
    border: 2px solid !important;
    border-color: #fff #000 #000 #fff !important;
    color: white !important;
    padding: 0.5rem !important;
    border-radius: 0.125rem !important;
    z-index: 10000 !important;
}

#mobile-right-toggle:hover {
    background: #4a7bc8 !important;
    transform: translate(1px, 1px) !important;
}

/* Content Area Adjustment for Fixed Sidebar */
.content-area-with-sidebar {
    margin-left: 256px !important;
    margin-right: 200px !important;
    /* Match right sidebar width */
    margin-bottom: 90vh !important;
    /* Match video section height */
    padding-right: 0 !important;
    transition: margin-left 0.3s ease, margin-right 0.3s ease, margin-bottom 0.3s ease;
    min-height: 100vh;
    height: 100vh;
    /* Fixed height */
    overflow-y: auto;
    /* Enable vertical scrolling */
    overflow-x: hidden;
    /* Hide horizontal scrollbar */
    scroll-behavior: smooth;
    /* Smooth scrolling */
    padding-top: 0;
    /* Remove top padding */
}

/* Custom Scrollbar - Hidden */
.content-area-with-sidebar::-webkit-scrollbar {
    width: 0;
    display: none;
}

.content-area-with-sidebar::-webkit-scrollbar-track {
    display: none;
}

.content-area-with-sidebar::-webkit-scrollbar-thumb {
    display: none;
}

.content-area-with-sidebar::-webkit-scrollbar-thumb:hover {
    display: none;
}

.content-area-with-sidebar::-webkit-scrollbar-corner {
    display: none;
}

/* ========================================
   SOCIAL ICONS STYLES
   ======================================== */

/* Base Social Icon Styles */
/* Note: social-icon styles moved to Social Icons section below */

/* Hero Section Social Icons */
#hero .social-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 0.25rem;
}

#hero .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Taskbar System Tray Icons */
.system-tray-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.125rem;
    border-radius: 0.125rem;
}

.system-tray-icon:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.system-tray-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   NAVIGATION & SIDEBAR STYLES
   ======================================== */

/* Sidebar Navigation - Windows 98 Style */
#sidebar {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    height: 100vh !important;
    width: 256px !important;
    background: rgba(12, 20, 48, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    box-shadow:
        0 0 0 1px #000,
        0 0 0 2px #fff,
        0 0 0 3px #000,
        0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 0;
    overflow: hidden;
    z-index: 30 !important;
    display: flex;
    flex-direction: column;
    transform: none !important;
    /* Prevent any transforms */
}

/* Sidebar Titlebar - Windows 98 Style */
.sidebar-titlebar {
    background: linear-gradient(90deg, var(--titlebar-light) 0%, var(--titlebar-dark) 100%);
    border-bottom: 2px solid #000;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 20px;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sidebar-titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-titlebar-icon {
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-titlebar-title {
    font-family: 'Press Start 2P', 'Courier New', 'Courier', monospace;
    font-size: 10px;
    font-weight: normal;
    color: #ffffff;
    text-shadow: 1px 1px 0 #fff;
    line-height: 1.2;
}

.sidebar-titlebar-right {
    display: flex;
    gap: 2px;
}

.sidebar-titlebar-button {
    width: 16px;
    height: 16px;
    border: 1px solid;
    border-color: #fff #000 #000 #fff;
    background: rgba(12, 20, 48, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}

.sidebar-titlebar-button:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #000 #fff #fff #000;
    color: #0C1430;
}

.sidebar-titlebar-button:active {
    background: rgba(42, 92, 170, 0.8);
    border-color: #000 #fff #fff #000;
}

/* Sidebar Content Area - Windows 98 Style */
.sidebar-content {
    /* background: rgba(12, 20, 48, 0.6); */
    /* backdrop-filter: blur(15px); */
    -webkit-backdrop-filter: blur(15px);
    padding: 20px;
    border: none;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Logo Styling */
.sidebar-logo {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.sidebar-logo-container {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
}

/* Sidebar Title Styling - Removed */

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    color: #ffffff;
    background: rgba(12, 20, 48, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    cursor: pointer;
    transition: all 0.1s ease;
    font-family: 'Press Start 2P', 'Courier New', 'Courier', monospace;
    font-size: 10px;
    font-weight: normal;
    text-decoration: none;
    min-height: 32px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    line-height: 1.3;
    list-style: none;
}

/* Sidebar Divider */
.sidebar-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #c0c0c0, transparent);
    margin: 8px 0;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0;
    list-style: none;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    text-align: center;
}

.sidebar-footer .text-xs {
    font-family: 'Press Start 2P', 'Courier New', 'Courier', monospace;
    font-size: 8px;
    line-height: 1.4;
    color: #ffffff;
}

.nav-item:hover {
    background: #ffffff;
    border-color: #000 #fff #fff #000;
    color: #0C1430;
}

.nav-item:active {
    background: rgba(12, 20, 48, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-color: #000 #fff #fff #000;
    transform: translate(1px, 1px);
}

.nav-item.active {
    background: #ffffff;
    color: #0C1430;
    border-color: #fff #000 #000 #fff;
}

.nav-item.active:hover {
    background: #ffffff;
    border-color: #000 #fff #fff #000;
}

/* ========================================
   TASKBAR & FOOTER STYLES
   ======================================== */

/* Simple Taskbar */
#taskbar {
    background: var(--win-gray);
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    box-shadow: inset -1px -1px 0 #808080;
    width: 100vw;
    height: 48px;
    /* Perfect height for buttons */
    margin: 0;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 30 !important;
    border-radius: 0;
    overflow: hidden;
    transform: none !important;
    /* Prevent any transforms */
}

/* Simple Taskbar Content */
.taskbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
    gap: 16px;
}

/* Buy Button */
.taskbar-buy-btn {
    background: var(--frug-green-400);
    color: white;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    padding: 6px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.1s ease;
    min-height: 28px;
    white-space: nowrap;
}

.taskbar-buy-btn:hover {
    background: var(--frug-green-600);
    border-color: #000 #fff #fff #000;
}

.taskbar-buy-btn:active {
    background: var(--frug-green-400);
    border-color: #000 #fff #fff #000;
    transform: translate(1px, 1px);
}

.taskbar-buy-btn i {
    font-size: 14px;
}

/* Copyright */
.taskbar-copyright {
    color: #000;
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 11px;
    font-weight: normal;
    text-align: center;
    flex: 1;
}

/* Social Buttons */
.taskbar-social {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    text-decoration: none;
    color: inherit;
}

.social-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
    text-decoration: none;
    color: inherit;
}

.social-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
    /* Make icons black */
}

.clock-time {
    font-weight: bold;
    line-height: 1;
}

.clock-date {
    font-size: 8px;
    line-height: 1;
}

/* System Tray Icons in Taskbar */
#taskbar .system-tray-icon {
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
    width: 18px;
    height: 18px;
    padding: 3px;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    background: transparent;
    transition: all 0.1s ease;
}

#taskbar .system-tray-icon:hover {
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(50%) contrast(100%);
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--win-gray);
}

/* Ensure taskbar is above other elements */
#taskbar * {
    z-index: inherit;
}

/* Buy Button */
#buy-btn {
    background: var(--titlebar-light);
    color: var(--titlebar-dark);
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.1s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#buy-btn:hover {
    background: #fff;
    border-color: #000 #fff #fff #000;
}

#buy-btn:active {
    background: var(--titlebar-light);
    border-color: #000 #fff #fff #000;
    transform: translate(1px, 1px);
}

/* Social Media Icons in Footer */
#taskbar .system-tray-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    width: 20px;
    height: 20px;
    padding: 2px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s ease;
}

#taskbar .system-tray-icon:hover {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(120%) contrast(100%);
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--win-gray);
}

/* ========================================
   COMPONENT SPECIFIC STYLES
   ======================================== */

/* Preloader Specific Styles */
#preloader .win98-window {
    max-width: 42rem;
    width: 90vw;
    margin: 0 auto;
}

#preloader .titlebar {
    background: linear-gradient(90deg, var(--titlebar-light) 0%, var(--titlebar-dark) 100%);
    border-bottom: 2px solid #000;
    padding: 6px 8px;
    min-height: 24px;
}

#preloader .titlebar-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

#preloader .titlebar-title {
    font-size: 14px;
    font-weight: bold;
}

#preloader .window-body {
    padding: 1.5rem;
    background: var(--win-gray);
}

#preloader .win98-button {
    font-size: 14px;
    padding: 8px 16px;
    min-height: 28px;
}

#preloader .bg-win-gray\/30 {
    background-color: rgba(192, 192, 192, 0.3);
}

/* Preloader Progress Bar */
#preloader .bg-win-gray\/30 {
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    box-shadow: inset 1px 1px #000;
}

#preloader #progress-bar {
    background: var(--frug-green-400);
    border: 1px solid #000;
    box-shadow: inset 1px 1px #fff;
}

#preloader .text-win-gray {
    color: #000;
    font-weight: 500;
}

/* Preloader Image Styling */
#preloader img[src*="preloader.jpg"] {
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    box-shadow: inset 1px 1px #000;
    background: #fff;
}

/* Ensure Preloader Stays Visible */
#preloader {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    background: var(--cosmic-navy) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#preloader.hidden {
    display: none !important;
}

/* Prevent Main Content from Showing */
#main-content {
    display: none !important;
}

#main-content.show {
    display: block !important;
}

/* Hero Section Specific Styles */
#hero .window-body {
    padding: 2rem;
}

#hero .social-icon {
    transition: all 0.2s ease;
    width: 1.5rem;
    height: 1.5rem;
}

#hero .social-icon:hover {
    transform: scale(1.05);
}

/* Video Controls */
.video-container {
    position: relative;
}

.video-container video {
    border: 2px solid var(--win-gray);
}

/* Filter Controls */
.filter-controls input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: var(--win-gray);
    border: 1px solid #000;
    border-radius: 0;
    outline: none;
}

.filter-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--frug-green-400);
    border: 1px solid #000;
    cursor: pointer;
}

.filter-controls input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--frug-green-400);
    border: 1px solid #000;
    cursor: pointer;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile Navigation Styles */
.border-color-win98 {
    border-color: #fff #000 #000 #fff !important;
}

#mobile-menu-toggle {
    background: var(--titlebar-dark) !important;
    border: 2px solid !important;
    border-color: #fff #000 #000 #fff !important;
    color: white !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.1s ease !important;
    z-index: 10000 !important;
}

#mobile-menu-toggle:hover {
    background: var(--titlebar-light) !important;
    color: var(--titlebar-dark) !important;
}

#mobile-menu-toggle:active {
    transform: translate(1px, 1px) !important;
    border-color: #000 #fff #fff #000 !important;
}

/* Mobile Sidebar */
#sidebar {
    transition: transform 0.3s ease-in-out !important;
}

#sidebar.mobile-open {
    transform: translateX(0) !important;
}

#sidebar.mobile-closed {
    transform: translateX(-100%) !important;
}

/* Mobile Sidebar Windows 98 Styling */
@media (max-width: 768px) {
    #sidebar {
        width: 280px !important;
        max-width: 85vw !important;
        border-width: 1px !important;
    }

    .sidebar-titlebar {
        min-height: 18px !important;
        padding: 3px 6px !important;
    }

    .sidebar-titlebar-title {
        font-size: 9px !important;
    }

    .sidebar-titlebar-button {
        width: 14px !important;
        height: 14px !important;
        font-size: 9px !important;
    }

    .nav-item {
        padding: 6px 10px !important;
        font-size: 8px !important;
        min-height: 24px !important;
        list-style: none !important;
    }

    .sidebar-nav ul {
        list-style: none !important;
    }

    .sidebar-nav li {
        list-style: none !important;
    }
}

@media (max-width: 768px) {
    .win98-window {
        margin: 8px;
        border-width: 1px;
    }

    .titlebar {
        padding: 3px 6px;
        min-height: 18px;
    }

    .titlebar-title {
        font-size: 11px;
    }

    .win98-button {
        padding: 4px 8px;
        font-size: 11px;
        min-height: 20px;
    }

    /* Mobile Sidebar Behavior */
    #sidebar {
        transform: translateX(-100%) !important;
        position: fixed !important;
        z-index: 9999 !important;
        width: 280px !important;
        max-width: 85vw !important;
    }

    #sidebar.mobile-open {
        transform: translateX(0) !important;
    }

    #sidebar.mobile-closed {
        transform: translateX(-100%) !important;
    }

    /* Content Area Mobile */
    .content-area-with-sidebar {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 70vh !important;
        /* Match mobile video section height */
        padding-top: 5rem !important;
        width: 100% !important;
        height: auto !important;
        /* Allow natural height on mobile */
        overflow-y: auto !important;
        scroll-behavior: auto !important;
        /* Disable smooth scroll on mobile */
    }

    /* Taskbar Mobile Styling */
    #taskbar {
        height: 44px !important;
        /* Slightly taller on mobile */
        border-width: 1px !important;
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
    }

    .taskbar-content {
        padding: 0 12px !important;
        gap: 12px !important;
    }

    .taskbar-buy-btn {
        padding: 6px 14px !important;
        font-size: 11px !important;
        min-height: 28px !important;
    }

    .taskbar-copyright {
        font-size: 10px !important;
    }

    .social-btn {
        width: 24px !important;
        height: 24px !important;
    }

    .social-btn img {
        width: 18px !important;
        height: 18px !important;
        filter: brightness(0) saturate(100%) !important;
        /* Make icons black on mobile */
    }

    /* Hide right sidebar on mobile */
    #right-sidebar {
        display: none !important;
    }

    /* Mobile Menu Toggle */
    #mobile-menu-toggle {
        display: block !important;
        position: fixed !important;
        top: 1rem !important;
        left: 1rem !important;
        z-index: 10000 !important;
    }

    /* Hide desktop sidebar on mobile */
    #sidebar {
        display: block !important;
        transform: translateX(-100%) !important;
    }

    #sidebar.mobile-open {
        transform: translateX(0) !important;
    }

    /* Mobile Overlay */
    .mobile-overlay {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9998 !important;
        display: none !important;
    }

    .mobile-overlay.active {
        display: block !important;
    }

    /* Mobile Sidebar Transformations */
    #sidebar {
        transition: transform 0.3s ease, opacity 0.3s ease !important;
    }

    #right-sidebar {
        transition: transform 0.3s ease, opacity 0.3s ease !important;
    }

    /* Mobile Sidebar Initial State - Override desktop styles */
    @media (max-width: 768px) {
        #sidebar {
            transform: translateX(-100%) !important;
            opacity: 0 !important;
            z-index: 9999 !important;
        }

        #right-sidebar {
            transform: translateX(100%) !important;
            opacity: 0 !important;
            z-index: 9999 !important;
        }

        /* Override desktop transform */
        #sidebar.mobile-open {
            transform: translateX(0) !important;
            opacity: 1 !important;
        }

        #right-sidebar.mobile-open {
            transform: translateX(0) !important;
            opacity: 1 !important;
        }
    }

    #hero .window-body {
        padding: 1.5rem 1rem;
    }

    #hero .social-icon {
        transform: scale(0.95);
        width: 1.25rem;
        height: 1.25rem;
    }

    .social-icon {
        width: 1.25rem;
        height: 1.25rem;
        padding: 0.125rem;
    }

    .system-tray-icon {
        width: 1.125rem;
        height: 1.125rem;
    }

    /* Right sidebar sudah diatur dengan grid di CSS utama */
    /* .right-sidebar-panel {
        width: 100% !important;
        z-index: 9999 !important;
    }

    .right-sidebar-panel.translate-x-full {
        transform: translateX(100%) !important;
    } */
}

@media (max-width: 1024px) {
    #right-sidebar {
        width: 200px !important;
    }
}

/* ========================================
   ACCESSIBILITY & ANIMATIONS
   ======================================== */

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {

    .win98-button,
    .nav-item,
    #start-btn,
    #mobile-menu-toggle {
        transition: none;
    }

    .win98-button:active {
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .win98-window {
        border-color: #000 #000 #000 #000;
        border-width: 3px;
    }

    .titlebar {
        background: #000;
        color: #fff;
    }

    .titlebar-title {
        color: #fff;
        text-shadow: none;
    }

    .win98-button {
        border-color: #000 #000 #000 #000;
        border-width: 3px;
    }
}

/* Mobile Menu Toggle */
#mobile-menu-toggle {
    background: rgba(12, 20, 48, 0.9);
    border: 2px solid var(--win-gray);
    border-color: #fff #000 #000 #fff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.1s ease;
}

#mobile-menu-toggle:hover {
    background: rgba(42, 92, 170, 0.8);
}

#mobile-menu-toggle:active {
    transform: translate(1px, 1px);
    border-color: #000 #fff #fff #000;
}

/* Ensure consistent spacing */
.social-icon+.social-icon {
    margin-left: 0.75rem;
}

/* Smooth transitions */
.social-icon,
.system-tray-icon {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   VIDEO WINDOWS STYLING
   ======================================== */

/* Video Section Height */
#videos {
    min-height: 90vh;
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

/* Video Windows Container */
#videos .relative {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 2rem;
    min-height: calc(100vh - 200px);
}

/* Video Window Styling */
#videos .win98-window {
    position: absolute;
    min-width: 320px;
    max-width: 400px;
    background: #c0c0c0;
    border: 2px solid var(--win-gray);
    border-color: #fff #000 #000 #fff;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.1s ease;
}

#videos .win98-window:hover {
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

/* Video Window Titlebar */
#videos .win98-window .titlebar {
    background: linear-gradient(to right, #000080, #1084d0);
    color: white;
    padding: 4px 8px;
    cursor: move;
    -webkit-user-select: none;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
}

#videos .win98-window .titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

#videos .win98-window .titlebar-icon {
    font-size: 16px;
}

#videos .win98-window .titlebar-title {
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

#videos .win98-window .titlebar-right {
    display: flex;
    gap: 2px;
}

/* Titlebar Buttons */
#videos .win98-window .titlebar-button {
    width: 20px;
    height: 20px;
    background: #c0c0c0;
    border: 1px solid var(--win-gray);
    border-color: #fff #000 #000 #fff;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}

#videos .win98-window .titlebar-button:hover {
    background: #d4d4d4;
}

#videos .win98-window .titlebar-button:active {
    background: #a0a0a0;
    border-color: #000 #fff #fff #000;
    transform: translate(1px, 1px);
}

/* Video Window Body */
#videos .win98-window .window-body {
    background: #c0c0c0;
    padding: 16px;
    border-top: 1px solid #fff;
}

/* Video Container */
#videos .win98-window .video-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #000;
    border-radius: 2px;
    background: #000;
}

/* Video Element */
#videos .win98-window video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    object-fit: contain;
}

/* Video Controls */
#videos .win98-window .flex.items-center.gap-2 {
    background: #d4d4d4;
    padding: 8px;
    border: 1px solid var(--win-gray);
    border-color: #000 #fff #fff #000;
    border-radius: 2px;
}

/* Progress Bar */
#videos .win98-window .progress-bar {
    background: linear-gradient(to right, var(--frug-green-400), #4ade80);
    border: 1px solid #000;
    border-radius: 1px;
    transition: width 0.1s ease;
}

/* Filter Controls */
#videos .win98-window .filter-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 16px;
    background: #d4d4d4;
    border: 1px solid var(--win-gray);
    border-color: #000 #fff #fff #000;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

#videos .win98-window .filter-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #c0c0c0;
    border: 1px solid var(--win-gray);
    border-color: #fff #000 #000 #fff;
    border-radius: 2px;
    cursor: pointer;
}

#videos .win98-window .filter-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #c0c0c0;
    border: 1px solid var(--win-gray);
    border-color: #fff #000 #000 #fff;
    border-radius: 2px;
    cursor: pointer;
}

#videos .win98-window .filter-slider:focus {
    border-color: #000080;
}

/* Status Strip */
#videos .win98-window .text-xs.text-win-gray.text-center.border-t {
    background: #d4d4d4;
    border-top: 1px solid #000;
    padding: 4px 8px;
    font-size: 10px;
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    #videos .win98-window {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: none;
        margin-bottom: 16px;
        z-index: auto !important;
    }

    #videos .relative {
        min-height: auto;
        padding: 8px 0;
        margin-bottom: 1rem;
    }

    #videos .win98-window .window-body {
        padding: 12px;
    }

    #videos .win98-window .flex.items-center.gap-2 {
        flex-wrap: wrap;
        gap: 8px;
    }

    #videos .win98-window .flex.items-center.gap-2>* {
        flex: 1;
        min-width: 0;
    }

    /* Mobile Video Container */
    #videos .win98-window .video-container {
        margin-bottom: 12px;
    }

    #videos .win98-window video {
        max-height: 200px;
        object-fit: cover;
    }
}

/* Drag and Drop Visual Feedback */
#videos .win98-window.dragging {
    opacity: 0.8;
    transform: scale(1.02);
    z-index: 9999 !important;
}

/* Maximized State */
#videos .win98-window.maximized {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
}

/* Minimized State */
#videos .win98-window.minimized {
    display: none;
}

/* Focus State */
#videos .win98-window:focus-within {
    box-shadow: 0 0 0 2px #000080, 2px 2px 0 rgba(0, 0, 0, 0.3);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    #videos .win98-window {
        transition: none;
    }

    #videos .win98-window .progress-bar {
        transition: none;
    }

    #videos .win98-window .titlebar-button {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    #videos .win98-window {
        border-width: 3px;
        border-color: #000;
    }

    #videos .win98-window .titlebar {
        background: #000;
        border-bottom: 3px solid #000;
    }

    #videos .win98-window .window-body {
        border-top: 3px solid #000;
    }
}

/* ========================================
   GALLERY STYLING
   ======================================== */

/* Gallery Section Spacing */
#gallery {
    margin-top: 2rem;
    padding-top: 2rem;
    padding-left: 0;
    padding-right: 0;
}

/* Gallery Grid */
#gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#gallery .gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#gallery .gallery-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#gallery .gallery-item:hover img {
    filter: brightness(1.1) contrast(1.05);
}

/* Gallery Controls */
#gallery .win98-button {
    transition: all 0.2s ease;
}

#gallery .win98-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#gallery .win98-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Category Tabs */
#gallery .gallery-tab {
    background: #d4d4d4;
    border: 1px solid var(--win-gray);
    border-color: #000 #fff #fff #000;
    color: #000;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#gallery .gallery-tab:hover {
    background: #fff;
    border-color: #000 #fff #fff #000;
}

#gallery .gallery-tab.active {
    background: var(--frug-green-400);
    color: white;
    border-color: #000;
}

/* Gallery Item Categories */
#gallery .gallery-item[data-category="space"] {
    border-color: #4ade80;
    /* frug-green-400 */
}

/* Gallery Mobile Responsive */
@media (max-width: 768px) {
    #gallery {
        margin-top: 1rem;
        padding-top: 1rem;
        padding-left: 0;
        padding-right: 0;
    }

    #gallery .win98-window {
        margin: 0;
    }

    #gallery .gallery-item img {
        height: 120px;
    }
}

#gallery .gallery-item[data-category="throne"] {
    border-color: #fbbf24;
    /* amber-400 */
}

#gallery .gallery-item[data-category="work"] {
    border-color: #60a5fa;
    /* blue-400 */
}

#gallery .gallery-item[data-category="ocean"] {
    border-color: #34d399;
    /* emerald-400 */
}

/* Responsive Design */
@media (max-width: 768px) {
    #gallery .gallery-item img {
        aspect-ratio: 1/1;
        /* Keep square aspect ratio on mobile */
    }

    #gallery .flex.flex-col.sm\\:flex-row {
        flex-direction: column;
        gap: 16px;
    }

    #gallery .gallery-tab {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* Loading States */
#gallery .gallery-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

#gallery .gallery-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--frug-green-400);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    #gallery .gallery-item,
    #gallery .gallery-item img,
    #gallery .win98-button,
    #gallery .gallery-tab {
        transition: none;
    }

    #gallery .gallery-item:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    #gallery .gallery-item {
        border-width: 3px;
    }

    #gallery .gallery-tab {
        border-width: 3px;
    }
}

#toast {
    position: fixed;
    bottom: 20px;
    right: 16px;
    background-color: #059669;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    transform: translateY(100%) !important;
    transition: transform 0.3s ease;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

#toast.show {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

/* Hero Section Specific Styles */
#hero .window-body {
    background: linear-gradient(135deg, rgba(12, 20, 48, 0.8), rgba(12, 20, 48, 0.6));
}

/* Hero Title Container with Windows 98/XP Border */
.hero-title-container {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--titlebar-dark);
    border: 3px solid;
    border-color: #fff #000 #000 #fff;
    box-shadow:
        inset -2px -2px 0 #808080,
        inset 2px 2px 0 #c0c0c0;
    position: relative;
}

.hero-title-container::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid #000;
    pointer-events: none;
}

.hero-title-line {
    text-align: center;
    line-height: 1.2;
}

.hero-title-text {
    font-family: 'Press Start 2P', 'Courier New', 'Courier', monospace;
    font-size: 1.5rem;
    font-weight: normal;
    color: #5aae4a;
    text-shadow: 1px 1px 0 #000000;
    letter-spacing: 2px;
}

.hero-title-main {
    font-family: 'Press Start 2P', 'Courier New', 'Courier', monospace;
    font-size: 3rem;
    font-weight: normal;
    color: var(--frug-green-400);
    text-shadow:
        2px 2px 0 #000,
        4px 4px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 4px;
    display: block;
}

/* CA Address Container */
.ca-address-container {
    display: inline-block;
    padding: 1rem 1.5rem;
    background: var(--titlebar-light);
    border: 2px solid;
    border-color: #000 #fff #fff #000;
    box-shadow:
        inset -1px -1px 0 #808080,
        inset 1px 1px 0 #c0c0c0;
    position: relative;
    min-width: 300px;
}

.ca-address-container::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border: 1px solid #fff;
    pointer-events: none;
}

.ca-address-label {
    font-family: 'Press Start 2P', 'Courier New', 'Courier', monospace;
    font-size: 0.75rem;
    font-weight: normal;
    color: var(--titlebar-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.ca-address-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ca-text {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--titlebar-dark);
    background: #fff;
    padding: 0.25rem 0.5rem;
    border: 1px solid #000;
    border-radius: 2px;
    letter-spacing: 1px;
}

.ca-copy-btn {
    background: var(--titlebar-light);
    border: 2px solid;
    border-color: #fff #000 #000 #fff;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.1s ease;
    font-size: 1rem;
    border-radius: 2px;
}

.ca-copy-btn:hover {
    background: #fff;
    border-color: #000 #fff #fff #000;
}

.ca-copy-btn:active {
    transform: translate(1px, 1px);
    border-color: #000 #fff #fff #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title-container {
        padding: 0.75rem 1.5rem;
    }

    .hero-title-text {
        font-size: 1.25rem;
    }

    .hero-title-main {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .ca-address-container {
        min-width: 280px;
        padding: 0.75rem 1rem;
    }

    .ca-text {
        font-size: 0.75rem;
    }
}