.ai-image-generator-widget {
--primary-color: #8b5cf6;
--secondary-color: #6d28d9;
--dark-bg: #0a0a0f;
--card-bg: #1a1a2e;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: var(--dark-bg);
color: #fff;
overflow: hidden;
} .aig-hero {
position: relative;
padding: 100px 20px 120px;
text-align: center;
overflow: hidden;
}
.aig-hero-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
z-index: 0;
}
.aig-hero-bg::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
right: -50%;
bottom: -50%;
background: 
linear-gradient(45deg, transparent 30%, rgba(139, 92, 246, 0.05) 50%, transparent 70%),
linear-gradient(-45deg, transparent 30%, rgba(109, 40, 217, 0.05) 50%, transparent 70%);
animation: bgShift 20s ease-in-out infinite;
}
@keyframes bgShift {
0%, 100% { transform: translate(0, 0); }
50% { transform: translate(-5%, -5%); }
}
.aig-hero-content {
position: relative;
z-index: 1;
max-width: 900px;
margin: 0 auto;
}
.aig-title {
font-size: clamp(2.5rem, 6vw, 4.5rem);
font-weight: 800;
margin: 0 0 20px;
line-height: 1.1;
}
.aig-title-highlight {
color: var(--primary-color);
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.aig-subtitle {
font-size: 1.1rem;
color: rgba(255, 255, 255, 0.7);
margin: 0 0 40px;
line-height: 1.6;
max-width: 700px;
margin-left: auto;
margin-right: auto;
} .aig-input-wrapper {
margin: 0 0 30px;
}
.aig-input-container {
display: flex;
align-items: center;
background: rgba(26, 26, 46, 0.8);
backdrop-filter: blur(10px);
border: 1px solid rgba(139, 92, 246, 0.2);
border-radius: 50px;
padding: 8px 8px 8px 20px;
max-width: 700px;
margin: 0 auto;
transition: all 0.3s ease;
}
.aig-input-container:focus-within {
border-color: var(--primary-color);
box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}
.aig-input-icon {
color: rgba(255, 255, 255, 0.5);
flex-shrink: 0;
margin-right: 15px;
}
.aig-input {
flex: 1;
background: transparent;
border: none;
color: #fff;
font-size: 1rem;
outline: none;
padding: 12px 0;
}
.aig-input::placeholder {
color: rgba(255, 255, 255, 0.4);
}
.aig-generate-btn {
display: flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: #fff;
border: none;
border-radius: 50px;
padding: 14px 28px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
white-space: nowrap;
}
.aig-generate-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}
.aig-generate-btn svg {
animation: spin 8s linear infinite;
}
@keyframes spin {
100% { transform: rotate(360deg); }
} .aig-tags {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
}
.aig-tags-label {
color: rgba(255, 255, 255, 0.6);
font-size: 0.9rem;
}
.aig-tag {
background: rgba(139, 92, 246, 0.1);
border: 1px solid rgba(139, 92, 246, 0.3);
color: rgba(255, 255, 255, 0.8);
padding: 6px 16px;
border-radius: 20px;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.3s ease;
}
.aig-tag:hover {
background: rgba(139, 92, 246, 0.2);
border-color: var(--primary-color);
color: #fff;
} .aig-floating-images {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
z-index: 0;
}
.aig-float-img {
position: absolute;
width: 280px;
height: 320px;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(109, 40, 217, 0.05));
border-radius: 20px;
border: 1px solid rgba(139, 92, 246, 0.2);
backdrop-filter: blur(10px);
}
.aig-float-img-left {
left: 5%;
top: 20%;
animation: float 6s ease-in-out infinite;
transform: rotate(-5deg);
}
.aig-float-img-right {
right: 5%;
top: 15%;
animation: float 6s ease-in-out infinite 2s;
transform: rotate(5deg);
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(-5deg); }
50% { transform: translateY(-20px) rotate(-3deg); }
} .aig-content {
background: var(--card-bg);
border-radius: 30px 30px 0 0;
padding: 60px 20px;
position: relative;
z-index: 2;
margin-top: -50px;
} .aig-section {
max-width: 1400px;
margin: 0 auto 60px;
}
.aig-section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
}
.aig-section-title {
font-size: 2rem;
font-weight: 700;
margin: 0;
}
.aig-section-title span {
color: rgba(255, 255, 255, 0.5);
font-weight: 400;
} .aig-nav-arrows {
display: flex;
gap: 10px;
}
.aig-nav-arrow {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(139, 92, 246, 0.1);
border: 1px solid rgba(139, 92, 246, 0.3);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}
.aig-nav-arrow:hover {
background: var(--primary-color);
border-color: var(--primary-color);
transform: scale(1.1);
} .aig-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}
.aig-gallery-item {
position: relative;
border-radius: 20px;
overflow: hidden;
background: rgba(0, 0, 0, 0.3);
aspect-ratio: 4/5;
cursor: pointer;
transition: transform 0.3s ease;
}
.aig-gallery-item:hover {
transform: translateY(-5px);
}
.aig-gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.aig-gallery-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 20px;
background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
opacity: 0;
transition: opacity 0.3s ease;
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.aig-gallery-item:hover .aig-gallery-overlay {
opacity: 1;
}
.aig-gallery-title {
font-weight: 600;
font-size: 1.1rem;
}
.aig-gallery-menu {
position: absolute;
top: 15px;
right: 15px;
width: 36px;
height: 36px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
border: none;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
opacity: 0;
transition: all 0.3s ease;
}
.aig-gallery-item:hover .aig-gallery-menu {
opacity: 1;
}
.aig-gallery-menu:hover {
background: rgba(139, 92, 246, 0.8);
} .aig-filter-tabs {
display: flex;
gap: 12px;
margin-bottom: 30px;
flex-wrap: wrap;
}
.aig-filter-tab {
background: rgba(139, 92, 246, 0.1);
border: 1px solid rgba(139, 92, 246, 0.3);
color: rgba(255, 255, 255, 0.7);
padding: 10px 24px;
border-radius: 25px;
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.aig-filter-tab:hover {
background: rgba(139, 92, 246, 0.2);
color: #fff;
}
.aig-filter-tab.active {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
border-color: transparent;
color: #fff;
} .aig-featured-gallery .aig-gallery-item {
aspect-ratio: 1;
}
.aig-action-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--primary-color);
border: none;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}
.aig-action-btn:hover {
transform: scale(1.1);
box-shadow: 0 5px 15px rgba(139, 92, 246, 0.5);
}
.aig-gallery-stats {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.8);
} @media (max-width: 768px .ai-image-generator-widget {
--primary-color: #8b5cf6;
--secondary-color: #6d28d9;
--dark-bg: #0a0a0f;
--card-bg: #1a1a2e;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: var(--dark-bg);
color: #fff;
overflow: hidden;
} .aig-hero {
position: relative;
padding: 100px 20px 120px;
text-align: center;
overflow: hidden;
}
.aig-hero-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
z-index: 0;
}
.aig-hero-bg::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
right: -50%;
bottom: -50%;
background: 
linear-gradient(45deg, transparent 30%, rgba(139, 92, 246, 0.05) 50%, transparent 70%),
linear-gradient(-45deg, transparent 30%, rgba(109, 40, 217, 0.05) 50%, transparent 70%);
animation: bgShift 20s ease-in-out infinite;
}
@keyframes bgShift {
0%, 100% { transform: translate(0, 0); }
50% { transform: translate(-5%, -5%); }
}
.aig-hero-content {
position: relative;
z-index: 1;
max-width: 900px;
margin: 0 auto;
}
.aig-title {
font-size: clamp(2.5rem, 6vw, 4.5rem);
font-weight: 800;
margin: 0 0 20px;
line-height: 1.1;
}
.aig-title-highlight {
color: var(--primary-color);
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.aig-subtitle {
font-size: 1.1rem;
color: rgba(255, 255, 255, 0.7);
margin: 0 0 40px;
line-height: 1.6;
max-width: 700px;
margin-left: auto;
margin-right: auto;
} .aig-input-wrapper {
margin: 0 0 30px;
}
.aig-input-container {
display: flex;
align-items: center;
background: rgba(26, 26, 46, 0.8);
backdrop-filter: blur(10px);
border: 1px solid rgba(139, 92, 246, 0.2);
border-radius: 50px;
padding: 8px 8px 8px 20px;
max-width: 700px;
margin: 0 auto;
transition: all 0.3s ease;
}
.aig-input-container:focus-within {
border-color: var(--primary-color);
box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}
.aig-input-icon {
color: rgba(255, 255, 255, 0.5);
flex-shrink: 0;
margin-right: 15px;
}
.aig-input {
flex: 1;
background: transparent;
border: none;
color: #fff;
font-size: 1rem;
outline: none;
padding: 12px 0;
}
.aig-input::placeholder {
color: rgba(255, 255, 255, 0.4);
}
.aig-generate-btn {
display: flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: #fff;
border: none;
border-radius: 50px;
padding: 14px 28px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
white-space: nowrap;
}
.aig-generate-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}
.aig-generate-btn svg {
animation: spin 8s linear infinite;
}
@keyframes spin {
100% { transform: rotate(360deg); }
} .aig-tags {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
}
.aig-tags-label {
color: rgba(255, 255, 255, 0.6);
font-size: 0.9rem;
}
.aig-tag {
background: rgba(139, 92, 246, 0.1);
border: 1px solid rgba(139, 92, 246, 0.3);
color: rgba(255, 255, 255, 0.8);
padding: 6px 16px;
border-radius: 20px;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.3s ease;
}
.aig-tag:hover {
background: rgba(139, 92, 246, 0.2);
border-color: var(--primary-color);
color: #fff;
} .aig-floating-images {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
z-index: 0;
}
.aig-float-img {
position: absolute;
width: 280px;
height: 320px;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(109, 40, 217, 0.05));
border-radius: 20px;
border: 1px solid rgba(139, 92, 246, 0.2);
backdrop-filter: blur(10px);
}
.aig-float-img-left {
left: 5%;
top: 20%;
animation: float 6s ease-in-out infinite;
transform: rotate(-5deg);
}
.aig-float-img-right {
right: 5%;
top: 15%;
animation: float 6s ease-in-out infinite 2s;
transform: rotate(5deg);
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(-5deg); }
50% { transform: translateY(-20px) rotate(-3deg); }
} .aig-content {
background: var(--card-bg);
border-radius: 30px 30px 0 0;
padding: 60px 20px;
position: relative;
z-index: 2;
margin-top: -50px;
} .aig-section {
max-width: 1400px;
margin: 0 auto 60px;
}
.aig-section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
}
.aig-section-title {
font-size: 2rem;
font-weight: 700;
margin: 0;
}
.aig-section-title span {
color: rgba(255, 255, 255, 0.5);
font-weight: 400;
} .aig-nav-arrows {
display: flex;
gap: 10px;
}
.aig-nav-arrow {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(139, 92, 246, 0.1);
border: 1px solid rgba(139, 92, 246, 0.3);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}
.aig-nav-arrow:hover {
background: var(--primary-color);
border-color: var(--primary-color);
transform: scale(1.1);
} .aig-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}
.aig-gallery-item {
position: relative;
border-radius: 20px;
overflow: hidden;
background: rgba(0, 0, 0, 0.3);
aspect-ratio: 4/5;
cursor: pointer;
transition: transform 0.3s ease;
}
.aig-gallery-item:hover {
transform: translateY(-5px);
}
.aig-gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.aig-gallery-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 20px;
background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
opacity: 0;
transition: opacity 0.3s ease;
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.aig-gallery-item:hover .aig-gallery-overlay {
opacity: 1;
}
.aig-gallery-title {
font-weight: 600;
font-size: 1.1rem;
}
.aig-gallery-menu {
position: absolute;
top: 15px;
right: 15px;
width: 36px;
height: 36px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
border: none;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
opacity: 0;
transition: all 0.3s ease;
}
.aig-gallery-item:hover .aig-gallery-menu {
opacity: 1;
}
.aig-gallery-menu:hover {
background: rgba(139, 92, 246, 0.8);
} .aig-filter-tabs {
display: flex;
gap: 12px;
margin-bottom: 30px;
flex-wrap: wrap;
}
.aig-filter-tab {
background: rgba(139, 92, 246, 0.1);
border: 1px solid rgba(139, 92, 246, 0.3);
color: rgba(255, 255, 255, 0.7);
padding: 10px 24px;
border-radius: 25px;
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.aig-filter-tab:hover {
background: rgba(139, 92, 246, 0.2);
color: #fff;
}
.aig-filter-tab.active {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
border-color: transparent;
color: #fff;
} .aig-featured-gallery .aig-gallery-item {
aspect-ratio: 1;
}
.aig-action-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--primary-color);
border: none;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}
.aig-action-btn:hover {
transform: scale(1.1);
box-shadow: 0 5px 15px rgba(139, 92, 246, 0.5);
}
.aig-gallery-stats {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.8);
} @media (max-width: 768px) {
.aig-hero {
padding: 60px 20px 80px;
}
.aig-title {
font-size: 2.5rem;
}
.aig-subtitle {
font-size: 1rem;
}
.aig-input-container {
flex-direction: column;
padding: 15px;
border-radius: 25px;
}
.aig-input {
width: 100%;
text-align: center;
padding: 10px;
}
.aig-generate-btn {
width: 100%;
justify-content: center;
}
.aig-float-img {
width: 200px;
height: 230px;
}
.aig-float-img-left {
left: -50px;
}
.aig-float-img-right {
right: -50px;
}
.aig-section-header {
flex-direction: column;
align-items: flex-start;
gap: 20px;
}
.aig-gallery {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 15px;
}
.aig-content {
padding: 40px 15px;
}
}
@media (max-width: 480px) {
.aig-gallery {
grid-template-columns: 1fr;
}
.aig-tags {
font-size: 0.85rem;
}
.aig-filter-tabs {
gap: 8px;
}
.aig-filter-tab {
padding: 8px 16px;
font-size: 0.85rem;
}
}