/* TikTok Video İndirici Stilleri */
:root {
    --tiktok-red: #fe2c55;
    --tiktok-blue: #25f4ee;
}

/* Splash Screen */
#splash-screen {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

#splash-screen.hidden {
    opacity: 0;
}

#splash-screen:not(.hidden) {
    opacity: 1;
}

.loading-bar {
    width: 0;
    animation: loading 2s ease-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* Genel Stiller */
body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.2s;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--tiktok-red);
    transition: width 0.2s ease-out;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: max-height 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.show {
    max-height: 300px;
}

/* Dark Mode */
.dark body {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .header {
    background-color: #2d2d2d;
}

/* Form Elemanları */
.input-wrapper {
    position: relative;
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.dark .input-field {
    background-color: #2d2d2d;
    border-color: #4a4a4a;
    color: #ffffff;
}

.input-field:focus {
    outline: none;
    border-color: var(--tiktok-red);
    box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.1);
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--tiktok-red);
    color: #ffffff;
}

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

.btn-secondary {
    background-color: var(--tiktok-blue);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #20ddd5;
}

/* Sonuç Kutusu */
.result-box {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .result-box {
    background-color: #2d2d2d;
}

/* Yükleniyor Animasyonu */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--tiktok-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
} 