/* Alphabet Of Domain Names - Homepage Styles */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

/* Default dark theme */
html:not(.light) body {
    background-color: #0f0f1a;
    color: #ffffff;
}

/* Light mode override */
html.light body {
    background-color: #ffffff;
    color: #1a1a2e;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


.text-lg-1 {

 text-align: center; direction: ltr;
 font-size: 46px;
  font-weight: bold;

}

.text-lg-1-1 {

 text-align: center; direction: ltr;
 font-size: 33px;
  font-weight: bold;

}



.text-lg-2 {

 text-align: left; direction: ltr;
 font-size: 17px;


}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c9c9ce;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4a4b57;
}

::-webkit-scrollbar-thumb:hover {
    background: #a3a4ac;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    }
}

.animate-float {
    animation: float 20s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 25s ease-in-out infinite reverse;
    animation-delay: -5s;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Feature cards hover glow */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

/* Theme preview cards */
.theme-preview {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Stats counter animation */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

/* Button hover effects */
a, button {
    transition: all 0.2s ease;
}

/* Smooth gradient text */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Focus visible styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu {
    transition: all 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Dark mode specific enhancements */
.dark .bg-gradient-radial {
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

/* Selection color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: inherit;
}

/* Loading state for images */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal overflow */
body {
    overflow-x: hidden;
}

/* CTA section pattern overlay */
section:has(.bg-gradient-to-br.from-midnight-900) {
    position: relative;
}
