* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Auth Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-box h1 {
    text-align: center;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.tagline {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.tab-btn:first-child {
    border-radius: 5px 0 0 5px;
}

.tab-btn:last-child {
    border-radius: 0 5px 5px 0;
}

.tab-btn.active {
    background: #667eea;
    color: white;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.auth-form button {
    width: 100%;
    padding: 0.75rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-form button:hover {
    background: #5a67d8;
}

.hidden {
    display: none !important;
}

.message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    text-align: center;
}

.message.error {
    background: #fee;
    color: #c33;
}

.message.success {
    background: #efe;
    color: #3c3;
}

/* Divider */
.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #999;
    font-size: 0.9rem;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

/* Google Button */
.google-btn {
    width: 100%;
    padding: 0.75rem;
    background: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.google-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Dashboard Styles */
.dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.glassmorphic-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#user-email {
    color: #666666;
    font-size: 0.95rem;
}

#signout-btn {
    padding: 0.5rem 1.25rem;
    background: #ffffff;
    color: #333333;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#signout-btn:hover {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section Styles */
.hero-section {
    padding: 3rem 0 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-animation-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 700px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.glassmorphic-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.glassmorphic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

h2 {
    color: #1a202c;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 600;
}

/* Content Creator Styles */
/* Platform Cards Section */
.platform-cards-section {
    margin: 3rem 0;
}

.platform-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5179F0, #6B8AFF);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.platform-card-title {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.platform-card-preview {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.platform-card-action {
    color: #5179F0;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.platform-card-action::after {
    content: '→';
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-card-action::after {
    transform: translateX(4px);
}

#content-title {
    width: 100%;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1a202c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#content-title:focus {
    outline: none;
    border-color: #5179F0;
    box-shadow: 0 0 0 3px rgba(81, 121, 240, 0.1);
}

#content-title::placeholder {
    color: #a0aec0;
}

#content-text {
    width: 100%;
    padding: 0.875rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: inherit;
    line-height: 1.5;
    color: #1a202c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: 150px;
}

#content-text:focus {
    outline: none;
    border-color: #5179F0;
    box-shadow: 0 0 0 3px rgba(81, 121, 240, 0.1);
}

#content-text::placeholder {
    color: #a0aec0;
}

.platform-selector h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: #1a202c;
}

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

.platforms label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1a202c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.platforms label:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.platforms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #5179F0;
}

.tone-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tone-selector label {
    font-weight: 500;
    color: #1a202c;
}

.tone-selector select {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    color: #1a202c;
}

.tone-selector select:focus {
    outline: none;
    border-color: #5179F0;
    box-shadow: 0 0 0 3px rgba(81, 121, 240, 0.1);
}

.tone-selector select option {
    background: #ffffff;
    color: #1a202c;
}

#amplify-btn {
    background: #667eea;
    color: white;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#amplify-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

#amplify-btn:active {
    transform: translateY(0);
}

#amplify-btn:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Modal Styles */
.content-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.glassmorphic-modal {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 1001;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h3 {
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a202c;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    border-color: rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.modal-body {
    padding: 2rem;
}

#modal-content-display {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #1a202c;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-action-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-action-btn.primary {
    background: #5179F0;
    color: #ffffff;
    border-color: #5179F0;
}

.modal-action-btn.primary:hover {
    background: #4169E0;
    border-color: #4169E0;
    transform: translateY(-1px);
}

.modal-action-btn.secondary {
    background: #ffffff;
    color: #1a202c;
}

.modal-action-btn.secondary:hover {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Results Styles */
.platform-result {
    background: #fafafa;
    padding: 1.75rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.platform-result::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #5179F0;
}

.platform-result h3 {
    color: #000;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.adapted-content {
    background: white;
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    white-space: pre-wrap;
    line-height: 1.6;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.twitter-counter {
    font-size: 0.875rem;
    color: #666;
    margin: 0.5rem 0;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #1DA1F2;
    font-family: monospace;
}

.twitter-thread {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thread-tweet {
    background: #fafafa;
    border: 1px solid rgba(29, 161, 242, 0.2);
    border-radius: 10px;
    padding: 1rem;
    position: relative;
}

.thread-tweet:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0.5rem;
    background: #1DA1F2;
    opacity: 0.3;
}

.tweet-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1DA1F2;
    margin-bottom: 0.5rem;
}

.thread-tweet .adapted-content {
    background: white;
    margin: 0.5rem 0;
}

.thread-tweet .twitter-counter {
    margin: 0.5rem 0 0 0;
    font-size: 0.8rem;
}

.thread-summary {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    padding: 0.75rem;
    background: rgba(29, 161, 242, 0.05);
    border-radius: 8px;
    margin: 0.5rem 0;
    border: 1px solid rgba(29, 161, 242, 0.1);
}

.result-actions {
    display: flex;
    gap: 0.75rem;
}

.result-actions button {
    padding: 0.625rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.875rem;
}

.result-actions button:hover {
    background: #5179F0;
    color: white;
    border-color: #5179F0;
    transform: translateY(-1px);
}

/* Content Archive Styles */
.content-archive {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.archive-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.archive-search {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    width: 280px;
    background: #fafafa;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.archive-search:focus {
    outline: none;
    border-color: #5179F0;
    background: white;
    box-shadow: 0 0 0 3px rgba(81, 121, 240, 0.1);
}

.archive-filter {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.archive-filter:focus {
    outline: none;
    border-color: #5179F0;
    background: white;
    box-shadow: 0 0 0 3px rgba(81, 121, 240, 0.1);
}

.content-list {
    display: grid;
    gap: 1rem;
}

.content-item {
    background: #fafafa;
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.content-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #5179F0;
    opacity: 0;
    transition: opacity 0.2s;
}

.content-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: white;
}

.content-item:hover::before {
    opacity: 1;
}

.content-item h3 {
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.content-item .content-preview {
    color: #666;
    margin-bottom: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.content-item .content-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #999;
    align-items: center;
}

.content-item.expanded {
    cursor: default;
}

.amplified-versions {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.amplified-versions h4 {
    color: #000;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-version {
    background: white;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.platform-version:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.platform-version h5 {
    color: #000;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.platform-content {
    color: #666;
    font-size: 0.925rem;
    white-space: pre-wrap;
    line-height: 1.6;
}

.version-actions {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.version-actions button {
    padding: 0.375rem 0.875rem;
    font-size: 0.825rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.version-actions button:hover {
    background: #5179F0;
    color: white;
    border-color: #5179F0;
}

.loading {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.client-mode-notice {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #5179F0 0%, #6B8AFF 100%);
    color: white;
    border-radius: 12px;
    margin: 1rem 0;
}

.client-mode-notice h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.client-mode-notice p {
    margin-bottom: 0.5rem;
}

.client-mode-notice small {
    opacity: 0.8;
}

/* Amplification Animation Styles */
#amplification-animation {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    padding: 2.5rem;
    margin: 2rem 0;
    text-align: center;
}

.amplification-loader {
    max-width: 600px;
    margin: 0 auto;
}

.ai-brain {
    position: relative;
    margin-bottom: 2rem;
}

.brain-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid #5179F0;
    border-radius: 50%;
    animation: brainPulse 2s ease-in-out infinite;
}

.brain-icon {
    font-size: 3rem;
    animation: brainFloat 3s ease-in-out infinite;
}

.amplification-text h3 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

#amplification-status {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    min-height: 1.5rem;
    transition: all 0.3s ease;
}

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

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.platform-item.processing {
    background: rgba(81, 121, 240, 0.1);
    border-color: rgba(81, 121, 240, 0.3);
    transform: scale(1.05);
}

.platform-item.completed {
    background: rgba(52, 168, 83, 0.1);
    border-color: rgba(52, 168, 83, 0.3);
}

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

.platform-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.platform-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #5179F0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.platform-item.completed .platform-spinner {
    display: none;
}

.platform-item.completed::after {
    content: '✅';
    font-size: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5179F0 0%, #6B8AFF 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.5s ease;
    animation: progressShimmer 2s ease-in-out infinite;
}

/* Toast Notification Styles */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    animation: toastSlideIn 0.3s ease;
    font-weight: 500;
}

.toast.success {
    border-left: 4px solid #10B981;
}

.toast.error {
    border-left: 4px solid #EF4444;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes brainPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes brainFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes progressShimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-animation-container {
        padding: 2rem;
        margin: 1rem auto;
    }
    
    .platforms {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .glassmorphic-card {
        padding: 1.5rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .content-modal {
        padding: 1rem;
    }
    
    .toast {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Format Suggestions Styles */
.format-suggestions {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.format-options h5,
.image-suggestions h5 {
    margin: 0 0 0.5rem 0;
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 600;
}

.format-option,
.image-suggestion {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    color: #444;
}

.format-option strong {
    color: #667eea;
}

.image-suggestion {
    color: #666;
}

@media (max-width: 768px) {
    .suggestions-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .format-suggestions {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .platforms {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-action-btn {
        width: 100%;
        text-align: center;
    }
}