/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 50%, #e2e8f0 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(247, 250, 252, 0.95) 0%, 
        rgba(237, 242, 247, 0.95) 50%, 
        rgba(226, 232, 240, 0.95) 100%);
    backdrop-filter: blur(20px);
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(226, 232, 240, 0.3), rgba(237, 242, 247, 0.2));
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 70%;
    animation-delay: -15s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 40%;
    left: 50%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
}

.badge-text {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 50px;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
    to {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #2d3748;
}

.title-line-1, .title-line-2 {
    display: block;
    opacity: 0;
    animation: slideInUp 1s ease-out forwards;
}

.title-line-2 {
    animation-delay: 0.2s;
}

.title-highlight {
    display: block;
    background: linear-gradient(45deg, #4299e1, #3182ce, #2b77cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.8em;
    margin-top: 0.5rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.4s forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

.btn-hero {
    position: relative;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.btn-primary {
    background: linear-gradient(45deg, #4299e1, #3182ce);
    color: white;
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(66, 153, 225, 0.4);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #4a5568;
    border: 2px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(226, 232, 240, 0.8);
    transform: translateY(-3px);
    color: #4a5568;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.cloud-container {
    position: relative;
    display: inline-block;
}

.cloud-main {
    position: relative;
    font-size: 12rem;
    color: rgba(160, 174, 192, 0.6);
    animation: cloudFloat 4s ease-in-out infinite;
}

.cloud-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.icon-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 1.5rem;
    animation: iconFloat 6s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.3);
}

.icon-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 10%;
    animation-delay: -1s;
}

.icon-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: -2s;
}

.icon-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: -3s;
}

.icon-5 {
    top: 50%;
    left: 5%;
    animation-delay: -4s;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(120deg);
    }
    66% {
        transform: translateY(-30px) rotate(240deg);
    }
}

/* Section Styles */
.features-section,
.dashboard-section,
.recent-files-section {
    padding: 60px 0;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

.section-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-badge .badge-text {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(45deg, #4299e1, #3182ce);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.2);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.title-gradient {
    background: linear-gradient(45deg, #4299e1, #3182ce, #2b77cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Feature Cards */
.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(66, 153, 225, 0.2);
}

.feature-icon {
    margin-bottom: 2rem;
}

.icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.icon-bg-1 {
    background: linear-gradient(45deg, #4299e1, #3182ce);
}

.icon-bg-2 {
    background: linear-gradient(45deg, #48bb78, #38a169);
}

.icon-bg-3 {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-description {
    color: #718096;
    line-height: 1.7;
    font-size: 1rem;
}

.feature-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(66, 153, 225, 0.05), rgba(49, 130, 206, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-glow {
    opacity: 1;
}

/* Dashboard Cards */
.dashboard-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(66, 153, 225, 0.2);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.icon-bg-upload {
    background: linear-gradient(45deg, #4299e1, #3182ce);
}

.icon-bg-manage {
    background: linear-gradient(45deg, #48bb78, #38a169);
}

.icon-bg-public {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
}

.icon-bg-stats {
    background: linear-gradient(45deg, #9f7aea, #805ad5);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #2d3748;
}

.card-description {
    color: #718096;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: linear-gradient(45deg, #4299e1, #3182ce);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.2);
}

.card-btn:hover {
    transform: translateX(5px);
    color: white;
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(66, 153, 225, 0.03), rgba(49, 130, 206, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-card:hover .card-glow {
    opacity: 1;
}

/* File Cards */
.file-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(66, 153, 225, 0.2);
}

.file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.file-icon .icon-bg {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.icon-bg-image {
    background: linear-gradient(45deg, #f56565, #e53e3e);
}

.icon-bg-video {
    background: linear-gradient(45deg, #9f7aea, #805ad5);
}

.icon-bg-pdf {
    background: linear-gradient(45deg, #f56565, #e53e3e);
}

.icon-bg-word {
    background: linear-gradient(45deg, #4299e1, #3182ce);
}

.icon-bg-archive {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
}

.icon-bg-default {
    background: linear-gradient(45deg, #718096, #4a5568);
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

.download-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(45deg, #4299e1, #3182ce);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.2);
}

.download-btn:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.3);
}

.file-content {
    position: relative;
    z-index: 2;
}

.file-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
    line-height: 1.4;
}

.file-description {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.file-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #a0aec0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-item i {
    width: 12px;
    text-align: center;
    color: #cbd5e0;
}

.file-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(66, 153, 225, 0.03), rgba(49, 130, 206, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-card:hover .file-glow {
    opacity: 1;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #718096;
    margin-bottom: 1rem;
}

.empty-description {
    color: #a0aec0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Welcome Badge */
.welcome-badge .badge-text {
    background: linear-gradient(45deg, #48bb78, #38a169);
}

/* Buttons */
.btn {
    position: relative;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btn-outline-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #4299e1;
    border: 2px solid #4299e1;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-outline-primary:hover {
    background: #4299e1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.3);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Alert Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-danger {
    background: rgba(254, 178, 178, 0.1);
    color: #c53030;
    border-color: rgba(254, 178, 178, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .feature-card,
    .dashboard-card {
        margin-bottom: 1.5rem;
    }
    
    .cloud-main {
        font-size: 8rem;
    }
    
    .floating-icons {
        display: none;
    }
    
    .file-meta {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%) !important;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .dashboard-card,
    .file-card {
        padding: 1.5rem;
    }
    
    .cloud-main {
        font-size: 6rem;
    }
}

/* Animations */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4299e1, #3182ce);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #3182ce, #2b77cb);
}

/* 네비게이션 개선 - 청색 스타일 */
.navbar {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 50%, #2b77cb 100%) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(66, 153, 225, 0.3);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(66, 153, 225, 0.2);
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link {
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-link:hover {
    color: #e6f3ff !important;
    transform: translateY(-1px);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #e6f3ff 0%, #ffffff 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* 드롭다운 메뉴 개선 - 청색 스타일 */
.dropdown-menu {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.95) 0%, rgba(49, 130, 206, 0.95) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(66, 153, 225, 0.3);
    box-shadow: 0 4px 20px rgba(66, 153, 225, 0.2);
}

.dropdown-item {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #e6f3ff !important;
}

/* navbar-text 스타일 개선 - 청색 스타일 */
.navbar-text {
    color: #ffffff !important;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    text-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 풋터 스타일 - 청색 스타일 */
.footer {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 50%, #2b77cb 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(66, 153, 225, 0.3);
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer a {
    color: #e6f3ff !important;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 12px;
    padding: 12px 16px;
    color: #2d3748;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    color: #2d3748;
}

.form-label {
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Table Styles */
.table {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.table th {
    background: rgba(247, 250, 252, 0.8);
    color: #4a5568;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.table td {
    color: #2d3748;
    border-color: rgba(226, 232, 240, 0.3);
    padding: 1rem;
}

.table tbody tr:hover {
    background: rgba(247, 250, 252, 0.5);
}

/* Folder Card Styles */
.folder-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.folder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #cbd5e0;
}

.folder-icon {
    transition: color 0.2s;
}

.folder-card:hover .folder-icon i {
    color: #f6ad55 !important;
    transform: scale(1.1);
}

.folder-info {
    background-color: #f7fafc;
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin: 0.5rem 0;
}

.folder-info small {
    font-size: 0.75rem;
    line-height: 1.4;
}

.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #6c757d;
}

/* File Management Card Styles */
.file-management-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e2e8f0;
}

.file-management-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #cbd5e0;
}

/* 관리자 페이지 모바일 스타일 */
.user-card, .file-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.user-card:hover, .file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.user-stats, .file-details {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 0.75rem;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .btn-group {
        flex-wrap: wrap;
    }
    
    .pagination {
        font-size: 0.875rem;
    }
    
    .page-link {
        padding: 0.375rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.875rem;
    }
}

/* 관리자 드롭다운 메뉴 스타일 */
.dropdown-menu {
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.dropdown-item.active {
    background-color: #007bff;
    color: white;
}

.dropdown-item.active:hover {
    background-color: #0056b3;
    color: white;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* 모바일 드롭다운 개선 */
@media (max-width: 767.98px) {
    .dropdown-menu {
        width: 100% !important;
        margin-top: 0.5rem;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* 데스크톱 드롭다운 위치 조정 */
@media (min-width: 768px) {
    .dropdown-menu-end {
        right: 0;
        left: auto;
    }
}