/* Modern Variables - Purple Color Scheme */
:root {
    --primary: #8B5FBF;
    --primary-dark: #6D3FB0;
    --primary-light: #D6C2FF;
    --secondary: #9F7AEA;
    --accent: #FF6B9D;
    --light: #F8F7FF;
    --dark: #2D1B69;
    --purple-gradient: linear-gradient(135deg, #8B5FBF 0%, #9F7AEA 50%, #D6C2FF 100%);
    --glass-gradient: linear-gradient(135deg, rgba(143, 110, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
    --blue-gradient: linear-gradient(135deg, #6D9EFF 0%, #A3C4FF 100%);
    --border-radius: 16px;
    --shadow: 0 8px 32px rgba(139, 95, 191, 0.1);
    --shadow-lg: 0 15px 40px rgba(139, 95, 191, 0.2);
}

/* Reset and Base Styles */
._mainpage-section {
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
}

/* NEW ANIMATION SYSTEM - FIXED FLICKERING */
._mainpage-animate-on-scroll {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

._mainpage-animate-on-scroll._mainpage-animated {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Staggered animations for different elements */
._mainpage-section-header._mainpage-animate-on-scroll {
    transition-delay: 0.2s;
}

._mainpage-who-card._mainpage-animate-on-scroll {
    transition-delay: 0.3s;
}

._mainpage-opportunity-column._mainpage-animate-on-scroll {
    transition-delay: 0.2s;
}

._mainpage-opportunity-item._mainpage-animate-on-scroll {
    transition-delay: 0.4s;
}

._mainpage-benefit-item-student._mainpage-animate-on-scroll,
._mainpage-benefit-item-studio._mainpage-animate-on-scroll {
    transition-delay: 0.3s;
}

._mainpage-benefit-card-maker-modern._mainpage-animate-on-scroll {
    transition-delay: 0.4s;
}

._mainpage-portfolio-card._mainpage-animate-on-scroll {
    transition-delay: 0.3s;
}

._mainpage-user-card._mainpage-animate-on-scroll {
    transition-delay: 0.2s;
}

/* Consolidated Animations */
@keyframes _mainpage-fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes _mainpage-slideUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes _mainpage-gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes _mainpage-pulse {

    0%,
    100% {
        transform: scale3d(1, 1, 1);
    }

    50% {
        transform: scale3d(1.05, 1.05, 1.05);
    }
}

@keyframes _mainpage-float {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@keyframes _mainpage-ripple-animation {
    to {
        transform: scale3d(4, 4, 4);
        opacity: 0;
    }
}

/* Animated Gradient Backgrounds */
._mainpage-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 400% 400%;
    z-index: -1;
    animation: _mainpage-gradientShift 15s ease infinite;
    will-change: background-position;
}

._mainpage-container-fluid {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

._mainpage-slider {
    max-width: 1200px;
    width: 100%;
    margin: 0px 0px 0px 30px;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* Background Gradients */
._mainpage-bg-gradient {
    background: var(--purple-gradient);
    position: relative;
    overflow: hidden;
}

._mainpage-bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(214, 194, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(159, 122, 234, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

/* Hero Section */
._mainpage-hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: var(--purple-gradient);
}

._mainpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(214, 194, 255, 0.3) 0%, transparent 50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

._mainpage-hero-carousel {
    height: 100%;
    border-radius: 0;
    position: relative;
    z-index: 2;
}

._mainpage-hero-carousel .carousel-item {
    height: 100%;
}

._mainpage-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

._mainpage-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(45, 27, 105, 0.9));
    color: white;
    z-index: 3;
}

._mainpage-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    animation: _mainpage-slideUp 1.2s ease 0.5s forwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* NEW WHO ARE YOU SECTION */
._mainpage-who-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

._mainpage-who-section ._mainpage-animated-bg {
    background: linear-gradient(-45deg, #667eea, #764ba2, #5a67d8, #4c51bf);
}

._mainpage-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

._mainpage-who-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    cursor: pointer;
}

._mainpage-who-card:hover {
    transform: translate3d(0, -10px, 0) scale3d(1.02, 1.02, 1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

._mainpage-who-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

._mainpage-who-content {
    padding: 2rem;
}

._mainpage-who-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

._mainpage-who-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* Section Headers */
._mainpage-section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

._mainpage-section-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

._mainpage-section-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Patrick Hand', cursive;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 0 2.5rem;
}

._mainpage-section-description::before,
._mainpage-section-description::after {
    content: '"';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: -0.5rem;
    line-height: 1;
}

._mainpage-section-description::before {
    left: 0;
}

._mainpage-section-description::after {
    right: 0;
}

/* IMPROVED OPPORTUNITIES SECTION */
._mainpage-opportunities-section {
    padding: 6rem 0;
    background: var(--purple-gradient);
    position: relative;
}

._mainpage-opportunities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(214, 194, 255, 0.2) 0%, transparent 40%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

._mainpage-opportunities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

._mainpage-opportunity-column {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    will-change: transform;
}

._mainpage-opportunity-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--purple-gradient);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

._mainpage-opportunity-column:hover::before {
    transform: scaleX(1);
}

._mainpage-opportunity-column:hover {
    transform: translate3d(0, -12px, 0) scale3d(1.02, 1.02, 1.02);
    box-shadow: 0 25px 60px rgba(139, 95, 191, 0.3);
}

._mainpage-column-hiring::before {
    background: var(--purple-gradient);
}

._mainpage-column-requests::before {
    background: var(--blue-gradient);
}

._mainpage-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(139, 95, 191, 0.1);
}

._mainpage-column-title {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

._mainpage-column-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    background: var(--purple-gradient);
    box-shadow: 0 8px 20px rgba(139, 95, 191, 0.3);
    transition: all 0.4s ease;
}

._mainpage-opportunity-column:hover ._mainpage-column-icon {
    transform: rotate(10deg) scale3d(1.1, 1.1, 1.1);
}

._mainpage-icon-requests {
    background: var(--blue-gradient);
}

._mainpage-column-title-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

._mainpage-count-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(139, 95, 191, 0.2);
}

._mainpage-opportunity-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

._mainpage-opportunity-item {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: rgba(248, 247, 255, 0.8);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

._mainpage-opportunity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--purple-gradient);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

._mainpage-opportunity-item:hover::before {
    transform: scaleY(1);
}

._mainpage-opportunity-item:hover {
    background: white;
    border-color: var(--primary);
    transform: translate3d(8px, 0, 0);
    box-shadow: 0 8px 25px rgba(139, 95, 191, 0.15);
}

._mainpage-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

._mainpage-opportunity-item:hover ._mainpage-item-icon {
    transform: scale3d(1.1, 1.1, 1.1) rotate(5deg);
    background: var(--purple-gradient);
    color: white;
}

._mainpage-item-content {
    flex: 1;
}

._mainpage-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.4rem 0;
}

._mainpage-item-meta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

._mainpage-item-tag {
    background: var(--primary-light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    border: 1px solid var(--primary);
    transition: all 0.4s ease;
}

._mainpage-opportunity-item:hover ._mainpage-item-tag {
    background: var(--purple-gradient);
    color: white;
    transform: scale3d(1.05, 1.05, 1.05);
}

._mainpage-column-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 95, 191, 0.1);
}

/* REDESIGNED BENEFITS FOR STUDENTS SECTION WITH REAL PHOTOS */
._mainpage-benefits-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

._mainpage-benefits-students {
    background: linear-gradient(135deg, #4A90E2 0%, #7B68EE 100%);
}

._mainpage-benefits-students ._mainpage-animated-bg {
    background: linear-gradient(-45deg, #4A90E2, #7B68EE, #9370DB, #6495ED);
}

._mainpage-benefits-students-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

._mainpage-benefit-item-student {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

._mainpage-benefit-item-student:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

._mainpage-benefit-item-reverse {
    direction: rtl;
}

._mainpage-benefit-item-reverse>* {
    direction: ltr;
}

._mainpage-benefit-image-student {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

._mainpage-benefit-image-student img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

._mainpage-benefit-item-student:hover ._mainpage-benefit-image-student img {
    transform: scale3d(1.05, 1.05, 1.05);
}

._mainpage-benefit-content-student {
    padding: 3rem;
    color: white;
}

._mainpage-benefit-title-student {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

._mainpage-benefit-description-student {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

._mainpage-benefit-features-student {
    list-style: none;
    padding: 0;
    margin: 0;
}

._mainpage-benefit-feature-student {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: all 0.4s ease;
}

._mainpage-benefit-feature-student:hover {
    color: white;
    transform: translate3d(5px, 0, 0);
}

._mainpage-benefit-feature-student i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

._mainpage-benefit-feature-student:hover i {
    color: white;
    transform: scale3d(1.2, 1.2, 1.2);
}

/* IMPROVED BENEFITS FOR STUDIOS SECTION */
._mainpage-benefits-studios {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF9E7D 100%);
}

._mainpage-benefits-studios ._mainpage-animated-bg {
    background: linear-gradient(-45deg, #FF6B9D, #FF9E7D, #FFB6C1, #FFD700);
}

._mainpage-benefits-studios-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

._mainpage-benefit-item-studio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

._mainpage-benefit-item-studio:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

._mainpage-benefit-image-studio {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

._mainpage-benefit-image-studio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

._mainpage-benefit-item-studio:hover ._mainpage-benefit-image-studio img {
    transform: scale3d(1.05, 1.05, 1.05);
}

._mainpage-benefit-content-studio {
    padding: 3rem;
    color: white;
}

._mainpage-benefit-title-studio {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

._mainpage-benefit-description-studio {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

._mainpage-benefit-features-studio {
    list-style: none;
    padding: 0;
    margin: 0;
}

._mainpage-benefit-feature-studio {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: all 0.4s ease;
}

._mainpage-benefit-feature-studio:hover {
    color: white;
    transform: translate3d(5px, 0, 0);
}

._mainpage-benefit-feature-studio i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

._mainpage-benefit-feature-studio:hover i {
    color: white;
    transform: scale3d(1.2, 1.2, 1.2);
}

/* MODERNIZED BENEFITS FOR MATERIAL MAKERS SECTION */
._mainpage-benefits-makers {
    background: linear-gradient(135deg, #00CED1 0%, #20B2AA 100%);
}

._mainpage-benefits-makers ._mainpage-animated-bg {
    background: linear-gradient(-45deg, #00CED1, #20B2AA, #40E0D0, #48D1CC);
}

._mainpage-benefits-makers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

._mainpage-benefit-card-maker-modern {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

._mainpage-benefit-card-maker-modern:hover {
    transform: translate3d(0, -10px, 0);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

._mainpage-benefit-image-maker-modern {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.8s ease;
}

._mainpage-benefit-card-maker-modern:hover ._mainpage-benefit-image-maker-modern {
    transform: scale3d(1.05, 1.05, 1.05);
}

._mainpage-benefit-content-maker-modern {
    padding: 2rem;
    text-align: center;
}

._mainpage-benefit-icon-maker-modern {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    margin: -50px auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.6s ease;
    position: relative;
    z-index: 2;
}

._mainpage-benefit-card-maker-modern:hover ._mainpage-benefit-icon-maker-modern {
    transform: scale3d(1.1, 1.1, 1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

._mainpage-benefit-title-maker-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

._mainpage-benefit-description-maker-modern {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

._mainpage-benefit-features-maker-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

._mainpage-benefit-feature-maker-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: all 0.4s ease;
}

._mainpage-benefit-feature-maker-modern:hover {
    color: white;
    transform: translate3d(5px, 0, 0);
}

._mainpage-benefit-feature-maker-modern i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    transition: all 0.4s ease;
}

._mainpage-benefit-feature-maker-modern:hover i {
    color: white;
    transform: scale3d(1.2, 1.2, 1.2);
}

/* IMPROVED PORTFOLIOS SECTION */
._mainpage-portfolios-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

._mainpage-portfolios-section ._mainpage-animated-bg {
    background: linear-gradient(-45deg, #2D1B69, #4A2C8B, #6D3FB0, #8B5FBF);
}

._mainpage-portfolios-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

._mainpage-portfolios-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

._mainpage-portfolios-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Patrick Hand', cursive;
    font-weight: 500;
    position: relative;
    padding: 0 1.5rem;
}

._mainpage-portfolios-subtitle::before,
._mainpage-portfolios-subtitle::after {
    content: '"';
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: -0.3rem;
}

._mainpage-portfolios-subtitle::before {
    left: 0;
}

._mainpage-portfolios-subtitle::after {
    right: 0;
}

._mainpage-portfolios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

._mainpage-portfolio-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

._mainpage-portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 95, 191, 0.1), rgba(45, 27, 105, 0.1));
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

._mainpage-portfolio-card:hover::before {
    opacity: 1;
}

._mainpage-portfolio-card:hover {
    transform: translate3d(0, -12px, 0) scale3d(1.02, 1.02, 1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(159, 122, 234, 0.5);
}

._mainpage-portfolio-image {
    position: relative;
    aspect-ratio: 4/4;
    overflow: hidden;
}

._mainpage-portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

._mainpage-portfolio-card:hover ._mainpage-portfolio-image img {
    transform: scale3d(1.1, 1.1, 1.1);
}

._mainpage-portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(45, 27, 105, 0.95), rgba(139, 95, 191, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 2;
}

._mainpage-portfolio-card:hover ._mainpage-portfolio-overlay {
    opacity: 1;
}

._mainpage-portfolio-content {
    color: white;
}

._mainpage-portfolio-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

._mainpage-portfolio-author {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0 0 1.5rem 0;
}

._mainpage-portfolio-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

._mainpage-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.4s ease;
}

._mainpage-portfolio-card:hover ._mainpage-stat {
    opacity: 1;
    transform: translate3d(0, -2px, 0);
}

._mainpage-portfolio-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* Buttons */
._mainpage-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.95rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

._mainpage-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

._mainpage-btn:hover::before {
    left: 100%;
}

._mainpage-btn-primary {
    background: var(--purple-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 95, 191, 0.3);
}

._mainpage-btn-primary:hover {
    transform: translate3d(0, -3px, 0) scale3d(1.05, 1.05, 1.05);
    box-shadow: 0 15px 40px rgba(139, 95, 191, 0.4);
    color: white;
    text-decoration: none;
}

._mainpage-btn-secondary {
    background: var(--blue-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(109, 158, 255, 0.3);
}

._mainpage-btn-secondary:hover {
    background: var(--blue-gradient);
    transform: translate3d(0, -3px, 0) scale3d(1.05, 1.05, 1.05);
    color: white;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(109, 158, 255, 0.4);
}

._mainpage-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

._mainpage-btn-outline:hover {
    background: white;
    color: var(--dark);
    text-decoration: none;
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

._mainpage-btn-sm {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
}

._mainpage-btn-gradient {
    background: var(--purple-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 95, 191, 0.3);
}

._mainpage-btn-gradient:hover {
    transform: translate3d(0, -3px, 0) scale3d(1.05, 1.05, 1.05);
    box-shadow: 0 15px 40px rgba(139, 95, 191, 0.4);
    color: white;
}

/* Section Footer */
._mainpage-section-footer {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

/* Ripple effect for buttons */
._mainpage-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale3d(0, 0, 0);
    animation: _mainpage-ripple-animation 0.8s linear;
}

/* Carousel Fixes */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    margin: 0 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translate3d(0, -50%, 0) scale3d(1.1, 1.1, 1.1);
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

/* IMPROVED FLOATING BUBBLE MENU */
._mainpage-floating-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
    padding: 12px 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

._mainpage-floating-menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
}

._mainpage-floating-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--purple-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(139, 95, 191, 0.4);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

._mainpage-floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

._mainpage-floating-btn:hover::before {
    left: 100%;
}

._mainpage-floating-btn:hover {
    transform: scale3d(1.15, 1.15, 1.15);
    box-shadow: 0 8px 25px rgba(139, 95, 191, 0.6);
}

._mainpage-floating-btn i {
    font-size: 1rem;
}

._mainpage-floating-label {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translate3d(10px, 0, 0);
    transition: all 0.4s ease;
    position: absolute;
    right: 55px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    pointer-events: none;
}

._mainpage-floating-menu-item:hover ._mainpage-floating-label {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Back to Top Button */
._mainpage-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--purple-gradient);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(139, 95, 191, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 20px, 0);
    transition: all 0.6s ease;
    transform: translateZ(0);
    will-change: transform;
}

._mainpage-back-to-top._mainpage-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

._mainpage-back-to-top:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 8px 25px rgba(139, 95, 191, 0.6);
}

/* Modal Styles */
._mainpage-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
    backdrop-filter: blur(10px);
}

._mainpage-modal-overlay._mainpage-active {
    opacity: 1;
    visibility: visible;
}

._mainpage-modal {
    background: white;
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale3d(0.9, 0.9, 0.9) translate3d(0, 20px, 0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

._mainpage-modal-overlay._mainpage-active ._mainpage-modal {
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
    opacity: 1;
}

._mainpage-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

._mainpage-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

._mainpage-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    transition: all 0.4s ease;
}

._mainpage-modal-close:hover {
    transform: rotate(90deg);
    color: var(--primary-dark);
}

._mainpage-modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

._mainpage-modal-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

._mainpage-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

._mainpage-modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

._mainpage-modal-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

._mainpage-modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

._mainpage-modal-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #666;
}

._mainpage-modal-feature i {
    color: var(--primary);
    font-size: 0.9rem;
}

._mainpage-modal-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-end;
}

/* UPDATED: Creative Community Section with Gradient Background */
._mainpage-section._mainpage-bg-light {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

._mainpage-section._mainpage-bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(214, 194, 255, 0.15) 0%, transparent 50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

._mainpage-section._mainpage-bg-light ._mainpage-section-title,
._mainpage-section._mainpage-bg-light ._mainpage-section-description {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Community tabs styles */
._mainpage-community-tabs {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

._mainpage-tab-buttons {
    display: flex;
    background: var(--primary-light);
    border-bottom: 1px solid rgba(139, 95, 191, 0.2);
}

._mainpage-tab-btn {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

._mainpage-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

._mainpage-tab-btn:hover::before {
    left: 100%;
}

._mainpage-tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

._mainpage-tab-btn._mainpage-active {
    background: white;
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

._mainpage-tab-content {
    padding: 2.5rem;
}

._mainpage-tab-pane {
    display: none;
}

._mainpage-tab-pane._mainpage-active {
    display: block;
    animation: _mainpage-fadeIn 0.8s ease;
}

._mainpage-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

._mainpage-user-card {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: rgba(248, 247, 255, 0.8);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.6s ease;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

._mainpage-user-card:hover {
    background: white;
    transform: translate3d(5px, 0, 0) scale3d(1.02, 1.02, 1.02);
    border-color: var(--primary);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 25px rgba(139, 95, 191, 0.15);
}

._mainpage-user-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

._mainpage-user-card:hover ._mainpage-user-avatar {
    transform: scale3d(1.1, 1.1, 1.1);
    border-color: var(--primary-light);
}

._mainpage-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

._mainpage-user-info {
    flex: 1;
}

._mainpage-user-info h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

._mainpage-user-role {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
}

/* Typography Hero Section */
._mainpage-typography-hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

._mainpage-typography-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translateZ(0);
}

._mainpage-typography-bg-strip {
    display: flex;
    width: 200%;
    height: 100%;
    animation: _mainpage-bg-scroll 60s linear infinite;
    will-change: transform;
}

._mainpage-typography-bg-tile {
    flex: 0 0 20%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.85) saturate(1.1);
}

@keyframes _mainpage-bg-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

._mainpage-water-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.12) 0%, transparent 50%);
    animation: _mainpage-water-move 20s ease-in-out infinite;
    opacity: 0.4;
    mix-blend-mode: overlay;
    pointer-events: none;
}

._mainpage-bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: bubble-rise linear infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateZ(0);
    will-change: transform;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    left: 5%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.bubble-2 {
    width: 40px;
    height: 40px;
    left: 15%;
    animation-duration: 20s;
    animation-delay: 2s;
}

.bubble-3 {
    width: 60px;
    height: 60px;
    left: 30%;
    animation-duration: 22s;
    animation-delay: 4s;
}

.bubble-4 {
    width: 50px;
    height: 50px;
    left: 45%;
    animation-duration: 18s;
    animation-delay: 1s;
}

.bubble-5 {
    width: 70px;
    height: 70px;
    left: 60%;
    animation-duration: 24s;
    animation-delay: 3s;
}

.bubble-6 {
    width: 35px;
    height: 35px;
    left: 75%;
    animation-duration: 16s;
    animation-delay: 5s;
}

.bubble-7 {
    width: 55px;
    height: 55px;
    left: 85%;
    animation-duration: 21s;
    animation-delay: 2.5s;
}

.bubble-8 {
    width: 45px;
    height: 45px;
    left: 95%;
    animation-duration: 19s;
    animation-delay: 1.5s;
}

@keyframes bubble-rise {
    0% {
        bottom: -100px;
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
        opacity: 0.8;
    }

    50% {
        transform: translate3d(20px, 0, 0) scale3d(1.1, 1.1, 1.1);
        opacity: 0.9;
    }

    100% {
        bottom: 100vh;
        transform: translate3d(-15px, 0, 0) scale3d(0.95, 0.95, 0.95);
        opacity: 0;
    }
}

._mainpage-typography-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.15));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* FLEXBOX LAYOUT */
._mainpage-hero-layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    top: 30px;
}

/* Left Block - Typography with Purple-Pink Gradient */
._mainpage-left-block {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

._mainpage-typography-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 107, 157, 0.2));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    max-width: fit-content;
    width: 100%;
}

._mainpage-typography-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(214, 194, 255, 0.2) 0%, transparent 50%);
    border-radius: 20px;
    z-index: -1;
}

._mainpage-typography-line {
    font-size: 5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    animation: _mainpage-text-appear 1.2s ease forwards;
    position: relative;
    font-style: italic;
}

._mainpage-typography-line:nth-child(1) {
    animation-delay: 0.3s;
}

._mainpage-typography-line:nth-child(2) {
    animation-delay: 0.6s;
}

._mainpage-typography-line:nth-child(3) {
    animation-delay: 0.9s;
}

@keyframes _mainpage-text-appear {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Right Block - Service Description with Purple-Pink Gradient */
._mainpage-right-block {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

._mainpage-service-glass {
    background: linear-gradient(135deg, rgba(139, 95, 191, 0.25), rgba(255, 107, 157, 0.2));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

._mainpage-service-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(214, 194, 255, 0.18) 0%, transparent 50%);
    border-radius: 20px;
    z-index: -1;
}

._mainpage-service-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Cormorant Garamond', serif;
}

._mainpage-service-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

._mainpage-service-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

._mainpage-service-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

._mainpage-service-feature i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

._mainpage-service-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    ._mainpage-section {
        padding: 4rem 0;
    }

    ._mainpage-hero {
        height: 50vh;
        min-height: 400px;
        margin-bottom: 1rem;
    }

    ._mainpage-hero-title {
        font-size: 2.5rem;
    }

    ._mainpage-hero-content {
        padding: 2rem;
    }

    ._mainpage-section-title {
        font-size: 2.2rem;
    }

    ._mainpage-opportunities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    ._mainpage-portfolios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    ._mainpage-benefits-makers-grid,
    ._mainpage-who-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    ._mainpage-container-fluid {
        padding: 0 1rem;
    }

    /* Hide floating menu on mobile */
    ._mainpage-floating-menu {
        display: none;
    }

    /* Mobile adjustments for benefits sections */
    ._mainpage-benefit-item-student,
    ._mainpage-benefit-item-studio {
        grid-template-columns: 1fr;
    }

    ._mainpage-benefit-content-student,
    ._mainpage-benefit-content-studio {
        padding: 2rem;
    }

    ._mainpage-benefit-title-student,
    ._mainpage-benefit-title-studio {
        font-size: 1.6rem;
    }

    ._mainpage-benefit-description-student,
    ._mainpage-benefit-description-studio {
        font-size: 1rem;
    }

    /* Modal adjustments for mobile */
    ._mainpage-modal-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    ._mainpage-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    ._mainpage-modal-title {
        font-size: 1.6rem;
    }

    ._mainpage-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }

    /* Typography hero mobile adjustments */
    ._mainpage-typography-hero {
        height: auto;
        min-height: auto;
        padding: 3rem 0;
    }

    ._mainpage-typography-glass {
        padding: 2rem;
        border-radius: 16px;
    }

    ._mainpage-service-glass {
        padding: 1.8rem;
        border-radius: 16px;
    }

    ._mainpage-typography-line {
        font-size: 3.2rem;
    }

    ._mainpage-service-title {
        font-size: 1.6rem;
    }

    ._mainpage-service-description {
        font-size: 0.95rem;
    }

    ._mainpage-service-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    ._mainpage-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: auto;
    }

    /* Adjust bubble sizes for mobile */
    .bubble-1,
    .bubble-3,
    .bubble-5,
    .bubble-7 {
        width: 50px;
        height: 50px;
    }

    .bubble-2,
    .bubble-4,
    .bubble-6,
    .bubble-8 {
        width: 30px;
        height: 30px;
    }

    /* Reduce animation intensity on mobile */
    ._mainpage-water-effect {
        animation-duration: 30s;
        opacity: 0.3;
    }

    ._mainpage-typography-bg-strip {
        animation-duration: 90s;
    }
}

@media (max-width: 480px) {
    ._mainpage-portfolio-actions {
        justify-content: center;
    }

    ._mainpage-column-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    ._mainpage-benefit-content-student,
    ._mainpage-benefit-content-studio,
    ._mainpage-who-content {
        padding: 1.5rem;
    }

    ._mainpage-section-description {
        padding: 0 1.5rem;
    }

    ._mainpage-section-description::before,
    ._mainpage-section-description::after {
        font-size: 2.5rem;
    }

    /* Typography hero small screen adjustments */
    ._mainpage-typography-line {
        font-size: 2.6rem;
    }

    ._mainpage-typography-glass {
        padding: 1.8rem;
    }

    ._mainpage-service-glass {
        padding: 1.5rem;
    }

    ._mainpage-service-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    ._mainpage-service-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    ._mainpage-service-features {
        margin-bottom: 1.8rem;
        gap: 0.7rem;
    }

    ._mainpage-service-feature {
        font-size: 0.88rem;
    }

    ._mainpage-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        font-weight: 600;
    }

    /* Further reduce bubble sizes for very small screens */
    .bubble-1,
    .bubble-3,
    .bubble-5,
    .bubble-7 {
        width: 40px;
        height: 40px;
    }

    .bubble-2,
    .bubble-4,
    .bubble-6,
    .bubble-8 {
        width: 25px;
        height: 25px;
    }
}

/* Focus states for accessibility */
._mainpage-btn:focus,
._mainpage-tab-btn:focus,
._mainpage-user-card:focus,
._mainpage-floating-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Loading states */
.swiper-slide {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.swiper-slide-active,
.swiper-slide-visible {
    opacity: 1;
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    ._mainpage-animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.creative {
    margin: 50px auto 60px auto;
}