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

.popup-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.popup-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    min-height: 500px;
    background: url('/static/images/skin_pop_bg.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
}

.popup-close-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    z-index: 10;
}

.popup-close-btn:hover {
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
}

.popup-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.popup-left-section {
    flex: 1;
    min-width: 300px;
    padding: 80px 30px 80px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-brand-name {
    font-size: 24px;
    letter-spacing: 1px;
    opacity: 0.9;
    width: 230px;
    margin: 0 auto 10px auto;
    font-family: sans-serif;
    font-weight: 300;
    text-align: left;
}

.popup-main-title {
    font-size: 56px;
    color: #fff;
    font-weight: 300;
    margin: 0 auto 40px auto;
    line-height: 100%;
    text-align: center;
    font-family: "Wulkan Display Regular", sans-serif;
    max-width: 280px;
}

.popup-description {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
    text-align: center;
    font-family: sans-serif;
    font-weight: 300;
}

.popup-right-section {
    flex: 0.75;
    min-width: 300px;
    padding: 50px 50px 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-right-inner {
    background: rgba(228, 214, 214, 0.9);
    padding: 20px;
}

.popup-promo-box {
    background: rgba(139, 69, 69, 0.9);
    color: #fff;
    padding: 10px 10px;
    border-radius: 36px;
    margin-bottom: 15px;
    text-align: center;
    line-height: 110%;
    font-size: 16px;
    font-family: "Wulkan Display Regular", sans-serif;
}

.popup-signup-form {
    background: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.popup-signup-form label {
    font-size: 12px;
    color: #000;
    margin-bottom: 4px;
    font-family: "Switzer Light", sans-serif;
    line-height: normal;
}

.popup-signup-form input {
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border-color 0.3s;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
}

.popup-signup-form input:focus {
    outline: none;
    border-color: #8b4545;
}

.popup-checkbox-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 9px;
    color: #666;
    line-height: 1.5;
    font-family: "Switzer Light", sans-serif;
}

.popup-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    margin-bottom: 0px;
    border: 1px solid #ddd;
}

.popup-checkbox-label span {
    flex: 1;
}

.popup-register-btn {
    background-color: #000 !important;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: "Wulkan Display Regular", sans-serif;
    line-height: normal;
}

.popup-register-btn:hover {
    background-color: #333;
}

.popup-confirm-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.popup-dialog-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    min-width: 300px;
    max-width: 90%;
}

.popup-dialog-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: #333;
}

.popup-dialog-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.popup-dialog-close-btn {
    background-color: #000 !important;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    line-height: normal;
}

.popup-dialog-close-btn:hover {
    background-color: #a05252 !important;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: row;
        justify-content: space-around;
        padding: 30px 20px;
    }

    .hero-content {
        text-align: left;
        margin-bottom: 0;
        max-width: 50%;
    }

    .main-title {
        font-size: 5rem;
    }

    .content-section {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        padding: 40px 20px;
        gap: 30px;
    }

    .content-left {
        flex: 1;
    }

    .content-left h2 {
        font-size: 36px;
        text-align: left;
    }

    .content-right {
        flex: 1;
        max-width: 80%;
    }

    .content-right p {
        font-size: 18px;
        text-align: center;
        margin: 0;
    }

    .popup-container {
        flex-direction: column;
        min-height: auto;
        border-radius: 0px;
    }

    .popup-left-section {
        padding: 20px;
        text-align: center;
    }

    .popup-brand-name {
        font-size: 16px;
        width: 280px;
        text-align: center;
    }

    h1.popup-main-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .popup-description {
        font-size: 12px;
        line-height: 1.2;
        opacity: 0.9;
    }

    .popup-right-section {
        padding: 40px 25px;
        flex: 0.7;
    }

    .popup-promo-box {
        padding: 8px 20px;
        border-radius: 30px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .popup-signup-form {
        padding: 10px;
    }

    .popup-right-inner {
        padding: 10px;
    }

    .popup-signup-form label {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .popup-signup-form input {
        padding: 5px;
        margin-bottom: 8px;
        font-size: 12px;
    }

    .popup-checkbox-label {
        margin-bottom: 10px;
    }

    .popup-register-btn {
        padding: 8px 15px;
    }

    .popup-close-btn {
        top: 15px;
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .popup-brand-name {
        font-size: 14px;
        margin: 0 auto 5px auto;
    }
    .popup-right-section {
        padding: 0px 20px 30px 20px;
        flex: 1;
    }
    .popup-register-btn{
        font-size: 14px;
    }
}