@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

header {
    transition: all 0.5s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.hide {
    transform: translateY(-100%);
    opacity: 0;
}

header.show {
    transform: translateY(0);
    opacity: 1;
}

.logo{
    font-size: 3rem;
    color: #b74b4b;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}

@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    nav.active{
        display: flex;
    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b74b4b;
    }
}

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #b74b4b;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #b74b4b;
}

.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0  0 25px #b74b4b;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}

.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content: "Gameplay Developer";
    color: #b74b4b;
    animation: words 20s infinite;
}

.typing-text span::after{
    content: "";
    background-color: black;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor{
    to{
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words{
    0%, 20%{
        content: "Gameplay Developer";
    }
    21%, 40%{
        content: "Game Designer";
    }
    41%, 60%{
        content: "3D Designer";
    }
    61%, 80%{
        content: "Software Developer";
    }
    81%, 100%{
        content: "Game Engine Engineer";
    }
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}

header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    padding: 1rem 9%;
    transition: all 0.3s ease;
}

.skills-section {
    padding: 8rem 9%;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(183, 75, 75, 0.1), transparent 70%);
    pointer-events: none;
}

.skills-main-heading {
    font-size: 4rem;
    text-align: left;
    font-weight: bold;
    color: #b74b4b;
    margin-bottom: 4rem;
    border-left: 5px solid #b74b4b;
    padding-left: 15px;
    position: relative;
    z-index: 2;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

.skill-card {
    height: 280px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(183, 75, 75, 0.2);
    border-radius: 15px;
}

.skill-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.card-front {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid rgba(183, 75, 75, 0.3);
}

.card-back {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    transform: rotateY(180deg);
    border: 1px solid rgba(183, 75, 75, 0.5);
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skill-icon {
    font-size: 4rem;
    color: #b74b4b;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.2) translateZ(30px);
    filter: drop-shadow(0 0 10px rgba(183, 75, 75, 0.7));
}

.card-front h3 {
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

/* Skill logos grid */
.skill-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item i {
    font-size: 2rem;
    color: #b74b4b;
    margin-bottom: 0.5rem;
}

.logo-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: grayscale(100%) brightness(1.5);
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) brightness(1.2);
    transform: scale(1.1);
}

.logo-item span {
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    line-height: 1.2;
}

/* Animation for cards appearing on scroll */
.skill-card {
    opacity: 0;
    transform: translateY(50px) rotateX(-15deg);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.skill-card.in-view {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .skill-card {
        height: 250px;
    }
    
    .skill-icon {
        font-size: 3rem;
    }
    
    .card-front h3 {
        font-size: 1.6rem;
    }
    
    .skill-logos {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .logo-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-main-heading {
        font-size: 3rem;
        text-align: center;
        border-left: none;
        border-bottom: 5px solid #b74b4b;
        padding-left: 0;
        padding-bottom: 15px;
    }
    
    .skill-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

.experience {
    padding: 8rem 9%;
    background-color: #111;
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(183, 75, 75, 0.1), transparent 70%);
    pointer-events: none;
}

.experience .heading {
    font-size: 4rem;
    text-align: center;
    font-weight: bold;
    color: #b74b4b;
    margin-bottom: 6rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 2rem;
}

.experience .heading::before,
.experience .heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 3px;
    background-color: #b74b4b;
    transform: translateY(-50%);
}

.experience .heading::before {
    left: -60px;
}

.experience .heading::after {
    right: -60px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* Central vertical line with gradient and glow */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, #b74b4b, #8a3a3a, #b74b4b);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(183, 75, 75, 0.5);
}

/* Containers */
.container {
    padding: 2rem 4rem;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-content {
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #2a2a2a;
    filter: drop-shadow(-2px 0 5px rgba(0, 0, 0, 0.5));
}

.container.right .timeline-content::before {
    left: auto;
    right: -10px;
    border-right: none;
    border-left: 10px solid #2a2a2a;
}

/* Left / Right placement */
.container.left { 
    left: 0; 
    transform: translateX(-50px) translateY(50px);
}

.container.right { 
    left: 50%; 
    transform: translateX(50px) translateY(50px);
}

.container.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Content box with 3D effect */
.content {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                0 5px 15px rgba(183, 75, 75, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(183, 75, 75, 0.3);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.content:hover {
    transform: translateY(-5px) rotateX(2deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 
                0 10px 25px rgba(183, 75, 75, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Company logo */
.company-logo {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #b74b4b, #8a3a3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(183, 75, 75, 0.5);
    z-index: 2;
    transition: all 0.3s ease;
}

.content:hover .company-logo {
    transform: translateX(-50%) scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(183, 75, 75, 0.7);
}

/* Small circle on timeline */
.container::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(145deg, #b74b4b, #8a3a3a);
    border-radius: 50%;
    top: 2rem;
    right: -12px;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(183, 75, 75, 0.2), 
                0 0 15px rgba(183, 75, 75, 0.5);
    transition: all 0.3s ease;
}

.container.right::after { 
    left: -12px; 
    right: auto;
}

.container:hover::after {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(183, 75, 75, 0.3), 
                0 0 20px rgba(183, 75, 75, 0.7);
}

/* Adjust content position */
.container.left .content { 
    margin-left: auto; 
}

.container.right .content { 
    margin-right: auto; 
}

/* Headings inside content */
.content h3 { 
    font-size: 2rem; 
    color: #b74b4b; 
    margin-bottom: 0.5rem; 
    text-align: center;
    font-weight: 700;
}

.content h4 { 
    font-size: 1.6rem; 
    color: #ddd; 
    margin-bottom: 1.5rem; 
    text-align: center;
    font-weight: 500;
}

.content p { 
    font-size: 1.4rem; 
    color: #ccc; 
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Year styling */
.container .year {
    position: absolute;
    top: 2rem;
    width: 120px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #b74b4b;
    text-align: center;
    z-index: 5;
    background: rgba(27, 27, 27, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.container.left .year { 
    right: calc(100% + 30px); 
}

.container.right .year { 
    left: calc(100% + 30px); 
}

.container:hover .year {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Tech stack tags */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.tech-tag {
    background: linear-gradient(145deg, #333, #222);
    color: #b74b4b;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    border: 1px solid rgba(183, 75, 75, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: linear-gradient(145deg, #b74b4b, #8a3a3a);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(183, 75, 75, 0.3);
}

/* Responsive adjustments */
@media screen and (max-width: 968px) {
    .timeline::after {
        left: 31px;
    }
    
    .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        margin-bottom: 4rem;
    }
    
    .container.right { 
        left: 0; 
    }
    
    .container.left .content,
    .container.right .content { 
        margin: 0; 
    }

    .container::after { 
        left: 20px; 
        right: auto;
    }
    
    .container.left .year,
    .container.right .year {
        position: relative;
        left: 0;
        right: 0;
        margin-bottom: 1rem;
        display: inline-block;
    }
    
    .timeline-content::before {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .experience .heading {
        font-size: 3rem;
        padding: 0 1rem;
    }
    
    .experience .heading::before,
    .experience .heading::after {
        width: 30px;
    }
    
    .experience .heading::before {
        left: -40px;
    }
    
    .experience .heading::after {
        right: -40px;
    }
    
    .container {
        padding-left: 50px;
        padding-right: 15px;
    }
    
    .content {
        padding: 2rem 1.5rem;
    }
    
    .tech-stack {
        gap: 0.5rem;
    }
    
    .tech-tag {
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Work Section Styles */
.work {
    padding: 8rem 9%;
    background-color: #111;
    position: relative;
    overflow: hidden;
}

.work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(183, 75, 75, 0.1), transparent 70%);
    pointer-events: none;
}

.work .heading {
    font-size: 4rem;
    text-align: center;
    font-weight: bold;
    color: #b74b4b;
    margin-bottom: 6rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 2rem;
}

.work .heading::before,
.work .heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 3px;
    background-color: #b74b4b;
    transform: translateY(-50%);
}

.work .heading::before {
    left: -60px;
}

.work .heading::after {
    right: -60px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.work-item {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(183, 75, 75, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.work-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(183, 75, 75, 0.2);
    border-color: rgba(183, 75, 75, 0.3);
}

.work-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-btn {
    padding: 0.8rem 1.5rem;
    background-color: #b74b4b;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.work-btn:hover {
    background-color: #fff;
    color: #b74b4b;
    transform: scale(1.05);
}

.work-item h3 {
    font-size: 1.8rem;
    color: #b74b4b;
    margin: 1.5rem 1.5rem 0.5rem;
    font-weight: 700;
}

.work-item p {
    font-size: 1.4rem;
    color: #ccc;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.5;
}

.work-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0 1.5rem 1.5rem;
}

.work-tech span {
    background: linear-gradient(145deg, #333, #222);
    color: #b74b4b;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    border: 1px solid rgba(183, 75, 75, 0.3);
}

.work-item .btn {
    margin: 0 1.5rem 1.5rem;
    text-align: center;
    display: block;
    width: calc(100% - 3rem);
}

.work-cta {
    text-align: center;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(183, 75, 75, 0.2);
}

.work-cta p {
    font-size: 1.6rem;
    color: #ccc;
    margin-bottom: 2rem;
}

/* Animation for work items */
@keyframes workItemAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .work .heading {
        font-size: 3rem;
    }
    
    .work .heading::before,
    .work .heading::after {
        width: 30px;
    }
    
    .work .heading::before {
        left: -40px;
    }
    
    .work .heading::after {
        right: -40px;
    }
}

@media (max-width: 480px) {
    .work {
        padding: 6rem 5%;
    }
    
    .work .heading {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    .work .heading::before,
    .work .heading::after {
        display: none;
    }
    
    .work-item {
        margin: 0 0.5rem;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(183, 75, 75, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.show .video-modal-content {
    transform: scale(1);
}

.video-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.video-close:hover {
    color: #b74b4b;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 0 10px;
    }
    
    .video-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
}
