/* Spinner styles */
.spinner {
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 5px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* iOS Alert styles */
.ios-alert-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.ios-alert {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    text-align: center;
    width: 80%;
    max-width: 300px;
    transform: scale(0.8);
    animation: scaleUp 0.3s forwards;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ios-alert button {
    margin-top: 20px;
    padding: 10px 0;
    width: 100%;
    background: #007aff;
    border: none;
    color: white;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ios-alert button:active {
    background: #0051cc;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes scaleUp {
    to { transform: scale(1); }
}

/* Overlay styles */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* mờ */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

/* Popup box */
.popup {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.popup-message {
    font-size: 14px;
    color: #000;
    line-height: 1.5;
}

.popup-message span.red {
    color: red;
    font-weight: bold;
}

.popup-footer {
    text-align: right;
    margin-top: 15px;
}

.popup-button {
    color: #007aff;
    font-weight: bold;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.popup1 {
    background: linear-gradient(#4fc3f7, #29b6f6);
    border-radius: 30px;
    text-align: center;
    padding: 40px 20px 20px 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.popup1 img {
    width: 30px;
    margin-bottom: 20px;
}

.popup1 p {
    font-size: 25px;
    color: white;
}

.popup1 p span {
    color: red;
    font-weight: bold;
}

.link-box {
    background: white;
    margin-top: 20px;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-box input {
    border: 2px solid #0072ff;
    border-radius: 12px;
    font-size: 16px;
    width: 70%;
    outline: none;
    padding: 8px;
    box-shadow: 0 0 5px rgba(0, 114, 255, 0.4);
}

.copy-btn {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    border: none;
    color: white;
    padding: 10px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
}

.close-btn {
    position: absolute;
    right: 50px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.show-btn {
    margin: 50px;
    padding: 12px 24px;
    font-size: 18px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.disclaimer-link {
    color: #007BFF;
    text-decoration: underline;
    cursor: pointer;
}

.modal1 {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content1 {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Artwork styles */
.ember220779, #ember220779::before {
    width: 246px;
    height: 246px;
}

.ember220779::before {
    padding-top: 100%;
}

@media (min-width: 735px) {
    .ember220779, #ember220779::before {
        width: 217px;
        height: 217px;
    }
    .ember220779::before {
        padding-top: 100%;
    }
}

@media (min-width: 1069px) {
    .ember220779, #ember220779::before {
        width: 230px;
        height: 230px;
    }
    .ember220779::before {
        padding-top: 100%;
    }
}

/* Responsive video styles */
.responsive-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 550px) {
    .responsive-video {
        width: 550px;
        height: 550px;
    }
}

