/* Custom CSS to complement Tailwind CSS */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #111415;
    color: #e1e3e4;
    font-family: 'Noto Sans KR', 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* Glassmorphic Panel Styles */
.glass-panel {
    background: rgba(17, 20, 21, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.05), 
                0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    border-color: rgba(255, 182, 143, 0.2);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), 
                0 12px 40px 0 rgba(255, 182, 143, 0.05),
                0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Premium Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #ffb68f 0%, #ffdbca 50%, #a7c8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, #ffb68f 0%, #e0a382 100%);
    transition: all 0.3s ease;
}

.bg-gradient-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(255, 182, 143, 0.4);
}

/* Atmospheric Glow Effects with Slow Pulse Animation */
.glow-effect {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 182, 143, 0.12) 0%, rgba(255, 182, 143, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float-glow-orange 12s infinite alternate ease-in-out;
}

.glow-effect-blue {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(167, 200, 255, 0.08) 0%, rgba(167, 200, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float-glow-blue 15s infinite alternate ease-in-out;
}

@keyframes float-glow-orange {
    0% {
        transform: translate(-10%, -10%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(5%, 5%) scale(1.1);
        opacity: 1.1;
    }
}

@keyframes float-glow-blue {
    0% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(-5%, -5%) scale(0.95);
        opacity: 1.1;
    }
}

/* Custom Scrollbar for Legal Container */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 182, 143, 0.3);
}

/* Legal Content Text Formatting */
.legal-content h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid #ffb68f;
    padding-left: 0.75rem;
}

.legal-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul {
    margin-bottom: 1rem;
}

.legal-content li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.25rem;
}

.legal-content li::before {
    content: "•";
    color: #ffb68f;
    position: absolute;
    left: 0.25rem;
    font-weight: bold;
}

/* Micro-animations */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-scale:hover {
    transform: scale(1.03);
}
