* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #00f2fe;
    --text: #2d3436;
    --bg: #f5f7fa;
    --card-bg: rgba(255, 255, 255, 0.9);
    --nav-bg: rgba(255, 255, 255, 0.85);
    --cube-color: rgba(0, 242, 254, 0.6);
    --cube-edge: rgba(0, 242, 254, 0.8);
    --emoji-opacity: 0.3;
    --contact-bg: rgba(0, 242, 254, 0.25);
}

[data-theme="dark"] {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #00f2fe;
    --text: #ffffff;
    --bg: #000000;
    --card-bg: rgba(20, 20, 20, 0.9);
    --nav-bg: rgba(0, 0, 0, 0.8);
    --cube-color: rgba(0, 242, 254, 0.4);
    --cube-edge: rgba(0, 242, 254, 0.6);
    --emoji-opacity: 0.2;
    --contact-bg: rgba(0, 242, 254, 0.1);
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg);
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: var(--bg);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 6px;
    border: 2px solid var(--bg);
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
}

body {
    background: var(--bg);
    color: var(--text);
    transition: all 0.3s ease;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: 0 8px 32px rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.18);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 8px 32px rgba(0, 242, 254, 0.25);
    transform: translateX(-50%) translateY(-2px);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--primary);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    color: var(--primary);
    transform: rotate(30deg);
}

.lang-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    color: var(--primary);
    transform: rotate(30deg);
}

section {
    padding: 120px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero {
    text-align: left;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-image {
    flex: 1;
    max-width: 400px;
    position: relative;
    filter: drop-shadow(0 0 50px rgba(0, 242, 254, 0.5));
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    z-index: -1;
    opacity: 0.4;
    filter: blur(30px);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 6px solid rgba(0, 242, 254, 0.9);
    box-shadow: 0 0 60px rgba(0, 242, 254, 0.6),
                inset 0 0 30px rgba(0, 242, 254, 0.3);
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
    text-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: white;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 242, 254, 0.1);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    transition: all 0.3s ease-out;
}

.work-item {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 242, 254, 0.1);
    cursor: pointer;
}

.work-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.2);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.work-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.work-item h3 {
    padding: 20px;
    text-align: center;
    font-size: 1.3rem;
    color: var(--text);
    background: var(--card-bg);
}

.work-item p {
    padding: 0 20px 20px;
    color: var(--text);
    opacity: 0.8;
    text-align: center;
}

.about-section {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(79, 172, 254, 0.1) 100%);
    border-radius: 30px;
    padding: 60px;
    margin: 20px;
    text-align: center;
    border: 1px solid rgba(0, 242, 254, 0.1);
    position: relative;
    overflow: hidden;
}

.about-section::before,
.about-section::after,
.about-section .cube-emoji {
    position: absolute;
    font-size: 100px;
    opacity: 0;
    transform: translateY(100%) rotate(45deg);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.about-section::before {
    content: '🎨';
    left: 50px;
    top: 60%;
    transform: translateY(100%) rotate(-45deg);
}

.about-section::after {
    content: '🖌️';
    right: 50px;
    top: 40%;
    transform: translateY(100%) rotate(45deg);
}

.about-section .cube-emoji {
    position: absolute;
    left: 35%;
    top: 8%;
    transform: translateY(100%) rotate(-30deg);
    transition: all 0.8s ease;
    z-index: 0;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.about-section.visible::before,
.about-section.visible::after,
.about-section.visible .cube-emoji {
    opacity: var(--emoji-opacity);
    transform: translateY(0) rotate(var(--rotation));
}

.about-section.visible::before { 
    --rotation: -15deg;
    animation: float 3s ease-in-out infinite, floatUp 0.8s ease-out forwards;
}

.about-section.visible::after { 
    --rotation: 15deg;
    animation: float 3s ease-in-out infinite 0.5s;
}

.about-section.visible .cube-emoji { 
    transform: translateY(0) rotate(-10deg);
}

.about-section.visible .cube {
    animation: float3D 3s ease-in-out infinite;
}

@keyframes float3D {
    0%, 100% {
        transform: rotateX(-25deg) rotateY(45deg) translateY(0);
    }
    50% {
        transform: rotateX(-25deg) rotateY(45deg) translateY(-10px);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(40px) rotate(var(--rotation));
    }
    100% {
        transform: translateY(0) rotate(var(--rotation));
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotation));
    }
    50% {
        transform: translateY(-10px) rotate(var(--rotation));
    }
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.about-section p {
    font-size: 1.2rem;
    color: var(--text);
    max-width: 800px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.email-btn {
    padding: 18px 36px;
    font-size: 1.2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.email-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 30px;
    z-index: -1;
    transition: all 0.3s ease;
}

.email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.3);
}

.email-btn:hover::before {
    filter: brightness(1.2);
}

.email-btn:active {
    transform: translateY(-1px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background: var(--contact-bg);
}

.contact-section .mail-emoji {
    position: absolute;
    font-size: 100px;
    opacity: 0;
    transform: translateY(100%) rotate(45deg);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 0;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

/* Bottom emojis (more dense) */
.contact-section .mail-emoji:nth-child(1) { 
    left: 42%; 
    top: 78%; 
    transform: translateY(100%) rotate(-45deg); 
}

.contact-section .mail-emoji:nth-child(2) { 
    right: 22%; 
    top: 72%; 
    transform: translateY(100%) rotate(60deg); 
}

/* Middle emojis (spreading out) */
.contact-section .mail-emoji:nth-child(3) { 
    left: 22%; 
    top: 58%; 
    transform: translateY(100%) rotate(-75deg); 
}

.contact-section .mail-emoji:nth-child(4) { 
    right: 45%; 
    top: 45%; 
    transform: translateY(100%) rotate(85deg); 
}

/* Top emojis (most spread out) */
.contact-section .mail-emoji:nth-child(5) { 
    left: 12%; 
    top: 32%; 
    transform: translateY(100%) rotate(-95deg); 
}

.contact-section .mail-emoji:nth-child(6) { 
    right: 15%; 
    top: 22%; 
    transform: translateY(100%) rotate(105deg); 
}

.contact-section.visible .mail-emoji {
    opacity: 0.2;
    transform: translateY(0) rotate(var(--final-rotation));
}

/* Final rotations for the thrown-up effect */
.contact-section.visible .mail-emoji:nth-child(1) { --final-rotation: -25deg; }
.contact-section.visible .mail-emoji:nth-child(2) { --final-rotation: 35deg; }
.contact-section.visible .mail-emoji:nth-child(3) { --final-rotation: -55deg; }
.contact-section.visible .mail-emoji:nth-child(4) { --final-rotation: 65deg; }
.contact-section.visible .mail-emoji:nth-child(5) { --final-rotation: -85deg; }
.contact-section.visible .mail-emoji:nth-child(6) { --final-rotation: 95deg; }

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.contact-section p {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.email-btn {
    padding: 18px 36px;
    font-size: 1.2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
    position: relative;
    overflow: hidden;
}

.email-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 30px;
    z-index: -1;
    transition: all 0.3s ease;
}

.email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.3),
                0 0 20px rgba(0, 242, 254, 0.2);
}

.email-btn:hover::before {
    filter: brightness(1.2);
}

.email-btn:active {
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-5px);
    color: white;
    border-color: transparent;
}

.social-link:hover::before {
    opacity: 1;
}

.burger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(12px);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: var(--primary);
}

.mobile-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.mobile-buttons .theme-toggle,
.mobile-buttons .lang-toggle {
    font-size: 1.8rem;
    padding: 10px;
}

.burger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger-menu {
        display: block;
    }
    
    .nav-content {
        justify-content: space-between;
    }

    .logo {
        font-size: 2rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
        gap: 40px;
    }
    
    .hero-image {
        max-width: 300px;
        filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.2));
    }
    
    .hero-image img {
        height: 300px;
        border-width: 4px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero, .about-section {
        padding: 40px 20px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }

    .work-item {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .work-item.extra {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
    }

    .work-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .about-section {
        margin: 10px;
        padding: 40px 20px;
    }

    .about-section h2 {
        font-size: 2rem;
    }

    .about-section p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .contact-section p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .email-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    /* Hide some mail emojis on mobile */
    .contact-section .mail-emoji:nth-child(2),
    .contact-section .mail-emoji:nth-child(3),
    .contact-section .mail-emoji:nth-child(4),
    .contact-section .mail-emoji:nth-child(5) {
        display: none;
    }

    /* Adjust remaining emojis position */
    .contact-section .mail-emoji:nth-child(1) { 
        left: 35%; 
        top: 75%; 
    }

    .contact-section .mail-emoji:nth-child(6) { 
        right: 25%; 
        top: 35%; 
    }
}

/* Additional responsive breakpoints */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .work-item {
        max-width: 100%;
    }

    .about-section {
        padding: 30px 15px;
    }

    .contact-section {
        padding: 40px 15px;
    }
}

/* For larger screens */
@media (min-width: 1200px) {
    .work-grid {
        max-width: 1400px;
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 4rem;
    }

    .hero-text p {
        font-size: 1.3rem;
    }
}

/* For landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 500px;
    }

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

    section {
        padding: 60px 20px;
    }
}

/* Hide extra cards by default */
.work-item.extra {
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: none;
    overflow: hidden;
}

/* When grid is expanded, show extra cards with animation */
.work-grid.expanded .work-item.extra {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: max-height 0.5s ease-out,
                opacity 0.5s ease-out,
                transform 0.5s ease-out;
}

.show-more-btn {
    margin-top: 30px;
    padding: 15px 40px;
    font-size: 1.1rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
    position: relative;
    overflow: hidden;
}

.show-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 30px;
    z-index: -1;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.3);
}

.show-more-btn:hover::before {
    filter: brightness(1.2);
}

.show-more-btn:active {
    transform: translateY(-1px);
}

/* Adjust work grid for expanded state */
.work-grid.expanded {
    margin-bottom: 20px;
}

.cube {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-25deg) rotateY(45deg);
    transition: transform 0.8s ease;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--cube-color);
    border: 2px solid var(--cube-edge);
    backdrop-filter: blur(5px);
}

.front  { transform: translateZ(30px); }
.back   { transform: translateZ(-30px) rotateY(180deg); }
.right  { transform: translateX(30px) rotateY(90deg); }
.left   { transform: translateX(-30px) rotateY(-90deg); }
.top    { transform: translateY(-30px) rotateX(90deg); }
.bottom { transform: translateY(30px) rotateX(-90deg); }

.about-section.visible .cube {
    animation: float3D 3s ease-in-out infinite;
}

@keyframes float3D {
    0%, 100% {
        transform: rotateX(-25deg) rotateY(45deg) translateY(0);
    }
    50% {
        transform: rotateX(-25deg) rotateY(45deg) translateY(-10px);
    }
}

/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-modal.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 254, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(0, 242, 254, 0.4);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
    }
    
    .close-modal {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
} 