:root {
    --surface:      #13151b;
    --surface2:     #1a1d26;
    --on:           #2563eb;
    --off:          #292e3b;
    --text:         #fff;
    --text-muted:   #64748b;
    --text-sub:     #94a3b8;
    --padding-sm:     8px;
    --padding-md:     12px;
    --padding-lg:     16px;
    --radius-sm:      4px;
    --radius-md:      8px;
    --radius-lg:      12px;
    --pink:         #ec4899;
    --pink-h:       #be185d;
    --pink-a:       #8d1145;
}

#login_section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

#login_article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 60%;
    align-items: center;
}

.login_container {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login_top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.login_header {
    display: flex;
    flex-direction: column;
}
.login_header h1 {
    color: var(--text);
    font-family: Inter, sans-serif;
}
.login_header p {
    color: var(--text);
    font-family: Inter, sans-serif;
}

.login_buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.discord_button {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 400px;
    text-decoration: none;
    border-radius: var(--radius-md);
    text-align: center;
    padding: var(--padding-sm);
    background-color: #5865F2;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-family: Inter, sans-serif;
    font-weight: 600;
    transition: 0.6s;
}
.discord_button:hover {
    background-color: #4752C4;
    transform: translate3d(0, -2px, 0);
    box-shadow: rgba(0, 0, 0, 0.6);
}

.google_button {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 400px;
    text-decoration: none;
    border-radius: var(--radius-md);
    text-align: center;
    padding: var(--padding-sm);
    background-color: #ffffff0f;
    cursor: pointer;
    border: 1px solid #ffffff20;
    color: var(--text);
    font-family: Inter, sans-serif;
    font-weight: 600;
    transition: 0.6s;
}
.google_button:hover {
    background-color: #bebebe0f;
    transform: translate3d(0, -2px, 0);
    box-shadow: rgba(0, 0, 0, 0.6);
}

.isButton {
    height: 24px;
    width: 24px;
}


.line {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    gap: 4px;
}
.line span {
    width: 100%;
    text-align: center;
}
.line_line {
    height: 1px;
   
    background-color: var(--off);
}

#login_article form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
#login_article form label {
    font-weight: bold;
    font-size: 1rem;
    display: block;
    color: #ddd;
}
#login_article form input {
    background-color: var(--surface2);
    border: 1px solid var(--off);
    border-radius: var(--radius-md);
    display: block;
    width: 100%;
    outline: none;
    height: auto;
    color: var(--text);
    padding: var(--padding-sm);
    font-size: 1rem;
    transition: 0.4s;
}
#login_article form input:focus {
    border-color: var(--pink-a);
}

#login_btn {
    background-color: var(--pink-h);
    color: #d4d4d4;
    font-family: Inter, sans-serif;
    max-width: 800px;
    width: 100%;
    border: none;
    padding: var(--padding-sm);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
#login_btn:hover {
    transform: translate3d(0, -2px, 0);
    background-color: var(--pink-a);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#login_btn:disabled {
    cursor: not-allowed;
    background-color: var(--pink-h);
}
#login_btn:disabled:hover {
    cursor: not-allowed;
    background-color: var(--pink-h);
    transform: translate3d(0, 0, 0);
    box-shadow: none;
    
}

#login-aside {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    max-width: 700px;
    width: 100%;
}

.ad {
    width: 400px;
    background: #130920;
    border-radius: 16px;
    border: 1px solid #2a1245;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    margin: auto;
}
 
  
.ad_second_container {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s, transform 0.4s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
 
.ad-header { 
    padding: 22px 20px 0; 
}
 
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1f0d35;
    border: 1px solid #3d1f6a;
    border-radius: 99px;
    padding: 4px 10px 4px 8px;
    margin-bottom: 14px;
}
 
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #e91e8c;
    animation: blink 2s ease-in-out infinite;
}
 
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}
 
.badge span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b07fe0;
}
 
.headline {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    color: #f0e8ff;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
 
.headline span { 
    color: #e91e8c; 
}
 
.sub {
    font-size: 12.5px;
    color: #7a5a9e;
    line-height: 1.55;
    margin-bottom: 20px;
}
 
.services {
    border-top: 1px solid #1f0d35;
    margin: 0 20px;
}
 
.svc {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #1f0d35;
    cursor: pointer;
    transition: opacity 0.15s;
}
 
.svc:hover { 
    opacity: 0.75; 
}
 
.svc-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: #1f0d35;
    border: 1px solid #3d1f6a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
 
.svc-text { 
    flex: 1; 
}
 
.svc-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #d5b8f5;
    line-height: 1.2;
}
 
.svc-desc {
    font-size: 11px;
    color: #5a3d7a;
    margin-top: 1px;
}
 
.svc-arrow {
    font-size: 16px;
    color: #3d1f6a;
}
 
.ad-footer { 
    margin-top: auto; 
    padding: 16px 20px 20px;
}
 
.cta {
    display: block;
    width: 100%;
    background: #e91e8c;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    margin-bottom: 10px;
}
 
.cta:hover { 
    background: #cc1078; transform: translateY(-1px); 
}
.cta:active { 
    transform: translateY(0); 
}
 
.tagline {
    text-align: center;
    font-size: 11px;
    color: #3d2560;
    letter-spacing: 0.02em;
}
 
  
.in_svc_container {
    display: none;
    flex-direction: column;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s, transform 0.4s;
}
 
.back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #b07fe0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 16px 20px 0;
    letter-spacing: 0.04em;
    transition: color 0.15s;
}
 
.back-btn:hover { 
    color: #e91e8c; 
}
 
.back-arrow {
    font-size: 16px;
    line-height: 1;
}
 
.detail-section {
    padding: 16px 20px 22px;
}
 
.detail-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}
 
.detail-title {
    font-size: 18px;
    font-weight: 900;
    color: #f0e8ff;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
 
.detail-intro {
    font-size: 12px;
    color: #7a5a9e;
    line-height: 1.55;
    margin-bottom: 14px;
}
 
.tech-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
 
.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #1a0d2e;
    border: 1px solid #2e1650;
    border-radius: 8px;
    padding: 10px 12px;
}
 
.tech-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #e91e8c;
    flex-shrink: 0;
    margin-top: 4px;
}
 
.tech-info {

}

.tech-name {
    font-size: 12px;
    font-weight: 700;
    color: #d5b8f5;
    margin-bottom: 2px;
}
 
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
 
.tag {
    font-size: 10px;
    font-weight: 600;
    background: #2e1650;
    color: #b07fe0;
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 0.03em;
}
 
.detail-closing {
    font-size: 11.5px;
    color: #5a3d7a;
    line-height: 1.55;
    font-style: italic;
}
 
  
.ad_transition {
    opacity: 0 !important;
    transform: translateX(-30px) !important;
}

.register_form_container {
    display: flex; 
    flex-direction: column; 
    gap: 20px;
}

.have_account {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    gap: 4px;
    width: 400px;
}
.have_account > a {
    color: var(--pink-h);
}
.have_account > a:hover {
    color: var(--pink-a);
}
.have_account div a {
    color: var(--pink-h);
    text-decoration: none;
}
.have_account div a:hover {
    color: var(--pink-a);
}

.have_account div {
    display: flex; 
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px; 
    width: 100%;
}

@media (max-width: 786px) {
    main {
        padding: 0 !important;
    }
    #login_section {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin: 20px;
        /* justify-content: center; */
    }

    #login_article {
        width: 100%;
        align-items: center;
    }

    .login_container {
        max-width: 320px;
    }
    .discord_button {
        width: 320px;
    }
    .google_button {
        width: 320px;
    }
    .line {
        width: 320px;
    }
    #login_article form {
        width: 320px;
    }
    #login_article form input:focus {
        border-color: var(--pink-a);
    }

    #login_btn {
        max-width: 320px;
    }
    .have_account {
        width: 320px;
    }

    
}