:root {
    --primary-color: #ff69b4;
    --secondary-color: #ff1493;
    --accent-color: #ffc0cb;
    --text-color: #ffffff;
    --bg-color: #2d1b2e;
    --card-bg: rgba(255, 182, 193, 0.1);
    --border-color: rgba(255, 182, 193, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #2d1b2e 0%, #4a2c4a 50%, #2d1b2e 100%), url('image/background.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #fff;
    overflow-x: hidden;
    cursor: none;
    text-align: left;
}

/* Aurora Background */
#aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, #3A29FF, #FF94B4, #FF3232);
    background-size: 400% 400%;
    animation: aurora-flow 8s ease-in-out infinite;
    opacity: 0.1;
}

@keyframes aurora-flow {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 50% 100%;
    }
    75% {
        background-position: 50% 0%;
    }
}

/* 3D Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Custom Cursor */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--secondary-color);
}

.cursor-dot.hover {
    background: var(--secondary-color);
    width: 12px;
    height: 12px;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d1b2e 0%, #4a2c4a 50%, #2d1b2e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

.loading-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Eye Container */
.eye-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye {
    width: 150px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(255, 105, 180, 0.5),
        inset 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.eye.blink {
    height: 5px;
    transition: height 0.15s ease;
}

.eyeball {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #ff69b4 30%, #ff1493 70%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.8);
}

.pupil {
    width: 25px;
    height: 25px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

.pupil::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 6px;
}

/* Enter Button */
.enter-button {
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.enter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.3), transparent);
    transition: left 0.5s ease;
}

.enter-button:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
}

.enter-button:hover::before {
    left: 100%;
}

.enter-button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

/* Animations */
@keyframes eyeGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(255, 105, 180, 0.5),
            inset 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(255, 105, 180, 0.8),
            inset 0 5px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Blink animation */
@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

.eye {
    animation: eyeGlow 3s ease-in-out infinite;
}

.eye.blink {
    animation: blink 0.3s ease-in-out;
}

/* Diary Game Header */
.diary-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #fff8f0 0%, #ffe4e1 50%, #ffd1dc 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(255, 182, 193, 0.3);
    border-bottom: 3px solid #ffb6c1;
    transition: transform 0.3s ease;
}

.diary-header.hidden {
    transform: translateY(-100%);
}

.diary-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.2));
}

.diary-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(255, 105, 180, 0.4));
}

/* Navigation */
.navbar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(45, 27, 46, 0.9);
    transition: top 0.3s ease;
}

.navbar.sticky {
    top: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
}

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

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding: 200px 4rem 0 4rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Decorative Images */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 27, 46, 0.7);
    z-index: 1;
}

.decorative-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.decorative-img {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}



.decorative-img:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    width: 60px;
    height: 60px;
}

.decorative-img:nth-child(2) {
    top: 25%;
    right: 8%;
    animation-delay: 1s;
    width: 70px;
    height: 70px;
}

.decorative-img:nth-child(3) {
    top: 45%;
    left: 3%;
    animation-delay: 2s;
    width: 90px;
    height: 90px;
}

.decorative-img:nth-child(4) {
    top: 60%;
    right: 5%;
    animation-delay: 3s;
    width: 65px;
    height: 65px;
}

.decorative-img:nth-child(5) {
    top: 75%;
    left: 8%;
    animation-delay: 4s;
    width: 75px;
    height: 75px;
}

.decorative-img:nth-child(6) {
    top: 35%;
    right: 12%;
    animation-delay: 5s;
    width: 85px;
    height: 85px;
}

.decorative-img:nth-child(7) {
    top: 10%;
    left: 15%;
    animation-delay: 1.5s;
    width: 55px;
    height: 55px;
}

.decorative-img:nth-child(8) {
    top: 80%;
    right: 15%;
    animation-delay: 2.5s;
    width: 95px;
    height: 95px;
}



.hero-content {
    text-align: left;
    z-index: 3;
    position: relative;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-title.small-font {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(100px);
    animation: slideUp 1s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; color: var(--primary-color); }
.title-line:nth-child(3) { animation-delay: 0.6s; }

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

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Floating Numbers */
.floating-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.number {
    position: absolute;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.number:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.number:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.5s; }
.number:nth-child(3) { top: 30%; left: 20%; animation-delay: 1s; }
.number:nth-child(4) { top: 40%; right: 25%; animation-delay: 1.5s; }
.number:nth-child(5) { top: 50%; left: 5%; animation-delay: 2s; }
.number:nth-child(6) { top: 60%; right: 10%; animation-delay: 2.5s; }
.number:nth-child(7) { top: 70%; left: 15%; animation-delay: 3s; }
.number:nth-child(8) { top: 80%; right: 20%; animation-delay: 3.5s; }
.number:nth-child(9) { top: 15%; left: 50%; animation-delay: 4s; }
.number:nth-child(10) { top: 25%; right: 50%; animation-delay: 4.5s; }
.number:nth-child(11) { top: 35%; left: 80%; animation-delay: 5s; }
.number:nth-child(12) { top: 45%; right: 5%; animation-delay: 5.5s; }
.number:nth-child(13) { top: 55%; left: 70%; animation-delay: 6s; }
.number:nth-child(14) { top: 65%; right: 30%; animation-delay: 6.5s; }

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

/* Fuzzy Text Effect */
.fuzzy-text {
    position: relative;
}

.fuzzy-line {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.fuzzy-line::before,
.fuzzy-line::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.fuzzy-line::before {
    color: var(--primary-color);
    animation: fuzzy-glitch-1 2s infinite linear alternate-reverse;
}

.fuzzy-line::after {
    color: var(--accent-color);
    animation: fuzzy-glitch-2 3s infinite linear alternate-reverse;
}

.fuzzy-line:hover::before,
.fuzzy-line:hover::after {
    opacity: 0.8;
}

@keyframes fuzzy-glitch-1 {
    0% {
        transform: translate(0);
        opacity: 0.2;
    }
    10% {
        transform: translate(-2px, -1px);
        opacity: 0.4;
    }
    20% {
        transform: translate(-1px, 2px);
        opacity: 0.3;
    }
    30% {
        transform: translate(1px, -1px);
        opacity: 0.5;
    }
    40% {
        transform: translate(-1px, 1px);
        opacity: 0.2;
    }
    50% {
        transform: translate(2px, -2px);
        opacity: 0.6;
    }
    60% {
        transform: translate(-2px, 1px);
        opacity: 0.3;
    }
    70% {
        transform: translate(1px, 1px);
        opacity: 0.4;
    }
    80% {
        transform: translate(-1px, -1px);
        opacity: 0.5;
    }
    90% {
        transform: translate(2px, 1px);
        opacity: 0.2;
    }
    100% {
        transform: translate(0);
        opacity: 0.3;
    }
}

@keyframes fuzzy-glitch-2 {
    0% {
        transform: translate(0);
        opacity: 0.1;
    }
    15% {
        transform: translate(1px, -2px);
        opacity: 0.3;
    }
    25% {
        transform: translate(-2px, 1px);
        opacity: 0.2;
    }
    35% {
        transform: translate(2px, 2px);
        opacity: 0.4;
    }
    45% {
        transform: translate(-1px, -2px);
        opacity: 0.1;
    }
    55% {
        transform: translate(-2px, -1px);
        opacity: 0.5;
    }
    65% {
        transform: translate(1px, 2px);
        opacity: 0.2;
    }
    75% {
        transform: translate(2px, -1px);
        opacity: 0.3;
    }
    85% {
        transform: translate(-1px, 1px);
        opacity: 0.4;
    }
    95% {
        transform: translate(1px, -1px);
        opacity: 0.1;
    }
    100% {
        transform: translate(0);
        opacity: 0.2;
    }
}

/* Linear Marquee */
.marquee-section {
    height: 100px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(0, 255, 136, 0.1));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: linear-scroll 20s linear infinite;
}

.marquee-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 400% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
    white-space: nowrap;
    margin-right: 4rem;
}

@keyframes linear-scroll {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Services Section */
.services {
    min-height: 100vh;
    padding: 8rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Falling Text Section */
.falling-text-section {
    min-height: 80vh;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(45, 27, 46, 0.8) 0%, rgba(255, 105, 180, 0.05) 50%, rgba(45, 27, 46, 0.8) 100%);
    overflow: hidden;
}

.falling-text-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.falling-text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    z-index: 2;
    position: relative;
}

.falling-word {
    display: inline-block;
    margin: 0 1rem 1rem 0;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.falling-word:hover {
    color: var(--primary-color);
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(255, 105, 180, 0.8);
}

.falling-word.falling {
    animation: wordFall 2s ease-in-out;
}

@keyframes wordFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(200px) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(400px) rotate(360deg);
        opacity: 0;
    }
}

#fallingCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.services-header {
    position: relative;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    line-height: 1;
}

.section-title.duplicate {
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    transform: translate(5px, 5px);
    z-index: -1;
}

.services-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
}

.services-description {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 60%;
    color: #ccc;
}

.service-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Team Section */
.team {
    min-height: 100vh;
    padding: 8rem 4rem;
}

.team-header {
    position: relative;
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.team-member {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.1);
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.team-member p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
}

.team-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.role-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 105, 180, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.role-tag:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.05);
}

/* Portfolio Section */
.portfolio {
    min-height: 100vh;
    padding: 8rem 4rem;
    position: relative;
}

.portfolio-header {
    position: relative;
    margin-bottom: 4rem;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 136, 0.1) 0%, 
        rgba(102, 126, 234, 0.1) 25%, 
        rgba(240, 147, 251, 0.1) 50%, 
        rgba(79, 172, 254, 0.1) 75%, 
        rgba(0, 255, 136, 0.1) 100%);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
    border-radius: 20px;
}

.portfolio-item:hover {
    transform: translateY(-30px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 
        0 40px 80px rgba(255, 105, 180, 0.3),
        0 20px 40px rgba(102, 126, 234, 0.2),
        0 10px 20px rgba(240, 147, 251, 0.1);
    border-color: var(--primary-color);
}

.portfolio-item:hover::before {
    opacity: 1;
    animation: rainbow-glow 2s ease-in-out infinite;
}

@keyframes rainbow-glow {
    0%, 100% {
        background: linear-gradient(45deg, 
            rgba(0, 255, 136, 0.2) 0%, 
            rgba(102, 126, 234, 0.2) 25%, 
            rgba(240, 147, 251, 0.2) 50%, 
            rgba(79, 172, 254, 0.2) 75%, 
            rgba(0, 255, 136, 0.2) 100%);
    }
    25% {
        background: linear-gradient(45deg, 
            rgba(102, 126, 234, 0.2) 0%, 
            rgba(240, 147, 251, 0.2) 25%, 
            rgba(79, 172, 254, 0.2) 50%, 
            rgba(0, 255, 136, 0.2) 75%, 
            rgba(102, 126, 234, 0.2) 100%);
    }
    50% {
        background: linear-gradient(45deg, 
            rgba(240, 147, 251, 0.2) 0%, 
            rgba(79, 172, 254, 0.2) 25%, 
            rgba(0, 255, 136, 0.2) 50%, 
            rgba(102, 126, 234, 0.2) 75%, 
            rgba(240, 147, 251, 0.2) 100%);
    }
    75% {
        background: linear-gradient(45deg, 
            rgba(79, 172, 254, 0.2) 0%, 
            rgba(0, 255, 136, 0.2) 25%, 
            rgba(102, 126, 234, 0.2) 50%, 
            rgba(240, 147, 251, 0.2) 75%, 
            rgba(79, 172, 254, 0.2) 100%);
    }
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    border-radius: 20px 20px 0 0;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 20px 20px 0 0;
}

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

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0) 50%, 
        rgba(0, 255, 136, 0.1) 100%);
    opacity: 0;
    transition: all 0.6s ease;
    transform: translateX(-100%);
}

.portfolio-item:hover .portfolio-image::after {
    opacity: 1;
    transform: translateX(100%);
    transition: all 1.2s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.1);
}

.image-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    z-index: 2;
    position: relative;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 255, 136, 0.1) 50%, 
        rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
    transform: translateY(30px) scale(0.9);
    z-index: 3;
    backdrop-filter: blur(10px);
}

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

.portfolio-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.portfolio-overlay p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

.portfolio-info {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(-5px);
    background: rgba(0, 255, 136, 0.05);
    border-radius: 0 0 20px 20px;
}

.portfolio-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
}

.portfolio-year {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
}

.scroll-indicator {
    text-align: center;
    margin-top: 4rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 1rem;
    animation: bounce-arrow 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* Contact Section */
.contact {
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    text-align: center;
}

.contact-content h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.cta-button {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero {
        padding: 0 2rem;
    }
    
    .services,
    .team,
    .portfolio {
        padding: 4rem 2rem;
    }
    
    .services-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .services-description {
        max-width: 100%;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-item {
        margin-bottom: 2rem;
    }
    
    .floating-numbers .number {
        font-size: 0.8rem;
    }
    
    .cursor-outline {
        width: 30px;
        height: 30px;
    }
    
    .cursor-dot {
        width: 6px;
        height: 6px;
    }
    
    /* Fuzzy Text Mobile Optimization */
    .fuzzy-line {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    .fuzzy-line::before,
    .fuzzy-line::after {
        opacity: 0.3 !important;
    }
    
    /* Marquee Mobile Optimization */
    .marquee-section {
        height: 120px;
    }
    
    .marquee-text {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        transform: perspective(300px) rotateX(10deg);
        margin-right: 1rem;
    }
    
    .marquee-track {
        animation-duration: 20s;
    }
    
    /* Falling Text Mobile Optimization */
    .falling-text-section {
        min-height: 60vh;
        padding: 2rem;
    }
    
    .falling-text {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .falling-word {
        margin: 0 0.5rem 0.5rem 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #ffb6c1;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #ffb6c1;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.5);
}

.back-to-top img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}