body, html {
    background-color: #000000 ;
    color: #fff;
    font-family: 'Anton', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Loading Skeleton Animations */
.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #333 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

.navigation {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin: 0.2rem 0.3rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link.active,
.nav-link:hover {
    background-color: #FD5A46;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 90, 70, 0.3);
}

.nav-link:focus {
    outline: 2px solid #FD5A46;
    outline-offset: 2px;
}

/* Exclusive Navigation Button */
.exclusive-nav {
    font-family: 'Anton', sans-serif !important;
    font-size: 1.15rem !important;
    padding: 0.7rem 1.4rem !important;
    border-radius: 7px !important;
    margin: 0.2rem 0.3rem !important;
    letter-spacing: 2px !important;
    background: linear-gradient(270deg, #ff0080, #ff8c00, #40e0d0, #ff0080, #ff8c00, #40e0d0) !important;
    background-size: 1200% 1200% !important;
    color: #fff !important;
    text-shadow: 0 0 4px #fff, 0 0 8px #ff0080, 0 0 12px #40e0d0 !important;
    box-shadow: 0 0 8px 2px #ff0080, 0 0 12px 4px #40e0d0 !important;
    animation: rainbow-glow 3s linear infinite, exclusive-glow 1.5s alternate infinite !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
    display: inline-block !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    overflow: hidden !important;
}

.exclusive-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.exclusive-nav:hover::before {
    left: 100%;
}

.exclusive-nav:hover, .exclusive-nav:focus {
    transform: scale(1.05) translateY(-2px) !important;
    filter: brightness(1.1) saturate(1.2) !important;
    box-shadow: 0 0 16px 4px #fff, 0 0 32px 8px #ff0080, 0 0 48px 12px #40e0d0 !important;
    outline: none !important;
    text-shadow: 0 0 6px #fff, 0 0 12px #ff0080, 0 0 18px #40e0d0 !important;
}

.exclusive-nav:active {
    transform: scale(0.98) translateY(0) !important;
    transition: all 0.1s ease !important;
}

@keyframes rainbow-glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes exclusive-glow {
    0% { box-shadow: 0 0 18px 4px #ff0080, 0 0 32px 8px #40e0d0; }
    100% { box-shadow: 0 0 32px 12px #ff8c00, 0 0 48px 16px #ff0080; }
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 20px;
}

.loading, .error, .no-themes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    font-size: 1.5rem;
    color: #FD5A46;
    animation: fadeIn 0.6s ease-in-out;
}

.error {
    color: #ff4444;
}

.no-themes {
    color: #888;
}

/* Loading Skeleton for theme folders */
.theme-folder-skeleton {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: linear-gradient(90deg, #1a1a1a 25%, #333 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.theme-folder {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #FD5A46;
    border-radius: 8px;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.theme-folder:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(253, 90, 70, 0.2);
}

.theme-folder:focus {
    outline: 3px solid #FD5A46;
    outline-offset: 4px;
}

.theme-folder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease;
    border-radius: 8px;
}

.theme-folder:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.theme-folder .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(253, 90, 70, 0.3));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    letter-spacing: 0.1rem;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    backdrop-filter: blur(2px);
}

.theme-folder:hover .overlay {
    opacity: 1;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Theme toggle container */
.theme-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.theme-toggle {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.theme-toggle:hover {
    background: rgba(253, 90, 70, 0.8);
    transform: translateY(-2px);
}

/* About section styles */
.about-section {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.about-image {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(253, 90, 70, 0.3);
}

.about-text h2 {
    color: #FD5A46;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #ccc;
    font-size: 1.1rem;
}

/* Social sharing buttons */
.social-share {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.share-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
}

.share-btn:hover {
    background: #FD5A46;
    transform: translateY(-2px);
}

/* Media query for tablets and desktops */
@media (min-width: 768px) {
    .gallery {
        column-count: 3;
        max-width: 1200px;
        padding: 2rem;
        column-gap: 1.5rem;
    }

    /* Reset mobile spans */
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(6) {
        grid-column: auto;
    }

    /* Create a more interesting layout for larger screens */
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .gallery {
        column-count: 4;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-image {
        justify-self: center;
        max-width: 200px;
        height: 200px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 700px) {
    .navigation {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.7rem 0.5rem;
        gap: 0.2rem;
    }
    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 0.7rem;
        margin: 0.1rem 0.1rem;
    }
    
    .showcase-grid {
        gap: 1rem;
        padding: 1rem;
    }
    
    .theme-toggle-container {
        top: 10px;
        right: 10px;
    }
}

/* Light theme styles */
body[data-theme="light"] {
    background-color: #f8f9fa !important;
    color: #333 !important;
}

[data-theme="light"] .navigation {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-link {
    color: #333;
}

[data-theme="light"] .nav-link.active,
[data-theme="light"] .nav-link:hover {
    background-color: #FD5A46;
    color: #fff;
}

[data-theme="light"] .theme-folder {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-folder:hover {
    box-shadow: 0 12px 30px rgba(253, 90, 70, 0.15);
}

[data-theme="light"] .about-section {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    color: #333;
}

[data-theme="light"] .about-text p {
    color: #666;
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Explicit Dark Theme Styles */
[data-theme="dark"] {
    background-color: #181818 !important;
    color: #fff !important;
}
[data-theme="dark"] .navigation {
    background-color: rgba(24, 24, 24, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .nav-link {
    color: #fff !important;
}
[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .nav-link:hover {
    background-color: #FD5A46 !important;
    color: #fff !important;
}
[data-theme="dark"] .theme-folder {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}
[data-theme="dark"] .theme-folder:hover {
    box-shadow: 0 12px 30px rgba(253, 90, 70, 0.25) !important;
}
[data-theme="dark"] .about-section {
    background: linear-gradient(135deg, #232323, #181818) !important;
    color: #fff !important;
}
[data-theme="dark"] .about-text p {
    color: #ccc !important;
}
[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.navigation .exclusive-gradient-text {
  font-size: clamp(1.3rem, 3vw, 2.2rem) !important;
  font-family: 'Anton', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  background: linear-gradient(270deg, #ff0080, #ff8c00, #40e0d0, #ff0080) !important;
  background-size: 400% 400% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  animation: gradientShift 4s ease-in-out infinite !important;
  text-shadow: 0 0 20px rgba(255, 0, 128, 0.5) !important;
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 1.2rem !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
}

.navigation .exclusive-gradient-text:visited,
.navigation .exclusive-gradient-text:active,
.navigation .exclusive-gradient-text:focus {
  color: transparent !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
.navigation .exclusive-gradient-text:hover {
  filter: brightness(1.2) saturate(1.3) !important;
  text-shadow: 0 0 48px #ff0080, 0 0 24px #ff0080, 0 0 12px #ff0080 !important;
  transform: scale(1.05) translateY(-2px) !important;
  background-color: transparent !important;
}

 