 .auth-modal {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
display: flex;
align-items: flex-start;
justify-content: center;
padding-top: 90px;
opacity: 0;
visibility: hidden;
pointer-events: none;
transform: translateY(-20px);
transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
z-index: 9999;
}

.auth-modal.active {
opacity: 1;
visibility: visible;
pointer-events: auto;
transform: translateY(0);
}
.auth-modal.closing {
opacity: 0;
transform: translateY(-30px);
visibility: hidden;
pointer-events: none;
}

.auth-box {
background: #fff;
width: 100%;
max-width: 420px;
border-radius: 12px;
padding: 30px;
box-shadow: 0 10px 35px rgba(0,0,0,0.2);
position: relative;
transform: scale(0.95);
transition: transform 0.4s ease;
}

.auth-modal.active .auth-box {
transform: scale(1);
}
.auth-modal.closing .auth-box {
transform: scale(0.95);
}

.close-btn {
position: absolute;
top: 10px;
right: 15px;
border: none;
background: none;
font-size: 28px;
cursor: pointer;
}

.input-group {
margin-bottom: 15px;
}

.input-group input {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 8px;
}

.submit-btn {
width: 100%;
padding: 12px;
background: #000;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
}
.auth-link {
background: none;
border: none;
color: inherit;
cursor: pointer;
padding: 0;
font: inherit;
}




/*for register near footer */

.subscription {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
padding: 80px 0;
border-top: 1px solid #e2e8f0;
}

.subscribe-title {
margin-bottom: 50px;
}

.subscribe-title .section-icon {
font-size: 56px;
margin-bottom: 20px;
display: inline-block;
animation: bounce 2s infinite;
}

@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}

.subscribe-title h2 {
font-size: 38px;
font-weight: 800;
color: #0f172a;
margin-bottom: 16px;
letter-spacing: -0.5px;
}

.subscribe-title p {
font-size: 18px;
color: #64748b;
max-width: 700px;
margin: 0 auto;
line-height: 1.7;
}

.cta-options {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 30px;
margin-bottom: 40px;
}

.cta-card {
background: #ffffff;
border-radius: 20px;
padding: 40px 32px;
text-align: center;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
border: 1px solid #e2e8f0;
transition: all 0.3s ease;
}

.cta-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
border-color: #bfdbfe;
}

.cta-icon {
font-size: 48px;
margin-bottom: 20px;
display: inline-block;
}

.cta-card h3 {
font-size: 24px;
font-weight: 700;
color: #0f172a;
margin-bottom: 12px;
}

.cta-card p {
font-size: 15px;
color: #64748b;
margin-bottom: 24px;
line-height: 1.6;
}

.cta-btn {
display: inline-block;
padding: 16px 40px;
font-size: 16px;
font-weight: 600;
border-radius: 12px;
text-decoration: none;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}

.cta-btn.btn-primary {
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
color: #ffffff;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cta-btn.btn-primary:hover {
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.cta-btn.btn-secondary {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: #ffffff;
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cta-btn.btn-secondary:hover {
background: linear-gradient(135deg, #059669 0%, #047857 100%);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.subscription-input-group {
text-align: center;
}

.quick-register-text {
font-size: 16px;
color: #475569;
margin-top: 20px;
}

.quick-register-text a {
color: #3b82f6;
font-weight: 600;
text-decoration: none;
transition: color 0.2s ease;
}

.quick-register-text a:hover {
color: #2563eb;
text-decoration: underline;
}

.login-link {
margin-right: 8px;
}

.register-link {
margin-left: 8px;
}

@media (max-width: 768px) {
.subscription {
padding: 50px 0;
}

.subscribe-title h2 {
font-size: 28px;
}

.subscribe-title p {
font-size: 16px;
}

.cta-options {
grid-template-columns: 1fr;
gap: 20px;
}

.cta-card {
padding: 32px 24px;
}

.cta-btn {
width: 100%;
padding: 14px 28px;
}
}
