:root {
    --primary: #818cf8;
    --primary-hover: #6366f1;
    --accent: #f472b6;
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-sidebar: rgba(15, 23, 42, 0.8);
    --text-main: #f1f5f9;
    --text-muted: #64748b;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Background Animation */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary);
    animation: move 20s infinite alternate;
}

.blob-1 { top: -100px; left: -100px; background: #6366f1; }
.blob-2 { bottom: -100px; right: -100px; background: #a855f7; animation-delay: -5s; }
.blob-3 { top: 50%; left: 50%; transform: translate(-50%, -50%); background: #ec4899; animation-delay: -10s; }

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to right, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #a855f7);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Glass Card */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    height: 100vh;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(244, 114, 182, 0.05), transparent);
}

.sidebar {
    width: 280px;
    background: var(--bg-sidebar);
    backdrop-filter: blur(40px);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    position: relative;
    z-index: 10;
}

.sidebar-logo {
    margin-bottom: 3.5rem;
    padding-left: 1rem;
}

.btn-create-nav {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(129, 140, 248, 0.2);
}

.btn-create-nav:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(129, 140, 248, 0.3);
    filter: brightness(1.1);
}

.btn-create-nav.active {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    white-space: nowrap;
    width: 100%;
}

.menu-item i {
    font-size: 1.1rem;
    width: 20px;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.menu-item:hover i {
    transform: scale(1.1);
}

.menu-item.active {
    color: var(--text-main);
    background: rgba(129, 140, 248, 0.15);
    border-color: rgba(129, 140, 248, 0.3);
}

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

.sidebar-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.top-bar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(10px);
    width: 100%;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    width: 320px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.1);
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-main);
    margin-left: 0.8rem;
    width: 100%;
}

.search-bar input:focus {
    outline: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: 0.2s;
}

.user-profile:hover {
    background: var(--glass-bg);
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

/* Platform Connection Cards */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    opacity: 0.8;
}

.platform-card.instagram::before { background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045); }
.platform-card.tiktok::before { background: linear-gradient(to right, #69C9D0, #EE1D52); }
.platform-card.youtube::before { background: #FF0000; }

.platform-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.instagram .platform-icon { color: #E1306C; }
.tiktok .platform-icon { color: #fff; }
.youtube .platform-icon { color: #FF0000; }

.platform-info h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.platform-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }

.btn-platform {
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-platform:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Instagram Login UI */
.platform-header {
    margin-bottom: 2rem;
    text-align: center;
}

.platform-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.platform-header.instagram i {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-main);
    font-family: inherit;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.security-warning {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(129, 140, 248, 0.1);
    border: 1px dashed rgba(129, 140, 248, 0.3);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--primary);
    text-align: left;
    margin-top: 0.5rem;
}

.security-warning i {
    font-size: 1.1rem;
    margin-top: 2px;
}

.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
}

/* New Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card-new {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stat-card-new:hover {
    transform: translateY(-8px);
    border-color: rgba(129, 140, 248, 0.4);
    box-shadow: var(--shadow-premium);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.stat-info .label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-info .value {
    font-size: 2.25rem;
    font-weight: 800;
    display: block;
}

.stat-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Content Sections */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 32px;
    min-height: 400px;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 100px;
        padding: 2.5rem 1rem;
        align-items: center;
    }
    .sidebar span { display: none; }
    .menu-item { justify-content: center; padding: 1.2rem; }
    .sidebar-logo { padding-left: 0; display: flex; justify-content: center; }
}

@media (max-width: 768px) {
    .dashboard-container { flex-direction: column; }
    .sidebar {
        width: 100%;
        height: 70px;
        padding: 0 1rem;
        flex-direction: row;
        border-right: none;
        border-top: 1px solid var(--glass-border);
        position: fixed;
        bottom: 0;
        top: auto;
        justify-content: space-around;
        border-radius: 20px 20px 0 0;
        backdrop-filter: blur(20px);
    }
    .sidebar-logo, .sidebar-footer { display: none; }
    .sidebar-menu {
        display: flex;
        width: 100%;
        justify-content: space-around;
        margin-bottom: 0;
    }
    .menu-item { margin-bottom: 0; padding: 0.8rem; }
    .main-content { padding-bottom: 80px; height: 100vh; overflow-y: auto; }
    .top-bar { padding: 0 1.5rem; }
    .search-bar { display: none; }
    .scroll-area { padding: 2rem 1.5rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero h1 { font-size: 2.5rem; }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Creation Page Refined */
.creation-layout {
    display: grid; /* RE-ADD THIS! */
    grid-template-columns: 480px 1fr;
    gap: 2.5rem;
    align-items: stretch;
    height: auto; 
    min-height: calc(100vh - 250px);
    margin-top: 1rem;
}

.creation-form-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto; /* Allow form to scroll if many fields */
    scrollbar-width: none; /* Hide scrollbar for form for cleaner look */
}

.creation-form-panel::-webkit-scrollbar {
    display: none;
}

.creation-story-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.story-content-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 1.5rem;
    margin-bottom: 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.story-content-scroll::-webkit-scrollbar {
    width: 6px;
}

.story-content-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.story-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    gap: 1.5rem;
}

.story-placeholder i {
    font-size: 3.5rem;
    opacity: 0.15;
}

/* Premium Form Styling */
.form-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.input-modern-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.input-modern-wrapper.full-width {
    grid-column: span 2;
}

.input-modern-wrapper label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 0.5rem;
}

.input-inner, .textarea-inner {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03); /* Back to original glass */
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: 100%;
    min-height: 54px;
    transition: all 0.3s ease;
}

.input-inner i, .textarea-inner i {
    flex-shrink: 0;
    margin: 0 0.2rem 0 1.25rem;
    color: var(--primary);
    font-size: 0.9rem;
    opacity: 0.6;
}

.input-inner input {
    flex: 1;
    background: transparent !important;
    border: none;
    padding: 1rem 1.25rem 1rem 0.5rem;
    color: var(--text-main) !important;
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
}

.textarea-inner textarea {
    flex: 1;
    background: transparent !important;
    border: none;
    padding: 1rem 1.25rem 1rem 0.5rem;
    color: var(--text-main) !important;
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    resize: none;
    outline: none;
}

/* Fix Autofill Transparency */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-main) !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.info-note-premium {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.info-note-premium i {
    color: var(--primary);
    font-size: 1.1rem;
}

.info-note-premium strong {
    color: var(--text-main);
}

.input-inner input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem 1rem 1rem 3.25rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
}

.textarea-inner {
    align-items: flex-start;
}

.textarea-inner i {
    top: 1.2rem;
}

.textarea-inner textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem 1.25rem 1rem 3.25rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    resize: none;
    line-height: 1.6;
}

.input-inner:focus-within, .textarea-inner:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-inner input:focus, .textarea-inner textarea:focus {
    outline: none;
}

/* Custom Premium Select */
.custom-select-premium {
    position: relative;
    width: 100%;
}

.select-trigger {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.custom-select-premium.open .select-trigger {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px 16px 0 0;
}

.custom-select-premium.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111827; /* Solid dark background to prevent bleed */
    border: 1px solid var(--primary);
    border-radius: 0 0 16px 16px;
    margin-top: -1px;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.custom-select-premium.open .select-options {
    display: block;
}

.option {
    padding: 0.75rem 1.25rem;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
}

.option:hover {
    background: var(--primary);
    color: white;
}

.select-options::-webkit-scrollbar {
    width: 6px;
}

.select-options::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

@media (max-width: 600px) {
    .form-grid-premium { grid-template-columns: 1fr; }
    .input-modern-wrapper.full-width { grid-column: auto; }
}
/* Next Step Button */
.next-step-container {
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.btn-next-step {
    background: linear-gradient(135deg, var(--accent), #d946ef);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(244, 114, 182, 0.2);
    animation: slideUp 0.5s ease-out;
}

.btn-next-step:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(244, 114, 182, 0.4);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1200px) {
    .creation-layout { grid-template-columns: 1fr; }
    .creation-story-panel { min-height: 500px; }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.2s;
}

.close-modal:hover {
    color: var(--text-main);
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-login.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.btn-login.disabled:hover {
    transform: none;
}

.btn-login i {
    font-size: 1.2rem;
}

/* Visual Preview Styles */
.visual-preview-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 1px dashed var(--glass-border);
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.visual-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

.visual-placeholder i {
    font-size: 4rem;
    opacity: 0.1;
    animation: floatMove 3s ease-in-out infinite;
}

.generated-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.generated-img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    animation: imageFadeIn 0.8s ease-out;
}

.visual-success-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(34, 197, 94, 0.85);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

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

@keyframes imageFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
