:root {
    --primary: #1DA1F2;
    --primary-hover: #1a91da;
    --text-dark: #1A1A1A;
    --text-gray: #536471;
    --text-light: #8899A6;
    --border: #E1E8ED;
    --background: #F7F9F9;
    --white: #FFFFFF;
    --success: #00BA7C;
    --error: #F4212E;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
}

body {
    background: var(--background);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

/* Ana İçerik */
.main-content {
    flex: 1;
    padding: 32px;
    display: flex;
    justify-content: center;
}

.container {
    background: var(--white);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 800px;
    transition: box-shadow 0.3s ease;
}

.container:hover {
    box-shadow: var(--shadow-hover);
}

/* Sekmeler */
.download-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.tab {
    flex: 1;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    border-color: var(--primary);
    background: rgba(29, 161, 242, 0.05);
}

.tab:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.tab-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.platform-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.twitter-logo, .x-logo {
    height: 32px;
    width: auto;
}

.youtube-icon {
    color: #FF0000;
    font-size: 32px;
}

.separator {
    font-size: 20px;
    color: var(--text-light);
    font-weight: 300;
}

.tab span {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
}

/* İndirme Bölümü */
.download-sections {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
}

.download-section {
    display: none;
    padding: 32px;
}

.download-section.active {
    display: block;
}

.section-content {
    text-align: center;
}

h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0 0 16px;
}

.description {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.input-group {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    font-size: 16px;
}

input[type="text"] {
    flex: 1;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: var(--white);
    width: 100%;
}

input[type="text"]:hover {
    border-color: var(--text-light);
}

input[type="text"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.2);
}

input[type="text"]::placeholder {
    color: var(--text-light);
}

button {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

button:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Özellikler */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.feature {
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(29, 161, 242, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature i {
    font-size: 24px;
    color: var(--primary);
}

.feature-text h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin: 0 0 8px;
}

.feature-text p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Sonuç Alanı */
.result {
    margin: 24px 0;
    text-align: center;
}

.loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
    padding: 16px;
    background: rgba(29, 161, 242, 0.1);
    border-radius: 12px;
    color: var(--primary);
}

.loading-message .loader {
    border: 3px solid var(--border);
    border-radius: 50%;
    border-top: 3px solid var(--primary);
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}

.loading-message span {
    font-size: 16px;
    font-weight: 500;
}

.loader {
    border: 3px solid var(--border);
    border-radius: 50%;
    border-top: 3px solid var(--primary);
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    color: var(--error);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
    font-size: 16px;
    padding: 16px;
    background: rgba(244, 33, 46, 0.1);
    border-radius: 12px;
}

.success-message {
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
    font-size: 16px;
    padding: 16px;
    background: rgba(0, 186, 124, 0.1);
    border-radius: 12px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success);
    color: var(--white);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.download-btn:hover {
    background: #00a06d;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Reklam Alanları */
.ad-sidebar {
    width: 200px;
    padding: 32px;
    position: sticky;
    top: 32px;
    height: 100vh;
}

.ad-container {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.ad-horizontal {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    margin: 32px 0;
    min-height: 90px;
    box-shadow: var(--shadow);
}

/* Mobil Responsive */
@media (max-width: 1200px) {
    .ad-sidebar {
        width: 160px;
        padding: 24px;
    }
}

@media (max-width: 992px) {
    body {
        flex-direction: column;
    }

    .ad-sidebar {
        width: 100%;
        height: auto;
        position: static;
        padding: 16px;
    }

    .ad-container {
        min-height: 250px;
    }

    .main-content {
        padding: 24px;
    }

    .container {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .download-tabs {
        flex-direction: column;
    }

    .input-group {
        flex-direction: column;
    }

    button {
        width: 100%;
        justify-content: center;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 16px;
    }

    .container {
        padding: 20px;
        border-radius: 16px;
    }

    .description {
        font-size: 14px;
    }

    .tab {
        padding: 16px;
    }

    input[type="text"],
    button,
    .download-btn {
        font-size: 14px;
        padding: 14px 24px;
    }
}
