/* ===== CSS VARIABLES ===== */
:root {
    --primary-bg-color: #151515;
    --secondary-bg-color: #111;
    --text-color: #FFF;
    --accent-color: #5CC7B7;
    --glass-bg: rgba(217, 217, 217, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', sans-serif;
    background: #151515;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    width: 100%;
    height: 1168px;
    /* margin: 0 auto; */
    position: relative;
    background: #151515;
    overflow: hidden;
}

/* ===== BACKGROUND IMAGE ===== */
.background-image {
    position: absolute;
    left: -25px;
    top: 88px;
    width: 425px;
    height: 468px;
    background-image: url('../img/tanya-photo.jpg');
    background-size: 161.62% 260.8%;
    background-position: -0.21% 52.57%;
    background-repeat: no-repeat;
}

/* На больших экранах фон должен покрывать всю ширину */
@media (min-width: 376px) {
    .background-image {
        left: 0;
        width: 100vw;
        background-size: cover;
        background-position: center center;
    }
}

/* ===== LOGO ===== */
.logo {
    position: absolute;
    left: 138px;
    top: 20px;
    width: 101px;
    height: 46px;
    z-index: 10;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== GLASS CONTAINER ===== */
.glass-container {
    position: absolute;
    left: 50%;
    top: 36%;
    width: 323px;
    height: 577px;
    transform: translate(-50%, -50%);
}

.glass-background {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 323px;
    height: 577px;
    border-radius: 10px;
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    background: rgba(217, 217, 217, 0.4);
    backdrop-filter: blur(10px);
}

/* Profile image in glass container */
.profile-image {
    position: absolute;
    left: 17px;
    top: 16px;
    width: 289px;
    height: 273px;
    border-radius: 10px;
    background-image: url('../img/tanya-photo.jpg');
    background-size: 100% 150%;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Title */
.title {
    position: absolute;
    left: 20px;
    top: 309px;
    width: 283px;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFF;
    text-align: left;
    font-family: 'Comfortaa', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 140%;
}

/* Description */
.description {
    position: absolute;
    left: 20px;
    top: 373px;
    width: 283px;
    height: 173px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFF;
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 140%;
}

/* ===== NEW BLOCK ===== */
.new-block {
    position: absolute;
    left: 5px;
    top: 650px;
    width: 100%;
}

.new-block-background {
    position: absolute;
    left: -62px;
    top: 39px;
    width: 301px;
    height: 147px;
    background: #5cc7b7;
    border-radius: 10px;
}

/* Flower icon */
.flower-icon {
    position: absolute;
    left: 30%;
    top: 730px;
    width: 100%;
    height: 120px;
    transform: translateX(-50%);
    z-index: 2;
}

.flower-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
}

.new-block-text-1 {
    position: absolute;
    left: 103px;
    top: 204px;
    width: 262px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFF;
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 140%;
    text-transform: uppercase;
    transform: translateY(-50%);
}

.new-block-text-2 {
    position: absolute;
    left: 53px;
    top: 280px;
    width: 270px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFF;
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 140%;
    text-transform: uppercase;
    transform: translateY(-50%);
}

/* ===== FOOTER ===== */
.footer {
    position: absolute;
    top: 1021px;
    width: 100%;
    height: 147px;
}

.footer-background {
    position: absolute;
    left: -3px;
    top: 0px;
    width: 100%;
    height: 147px;
    background: #111;
}

.footer-text {
    position: absolute;
    left: 17px;
    top: 40px;
    width: 100%;
    color: #FFF;
    text-align: center;
    font-family: 'Bw Modelica', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 140%;
    transform: translateY(-50%);
}

/* Instagram button */
.instagram-container {
    position: absolute;
    left: 32%;
    top: 87px;
    width: 160px;
    height: 46px;
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease;
}

.instagram-container:hover {
    transform: scale(1.05);
}

.instagram-border {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 160px;
    height: 46px;
    border: 1px solid #5CC7B7;
}

.instagram-icon {
    position: absolute;
    left: 24px;
    top: 7px;
    width: 32px;
    height: 32px;
}

.instagram-text {
    position: absolute;
    left: 60px;
    top: 13px;
    width: 73px;
    height: 20px;
    color: #5CC7B7;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 374px) {
    .main-container {
        width: 100%;
        height: auto;
        min-height: 100vh;
    }
    
    .background-image {
        width: 100%;
        left: 0;
    }
    
    .glass-container {
        left: -5%;
        width: 110%;
    }
    
    .footer {
        width: 100vw;
        left: 0;
    }
}

@media (min-width: 768px) {
    body {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 20px;
    }
    
    .main-container {
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
        border-radius: 20px;
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #151515 100%);
    }
    
    .main-container {
        transform: scale(1.1);
    }
}

