/*
  [MIG] Task 3.4: Light Trendy Global Styles (Phase 1)
  @author gayul.kim
*/
:root {
    --text-main: #0F172A;
    --text-muted: #64748B;
    --accent-primary: #3B82F6;
    --accent-pink: #EC4899;
    --success: #10B981;
    --font-trendy: 'Plus Jakarta Sans', sans-serif;
    
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    --glass-shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.08);
}

body.trendy-layout {
    color: var(--text-main) !important;
    font-family: var(--font-trendy) !important;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(-45deg, #f8fafc, #eff6ff, #fdf4ff, #f0fdf4) !important;
    background-size: 400% 400% !important;
    animation: gradientBG 15s ease infinite;
}

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

/* Background floating shapes */
.bg-shape {
    position: fixed; border-radius: 50%; filter: blur(80px); opacity: 0.5; z-index: -1;
    will-change: transform; transform: translate3d(0, 0, 0); /* 브라우저 렌더링 글리치(화이트 박스) 방지 */
    animation: floatShape 20s infinite alternate ease-in-out;
}
.shape1 { width: 500px; height: 500px; background: #DBEAFE; top: -10%; left: -5%; }
.shape2 { width: 400px; height: 400px; background: #FCE7F3; bottom: 10%; right: -5%; animation-delay: -5s; }
.shape3 { width: 300px; height: 300px; background: #E0E7FF; top: 40%; left: 40%; animation-duration: 25s; filter: blur(100px); opacity: 0.3;}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.1); }
}

/* Base Glass classes for Phase 2/3 */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.glass-panel:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--glass-shadow-hover);
    border-color: #FFF; background: rgba(255, 255, 255, 0.9);
}

/* Header Styles */
.trendy-header {
    position: fixed;
    top: 0;
    left: 260px;
    right: 0;
    height: 80px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 90;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

/* Common UI Component styling */
.cursor-pointer { cursor: pointer; }

/* Responsive main content margins & flex layout for footer */
.main-content {
    display: flex;
    flex-direction: column;
}

/* Footer Styles */
.footer {
    margin-top: auto; 
    padding: 30px 0 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 18px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

@media (max-width: 991.98px) {
    .main-content {
        margin-left: 0 !important;
        padding: 90px 20px 20px 20px !important;
    }
    .trendy-header { left: 0 !important; width: 100% !important; padding: 0 20px !important; }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-links a { margin: 0 8px; }
}
