/* Home Page Styles */
body.page_home .contain.main{
    margin-top:0;
    padding-top:0;
}
.home-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
    padding: 60px 0;
    gap: 60px;
}
body.page_home main.contain {
    padding-top: 0 !important;
}
@media (max-width: 768px) {
    body.page_home main.contain {
        padding-top: 0 !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 30px 0 40px;
    }
    
    .features-section {
        padding: 80px 0 0 0;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-50vw + 50%);
    width: 100vw;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.06) 0%,
        rgba(0, 191, 255, 0.05) 20%,
        rgba(50, 205, 50, 0.04) 40%,
        rgba(255, 215, 0, 0.04) 60%,
        rgba(255, 105, 180, 0.05) 80%,
        rgba(138, 43, 226, 0.06) 100%);
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-50vw + 50%);
    width: 100vw;
    background: radial-gradient(ellipse at 30% 20%, rgba(138, 43, 226, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(0, 191, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(255, 105, 180, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-text-heading);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-bonus { 
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.2) 0%, rgba(46, 204, 113, 0.15) 100%);
    border: 1px solid rgba(39, 174, 96, 0.4);
    border-radius: var(--radius-large);
    color: #2ecc71;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-bonus i {
    font-size: 1.3rem;
}

.hero-bonus strong {
    color: var(--color-token-gold);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-medium);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(93, 156, 236, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 156, 236, 0.4);
}

.btn-secondary {
    background: var(--color-background-component);
    color: var(--color-text-body);
    border: 1px solid var(--color-border-default);
}

.btn-secondary:hover {
    background: var(--color-background-component-light);
    border-color: var(--color-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.floating-images {
    position: relative;
    width: 100%;
    height: 400px;
}

.float-img {
    position: absolute;
    border-radius: var(--radius-large);
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

.float-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 156, 236, 0.4), rgba(147, 112, 219, 0.4));
    pointer-events: none;
}

.float-1 {
    width: 280px;
    height: 280px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-1::after {
    background: linear-gradient(135deg, rgba(93, 156, 236, 0.35), rgba(247, 168, 94, 0.35));
}

.float-2 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 10%;
    animation-delay: -2s;
}

.float-2::after {
    background: linear-gradient(135deg, rgba(247, 168, 94, 0.35), rgba(110, 231, 183, 0.35));
}

.float-3 {
    width: 160px;
    height: 160px;
    bottom: 10%;
    left: 30%;
    animation-delay: -4s;
}

.float-3::after {
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.35), rgba(93, 156, 236, 0.35));
}

.float-4 {
    width: 180px;
    height: 180px;
    top: 5%;
    right: 25%;
    animation-delay: -3s;
}

.float-4::after {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.35), rgba(236, 93, 156, 0.35));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.9) 0%,
        rgba(30, 41, 59, 0.8) 25%,
        rgba(51, 65, 85, 0.7) 50%,
        rgba(30, 41, 59, 0.8) 75%,
        rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-large);
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15) 0%,
        transparent 40%,
        transparent 60%,
        rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        #6366f1 0%, 
        #8b5cf6 25%, 
        #a855f7 50%, 
        #ec4899 75%, 
        #f43f5e 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(139, 92, 246, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

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

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-medium);
    background: linear-gradient(135deg, var(--color-primary-transparent), var(--color-secondary-transparent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 28px;
    color: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: 12px;
}

.feature-card > p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-body);
    padding: 8px 0;
}

.feature-list.horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.feature-list.horizontal li {
    padding: 6px 12px;
    background: rgba(93, 156, 236, 0.1);
    border-radius: var(--radius-small);
    font-size: 0.9rem;
    border: 1px solid rgba(93, 156, 236, 0.15);
    transition: all 0.2s ease;
}

.feature-list.horizontal li:hover {
    background: rgba(93, 156, 236, 0.15);
    border-color: rgba(93, 156, 236, 0.3);
}

.feature-list.horizontal li i {
    color: var(--color-primary);
    font-size: 0.75rem;
}

.feature-list li i {
    color: var(--color-success);
    font-size: 14px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 12px;
}

/* Models Section */
.models-section {
    padding: 80px 0;
}

.models-scroll-container {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.models-scroll {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.models-scroll::-webkit-scrollbar {
    display: none;
}

.models-scroll-inner {
    display: flex;
    gap: 20px;
    animation: scrollModels 100s linear infinite;
    cursor: grab;
}

.models-scroll-inner:active {
    cursor: grabbing;
}

/* Pause animation on hover */
.models-scroll-container:hover .models-scroll-inner {
    animation-play-state: paused;
}

@keyframes scrollModels {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.models-scroll-inner .model-card {
    flex: 0 0 auto;
    width: 320px;
    min-height: 180px;
    position: relative;
    border-radius: var(--radius-medium);
    background: var(--color-background-component);
    border: 1px solid var(--color-border-default);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.models-scroll-inner .model-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.model-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.model-card-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-heading);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.model-card-provider {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--color-primary-transparent), var(--color-secondary-transparent));
    border-radius: 12px;
    color: var(--color-primary);
    font-weight: 500;
}

.model-card-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.model-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--color-border-default);
    font-size: 0.85rem;
}

.model-card-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
}

.model-card-stat i {
    color: var(--color-primary);
    font-size: 0.8rem;
}

.models-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 200px;
    color: var(--color-text-muted);
}

.models-cta {
    text-align: center;
    margin-top: 20px;
}

/* Image Models Section */
.image-models-section {
    padding: 80px 0;
}

.image-models-scroll-container {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.image-models-scroll {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.image-models-scroll::-webkit-scrollbar {
    display: none;
}

.image-models-scroll-inner {
    display: flex;
    gap: 20px;
    animation: scrollImageModels 90s linear infinite;
    cursor: grab;
}

.image-models-scroll-inner:active {
    cursor: grabbing;
}

/* Pause animation on hover */
.image-models-scroll-container:hover .image-models-scroll-inner {
    animation-play-state: paused;
}

@keyframes scrollImageModels {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.image-models-scroll-inner .image-model-card {
    flex: 0 0 auto;
    width: 280px;
    position: relative;
    border-radius: var(--radius-medium);
    background: var(--color-background-component);
    border: 1px solid var(--color-border-default);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.image-models-scroll-inner .image-model-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.image-model-preview {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 191, 255, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.image-model-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-model-preview.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 3rem;
}

.image-model-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
}

.image-model-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.image-model-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-heading);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.image-model-description {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}

.image-model-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--color-border-default);
    font-size: 0.8rem;
}

.image-model-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-text-muted);
}

.image-model-stat i {
    color: var(--color-primary);
    font-size: 0.75rem;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.gallery-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--color-border-default);
    background: var(--color-background-component);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-text-body);
}

.gallery-tab.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-color: transparent;
    color: white;
}

.gallery-tab i {
    font-size: 0.9rem;
}

/* Horizontal Scroll Gallery */
.gallery-scroll-container {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.gallery-scroll {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-scroll-inner {
    display: flex;
    gap: 16px;
    animation: scrollGallery 120s linear infinite;
    cursor: grab;
}

.gallery-scroll-inner:active {
    cursor: grabbing;
}

.gallery-scroll-inner.dragging {
    animation-play-state: paused;
    cursor: grabbing;
}

/* Pause animation on hover */
.gallery-scroll-container:hover .gallery-scroll-inner {
    animation-play-state: paused;
}

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-scroll-inner .gallery-item {
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
    position: relative;
    border-radius: var(--radius-medium);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-scroll-inner .gallery-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-model {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.gallery-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 220px;
    color: var(--color-text-muted);
}

.gallery-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-muted);
}

.gallery-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.gallery-cta {
    text-align: center;
}

/* Stats Section */
.stats-section {
    position: relative;
    padding: 60px 0;
    margin: 40px 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-50vw + 50%);
    width: 100vw;
    background: linear-gradient(135deg, 
        rgba(93, 156, 236, 0.08) 0%,
        rgba(147, 112, 219, 0.06) 50%,
        rgba(110, 231, 183, 0.08) 100%);
    border-top: 1px solid rgba(93, 156, 236, 0.15);
    border-bottom: 1px solid rgba(147, 112, 219, 0.15);
    z-index: -1;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-50vw + 50%);
    width: 100vw;
    background: radial-gradient(ellipse at 20% 50%, rgba(93, 156, 236, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(147, 112, 219, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15) 0%, rgba(46, 204, 113, 0.1) 100%);
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: var(--radius-large);
    color: var(--color-success);
    font-size: 1rem;
}

.cta-bonus i {
    font-size: 1.2rem;
}

.cta-bonus strong {
    color: var(--color-token-gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .stats-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
