/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* YouTube Benzeri Kırmızı Tema Renkleri */
    --primary-red: #FF0000;
    --light-red: #FF4444;
    --lighter-red: #FF6666;
    --lightest-red: #FFAAAA;
    --dark-red: #CC0000;
    --darker-red: #990000;

    /* Gradient Renkler */
    --gradient-primary: linear-gradient(135deg, #FF0000 0%, #FF4444 100%);
    --gradient-secondary: linear-gradient(135deg, #FF4444 0%, #FF6666 100%);

    /* Nötr Renkler */
    --white: #FFFFFF;
    --light-gray: #F8F8F8;
    --gray: #E0E0E0;
    --dark-gray: #606060;
    --darker-gray: #303030;
    --black: #0F0F0F;

    /* Durum Renkleri */
    --success: #FF0000;
    --warning: #FF8800;
    --error: #FF0000;
    --info: #2196F3;

    /* Gölgeler */
    --shadow-light: 0 2px 8px rgba(255, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(255, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(255, 0, 0, 0.2);

    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
    --radius-xl: 24px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Dynamic Island Style */
.header {
    background: transparent;
    /* Transparent background for island effect */
    box-shadow: none;
    /* Remove default shadow */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 20px;
    /* Add padding for island spacing */
    pointer-events: none;
    /* Allow clicks to pass through header area */
}

.header .container {
    /* Dynamic Island styling */
    background: rgba(255, 255, 255, 0.95);
    /* Semi-transparent white background */
    backdrop-filter: blur(20px) saturate(180%);
    /* Blur effect like Dynamic Island */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    /* Safari support */
    border-radius: 999px;
    /* Fully rounded (pill shape) */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    /* Multiple shadows for depth */
    border: 1px solid rgba(255, 255, 255, 0.18);
    /* Subtle border */
    max-width: 95%;
    /* Don't span full width */
    margin: 0 auto;
    /* Center the island */
    pointer-events: auto;
    /* Re-enable clicks on container */
    position: relative;
    /* For pseudo-elements */
    overflow: hidden;
    /* Hide overflow for shine effect */

    /* Flexbox layout */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.2rem;
    /* Further reduced padding for island compactness */
    gap: 1.5rem;
    /* Reduced gap to fit more content */
    flex-wrap: nowrap;
    /* Changed from wrap to nowrap - keep header on one line */
    min-width: 0;
    /* Allow flex shrinking */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smooth transitions */
}

/* Shine/Light effect on hover */
.header .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4) 50%,
            transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.header .container:hover::before {
    left: 100%;
}

/* Lightning/Electrical effect on hover */
.header .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 25%, transparent 50%, rgba(255, 255, 255, 0.1) 75%, transparent 100%),
        radial-gradient(circle at 20% 50%, rgba(255, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 0, 0.1) 0%, transparent 50%);
    background-size: 200% 100%, 100% 100%, 100% 100%;
    background-position: -200% 0, 0 0, 100% 0;
    opacity: 0;
    transition: opacity 0.3s ease, background-position 0.5s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: 999px;
    animation: lightning 2s infinite;
}

.header .container:hover::after {
    opacity: 1;
    background-position: 200% 0, 0 0, 100% 0;
}

@keyframes lightning {

    0%,
    100% {
        opacity: 0;
        filter: brightness(1);
    }

    10%,
    20%,
    30%,
    40%,
    50%,
    60%,
    70%,
    80%,
    90% {
        opacity: 0.3;
        filter: brightness(1.5);
    }

    15%,
    25%,
    35%,
    45%,
    55%,
    65%,
    75%,
    85% {
        opacity: 0.6;
        filter: brightness(2);
    }
}

/* Hover effects - scale and glow */
.header .container:hover {
    transform: scale(1.02);
    /* Slight scale up */
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 30px rgba(255, 0, 0, 0.2);
    /* Red glow on hover */
    border-color: rgba(255, 255, 255, 0.3);
}

/* Text scale on hover */
.header .container:hover .logo,
.header .container:hover .nav-link {
    transform: scale(1.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .container:hover .logo {
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.header .container:hover .nav-link {
    color: var(--primary-red);
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
}

/* Ensure z-index for content */
.header .container>* {
    position: relative;
    z-index: 2;
}

/* Spacer to offset fixed header when needed */
.header-spacer {
    height: 88px;
}

@media (min-width: 769px) {
    .header-spacer {
        height: 100px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.1rem;
    /* Further reduced for compactness */
    font-weight: 700;
    color: var(--primary-red);
    flex-shrink: 0;
    /* Prevent logo from shrinking */
    margin-right: 0.75rem;
    /* Reduced margin */
    white-space: nowrap;
    /* Prevent logo text from wrapping */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        text-shadow 0.3s ease;
    /* Smooth transitions for hover */
}

.logo i {
    font-size: 1.4rem;
    /* Further reduced for compactness */
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    /* Further reduced to fit more items */
    flex: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    /* Changed from wrap to nowrap - keep all items on one line */
    min-width: 0;
    /* Allow flex shrinking */
    margin-left: auto;
    /* Push nav to the right, ensuring space from logo */
}

.nav-link {
    text-decoration: none;
    color: var(--darker-gray);
    font-weight: 500;
    font-size: 0.75rem;
    /* Further reduced to fit more items */
    padding: 0.4rem 0.5rem;
    /* Further reduced padding */
    border-radius: var(--radius-small);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        text-shadow 0.3s ease;
    /* Smooth transitions including transform */
    white-space: nowrap;
    flex-shrink: 0;
    /* Prevent links from shrinking */
}

.nav-link:hover {
    color: var(--primary-red);
    background: rgba(255, 0, 0, 0.05);
}

/* Language Selector - Modern Toggle Style */
.language-selector {
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: var(--radius-medium);
    padding: 0.25rem;
    gap: 0.25rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    /* Prevent language selector from shrinking */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smooth scale transition */
}

.header .container:hover .language-selector {
    transform: scale(1.05);
    /* Scale up on island hover */
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    /* Reduced padding */
    border: none;
    border-radius: var(--radius-small);
    background: transparent;
    color: var(--darker-gray);
    font-size: 0.8rem;
    /* Reduced font size */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.lang-btn .lang-flag {
    font-size: 1rem;
    /* Reduced flag size */
    line-height: 1;
    transition: transform 0.3s ease;
}

.lang-btn .lang-code {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--primary-red);
    transform: translateY(-1px);
}

.lang-btn:hover .lang-flag {
    transform: scale(1.1);
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary-red);
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.15);
    transform: translateY(-1px);
}

.lang-btn.active .lang-flag {
    transform: scale(1.15);
    animation: flagWave 0.5s ease;
}

@keyframes flagWave {

    0%,
    100% {
        transform: scale(1.15) rotate(0deg);
    }

    25% {
        transform: scale(1.2) rotate(-5deg);
    }

    75% {
        transform: scale(1.2) rotate(5deg);
    }
}

.lang-btn:active {
    transform: translateY(0);
}

/* Hero Section - Simplified (no longer used, kept for backward compatibility) */
.hero-simple {
    padding: 100px 0 20px;
    /* Reduced padding - just enough for island spacing */
    background: transparent;
    /* No background gradient */
    text-align: center;
}

.hero-description-simple {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Old Hero Section - kept for backward compatibility but not used */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 50%, #F0F0F0 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-medium);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
}

.btn-danger {
    background: #dc3545;
    color: var(--white);
    border: none;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-success {
    background: var(--primary-red);
    color: var(--white);
}

.btn-loading {
    display: none;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-preview {
    width: 300px;
    height: 400px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-heavy);
}

.video-preview i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Main Form */
.main-form {
    padding: 100px 0 80px;
    /* Top padding for island spacing, form starts below */
    background: var(--white);
}

.form-container {
    max-width: 1100px;
    /* Increased from 800px for wider form */
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.form-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    /* Reduced from 2rem to bring description closer */
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.form-title i {
    color: var(--primary-red);
}

.form-description {
    text-align: center;
    font-size: 1.3rem;
    /* Larger font size for better readability */
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    /* Space before form starts */
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.shorts-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Video Source Tabs */
.video-source-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.source-tab {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--gray);
    border-radius: var(--radius-medium);
    background: var(--white);
    color: var(--dark-gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.source-tab:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.source-tab.active {
    border-color: var(--primary-red);
    background: var(--primary-red);
    color: var(--white);
}

.source-tab i {
    font-size: 1.25rem;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed var(--gray);
    border-radius: var(--radius-medium);
    padding: 3rem 2rem;
    text-align: center;
    background: var(--light-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-red);
    background: var(--lightest-red);
}

.file-upload-area.dragover {
    border-color: var(--primary-red);
    background: var(--lightest-red);
    transform: scale(1.02);
}

.file-upload-area i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.file-upload-area p {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* File Info */
.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--lightest-red);
    border-radius: var(--radius-medium);
    margin-top: 1rem;
}

.file-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-details i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.file-name {
    font-weight: 600;
    color: var(--black);
}

.file-size {
    color: var(--dark-gray);
    font-size: 0.875rem;
}

.btn-remove {
    background: var(--error);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: var(--darker-red);
    transform: scale(1.1);
}

.form-label {
    font-weight: 600;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--primary-red);
}

.form-input {
    padding: 1rem;
    border: 2px solid var(--gray);
    border-radius: var(--radius-medium);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.input-help {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.input-help i {
    color: var(--info);
}

.upload-notice {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #FFF3CD 0%, #FFE69C 100%);
    border: 2px solid #FFC107;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
}

.upload-notice .notice-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.upload-notice .notice-content i {
    font-size: 1.5rem;
    color: #FF8800;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.upload-notice .notice-text {
    flex: 1;
}

.upload-notice .notice-text strong {
    display: block;
    font-size: 1rem;
    color: #856404;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.upload-notice .notice-text p {
    font-size: 0.9rem;
    color: #856404;
    margin: 0;
    line-height: 1.5;
}

.form-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--radius-medium);
}

.option-group h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Theme Selector - Modern Card Style */
.theme-selector-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray);
    grid-column: 1 / -1;
    /* Span full width */
}

.theme-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.theme-label i {
    color: var(--primary-red);
    font-size: 1rem;
}

.theme-selector {
    width: 100%;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* Changed to 4 columns for horizontal layout */
    gap: 0.75rem;
    align-items: stretch;
    /* Ensure all items stretch to same height */
    width: 100%;
}

.theme-radio {
    display: none;
}

.theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 0.75rem;
    /* Increased horizontal padding for more width */
    border: 2px solid var(--gray);
    border-radius: var(--radius-medium);
    background: var(--white);
    cursor: pointer;
    user-select: none;
    /* Prevent text selection on click */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    /* Faster, smoother transitions */
    position: relative;
    overflow: visible;
    min-height: 100px;
    height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    /* Prevent grid overflow */
    box-sizing: border-box;
    flex: 1 1 0;
    /* Equal flex basis */
    align-self: stretch;
    /* Ensure equal height in grid */
    z-index: 1;
    /* Ensure clickable area is on top */
    pointer-events: auto;
    /* Explicitly enable pointer events */
}

.theme-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.4s ease;
    pointer-events: none;
    /* Don't block clicks */
    z-index: 0;
}

.theme-option:hover::before {
    left: 100%;
}

.theme-option:hover,
.theme-option:focus {
    border-color: var(--primary-red);
    transform: translateY(-2px);
    /* Reduced from -3px */
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.15);
    background: rgba(255, 0, 0, 0.02);
    outline: none;
    /* Remove focus outline, we use border */
}

.theme-option:active,
.theme-option.selecting {
    transform: translateY(0px) scale(0.98);
    /* Pressed state */
    box-shadow: 0 2px 6px rgba(255, 0, 0, 0.2);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.theme-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    transition: transform 0.2s ease;
    /* Faster transition */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
    pointer-events: none;
    /* Don't block clicks on icon */
    z-index: 2;
    position: relative;
}

.theme-option:hover .theme-icon {
    transform: scale(1.1) rotate(3deg);
    /* Reduced animation */
}

.theme-name {
    font-size: 0.85rem;
    /* Slightly larger font for better readability */
    font-weight: 600;
    color: var(--darker-gray);
    text-align: center;
    transition: color 0.2s ease;
    /* Faster transition */
    line-height: 1.3;
    white-space: normal;
    /* Allow text to wrap if needed, but with 2 columns it should fit */
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    padding: 0 0.25rem;
    flex-grow: 0;
    pointer-events: none;
    /* Don't block clicks on text */
    z-index: 2;
    position: relative;
}

.theme-option:hover .theme-name {
    color: var(--primary-red);
}

/* Active/Selected theme option styles */
.theme-radio:checked+.theme-option,
.theme-option.active {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 68, 68, 0.06) 100%);
    border-color: var(--primary-red);
    border-width: 2.5px;
    /* Slightly thicker border for selected */
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
    z-index: 10;
    /* Ensure selected item is on top */
}

.theme-radio:checked+.theme-option .theme-icon,
.theme-option.active .theme-icon {
    transform: scale(1.2);
    animation: themePulse 2s ease-in-out infinite;
}

.theme-radio:checked+.theme-option .theme-name,
.theme-option.active .theme-name {
    color: var(--primary-red);
    font-weight: 700;
}

@keyframes themePulse {

    0%,
    100% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1.25);
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

/* Custom tooltip for AI selection checkbox */
#use-ai-label {
    position: relative;
}

#use-ai-label::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 10px 14px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 0.875rem;
    white-space: normal;
    max-width: 280px;
    width: max-content;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    font-weight: 400;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
    text-align: left;
}

#use-ai-label::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1001;
}

#use-ai-label:hover::after,
#use-ai-label:hover::before {
    opacity: 1;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
}

.range-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    /* Range group'lar arası mesafe */
}

.range-group label {
    font-weight: 500;
    color: var(--black);
}

.range-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-red);
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.range-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-red);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-light);
}

/* Color Selector */
.color-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.color-radio {
    display: none;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.color-radio:checked+.color-option {
    border-color: var(--primary-red);
    transform: scale(1.15);
    box-shadow: var(--shadow-heavy);
}

.color-custom-label {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.color-custom-label i {
    font-size: 1.2rem;
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: var(--light-gray);
    border-radius: var(--radius-small);
    margin-top: 0.5rem;
}

.color-picker-wrapper.show {
    display: flex;
}

.color-picker {
    width: 50px;
    height: 50px;
    border: 2px solid var(--gray);
    border-radius: var(--radius-small);
    cursor: pointer;
    padding: 0;
    background: none;
}

.color-picker-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Position Selector */
.position-selector {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.position-radio {
    display: none;
}

.position-option {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: var(--radius-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-light);
}

.position-option:hover {
    border-color: var(--primary-red);
    background: var(--lightest-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.position-radio:checked+.position-option {
    border-color: var(--primary-red);
    background: var(--lightest-red);
    color: var(--primary-red);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.position-option i {
    font-size: 1.5rem;
    color: inherit;
}

.position-option span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--black);
}

.position-radio:checked+.position-option span {
    color: var(--primary-red);
    font-weight: 600;
}

/* Progress Section */
.progress-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.progress-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.progress-container h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--black);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.5s ease;
}

.progress-message {
    margin-top: 0.75rem;
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.6);
    min-height: 1.5em;
    visibility: hidden;
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--radius-medium);
    background: var(--white);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
    background: var(--lightest-red);
    color: var(--primary-red);
}

.step.completed {
    opacity: 1;
    background: var(--primary-red);
    color: var(--white);
}

.step i {
    font-size: 1.5rem;
}

.step span {
    font-weight: 500;
    font-size: 0.875rem;
    text-align: center;
}

/* Results Section */
.results-section {
    padding: 80px 0;
    background: var(--white);
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
}

.results-container h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--black);
}

.results-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.results-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.shorts-item {
    background: var(--white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.shorts-item:hover {
    transform: translateY(-4px);
}

.shorts-preview {
    width: 100%;
    max-width: 350px;
    /* Preview için küçük boyut */
    margin: 0 auto;
    /* Ortala */
    aspect-ratio: 9 / 16;
    /* Shorts formatı: 9:16 (dikey) */
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.shorts-preview i {
    font-size: 3rem;
}

.shorts-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Video'nun tamamını göster (9:16 formatında) */
    background: #000;
}

.shorts-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
}

.shorts-info {
    padding: 1.5rem;
}

.shorts-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.shorts-duration {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.shorts-text {
    font-size: 0.875rem;
    color: var(--darker-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.shorts-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.download-all {
    text-align: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.feature-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.step-content p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--darker-gray);
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.6rem 15px;
        /* Less padding on mobile */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .header .container {
        padding: 0.5rem 0.9rem;
        /* More compact padding for mobile island */
        gap: 0.8rem;
        max-width: 98%;
        /* Wider on mobile */
    }

    .logo {
        font-size: 1rem;
        /* Smaller on mobile */
    }

    .logo i {
        font-size: 1.2rem;
        /* Smaller icon on mobile */
    }

    .nav {
        gap: 0.6rem;
    }

    .nav-link {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
        /* Smaller on mobile */
    }

    .language-selector {
        padding: 0.2rem;
        gap: 0.2rem;
    }

    .lang-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
        /* Smaller on mobile */
    }

    .lang-btn .lang-flag {
        font-size: 0.9rem;
        /* Smaller flag on mobile */
    }

    .lang-btn .lang-code {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .form-options {
        grid-template-columns: 1fr;
    }

    .theme-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* Equal width columns */
        gap: 0.5rem;
        width: 100%;
    }

    .theme-option {
        padding: 0.75rem 0.4rem;
        min-height: 90px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        flex: 1 1 0;
    }

    .theme-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .theme-name {
        font-size: 0.75rem;
        line-height: 1.2;
        width: 100%;
    }

    .progress-steps {
        grid-template-columns: 1fr;
    }

    .shorts-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 0.4rem 10px;
        /* Less padding on small mobile */
    }

    .header .container {
        padding: 0.45rem 0.65rem;
        /* Very compact padding for small mobile */
        gap: 0.6rem;
        max-width: 99%;
        /* Almost full width on very small screens */
    }

    .logo {
        font-size: 0.9rem;
        /* Even smaller on very small screens */
    }

    .logo i {
        font-size: 1.1rem;
        /* Smaller icon */
    }

    .nav {
        gap: 0.4rem;
    }

    .nav-link {
        padding: 0.3rem 0.4rem;
        font-size: 0.65rem;
        /* Smaller on very small screens */
    }

    .language-selector {
        padding: 0.15rem;
    }

    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        /* Smaller on very small screens */
    }

    .lang-btn .lang-flag {
        font-size: 0.85rem;
        /* Smaller flag on very small screens */
    }

    .hero-title {
        font-size: 2rem;
    }

    .form-container {
        padding: 2rem 1rem;
    }

    .theme-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* Equal width columns */
        gap: 0.5rem;
        width: 100%;
    }

    .theme-option {
        padding: 0.6rem 0.3rem;
        min-height: 85px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        flex: 1 1 0;
    }

    .theme-icon {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }

    .theme-name {
        font-size: 0.7rem;
        line-height: 1.2;
        padding: 0 0.2rem;
        width: 100%;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn-loading {
    display: flex !important;
}

.loading .btn-text {
    display: none;
}

/* Success States */
.success {
    color: var(--primary-red);
}

.warning {
    color: var(--warning);
}

.error {
    color: var(--error);
}

/* Authentication Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF0000 0%, #FF4444 100%);
    padding: 2rem;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-heavy);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.auth-header h1 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--dark-gray);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray);
    border-radius: var(--radius-small);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.btn-full {
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray);
}

.auth-footer a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

/* Offset for fixed header on inner pages */
.dashboard,
.credits-section,
.profile-section {
    padding-top: 200px !important;
}

/* Explicit profile page offset */
.profile-page {
    padding-top: 200px !important;
}

/* Generic body class to offset fixed header on inner pages */
.with-fixed-header {
    padding-top: 200px !important;
    /* match hero/dashboard offset */
}

@media (max-width: 768px) {
    .with-fixed-header {
        padding-top: 100px;
    }
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--dark-gray);
    font-weight: 500;
}

.quick-actions {
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    margin-bottom: 3rem;
}

.quick-actions h2 {
    margin-bottom: 1.5rem;
    color: var(--black);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.recent-videos h2 {
    margin-bottom: 1.5rem;
    color: var(--black);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

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

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.video-header h3 {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.video-status {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-small);
    font-weight: 600;
}

.status-completed {
    background: rgba(0, 255, 0, 0.1);
    color: #00AA00;
}

.status-processing {
    background: rgba(255, 165, 0, 0.1);
    color: #FF8800;
}

.status-failed {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.video-info {
    margin-bottom: 1rem;
}

.video-info p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--dark-gray);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gray);
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--black);
}

/* Credits Styles */
.credits-section {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

.credits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.credits-header h1 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.current-credits {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-large);
    font-size: 1.1rem;
    font-weight: 600;
}

.packages-section {
    margin-bottom: 3rem;
}

.packages-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--black);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-red);
}

.package-header h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.package-content {
    margin-bottom: 2rem;
}

.package-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}

.package-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.usage-info {
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    margin-bottom: 3rem;
}

.usage-info h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--black);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.usage-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--radius-small);
}

.usage-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.usage-item h4 {
    color: var(--black);
    margin-bottom: 0.25rem;
}

.usage-item p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.transaction-history {
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.transaction-history h2 {
    margin-bottom: 2rem;
    color: var(--black);
}

.transactions-list {
    max-height: 400px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--gray);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}

.transaction-content {
    flex: 1;
}

.transaction-content h4 {
    color: var(--black);
    margin-bottom: 0.25rem;
}

.transaction-content p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.transaction-amount {
    font-weight: 600;
    font-size: 1.1rem;
}

.text-success {
    color: #00AA00;
}

.text-danger {
    color: #FF0000;
}

.text-info {
    color: #2196F3;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-medium);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray);
}

.modal-header h3 {
    color: var(--black);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid var(--gray);
}

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

    .auth-form .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .usage-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }
}

/* Detailed Options (Collapsible) */
.detailed-options-wrapper {
    margin-top: 1rem;
    border-top: 1px solid var(--gray);
    padding-top: 1rem;
}

.detailed-options-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border: 1px solid var(--gray);
    border-radius: var(--radius-small);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);
    transition: all 0.2s ease;
}

.detailed-options-toggle:hover {
    background: var(--gray);
    border-color: var(--dark-gray);
}

.detailed-options-toggle i {
    transition: transform 0.2s ease;
}

.detailed-options-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Layout Selection */
.video-layout-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray);
    grid-column: 1 / -1;
}

.video-layout-selector {
    width: 100%;
}

.layout-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.layout-radio {
    display: none;
}

.layout-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
    /* Removed scale(0.95) to keep sizes consistent */
}

.smartphone-frame {
    width: 120px;
    height: 213px;
    /* 9:16 aspect ratio approx */
    background: #222;
    border-radius: 24px;
    /* Smoother corners */
    padding: 4px;
    /* Thinner bezel */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #444;
    /* Thinner frame */
}

/* Notch / Dynamic Island */
.smartphone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    /* Smaller notch */
    height: 6px;
    background: #000;
    border-radius: 10px;
    z-index: 2;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 18px;
    /* Match frame curvature */
    overflow: hidden;
    position: relative;
}

.layout-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-name {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* Selected State Animation */
.layout-radio:checked+.layout-option {
    opacity: 1;
    /* Removed scale(1.1) - keeping size consistent */
    z-index: 2;
}

.layout-radio:checked+.layout-option .smartphone-frame {
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.3);
    /* Red glow for selected */
    border-color: var(--primary-red);
    transform: translateY(-5px);
    /* Subtle lift */
}

.layout-radio:checked+.layout-option .layout-name {
    color: var(--primary-red);
    font-weight: 700;
}

/* Hover State */
.layout-option:hover {
    opacity: 1;
    transform: translateY(-2px);
    /* Slight lift on hover */
}

.layout-option:hover .smartphone-frame {
    border-color: var(--gray);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.layout-radio:checked+.layout-option:hover .smartphone-frame {
    border-color: var(--primary-red);
    box-shadow: 0 18px 40px rgba(220, 38, 38, 0.35);
}

/* Secondary Video Type Selector */
.secondary-video-wrapper {
    margin-top: 2rem;
    animation: fadeInUp 0.5s ease-out;
}

.secondary-video-selector {
    margin-top: 1rem;
}

.video-type-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.video-type-radio {
    display: none;
}

.video-type-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: var(--radius-medium);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.video-type-preview {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-small);
    overflow: hidden;
    background: var(--black);
    position: relative;
}

.video-type-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-type-option:hover .video-type-img {
    transform: scale(1.05);
}

.video-type-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
    text-align: center;
}

/* Active State */
.video-type-radio:checked+.video-type-option {
    border-color: var(--primary-red);
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0.05), var(--white));
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.15);
}

.video-type-radio:checked+.video-type-option .video-type-name {
    color: var(--primary-red);
}

/* Hover State */
.video-type-option:hover {
    border-color: var(--lighter-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .video-type-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .video-type-options {
        grid-template-columns: 1fr;
    }
}
/* Video Preview Styles - Updated */
.video-preview-container {
    margin-top: 20px;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    display: none; /* Başlangıçta gizli */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.video-preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.video-thumbnail {
    width: 100%;
    max-width: 640px; /* Daha büyük thumbnail */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/9;
    background: #f0f0f0;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-details {
    width: 100%;
    max-width: 640px; /* Thumbnail ile aynı genişlik */
}

.video-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

.video-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.95em;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-item i {
    color: var(--primary-color);
}

.video-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    color: #444;
}

.meta-item i {
    color: #888;
    width: 20px;
    text-align: center;
}

.meta-item strong {
    font-weight: 600;
    color: #333;
    margin-right: 5px;
}

.status-success {
    color: #28a745;
    font-weight: 600;
}

.status-warning {
    color: #ffc107;
    font-weight: 600;
}

/* Consent & Storage Notices */
.info-banner {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.25);
    color: #4a1f1f;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.info-banner i {
    color: #ff6161;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1rem;
    font-size: 0.92rem;
    color: #333333;
    line-height: 1.4;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: #ff4444;
}

.download-notice {
    margin: 0 0 1.5rem 0;
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.35);
    color: #6a2b00;
    font-size: 0.9rem;
    line-height: 1.4;
}


/* Fix for thumbnail image size mismatch */
#preview-thumb {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
