@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap");

/* ============= MODERN SIGNUP ENHANCEMENTS ============= */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-color: #667eea;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* ============= FORM CONTAINER ============= */
.container-auth {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
}

.form-container-auth {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============= WALLET BUTTON ============= */
.wallet-btn-auth {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.wallet-btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.wallet-btn-auth:active {
    transform: translateY(0);
}

/* ============= FORM GROUPS ============= */
.form-group-auth {
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.form-group-auth:nth-child(2) {
    animation-delay: 0.1s;
}

.form-group-auth:nth-child(3) {
    animation-delay: 0.2s;
}

.form-group-auth:nth-child(4) {
    animation-delay: 0.3s;
}

.form-group-auth:nth-child(5) {
    animation-delay: 0.4s;
}

.form-group-auth:nth-child(6) {
    animation-delay: 0.5s;
}

.form-group-auth:nth-child(7) {
    animation-delay: 0.6s;
}

.form-group-auth:nth-child(8) {
    animation-delay: 0.7s;
}

.form-group-auth label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.form-group-auth label span {
    color: #ef4444;
    margin-left: 3px;
}

.form-group-auth input,
.form-group-auth select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: #f8fafc;
}

.form-group-auth input:focus,
.form-group-auth select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group-auth input::placeholder {
    color: #cbd5e0;
}

.form-group-auth small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 12px;
}

/* ============= PASSWORD CONTAINER ============= */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-container input {
    padding-right: 42px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #cbd5e0;
    user-select: none;
    transition: var(--transition);
    padding: 6px 10px;
    border-radius: 4px;
    z-index: 10;
    pointer-events: auto;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--accent-color);
    background: rgba(102, 126, 234, 0.1);
}

.toggle-password:active {
    transform: scale(0.95);
}

/* ============= PHONE & VERIFICATION INPUTS ============= */
.phone-input-auth {
    display: flex;
    gap: 0;
}

.phone-input-auth select {
    width: 120px;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    border-right: none;
    background: #f8fafc;
    cursor: pointer;
    transition: var(--transition);
}

.phone-input-auth select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
}

.phone-input-auth input {
    flex: 1;
    border-radius: 0 8px 8px 0;
    padding: 12px 14px;
}

.verification-input-auth {
    display: flex;
    gap: 0;
}

.verification-input-auth input {
    flex: 1;
    border-radius: 8px 0 0 8px;
    padding: 12px 14px;
}

.verification-input-auth button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.verification-input-auth button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.verification-input-auth button:active {
    transform: translateY(0);
}

/* ============= ERROR & SUCCESS MESSAGES ============= */
.error-message-auth {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    animation: slideInUp 0.3s ease-out;
}

.error-visible-auth {
    display: block;
}

.success-message-auth {
    display: none;
    color: #10b981;
    font-size: 12px;
    margin-top: 5px;
    animation: slideInUp 0.3s ease-out;
}

.success-visible-auth {
    display: block;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============= SUBMIT BUTTON ============= */
.submit-btn-auth {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.submit-btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.submit-btn-auth:hover::before {
    left: 100%;
}

.submit-btn-auth:active {
    transform: translateY(0);
}

/* ============= LOGIN LINK ============= */
.login-link-auth {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.login-link-auth a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.login-link-auth a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ============= RESPONSIVENESS ============= */
@media (max-width: 768px) {
    .form-container-auth {
        padding: 25px;
    }

    .form-group-auth {
        margin-bottom: 18px;
    }

    .wallet-btn-auth {
        padding: 12px 16px;
        font-size: 15px;
        gap: 8px;
    }

    .submit-btn-auth {
        padding: 12px;
        font-size: 15px;
    }

    .phone-input-auth select {
        width: 100px;
        font-size: 13px;
    }

    .verification-input-auth button {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container-auth {
        margin: 15px auto;
        padding: 10px;
    }

    .form-container-auth {
        padding: 20px;
    }

    .form-group-auth {
        margin-bottom: 16px;
    }

    .form-group-auth label {
        font-size: 13px;
    }

    .form-group-auth input,
    .form-group-auth select {
        padding: 11px 12px;
        font-size: 14px;
    }

    .wallet-btn-auth {
        padding: 11px 14px;
        font-size: 14px;
    }

    .submit-btn-auth {
        padding: 11px;
        font-size: 14px;
    }

    .phone-input-auth select {
        width: 90px;
        font-size: 12px;
    }

    .phone-input-auth input {
        font-size: 14px;
    }

    .verification-input-auth button {
        padding: 11px 14px;
        font-size: 12px;
    }

    .phone-input-auth select,
    .verification-input-auth button {
        white-space: nowrap;
    }

    .signup-header-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px !important;
    }

    .signup-header-section h1 {
        font-size: 24px !important;
    }

    .signup-header-section p {
        font-size: 13px !important;
    }
}

/* ============= SIGNUP HEADER ENHANCEMENTS ============= */
.signup-header-section {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-header-section h1 {
    letter-spacing: 0.5px;
    text-transform: none;
}

.popup-overlay-auth {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.login-popup-auth {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #fff;
    position: relative;
}

.popup-logo-auth .logo-auth {
    display: block;
    margin: 0 auto 20px;
    width: 120px;
}

.popup-title-auth {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
}

.wallet-connect-btn-auth {
    background: #1f1f1f;
    color: #fff;
    border: 1px solid #444;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wallet-connect-btn-auth:hover {
    background: #2b2b2b;
}

.form-group-auth {
    margin-bottom: 18px;
}

.form-label-auth {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #ddd;
}

.form-control-auth {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);

}

.password-container-auth {
    position: relative;
}

.toggle-password-auth {
    position: absolute;
    right: 12px;
    top: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #aaa;
}

.forgot-password-auth {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password-auth a {
    color: #99eaff;
    text-decoration: none;
    font-size: 14px;
}

.button-group-auth {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-auth {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-cancel-auth {
    background-color: #e74c3c;
    color: #fff;
}

.btn-cancel-auth:hover {
    background-color: #c0392b;
}

.btn-confirm-auth {
    background-color: #27ae60;
    color: #fff;
}

.btn-confirm-auth:hover {
    background-color: #1e8449;
}

.signup-prompt-auth {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.signup-link-auth {
    color: #00e6ff;
    text-decoration: none;
    font-weight: bold;
}

.download-buttons-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    justify-content: center;
}

.download-btn-modern {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.download-btn-modern img {
    width: 26px;
    height: 26px;
    margin-right: 12px;
}

/* iOS Gradient */
.download-btn-modern.ios {
    background: linear-gradient(135deg, #000000, #434343);
}

.download-btn-modern.ios:hover {
    background: linear-gradient(135deg, #1a1a1a, #555);
}

/* Android Gradient */
.download-btn-modern.android {
    background: linear-gradient(135deg, #0f9d58, #34a853);
}

.download-btn-modern.android:hover {
    background: linear-gradient(135deg, #0c8045, #2b9549);
}

/* APK Gradient */
.download-btn-modern.apk {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #fff;
}

.download-btn-modern.apk:hover {
    background: linear-gradient(135deg, #e67e22, #f39c12);
}

:root {
    --gradient: linear-gradient(135deg, #64b5f6, #4285f4);
    --gradient-button: linear-gradient(135deg, #64b5f6, #4285f4);
}

.container-auth {
    width: 100%;
    max-width: 1200px;
    /*margin: 0 auto;*/
    display: flex;
    background-color: white;
    border-radius: 8px;

    overflow: hidden;
}

.footer-minimal {
    width: 100%;
    padding: 32px 0 28px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.footer-minimal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-minimal-logo {
    width: 130px;
    height: auto;
    opacity: 0.95;
}

.footer-minimal-copy {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

.form-container-auth {
    flex: 1;
    padding: 30px;
}

.image-container-auth {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin: auto
}

.nft-grid-auth {
    width: 100%;
    height: 100%;

    img {
        object-fit: contain;
        width: 115%;
        height: auto;
    }
}

.nft-item-auth {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nft-item-auth:nth-child(1) {
    background-color: #d1ffed;
    grid-row: span 2;
}

.nft-item-auth:nth-child(2) {
    background-color: #c6edf9;
}

.nft-item-auth:nth-child(3) {
    background-color: #e9f7ff;
    grid-column: span 2;
}

.nft-item-auth:nth-child(4) {
    background-image: url('/api/placeholder/150/200');
    background-color: #464646;
    grid-row: span 2;
}

.nft-item-auth:nth-child(5) {
    background-image: url('/api/placeholder/150/200');
    background-color: #3b3b3b;
}

.nft-item-auth:nth-child(6) {
    background-image: url('/api/placeholder/150/200');
    background-color: #f5d0e3;
}

.nft-item-auth:nth-child(7) {
    background-image: url('/api/placeholder/150/200');
    background-color: #f0f0f0;
}

.wallet-btn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.wallet-btn-auth:hover {
    opacity: 0.9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.form-group-auth {
    margin-bottom: 20px;
}

.form-group-auth label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #555;
}

.form-group-auth label span {
    color: #ff4757;
}

.form-group-auth input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 14px;
}

.form-group-auth input:focus {
    outline: none;
    border-color: #4285f4;
}

.success-message-auth {
    color: #4d861e;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.success-visible-auth {
    display: block;
}

.error-message-auth {
    color: #ff4757;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-visible-auth {
    display: block;
}

.phone-input-auth {
    display: flex;
}

.phone-input-auth select {
    width: 100px;
    padding: 8px;
    border: 1px solid #e1e1e1;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    border-right: none;
}

.phone-input-auth input {
    flex: 1;
    border-radius: 0 8px 8px 0;
}

.verification-input-auth {
    display: flex;
}

.verification-input-auth input {
    flex: 1;
    border-radius: 8px 0 0 8px;
}

.verification-input-auth button {
    padding: 0 20px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.submit-btn-auth {
    width: 100%;
    padding: 12px;
    background-color: #f0f0f0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-link-auth {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-link-auth a {
    color: #4285f4;
    text-decoration: none;
}

/* Popup Styles */
.popup-overlay-auth {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.login-popup-auth {
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.popup-header-auth {
    padding: 40px 20px;
    background: linear-gradient(135deg, #64b5f6, #4285f4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-logo-auth {
    text-align: center;
}

.logo-img-auth {
    max-width: 200px;
    height: auto;
}

.popup-content-auth {
    padding: 30px;
}

.popup-title-auth {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.wallet-connect-btn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.wallet-icon-auth {
    width: 20px;
    height: 20px;
}

.form-label-auth {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-label-auth::after {
    content: "*";
    color: #ff4d4f;
    margin-left: 4px;
}

.form-control-auth {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.password-container-auth {
    position: relative;
}

.toggle-password-auth {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

.forgot-password-auth {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-password-auth a {
    color: #64b5f6;
    text-decoration: none;
    font-size: 14px;
}

.button-group-auth {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-auth {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-cancel-auth {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-confirm-auth {
    background: linear-gradient(135deg, #64b5f6, #4285f4);
    color: white;
}

.signup-prompt-auth {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.signup-link-auth {
    color: #64b5f6;
    text-decoration: none;
    cursor: pointer;
}

/* Wallet Modal Styles */
.wallet-popup-auth {
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.wallet-option-auth {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-option-auth:hover {
    background-color: #f9f9f9;
}

.wallet-option-auth img,
.wallet-option-auth span {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-auth {
        flex-direction: column;
    }

    .form-container-auth,
    .image-container-auth {
        width: 100%;
    }

    .image-container-auth {
        display: none;
    }

    .login-popup-auth,
    .wallet-popup-auth {
        width: 95%;
    }

    .popup-content-auth {
        padding: 20px;
    }

    .button-group-auth {
        flex-direction: column;
    }
}

/* ============= MODERN AUTH OVERLAY & MODALS ============= */
.popup-overlay,
.popup-overlay-auth {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: overlayFadeIn 0.3s ease-out;
}

/* ============= LOGIN POPUP ============= */
.login-popup {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 1px rgba(0, 0, 0, 0.1);
    animation: popupSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.popup-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: bgShift 20s linear infinite;
}

.popup-logo {
    position: relative;
    z-index: 2;
}

.logo-img {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.popup-content {
    padding: 32px 28px;
    background: #ffffff;
}

.popup-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a202c;
    text-align: center;
    letter-spacing: -0.5px;
}

/* ============= FORM ELEMENTS ============= */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #2d3748;
    transition: all 0.3s ease;
    background: #f7fafc;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container .form-control {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #a0aec0;
    user-select: none;
    transition: all 0.2s ease;
    padding: 6px 10px;
    border-radius: 4px;
    z-index: 10;
    pointer-events: auto;
    background: transparent;
    border: none;
    outline: none;
}

.toggle-password:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.toggle-password:active,
.toggle-password:focus {
    transform: translateY(-50%) scale(0.95);
    outline: 2px solid rgba(102, 126, 234, 0.3);
    outline-offset: 2px;
}

/* ============= BUTTONS ============= */
.wallet-connect-btn {
    width: 100%;
    padding: 13px 18px;
    margin-bottom: 20px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #2d3748;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wallet-connect-btn:hover {
    border-color: #667eea;
    background: #f7fafc;
    transform: translateY(-2px);
}

.wallet-connect-btn:active {
    transform: translateY(0);
}

.wallet-connect-btn img {
    width: 20px;
    height: 20px;
}

/* ============= FORGOT PASSWORD ============= */
.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-password a:hover {
    color: #764ba2;
}

/* ============= BUTTON GROUP ============= */
.button-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cancel {
    background: #e2e8f0;
    color: #2d3748;
    border: 2px solid transparent;
}

.btn-cancel:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-confirm:hover {
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.btn-confirm:active {
    transform: translateY(0);
}

/* ============= SIGNUP PROMPT ============= */
.signup-prompt {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-size: 22px;
    color: #4a5568;
}

.signup-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.signup-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ============= ERROR/SUCCESS MESSAGES ============= */
.text-danger {
    color: #f56565;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* ============= WALLET MODAL ============= */
.wallet-popup-auth {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 1px rgba(0, 0, 0, 0.1);
    animation: popupSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.popup-header-auth {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.popup-header-auth::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: bgShift 20s linear infinite;
}

.popup-logo-auth {
    position: relative;
    z-index: 2;
}

.logo-img-auth {
    max-width: 90px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.popup-content-auth {
    padding: 28px 24px;
}

.popup-title-auth {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 22px;
    color: #1a202c;
}

/* ============= WALLET OPTIONS ============= */
.wallet-option-auth {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f7fafc;
    color: #2d3748;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.wallet-option-auth:hover {
    border-color: #667eea;
    background: #f7fafc;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.wallet-option-auth img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    object-fit: contain;
}

.wallet-option-auth span {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============= BUTTON GROUP AUTH ============= */
.button-group-auth {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-auth {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cancel-auth {
    background: #e2e8f0;
    color: #2d3748;
}

.btn-cancel-auth:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.btn-confirm-auth {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-confirm-auth:hover {
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* ============= ANIMATIONS ============= */
@keyframes overlayFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(4px);
    }
}

@keyframes popupSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bgShift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* ============= RESPONSIVENESS ============= */
@media (max-width: 600px) {

    .login-popup,
    .wallet-popup-auth {
        width: 92%;
        max-width: 100%;
    }

    .popup-header,
    .popup-header-auth {
        padding: 24px 16px;
    }

    .popup-content,
    .popup-content-auth {
        padding: 24px 16px;
    }

    .popup-title,
    .popup-title-auth {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-control {
        padding: 11px 12px;
        font-size: 16px;
    }

    .btn {
        padding: 11px 14px;
        font-size: 14px;
    }

    .button-group {
        gap: 10px;
    }
}

@media (max-width: 480px) {

    .popup-header,
    .popup-header-auth {
        padding: 20px 14px;
    }

    .logo-img,
    .logo-img-auth {
        max-width: 80px;
    }

    .popup-content,
    .popup-content-auth {
        padding: 20px 14px;
    }

    .popup-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .form-label {
        font-size: 13px;
    }

    .forgot-password a {
        font-size: 12px;
    }

    .wallet-connect-btn {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* Fix for input font size on iOS */
@supports (-webkit-touch-callout: none) {

    .form-control,
    .form-control:focus {
        font-size: 16px;
    }
}

.download-buttons-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    justify-content: center;
}

.download-btn-modern {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.download-btn-modern img {
    width: 26px;
    height: 26px;
    margin-right: 12px;
}

/* iOS Gradient */
.download-btn-modern.ios {
    background: linear-gradient(135deg, #000000, #434343);
}

.download-btn-modern.ios:hover {
    background: linear-gradient(135deg, #1a1a1a, #555);
}

/* Android Gradient */
.download-btn-modern.android {
    background: linear-gradient(135deg, #0f9d58, #34a853);
}

.download-btn-modern.android:hover {
    background: linear-gradient(135deg, #0c8045, #2b9549);
}

/* APK Gradient */
.download-btn-modern.apk {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #fff;
}

.download-btn-modern.apk:hover {
    background: linear-gradient(135deg, #e67e22, #f39c12);
}

/* ============= ENHANCED ALERT STYLES ============= */
.alert {
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert_info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.alert_success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.2);
}

.alert_warning {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.2);
}

.alert_error {
    background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.2);
}

.fade_info {
    background-color: #e6f0ff;
    border: 1px solid #667eea;
    color: #3c366b;
}

.fade_info .close {
    color: #667eea;
}

.fade_info strong {
    color: #667eea;
}

.fade_success {
    background-color: #e6ffed;
    border: 1px solid #48bb78;
    color: #276749;
}

.fade_success .close {
    color: #48bb78;
}

.fade_success strong {
    color: #48bb78;
}

.fade_warning {
    background-color: #fff5eb;
    border: 1px solid #f6ad55;
    color: #7c2d12;
}

.fade_warning .close {
    color: #f6ad55;
}

.fade_warning strong {
    color: #f6ad55;
}

.fade_error {
    background-color: #ffe6e6;
    border: 1px solid #fc8181;
    color: #742a2a;
}

.fade_error .close {
    color: #fc8181;
}

.fade_error strong {
    color: #fc8181;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

button.close:hover {
    opacity: 1;
}

.close {
    font-weight: normal;
}

/* Popup Styles */
.popup-overlay-auth {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.login-popup-auth {
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.popup-header-auth {
    padding: 40px 20px;
    background: linear-gradient(135deg, #64b5f6, #4285f4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-logo-auth {
    text-align: center;
}

.logo-img-auth {
    max-width: 200px;
    height: auto;
}

.popup-content-auth {
    padding: 30px;
}

.popup-title-auth {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.wallet-connect-btn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.wallet-icon-auth {
    width: 20px;
    height: 20px;
}

.form-label-auth {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-label-auth::after {
    content: "*";
    color: #ff4d4f;
    margin-left: 4px;
}

.form-control-auth {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.password-container-auth {
    position: relative;
}

.toggle-password-auth {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

.forgot-password-auth {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-password-auth a {
    color: #64b5f6;
    text-decoration: none;
    font-size: 14px;
}

.button-group-auth {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-auth {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-cancel-auth {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-confirm-auth {
    background: linear-gradient(135deg, #64b5f6, #4285f4);
    color: white;
}

.signup-prompt-auth {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.signup-link-auth {
    color: #64b5f6;
    text-decoration: none;
    cursor: pointer;
}

/* Wallet Modal Styles */
.wallet-popup-auth {
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.wallet-option-auth {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-option-auth:hover {
    background-color: #f9f9f9;
}

.wallet-option-auth img,
.wallet-option-auth span {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-auth {
        flex-direction: column;
    }

    .form-container-auth,
    .image-container-auth {
        width: 100%;
    }

    .image-container-auth {
        display: none;
    }

    .login-popup-auth,
    .wallet-popup-auth {
        width: 95%;
    }

    .popup-content-auth {
        padding: 20px;
    }

    .button-group-auth {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .supportLink {
        font-size: 20px !important;
    }
}

/* Scratchifi Referral Section (white background, premium look) */
.scratchifi-referral-section {
    max-width: 1150px;
    margin: 60px auto;
    padding: 32px 24px 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.scratchifi-referral-section .new-list-br-heading {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #0f172a;
    margin-bottom: 8px;
}

.scratchifi-subtitle {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    max-width: 680px;
    margin: 0 auto 26px;
}

/* Steps row */
.scratchifi-steps-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.scratchifi-step-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 16px 14px 14px;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.scratchifi-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 0, #e0f2fe, #eef2ff);
    margin-bottom: 10px;
}

.scratchifi-step-icon i {
    font-size: 18px;
    color: #2563eb;
}

.scratchifi-step-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 5px;
}

.scratchifi-step-card p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.scratchifi-chip {
    display: inline-block;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 500;
}

/* Card grid for incomes & rewards */
.scratchifi-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 6px;
}

.scratchifi-info-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 16px 14px 18px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scratchifi-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 0, #fef3c7, #e0f2fe);
    margin-bottom: 4px;
}

.scratchifi-info-icon i {
    font-size: 18px;
    color: #7c3aed;
}

.scratchifi-info-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.scratchifi-info-card p {
    font-size: 13px;
    color: #6b7280;
}

.scratchifi-info-card ul {
    margin: 4px 0 0;
    padding-left: 16px;
    font-size: 12px;
    color: #4b5563;
}

.scratchifi-info-card ul li+li {
    margin-top: 3px;
}

/* Level income badges (compact visual) */
.scratchifi-level-badges {
    list-style: none;
    padding-left: 0;
    margin: 6px 0 0;
}

.scratchifi-level-badges li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    background: #eef2ff;
    border-radius: 999px;
    padding: 4px 8px;
    margin-bottom: 4px;
}

.scratchifi-level-badges span {
    color: #4b5563;
}

.scratchifi-level-badges strong {
    color: #111827;
}

/* CTA */
.scratchifi-cta-row {
    margin-top: 28px;
    text-align: center;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;
}

.scratchifi-cta-row p {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 10px;
}

.scratchifi-cta-btn {
    border: none;
    outline: none;
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.scratchifi-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.45);
}

/* Responsive */
@media (max-width: 992px) {
    .scratchifi-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .scratchifi-referral-section {
        margin: 32px 12px;
        padding: 24px 16px 28px;
    }

    .scratchifi-steps-row {
        grid-template-columns: 1fr;
    }

    .scratchifi-card-grid {
        grid-template-columns: 1fr;
    }

    .scratchifi-referral-section .new-list-br-heading {
        font-size: 22px;
    }

    .scratchifi-subtitle {
        font-size: 13px;
    }
}

.footer-minimal {
    width: 100%;
    padding: 32px 0 28px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.footer-minimal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-minimal-logo {
    width: 130px;
    height: auto;
    opacity: 0.95;
}

.footer-minimal-copy {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

/* Section */
.scratchifi-video-section {
    padding: 80px 20px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Soft background gradient */
.scratchifi-video-bg {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 60%;
    background: radial-gradient(ellipse at center,
            rgba(0, 128, 255, 0.12),
            rgba(0, 0, 0, 0));
    filter: blur(50px);
    z-index: 1;
}

/* Headings */
.scratchifi-video-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 3;
}

.scratchifi-video-subtitle {
    font-size: 22px;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 50px;
    position: relative;
    z-index: 3;
}

/* Video Wrapper */
.scratchifi-video-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 3;
}

/* Video */
.scratchifi-main-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .scratchifi-video-title {
        font-size: 32px;
    }

    .scratchifi-video-subtitle {
        font-size: 18px;
    }

    .scratchifi-video-wrapper {
        max-width: 95%;
    }
}