:root {
    --sm-bg-dark: #101010;
    --sm-glass: rgba(17, 25, 40, 0.45);
    --sm-glass-border: rgba(255, 255, 255, 0.08);
    --sm-text-white: #f8fafc;
    --sm-text-muted: #94a3b8;
    --sm-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.secret-message-outer {
    font-family: inherit;
    font-size: inherit;
    color: var(--sm-text-white);
    background: var(--sm-bg-dark);
    border-radius: 32px;
    border: 1px solid var(--sm-glass-border);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    padding: 30px;
    margin-bottom: 1.5rem;
}

/* Unibody Sectioning */
.sign_info {
    background: transparent;
    border: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0.5rem 0;
    margin-bottom: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sign_info a {
    color: #f7d004;
    text-decoration: none;
}

.sign_info:last-of-type {
    border-bottom: none;
}


/* Glassmorphic Cards */
.message-grid {
    display: grid;
    gap: 1.25rem;
    margin: 1rem 0;
}

.secret-quote {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--sm-primary);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 0;
    transition: var(--sm-transition);
    position: relative;
    overflow: hidden;
}

/* Vibrant Card Variations */
.secret-quote:nth-child(6n+1) {
    border-left-color: #ff6b6b;
    box-shadow: inset 50px 0 100px -60px rgba(255, 107, 107, 0.1);
}

.secret-quote:nth-child(6n+2) {
    border-left-color: #4facfe;
    box-shadow: inset 50px 0 100px -60px rgba(79, 172, 254, 0.1);
}

.secret-quote:nth-child(6n+3) {
    border-left-color: #f6d365;
    box-shadow: inset 50px 0 100px -60px rgba(246, 211, 101, 0.1);
}

.secret-quote:nth-child(6n+4) {
    border-left-color: #667eea;
    box-shadow: inset 50px 0 100px -60px rgba(102, 126, 234, 0.1);
}

.secret-quote:nth-child(6n+5) {
    border-left-color: #cd9cf2;
    box-shadow: inset 50px 0 100px -60px rgba(205, 156, 242, 0.1);
}

.secret-quote:nth-child(6n+6) {
    border-left-color: #b1f4cf;
    box-shadow: inset 50px 0 100px -60px rgba(177, 244, 207, 0.1);
}

.secret-quote:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.secret-received-message {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--sm-text-white);
    margin-bottom: 1.25rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.secret-quote::after {
    content: '"';
    position: absolute;
    right: 20px;
    top: -10px;
    font-size: 8rem;
    opacity: 0.03;
    font-family: serif;
    pointer-events: none;
}

/* Modern Pill Buttons */
.btn-main-design,
.agency_banner_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--sm-transition);
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.pay_btn_two {
    background: linear-gradient(135deg, var(--sm-primary), var(--sm-secondary));
    color: white !important;
    box-shadow: 0 8px 20px -5px var(--sm-primary-glow);
}

.pay_btn_two:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px var(--sm-primary-glow);
}

/* Form Styling */
.sign_info .classic-form {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--sm-glass-border);
    border-radius: 50px;
    padding: 0.875rem 1.5rem;
    color: #222222;
    font-size: 0.95rem;
    transition: var(--sm-transition);
}

.input-with-button .classic-form {
    padding-right: 4rem;
}

.sign_info textarea.classic-form {
    border-radius: 20px;
}

.sign_info .classic-form:focus {
    box-shadow: 0 0 0 1px var(--sm-primary-glow);
    outline: none;
}

/* Social Icons */
.social-share-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    transition: var(--sm-transition);
    border: 1px solid var(--sm-glass-border);
    cursor: pointer;
    font-family: inherit;
    outline: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--sm-primary);
    border-color: transparent;
}

.f_size_32,
.f_size_30 {
    font-size: 2rem;
}

.f_size_20 {
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.secret-quote {
    animation: fadeIn 0.4s ease forwards;
}

.pay_btn_two {
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px var(--sm-primary-glow);
    }

    50% {
        box-shadow: 0 0 15px var(--sm-primary-glow);
    }

    100% {
        box-shadow: 0 0 5px var(--sm-primary-glow);
    }
}

/* Responsive Polish */
@media (max-width: 768px) {
    .secret-message-outer {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .f_size_32,
    .f_size_30 {
        font-size: 1.55rem;
    }

    .f_size_20 {
        font-size: 1rem;
    }

    .social-share-icons {
        flex-wrap: wrap;
    }
}

/* Scrollbar Polish */
.steps-scroll::-webkit-scrollbar {
    width: 4px;
}

.steps-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.steps-scroll::-webkit-scrollbar-thumb {
    background: var(--sm-primary);
    border-radius: 10px;
}

/* Utilities */
.text-muted {
    color: var(--sm-text-muted) !important;
    margin: 0;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.ml-1 {
    margin-left: 0.25rem !important;
}

.ml-2 {
    margin-left: 0.5rem !important;
}

.mb-10 {
    margin-bottom: 1.5rem;
}

.mb-12 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* Loading State Styling */
.info-loading {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-loading i {
    color: var(--sm-primary);
    margin-bottom: 0.5rem;
}

/* Safety Trust Banner */
.safety-trust-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.safety-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--sm-text-muted);
    flex: 1;
}

.safety-item i {
    font-size: 1.25rem !important;
    color: var(--sm-primary);
    opacity: 0.9;
}

.safety-item span {
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.safety-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 576px) {
    .safety-trust-banner {
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }

    .safety-divider {
        height: 20px;
    }
}

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--sm-text-muted);
    margin-top: 0.5rem;
    opacity: 0.8;
}

.char-counter .current {
    font-weight: 600;
}

/* Profile Hero Section */
.profile-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--sm-primary);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--sm-primary);
    box-shadow: 0 10px 25px var(--sm-primary-glow);
}

.tiny-text {
    font-size: 0.7rem;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.btn-main-design i {
    font-size: 0.9rem;
}

.social-icon i {
    font-size: 1.15rem;
}

footer.secret-message-notify {
    justify-content: space-between;
    display: flex;
}

.text-center {
    text-align: center;
}

.input-with-button {
    position: relative;
}

.input-with-button button.btn-main-design.pay_btn_two.px-3 {
    position: absolute;
    right: 12px;
    top: 12px;
    background: var(--sm-primary);
}

/* Modal Steps Styling */
.step-num {
    width: 32px;
    height: 32px;
    background: var(--sm-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 10px var(--sm-primary-glow);
}

.insta-steps .step {
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    margin-left: 15px;
    padding-left: 15px;
    position: relative;
}

.insta-steps .step::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: var(--sm-bg-dark);
    border: 2px solid var(--sm-primary);
    border-radius: 50%;
}

.modal-content.secret-message-outer {
    max-width: 450px;
    margin: 0 auto;
}

/* Modal Structural Fallback */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 99999;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
    width: 100%;
    max-width: 500px;
}

.modal.show .modal-dialog {
    pointer-events: auto;
}

button.close {
    position: absolute;
    right: 11px;
    top: 10px;
    border-radius: 20px;
    font-size: 20px;
    padding: 0px 8px;
    margin: 0;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
    animation: rotate-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes rotate-in {
    from {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}


.btn-main-design {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.single-msg {
    margin: 30px;
}

.mt-4 {
    margin-top: 1rem;
}

/* Stats Styling */
.stats-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sm-glass-border);
    border-radius: 16px;
    padding: 1rem;
    min-width: 120px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sm-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--sm-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PIN Display */
.pin-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--sm-primary);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.pin-display {
    letter-spacing: 8px;
    color: var(--sm-primary);
    text-shadow: 0 0 10px var(--sm-primary-glow);
}

.f_size_24 {
    font-size: 1.5rem;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    color: var(--sm-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sm-glass-border);
}

.divider span {
    padding: 0 1rem;
}

.access-existing {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--sm-glass-border);
}