:root {
    --primary-color: #239BA7;
    --secondary-color: #ECECBB;
    --font-inter: 'Inter', sans-serif;
    --font-bebas: 'Bebas Neue', sans-serif;
		cursor: url('assets/cursor-fill2.png') 1 1, auto !important;
		
}
/* При наведении на кликабельное */
a:hover,
button:hover,
input:hover,
textarea:hover,
.play-btn:hover,
.tags span:hover {
    cursor: url('assets/pointer.png') 12 12, pointer !important;
}
/* ------------------- BASE ------------------- */
body {
    margin: 0;
    background-color: var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-inter);
    overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ------------------- NAV ------------------- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 80px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    box-sizing: border-box;
}

.nav-link {
    font-family: var(--font-bebas);
    font-size: 24px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

/* ------------------- DISC SECTION ------------------- */
.disc {
    padding: 150px 0 80px;
}

.disc-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    box-sizing: border-box;
    scroll-margin-top: 280px;
}



.disc-left {
    flex: 1 1 500px;
    max-width: 700px;
    position: relative;
}

.aboutimg {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100px;
    height: auto;
}

.disc h3 {
    font-family: var(--font-bebas);
    font-size: 120px;
    margin: 0 0 20px;
    line-height: 1;
}

.disc p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-item p {
    margin: 0;
    font-weight: 500;
}

.link-item img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.link-item img:hover {
    transform: scale(1.15);
}

/* Фото и звезды */
.photo {
    flex: 1 1 400px;
    position: relative;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.me {
    width: 420px;
    max-width: 100%;
    position: relative;
    z-index: 2;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.me-default,
.me-hover {
    position: absolute;
    inset: 0;
    margin: auto;
}

.me-default {
    opacity: 1;
    transform: scale(1);
}

.me-hover {
    opacity: 0;
    transform: scale(0.98);
}

.photo:hover .me-default {
    opacity: 0;
    transform: scale(0.98);
}

.photo:hover .me-hover {
    opacity: 1;
    transform: scale(1);
}

.starsab1 {
    position: absolute;
    width: 70px;
    top: 40px;
    left: 120px;
    animation: rotate 8s linear infinite;
}

.starsab2 {
    position: absolute;
    width: 60px;
    bottom: 50px;
    right: 130px;
    animation: rotate 6s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

/* ------------------- SCROLLING TEXT ------------------- */
.text img {
    width: 12px;
    vertical-align: middle;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-63px); }
}

.scrolling-text {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 0;
    border-top: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    font-family: var(--font-bebas);
    font-size: 22px;
    font-weight: 700;
}

.scrolling-text .text {
    display: inline-block;
    padding-right: 50px;
    animation: marquee 1s linear infinite;
}


.meet {
    padding: 120px 20px;
    text-align: center;
    overflow: hidden;
}

.meet h3 {
    font-family: var(--font-bebas);
    font-size: 130px;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.vid-container{
    --panel-bg: rgba(35, 155, 167, 0.18);
    --panel-border: rgba(236, 236, 187, 0.45);
    max-width: 1020px;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.vid-container .video-stage{
    position: relative;
    width: 100%;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(35, 155, 167, 0.18);
}

.vid-container video{
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    border-radius: 26px;
    background: #9ecfd4;
}

.vid-container .play{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: url('assets/pointer.png') 12 12, pointer !important;
    z-index: 2;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.vid-container .play > svg{
    position: absolute;
    filter: drop-shadow(0 0 35px rgba(236, 236, 187, 0.9));
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.vid-container .play > svg:nth-of-type(1){
    opacity: 1;
    transform: scale(1);
}

.vid-container .play > svg:nth-of-type(2){
    opacity: 0;
    transform: scale(0.92);
}

.vid-container .play.active{
    opacity: 0;
    pointer-events: none;
}

.vid-container .play.active > svg:nth-of-type(1){
    opacity: 0;
    transform: scale(0.92);
}

.vid-container .play.active > svg:nth-of-type(2){
    opacity: 1;
    transform: scale(1);
}

.vid-container > .controls{
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.vid-container .controls-main{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 22px;
    background: var(--panel-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--panel-border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    box-sizing: border-box;
    pointer-events: auto;
}

.vid-container .control-btn{
    min-width: 88px;
    border: 1px solid rgba(35, 155, 167, 0.35);
    background: rgba(236, 236, 187, 0.92);
    color: var(--primary-color);
    font-family: var(--font-bebas);
    font-size: 24px;
    letter-spacing: 1px;
    border-radius: 14px;
    padding: 10px 16px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.vid-container .control-btn:hover{
    transform: translateY(-2px);
    background: var(--primary-color);
    color: var(--secondary-color);
}

.vid-container .timeline-wrap{
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.vid-container .time,
.vid-container .volume-label{
    color: var(--secondary-color);
    font-family: var(--font-bebas);
    font-size: 22px;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.vid-container .volume-wrap{
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
}

.vid-container .seekbar,
.vid-container .volume-slider{
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    outline: none;
    border: none;
    background: linear-gradient(to right, var(--secondary-color) 0%, var(--secondary-color) var(--range-progress, 0%), rgba(236, 236, 187, 0.24) var(--range-progress, 0%), rgba(236, 236, 187, 0.24) 100%);
}

.vid-container .seekbar::-webkit-slider-thumb,
.vid-container .volume-slider::-webkit-slider-thumb{
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(35, 155, 167, 0.18);
}

.vid-container .seekbar::-moz-range-thumb,
.vid-container .volume-slider::-moz-range-thumb{
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(35, 155, 167, 0.18);
}

.vid-container .seekbar::-moz-range-track,
.vid-container .volume-slider::-moz-range-track{
    height: 8px;
    border-radius: 999px;
    background: transparent;
}

.vid-container:hover > .controls,
.vid-container:focus-within > .controls,
.vid-container.is-playing > .controls,
.vid-container > .play:not(.active) + .controls{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 920px) {
    .meet {
        padding: 96px 16px;
    }

    .vid-container{
        max-width: 100%;
    }

    .vid-container .video-stage,
    .vid-container video{
        border-radius: 22px;
    }

    .vid-container > .controls{
        left: 12px;
        right: 12px;
        bottom: 12px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .vid-container .play > svg{
        width: 88px;
        height: 88px;
    }

    .vid-container .controls-main{
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 14px;
        border-radius: 20px;
    }

    .vid-container .control-btn{
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
        min-height: 50px;
        font-size: 20px;
        padding: 10px 12px;
    }

    .vid-container .timeline-wrap{
        width: 100%;
        order: 3;
        gap: 10px;
    }

    .vid-container .volume-wrap{
        min-width: 0;
        width: 100%;
        justify-content: space-between;
        order: 4;
        gap: 12px;
    }

    .vid-container .seekbar,
    .vid-container .volume-slider{
        height: 10px;
    }

    .vid-container .seekbar::-webkit-slider-thumb,
    .vid-container .volume-slider::-webkit-slider-thumb,
    .vid-container .seekbar::-moz-range-thumb,
    .vid-container .volume-slider::-moz-range-thumb{
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 560px) {
    .meet h3 {
        font-size: 72px;
        line-height: 0.95;
        margin-bottom: 28px;
    }

    .vid-container{
        background: rgba(35, 155, 167, 0.96);
        border-radius: 18px;
        padding: 0 0 10px;
        box-shadow: 0 14px 36px rgba(35, 155, 167, 0.18);
    }

    .vid-container .video-stage{
        border-radius: 18px 18px 0 0;
        box-shadow: none;
    }

    .vid-container video{
        border-radius: 18px 18px 0 0;
    }

    .vid-container .play > svg{
        width: 70px;
        height: 70px;
    }

    .vid-container > .controls{
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        padding: 10px 10px 0;
    }

    .vid-container .controls-main{
        gap: 8px;
        padding: 10px;
        border-radius: 16px;
        background: rgba(35, 155, 167, 0.22);
        border-color: rgba(236, 236, 187, 0.38);
    }

    .vid-container .control-btn{
        font-size: 18px;
        min-height: 46px;
        padding: 10px;
    }

    .vid-container .timeline-wrap{
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) 46px;
        align-items: center;
        gap: 8px;
    }

    .vid-container .volume-wrap{
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
    }

    .vid-container .time,
    .vid-container .volume-label{
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .meet {
        padding: 84px 12px;
    }

    .meet h3 {
        font-size: 56px;
    }

    .vid-container{
        border-radius: 16px;
        padding-bottom: 8px;
    }

    .vid-container .video-stage,
    .vid-container video{
        border-radius: 16px 16px 0 0;
    }

    .vid-container .play > svg{
        width: 58px;
        height: 58px;
    }

    .vid-container > .controls{
        padding: 8px 8px 0;
    }

    .vid-container .controls-main{
        padding: 9px;
        border-radius: 14px;
    }

    .vid-container .control-btn{
        font-size: 16px;
        min-height: 42px;
        border-radius: 12px;
    }

    .vid-container .time,
    .vid-container .volume-label{
        font-size: 15px;
    }

    .vid-container .seekbar,
    .vid-container .volume-slider{
        height: 8px;
    }
}

@media (hover: none), (pointer: coarse) {
    .vid-container > .controls,
    .vid-container:hover > .controls,
    .vid-container:focus-within > .controls,
    .vid-container.is-playing > .controls,
    .vid-container > .play:not(.active) + .controls{
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* ------------------- SKILLS BLOCK ------------------- */
.skills-block {
    max-width: 1600px;
    margin: 120px auto;
    padding: 40px 80px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    border-bottom: 5px dotted var(--primary-color);
    box-sizing: border-box;
    flex-wrap: wrap;
}

.softwares, .skills {
    flex: 1 1 400px;
}

.softwares h4, .skills h4 {
    font-family: var(--font-bebas);
    font-size: 50px;
    margin-bottom: 25px;
}

.soft {
    max-width: 420px;
    width: 100%;
    height: auto;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tags span {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tags span:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* ------------------- CONTACT ------------------- */
.contact {
    max-width: 1600px;
    margin: 200px auto 0;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    box-sizing: border-box;
}

.contact-header {
    flex: 1 1 400px;
}

.contact h3 {
    font-family: var(--font-bebas);
    font-size: 90px;
    line-height: 1;
    margin: 0;
}

.contact img {
    width: 60px;
}

.contact p {
    font-size: 18px;
    line-height: 1.6;
    margin: 20px 0;
    max-width: 400px;
}

.contact .email {
    font-weight: bold;
}

.contact form {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.contact .row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background-color: transparent;
    font-family: var(--font-inter);
    font-size: 16px;
    color: var(--primary-color);
    outline: none;
}

.contact textarea {
    resize: none;
    height: 150px;
}

.contact button {
    width: 180px;
    padding: 14px;
    border: none;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: var(--font-bebas);
    font-size: 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact button:hover {
    background-color: #1c7b86;
    transform: scale(1.05);
}

.contact input[type="submit"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    font-family: var(--font-inter);
    font-size: 20px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact input[type="submit"]:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 14px 32px rgba(44, 169, 185, 0.2);
    transform: translateY(-1px);
}

/* ------------------- FOOTER ------------------- */
footer {
    text-align: center;
    padding: 50px 20px;
    font-size: 14px;
    color: var(--primary-color);
}

/* ------------------- ADAPTIVE ------------------- */
@media (max-width: 1200px) {
    .disc h3 {
        font-size: 90px;
    }

    .me {
        width: 350px;
    }
}

@media (max-width: 1120px) {
    .disc-content {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .disc-left {
        max-width: 90%;
        padding-top: 0;
    }

    .photo {
        margin-bottom: 40px;
    }

    .me {
        width: 320px;
    }

    .starsab1, .starsab2 {
        margin: 0 160px 0 160px;
    }

    .skills-block, .contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact h3 {
        font-size: 70px;
    }
}
/* ==================== Звезда в "Get in Touch" ==================== */
.contact .star {
    display: inline-block;
    transform-origin: center center;
    padding: 0 0 0 10px;
    >img{
        transition: transform 0.5s ease;
    }
}
/* Email с иконкой */
.contact .email {
    display: flex;
    align-items: center;
    gap: 12px;               /* расстояние между иконкой и текстом */
    font-weight: bold;
    font-size: 18px;
    margin: 25px 0 0 0;
    color: var(--primary-color);
}

.contact .email {
    display: flex;
    align-items: center;
    gap: 10px;               /* расстояние между иконкой и текстом */
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0;
    color: var(--primary-color);
}

.contact .email-icon {
    width: 26px;
    height: 26px;
}

/* Самое важное — делаем ссылку неотличимой от обычного текста */
.contact .email-text {
    color: var(--primary-color);           /* тот же цвет, что и у остального текста */
    text-decoration: none;                 /* убираем подчёркивание */
    cursor: pointer;                       /* всё ещё будет курсор-указатель при наведении */
    transition: color 0.25s ease;
}


.contact .email-icon {
    width: 24px;             /* размер иконки — подбери под свой логотип */
    height: 24px;
    object-fit: contain;     /* чтобы не растягивалась */
    flex-shrink: 0;
}

/* При наведении — лёгкий эффект (опционально) */
.contact .email:hover .email-icon {
    transform: scale(1.15);
    transition: transform 0.25s ease;
}

.contact .email span {
    transition: color 0.25s ease;
}


.contact h3:hover .star {
    >img{
        transform: rotate(180deg);
        transition: 0.5s ease;
    }
}
@media (max-width: 600px) {
    .disc h3 {
        font-size: 70px;
    }

    .meet h3 {
        font-size: 80px;
    }

    .contact h3 {
        font-size: 55px;
    }

    .nav-link {
        font-size: 18px;
    }

    .top-nav {
        padding: 25px 40px;
    }
}


/* ------------------- SCROLLBAR ------------------- */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(236, 236, 187, 0.45);
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
  background: rgba(236, 236, 187, 0.45);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color) 0%, #1f848d 100%);
  border-radius: 999px;
  border: 2px solid rgba(236, 236, 187, 0.75);
}

body::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1f848d 0%, var(--primary-color) 100%);
}


/* ------------------- iPhone adaptive polish ------------------- */
@media (max-width: 768px) {
  .top-nav {
    padding: 22px 18px;
  }

  .disc {
    padding: 118px 0 56px;
  }

  .disc-content,
  .skills-block,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .disc-content {
    gap: 28px;
  }

  .disc h3 {
    font-size: clamp(4.3rem, 19vw, 5.8rem);
    margin-bottom: 14px;
  }

  .disc p,
  .contact p {
    font-size: 16px;
    line-height: 1.55;
  }

  .links {
    justify-content: center;
    gap: 18px;
  }

  .photo {
    min-height: 340px;
    width: 100%;
  }

  .me {
    width: min(82vw, 340px);
  }

  .starsab1 {
    left: 24px;
    top: 14px;
    width: 58px;
  }

  .starsab2 {
    right: 22px;
    bottom: 20px;
    width: 52px;
  }

  .scrolling-text {
    font-size: 18px;
  }

  .skills-block {
    margin: 76px auto;
    gap: 28px;
  }

  .softwares h4,
  .skills h4 {
    font-size: 40px;
    margin-bottom: 18px;
  }

  .tags {
    justify-content: center;
    gap: 10px;
  }

  .tags span {
    font-size: 12px;
    padding: 9px 14px;
  }

  .contact {
    margin-top: 110px;
    gap: 34px;
  }

  .contact form {
    width: 100%;
    max-width: 100%;
  }

  .contact .row {
    flex-direction: column;
    gap: 14px;
  }

  .contact input,
  .contact textarea,
  .contact input[type="submit"] {
    width: 100%;
    box-sizing: border-box;
  }

  .contact h3 {
    font-size: clamp(3.2rem, 14vw, 4.3rem);
  }
}

@media (max-width: 480px) {
  .top-nav {
    padding: 18px 14px;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .disc {
    padding-top: 102px;
  }

  .disc-content,
  .skills-block,
  .contact {
    padding-left: 14px;
    padding-right: 14px;
  }

  .disc-left {
    max-width: 100%;
  }

  .aboutimg {
    width: 82px;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
  }

  .disc h3 {
    font-size: clamp(3.8rem, 18vw, 4.8rem);
  }

  .disc p {
    margin-bottom: 26px;
  }

  .photo {
    min-height: 300px;
  }

  .me {
    width: min(84vw, 300px);
  }

  .starsab1,
  .starsab2 {
    width: 48px;
  }

  .scrolling-text {
    font-size: 16px;
    padding: 10px 0;
  }

  .meet {
    padding: 72px 12px;
  }

  .skills-block {
    margin: 64px auto;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .contact {
    margin-top: 90px;
  }

  .contact p,
  .contact .email {
    font-size: 15px;
  }

  footer {
    padding: 32px 14px 46px;
  }
}

@media (max-width: 390px) {
  .disc {
    padding-top: 96px;
  }

  .disc h3 {
    font-size: clamp(3.4rem, 17vw, 4.2rem);
  }

  .disc p,
  .contact p {
    font-size: 14px;
  }

  .photo {
    min-height: 276px;
  }

  .me {
    width: min(86vw, 276px);
  }

  .meet h3 {
    font-size: 48px;
  }

  .contact h3 {
    font-size: 46px;
  }
}

/* ------------------- responsive tune-up v28 ------------------- */
@media (max-width: 768px) {
  .disc {
    padding: 96px 0 48px;
  }

  .disc-content {
    gap: 20px;
    scroll-margin-top: 110px;
  }

  .disc-left,
  .contact-header,
  .softwares,
  .skills {
    width: 100%;
    max-width: 100%;
  }

  .disc p,
  .contact p {
    max-width: 100%;
  }

  .links {
    justify-content: center;
  }

  .photo {
    min-height: 300px;
    margin-bottom: 10px;
  }

  .starsab1 {
    left: 10%;
    top: 10px;
  }

  .starsab2 {
    right: 10%;
    bottom: 14px;
  }

  .meet {
    padding: 64px 14px;
  }

  .skills-block {
    margin: 56px auto;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .soft {
    max-width: min(100%, 330px);
  }

  .tags {
    justify-content: center;
  }

  .contact {
    margin-top: 72px;
  }

  .contact .email {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .disc {
    padding-top: 82px;
  }

  .disc-content,
  .skills-block,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .disc h3 {
    margin-bottom: 10px;
  }

  .links {
    gap: 14px;
  }

  .link-item {
    gap: 8px;
  }

  .photo {
    min-height: 260px;
  }

  .me {
    width: min(84vw, 268px);
  }

  .scrolling-text {
    font-size: 15px;
  }

  .meet {
    padding: 56px 12px;
  }

  .meet h3 {
    font-size: clamp(2.8rem, 13vw, 3.8rem);
    margin-bottom: 20px;
  }

  .softwares h4,
  .skills h4 {
    font-size: 2rem;
  }

  .tags span {
    font-size: 11px;
    padding: 8px 12px;
  }

  .contact h3 {
    font-size: clamp(2.9rem, 13vw, 3.8rem);
  }

  .contact .email {
    gap: 8px;
    font-size: 14px;
  }

  .contact input,
  .contact textarea,
  .contact input[type="submit"] {
    border-radius: 12px;
    padding: 14px;
  }

  footer {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-width: 390px) {
  .disc-content,
  .skills-block,
  .contact {
    padding-left: 14px;
    padding-right: 14px;
  }

  .photo {
    min-height: 238px;
  }

  .me {
    width: min(86vw, 246px);
  }

  .starsab1,
  .starsab2 {
    width: 42px;
  }

  .disc p,
  .contact p,
  .contact .email {
    font-size: 13.5px;
  }
}

/* ===== Player: fullscreen button + mobile exit (ported from 3d-design.css) ===== */
.vid-container .player-mobile-exit{
  display: none;
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: calc(env(safe-area-inset-right, 0px) + 14px);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(35, 155, 167, 0.28);
  border-radius: 999px;
  background: rgba(236, 236, 187, 0.96);
  color: #239BA7;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}
.vid-container .player-mobile-exit svg{
  width: 22px;
  height: 22px;
}

.vid-container .control-fullscreen{
  min-width: 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  flex: 0 0 auto;
}
.vid-container .control-fullscreen:hover,
.vid-container .control-fullscreen:focus-visible{
  background: transparent;
  color: inherit;
  transform: none;
  outline: none;
  box-shadow: none;
}
.vid-container .fullscreen-shell,
.vid-container .fullscreen-face{
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.vid-container .fullscreen-icon{
  position: absolute;
  width: 22px;
  height: 22px;
  color: #239BA7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.vid-container .fullscreen-icon--exit{
  opacity: 0;
  transform: scale(0.8);
}
.vid-container .control-fullscreen.is-active .fullscreen-icon--enter{
  opacity: 0;
  transform: scale(0.8);
}
.vid-container .control-fullscreen.is-active .fullscreen-icon--exit{
  opacity: 1;
  transform: scale(1);
}

.vid-container.is-fullscreen,
.vid-container:fullscreen,
.vid-container:-webkit-full-screen{
  width: 100vw;
  height: 100vh;
  max-width: none;
  border-radius: 0;
  padding: 0;
  background: #000;
}
.vid-container.is-fullscreen .video-stage,
.vid-container:fullscreen .video-stage,
.vid-container:-webkit-full-screen .video-stage{
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vid-container.is-fullscreen video,
.vid-container:fullscreen video,
.vid-container:-webkit-full-screen video{
  width: 100%;
  height: 100%;
  max-height: 100vh;
  border-radius: 0;
  object-fit: contain;
  background: #000;
}
.vid-container.is-fullscreen > .controls,
.vid-container:fullscreen > .controls,
.vid-container:-webkit-full-screen > .controls{
  left: 24px;
  right: 24px;
  bottom: 24px;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.vid-container.is-fullscreen .controls-main,
.vid-container:fullscreen .controls-main,
.vid-container:-webkit-full-screen .controls-main{
  max-width: min(1100px, calc(100vw - 48px));
  margin: 0 auto;
}

body.player-mobile-fullscreen-open{
  overflow: hidden;
}
.vid-container.is-mobile-fullscreen{
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #000 !important;
}
.vid-container.is-mobile-fullscreen .video-stage{
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vid-container.is-mobile-fullscreen video{
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  border-radius: 0;
  object-fit: contain;
  background: #000;
}
.vid-container.is-mobile-fullscreen > .controls{
  position: fixed !important;
  left: 12px !important;
  right: 12px !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  z-index: 10002 !important;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.vid-container.is-mobile-fullscreen .player-mobile-exit{
  display: inline-flex;
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: calc(env(safe-area-inset-right, 0px) + 14px);
  z-index: 10003;
}
.vid-container.is-mobile-fullscreen .controls-main{
  max-width: none;
  width: 100%;
}
