.card {
    transition: transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.navbar {
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #ff0000;
    border-color: #ff0000;
}

.btn-primary:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ff0000, #ff4444);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Top 3 ranks special styling */
.card:nth-child(1) .rank-badge {
    background: linear-gradient(45deg, #ffd700, #ffa500);
}

.card:nth-child(2) .rank-badge {
    background: linear-gradient(45deg, #c0c0c0, #a9a9a9);
}

.card:nth-child(3) .rank-badge {
    background: linear-gradient(45deg, #cd7f32, #b87333);
}

/* Language selector styles */
.language-selector {
    display: flex;
    gap: 0.5rem;
}

.language-selector .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.language-selector .btn.active {
    background-color: #ff0000;
    border-color: #ff0000;
}

/* Description styles */
.description {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer styles */
footer {
    margin-top: 3rem;
    padding: 2rem 0;
}

footer h5 {
    color: #ff0000;
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 0;
    opacity: 0.8;
}

footer a {
    text-decoration: none;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 0.8;
}

.social-links a {
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.partnership-grid {
    margin-top: 0.5rem;
}

.partnership-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.partnership-card-title {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 1rem;
}

.partnership-card-text {
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.partnership-card a {
    text-decoration: none;
}

.partnership-card a:hover {
    opacity: 0.85;
}

/* Category filter styles */
.category-filter .btn-group {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-filter .btn {
    border-radius: 20px;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

/* Last updated styles */
.last-updated {
    padding: 0.5rem 0;
}

/* Korean trends banner */
.korean-trends-banner .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.korean-trends-banner .card-title {
    color: #ff0000;
    font-weight: 700;
}

/* Video preview modal */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.video-preview-container {
    background-color: #000000;
}

.video-preview-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.video-preview-spinner.is-visible {
    display: flex;
}

.video-preview-iframe {
    z-index: 1;
}

/* Share buttons */
.btn-group .btn-outline-secondary {
    border-color: #dee2e6;
    color: #6c757d;
}

.btn-group .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    color: #343a40;
}

.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Partnership modal styles */
.form-label {
    font-weight: 500;
}

.form-control:focus, .form-select:focus {
    border-color: #ff0000;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25);
}

.google-form-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.google-form-container iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-selector {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .navbar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar-brand {
        margin-bottom: 1rem;
    }
    
    .category-filter .btn-group {
        justify-content: center;
    }
    
    .last-updated {
        text-align: center;
        margin-top: 1rem;
    }
    
    footer .col-md-4,
    footer .col-md-8 {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .partnership-grid {
        margin-top: 1rem;
    }

    .partnership-card {
        text-align: left;
    }
    
    footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .google-form-container {
        height: 600px;
    }
} 
