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

body {
    font-family: PingFang SC, arial, tahoma, Hiragino Sans GB, Microsoft YaHei, sans-serif;;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 全局加载提示样式 */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.global-loader-content {
    background-color: #2A2A2A;
    border-radius: 12px;
    padding: 30px 50px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.global-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00D96B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.global-loader-text {
    color: #ffffff;
    font-size: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 全局提示通知样式 */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert-box {
    background-color: #2A2A2A;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-left: 4px solid #00D96B;
    font-size: 14px;
    max-width: 400px;
    display: none;
}

/* 自定义title提示样式 */
.custom-tooltip {
    position: fixed;
    background-color: #2A2A2A;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-left: 3px solid #00D96B;
    z-index: 10001;
    pointer-events: none;
    display: none;
    word-wrap: break-word;
}

.txt_font {
    font-family: PingFang SC, arial, tahoma, Hiragino Sans GB, Microsoft YaHei, sans-serif;
}




/* Main Container */
.main-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styles */
.sidebar {
    width: 200px;
    background-color: #121212;
    border-right: 1px solid #2a2a2a;
    flex-shrink: 0;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .sidebar-logo img {
    height: 24px;
}

.sidebar.collapsed .sidebar-link span {
    display: none;
}

.sidebar.collapsed .sidebar-link {
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.sidebar.collapsed .sidebar-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.sidebar.collapsed .user-details {
    display: none;
}

.sidebar.collapsed .user-info {
    justify-content: center;
    padding: 0.5rem;
}

.sidebar.collapsed .user-avatar {
    width: 32px;
    height: 32px;
}

.sidebar.collapsed .sidebar-header {
    padding: 1rem;
    justify-content: space-between;
}

.sidebar.collapsed .sidebar-header .sidebar-logo {
    margin-right: 0.5rem;
}

.sidebar.collapsed .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #2a2a2a;
}

.sidebar-toggle {
    background-color: transparent;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
}

.sidebar-toggle:hover {
    background-color: #1e1e1e;
    color: #ffffff;
}

.sidebar.collapsed .sidebar-toggle {
    transform: rotate(180deg);
}

.sidebar-logo {
    padding: 0;
}

.sidebar-logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.sidebar-menu {
    list-style: none;
    flex: 1;
}

.sidebar-item {
    margin-bottom: 0.5rem;
}

.sidebar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.45rem 0.5rem;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: none;
    border-bottom: 2px solid transparent;
    position: relative;
    width: 100%;
    text-align: center
}

.sidebar-link:hover {
    background-color: #1e1e1e;
    color: #ffffff;
}

.sidebar-link.active {
    background-color: #1e1e1e;
    color: #ffffff;
    border-left-color: #0066cc;
}

.sidebar-link.active i {
    color: #0066cc;
    transform: scale(1.1);
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #0066cc;
    border-radius: 0 3px 3px 0;
}

.sidebar-link i {
    font-size: 1.2rem;
    width: 20px;
}

/* User Profile in Sidebar */
.user-profile {
    padding: 1rem 2rem;
    border-top: 1px solid #2a2a2a;
    margin-top: auto;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.user-details {
    flex: 1;
    min-width: 0;
}

.user-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-details p {
    font-size: 0.9rem;
    color: #0066cc;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 0rem;
    height: 100%;
    font-size: 0.875rem;
    overflow-y: auto;
}

/* Page Title */
.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0rem;
    color: #ffffff;
}

/* Dashboard Styles */
.dashboard-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.dashboard-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0rem;
    color: #ffffff;
}

.dashboard-hero p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.create-btn {
    background-color: #ffffff;
    color: #0066cc;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(156, 39, 176, 0.3);
}

/* Trending Section */
.trending-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.view-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-more:hover {
    color: #004c99;
}

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

.trending-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 9/16;
    background-color: #1e1e1e;
    border: 2px solid transparent;
}

.trending-item:hover {
    transform: translateY(-5px);
    border-color: #0066cc;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.trending-item.selected {
    border-color: #0066cc;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
}

.trending-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.trending-item:hover .trending-thumbnail img {
    transform: scale(1.05);
}

.views-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem 1rem;
    color: #ffffff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.trending-item:hover .video-overlay {
    transform: translateY(0);
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.video-creator {
    font-size: 0.8rem;
    color: #b0b0b0;
    margin-bottom: 0.75rem;
}

.video-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #b0b0b0;
    margin-bottom: 0.75rem;
}

.like-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.use-template-btn {
    width: 100%;
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.use-template-btn:hover {
    background-color: #004c99;
}

/* Creation Center Styles */
.creation-center {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 1px;
    height: 100vh;
    background-color: #2a2a2a;
}

.left-panel {
    background-color: #121212;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
}

.panel-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reset-btn {
    background-color: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background-color: #1e1e1e;
    color: #ffffff;
}

.workspace-btn {
    color: #0066cc;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}

.message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    max-width: 90%;
}

.ai-message {
    background-color: #1e1e1e;
    border-top-left-radius: 0;
    align-self: flex-start;
}

.user-message {
    background-color: #0066cc;
    color: #ffffff;
    border-top-right-radius: 0;
    align-self: flex-end;
    margin-left: auto;
}

.user-input-area {
    border-top: 1px solid #2a2a2a;
    padding-top: 0.3rem;
}

.prompt-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0rem;
}

.action-btn {
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 0.5rem;
    color: #b0b0b0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

.user-input-area > .prompt-actions {
    display: block;
}

.input-container {
    position: relative;
    margin-bottom: 0.1rem;
}

.prompt-input {
    width: 100%;
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 0.75rem;
    color: #ffffff;
    font-size: 0.875rem;
    min-height: 180px;
    resize: vertical;
    padding-bottom: 40px;
}

.prompt-input:focus {
    outline: none;
    border-color: #00D96b;
}

.input-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #1e1e1e;
    border-top: 1px solid #2a2a2a;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.input-footer .prompt-actions {
    display: flex;
    gap: 0.25rem;
    flex: 1;

}

.input-footer .action-btn {
    padding: 0.3rem;
    font-size: 0.8rem;
}

.input-footer .model-settings {
    flex: 2;
    display: flex;
    gap: 0.5rem;
    margin-top: 0;
}

.input-footer .setting-item {
    flex: 1;
    position: relative;
}

.input-footer .setting-item select {
    width: 100%;
    background-color: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    color: #ffffff;
    font-size: 0.7rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b0b0b0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11l-5-5h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    padding-right: 20px;
    padding-left: 0.5rem;
}

.input-footer .send-btn {
    position: static;
    background-color: #00D96b;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.input-footer .send-btn:hover {
    background-color: #004c99;
}

.model-settings {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.setting-item {
    flex: 1;
    position: relative;
}

.setting-item select {
    width: 100%;
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 0.5rem 0.5rem;
    color: #ffffff;
    font-size: 0.7rem;
    appearance: none;
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 30px;
}

.model-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23b0b0b0' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3zm0 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E");
}

.duration-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23b0b0b0' viewBox='0 0 16 16'%3E%3Cpath d='M8 3a.5.5 0 0 1 .5.5V5H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V6H6a.5.5 0 0 1 0-1h1.5V3.5A.5.5 0 0 1 8 3zm3.5 3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3zM1 8a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3A.5.5 0 0 0 4.5 4h-3A.5.5 0 0 0 1 4.5v3zM8 9a.5.5 0 0 1 .5-.5h3A.5.5 0 0 1 12 9v3a.5.5 0 0 1-.5.5h-3A.5.5 0 0 1 8 12V9z'/%3E%3C/svg%3E");
}

.aspect-ratio-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23b0b0b0' viewBox='0 0 16 16'%3E%3Cpath d='M8.5 2.5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h5zM3 4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-9A.5.5 0 0 1 3 11V4zm1.5 2.5A.5.5 0 0 0 1 3v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13zm13 1h-13v7h13v-7z'/%3E%3C/svg%3E");
}

.center-panel {
    background-color: #121212;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.center-panel .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    text-align: left;
}

.center-panel .panel-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.workspace-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credits-estimate {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.export-btn {
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.export-btn:hover {
    background-color: #004c99;
}

.center-panel .video-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preview-placeholder {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/9;
    background-color: #1e1e1e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.preview-placeholder i {
    font-size: 4rem;
    color: #2a2a2a;
}

.video-player {
    width: 100%;
    max-width: 600px;
    margin-bottom: 0rem;

}

.video-player video {
    width: 100%;
    border-radius: 10px;
    height: 200px;
}

.loading-progress {
    width: 100%;
    max-width: 600px;
    margin-bottom: 2rem;
}

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

.progress-fill {
    height: 100%;
    background-color: #00D96b;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    color: #b0b0b0;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

.center-panel p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin: 0;
}

.right-panel {
    background-color: #121212;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

 /* 工作台头部样式 */
.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #1e1e1e;
    border-bottom: 1px solid #333;
}


.workspace-tabs {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.workspace-tab {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.workspace-tab.active {
    color: #00D96B;
    background: rgba(0, 217, 107, 0.1);
}

.workspace-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.workspace-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.workspace-checkbox input[type="checkbox"] {
    accent-color: #00D96B;
}

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

.view-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.view-btn.active {
    background-color: #2a2a2a;
    color: #00D96B;
    border-color: #00D96B;
}

.asset-btn {
    background: none;
    border: 1px solid #333;
    color: #888;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.asset-btn:hover {
    color: #ffffff;
    border-color: #555;
}

.workspace-content {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 1px;
    flex: 1;
    overflow: hidden;
    background-color: #2a2a2a;
}

.video-section {
    background-color: #121212;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.image-section {
    background-color: #121212;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.params-section {
    background-color: #121212;
    padding: 1rem;
    overflow-y: auto;
}

.params-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.params-section h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.param-group {
    margin-bottom: 0.2rem;
}

.param-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.param-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.param-btn {
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
    color: #b0b0b0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.param-btn.active {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #ffffff;
}

.param-btn:hover:not(.active) {
    background-color: #2a2a2a;
    color: #ffffff;
}

.style-select {
    width: 100%;
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 1rem;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.advanced-toggle {
    background-color: transparent;
    border: none;
    color: #0066cc;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Template Library */
.template-library {
    padding: 2rem;
}

.template-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 0rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    color: #b0b0b0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #ffffff;
}

.filter-btn:hover:not(.active) {
    background-color: #2a2a2a;
    color: #ffffff;
}

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

.template-item {
    position: relative;
    background-color: #1e1e1e;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.template-item:hover {
    transform: translateY(-5px);
    border-color: #0066cc;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.template-item.selected {
    border-color: #0066cc;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
}

.template-thumbnail {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

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

.template-item:hover .template-thumbnail img {
    transform: scale(1.05);
}

.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.template-item:hover .template-overlay {
    opacity: 1;
}

.use-template-btn {
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.use-template-btn:hover {
    background-color: #004c99;
    transform: scale(1.05);
}

.template-info {
    padding: 1.5rem;
}

.template-category {
    font-size: 0.8rem;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.template-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.template-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background-color: #121212;
    border-radius: 10px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    color: #b0b0b0;
}

/* Profile Page */
.profile-page {
    padding: 2rem;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 2rem;
    background-color: #121212;
    border-radius: 15px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0066cc;
    flex-shrink: 0;
}

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

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.1rem;
}

.profile-info-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-badge {
    background-color: #0066cc;
    color: #ffffff;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.profile-info p {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.edit-btn, .share-btn {
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* Tabs */
.tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 0rem;
    border-bottom: 1px solid #2a2a2a;
}

.tab {
    padding: 1rem 0;
    color: #b0b0b0;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab.active {
    color: #ffffff;
    border-bottom-color: #00D96B;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 9/16;
    background-color: #1e1e1e;
    border: 2px solid transparent;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: #0066cc;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.portfolio-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.portfolio-item:hover .portfolio-thumbnail img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-actions-btn {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #0066cc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.portfolio-actions-btn:hover {
    background-color: #0066cc;
    transform: scale(1.1);
}

/* Pricing Page */
.pricing-page {
    padding: 2rem;
    text-align: left;
}

.pricing-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0rem;
    color: #ffffff;
}

.pricing-page p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.pricing-card {
    background-color: #1e1e1e;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #2a2a2a;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border-color: #00D96B;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00D96B;
    color: #ffffff;
    padding: 0.1rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0rem;
    color: #ffffff;
}

.pricing-card .price-container {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
}

.pricing-card .billing-cycle {
    font-size: 1rem;
    color: #b0b0b0;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    color: #b0b0b0;
    border-bottom: 1px solid #2a2a2a;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #4caf50;
}

.pricing-btn {
    width: 100%;
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card.popular .pricing-btn {
    background-color: #00D96B;
    border-color: #00D96B;
}

.pricing-btn:hover {
    background-color: #2a2a2a;
}

.pricing-card.popular .pricing-btn:hover {
    background-color: #4caf50;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .creation-center {
        grid-template-columns: 1fr;
        height: auto;
        gap: 1rem;
    }

    .left-panel, .center-panel, .right-panel {
        height: 400px;
    }

    .sidebar {
        width: 200px;
    }

    .content-area {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .sidebar {
        position: fixed;
        left: -250px;
        top: 80px;
        height: calc(100vh - 80px);
        z-index: 999;
        transition: left 0.3s ease;
    }

    .sidebar.active {
        left: 0;
    }

    .main-container {
        flex-direction: column;
    }

    .content-area {
        padding: 1rem;
    }

    .dashboard-hero {
        padding: 2rem;
    }

    .dashboard-hero h1 {
        font-size: 2rem;
    }

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

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

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-card.popular {
        transform: none;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
    }

    .profile-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-actions {
        flex-direction: column;
        align-items: flex-end;
    }

    .credits {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .export-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .dashboard-hero h1 {
        font-size: 1.8rem;
    }

    .create-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

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

    .profile-stats {
        gap: 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card .price {
        font-size: 2.5rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00D96b;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
}

/* 新的侧边栏样式 */
.sidebar {
    width: 80px;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    height: 100vh;
    border-right: 1px solid #2a2a2a;
}

.sidebar-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 0.5rem;
}

.sidebar-logo img {
    height: 40px;
    width: auto;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0rem 0;
    flex: 1;
    justify-content: flex-end;
}

.sidebar-menu.small-menu {
    padding: 0.1rem 0;
    gap: 0.01rem;
    margin-top: auto;
    margin-bottom: 0.5rem;
}

.sidebar-item {
    margin-bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}



.sidebar-menu.small-menu .sidebar-link {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
}

.sidebar-menu.small-menu .sidebar-link i {
    font-size: 1rem;
}

.sidebar-link:hover {
    background-color: transparent;
    color: #00D96B;
}

.sidebar-link.active {
    background-color: transparent;
    color: #00D96B;
    border-left-color: transparent;
    border-bottom-color: #00D96B;
}

.sidebar-link.active i {
    color: #00D96B;
    transform: scale(1);
}

.sidebar-link.active::before {
    display: none;
}

.sidebar-link i {
    font-size: 1.2rem;
    width: auto;
}

.sidebar-link span {
    font-size: 11px;
    text-align: center;
}

.notification-btn, .announcement-btn {
    position: relative;
    background: none;
    border: none;
    color: #b0b0b0;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.notification-btn:hover, .announcement-btn:hover {
    color: #ffffff;
    background-color: #1e1e1e;
}

.notification-dot {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    width: 8px;
    height: 8px;
    background-color: #ff4444;
    border-radius: 50%;
}

.user-profile {
    padding: 0.5rem;
    border-top: 1px solid #2a2a2a;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

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

.user-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.user-details .sidebar-link {
    width: 100%;
    text-align: center;
    padding: 0.25rem 0 !important;
    font-size: 12px;
}

.user-details .sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* User Popup Styles */
.user-info-container {
    position: relative;
    width: 100%;
}

.user-popup {
    position: fixed;
    background: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 300px;
    z-index: 9999;
}

.user-popup::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 80%;
    transform: translateY(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent #1e1e1e transparent transparent;
}

.user-popup-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #3a3a3a;
}

.user-popup-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

.user-popup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-popup-info {
    flex: 1;
}

.user-popup-name {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.user-popup-name span {
    color: #ffffff;
    font-weight: 600;
    margin-right: 8px;
}

.user-popup-id {
    background: #3a3a3a;
    color: #ffffff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.user-popup-profile-btn {
    color: #00D96B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.user-popup-divider {
    height: 1px;
    background: #3a3a3a;
}

.user-popup-section {
    padding: 16px;
}

.user-popup-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.user-popup-section-header span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.user-popup-section-link {
    color: #00D96B;
    text-decoration: none;
    font-size: 12px;
}

.user-popup-space {
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.user-popup-space-avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 12px;
}

.user-popup-space-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-popup-space-info {
    flex: 1;
}

.user-popup-space-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.user-popup-space-visibility {
    color: #b0b0b0;
    font-size: 12px;
}

.user-popup-space-status {
    width: 8px;
    height: 8px;
    background: #00D96B;
    border-radius: 50%;
}

.user-popup-add-space {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    border-radius: 6px;
    padding: 12px;
    color: #b0b0b0;
    font-size: 14px;
    cursor: not-allowed;
    transition: background 0.3s ease;
}

.user-popup-add-space:hover {
    background: #3a3a3a;
}

.user-popup-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #3a3a3a;
    background: #2a2a2a;
    border-radius: 0 0 8px 8px;
}

.user-popup-footer-item {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    font-size: 12px;
}

.user-popup-footer-item i {
    margin-right: 4px;
    color: #00D96B;
}

/* 消息弹窗样式 */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 3000;
    padding-top: 50px;
}

.notification-modal-content {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notification-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.notification-tabs {
    display: flex;
    gap: 20px;
}

.notification-tab {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 16px;
}

.notification-tab.active {
    color: #00D96B;
    border-bottom-color: #00D96B;
}

.notification-close {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: #ffffff;
}

.notification-modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: #1e1e1e;
    border-radius: 8px;
}

.notification-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2a2a2a;
    border-radius: 50%;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 20px;
    color: #00D96B;
}

.notification-content {
    flex: 1;
}

.notification-content h5 {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 16px;
}

.notification-content p {
    margin: 0 0 8px 0;
    color: #b0b0b0;
    font-size: 14px;
}

.notification-time {
    color: #888;
    font-size: 12px;
}

    /* 图片预览弹窗 */
    .image-preview-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2000;
    }

    .image-preview-content {
        max-width: 80%;
        max-height: 80vh;
        position: relative;
    }

    .image-preview-content img {
        max-width: 100%;
        max-height: 80vh;
        object-fit: contain;
    }

    .image-preview-close {
        position: absolute;
        top: -40px;
        right: 0;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 24px;
        cursor: pointer;
    }

/* ========================================
   首页新样式 - Hero + Feature + Inspiration
   ======================================== */

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    background-color: #0a0a0a;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.55) 0%,
        rgba(10, 10, 10, 0.35) 40%,
        rgba(10, 10, 10, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 0 40px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.hero-cta-btn {
    background: linear-gradient(135deg, #00D96B 0%, #00b85c 100%);
    color: #ffffff;
    border: none;
    padding: 12px 48px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 20px rgba(0, 217, 107, 0.35),
        0 0 0 1px rgba(0, 217, 107, 0.2);
    letter-spacing: 1px;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(0, 217, 107, 0.5),
        0 0 0 1px rgba(0, 217, 107, 0.4);
}

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

/* Feature Cards Section */
.feature-section {
    margin-bottom: 32px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px 20px;
    background: linear-gradient(
        145deg,
        rgba(30, 30, 30, 0.95) 0%,
        rgba(20, 20, 20, 0.95) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(0, 217, 107, 0.3) 0%,
        transparent 50%,
        rgba(0, 102, 204, 0.2) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(
        145deg,
        rgba(40, 40, 40, 0.98) 0%,
        rgba(28, 28, 28, 0.98) 100%
    );
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 217, 107, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

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

.feature-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.feature-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(0, 217, 107, 0.15) 0%,
        rgba(0, 102, 204, 0.15) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 18px;
    background: linear-gradient(135deg, #00D96B 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-info {
    flex: 1;
    min-width: 0;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 12px;
    color: rgba(176, 176, 176, 0.85);
    line-height: 1.4;
    margin: 0;
}

.feature-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-arrow i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-arrow {
    background: rgba(0, 217, 107, 0.15);
}

.feature-card:hover .feature-arrow i {
    color: #00D96B;
    transform: translateX(2px);
}

/* Inspiration Section */
.inspiration-section {
    margin-bottom: 24px;
}

.inspiration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.inspiration-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.inspiration-label {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.inspiration-tabs {
    display: flex;
    gap: 8px;
}

.inspiration-tab {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(176, 176, 176, 0.9);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.inspiration-tab:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(40, 40, 40, 0.9);
}

.inspiration-tab.active {
    background: linear-gradient(135deg, #00D96B 0%, #00b85c 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 217, 107, 0.3);
}

.inspiration-view-all {
    font-size: 13px;
    color: rgba(176, 176, 176, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.25s ease;
}

.inspiration-view-all:hover {
    color: #00D96B;
}

.inspiration-view-all i {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.inspiration-view-all:hover i {
    transform: translateX(2px);
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.inspiration-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: #1e1e1e;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.inspiration-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.inspiration-thumb {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.inspiration-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.inspiration-item:hover .inspiration-thumb img {
    transform: scale(1.06);
}

.inspiration-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        transparent 100%
    );
    padding: 40px 14px 14px;
    color: #ffffff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.inspiration-item:hover .inspiration-overlay {
    opacity: 1;
    transform: translateY(0);
}

.inspiration-video-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    color: #ffffff;
}

.inspiration-video-creator {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.inspiration-video-stats {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.inspiration-video-stats i {
    margin-right: 3px;
    font-size: 10px;
}

.inspiration-video-stats span {
    display: flex;
    align-items: center;
}

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

@media (max-width: 768px) {
    .hero-section {
        height: 260px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    .hero-cta-btn {
        padding: 10px 36px;
        font-size: 14px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .inspiration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .inspiration-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .inspiration-left {
        gap: 16px;
    }
}

