/* ===== RESET ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== BODY ===== */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top, #1a0933, #0f172a 60%);
    color: white;
    font-family: Arial, sans-serif;
}

/* ===== SIDEBAR WRAPPER ===== */
.sidebar-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 10;
    transition: width 0.3s ease;
}

.sidebar-wrapper:hover {
    width: 200px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    height: 100%;
    width: 20px;
    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);

    border-right: 1px solid rgba(255,255,255,0.1);
    transition: width 0.3s ease;
}

/* EXPANDED */
.sidebar-wrapper:hover .sidebar {
    width: 200px;
    align-items: flex-start;
}

/* ===== DOT MODE ===== */
.dot-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 0;
}

.dot-column span {
    display: none;
}

.dot-column span:first-child {
    width: 11px;
    height: 11px;
    background: radial-gradient(circle at 30% 30%, #ffe9b3 0%, #e7c56f 45%, #a97826 100%);
    border-radius: 50%;
    box-shadow:
        0 0 0 2px rgba(214, 177, 95, 0.24),
        0 0 11px rgba(214, 177, 95, 0.52),
        inset 0 1px 2px rgba(255, 244, 200, 0.72),
        0 -36px 0 0 #d6b15f,
        0 -18px 0 0 #d6b15f,
        0 18px 0 0 #d6b15f,
        0 36px 0 0 #d6b15f;
    opacity: 1;
    display: block;
}

/* HIDE DOTS WHEN OPEN */
.sidebar-wrapper.open .sidebar .dot-column {
    display: none;
}

/* ===== MENU ===== */
.menu {
    display: none;
    width: 100%;
}

/* SHOW MENU ON OPEN */
.sidebar-wrapper.open .sidebar .menu {
    display: block;
}

/* ===== SIDEBAR BUTTONS ===== */
.sidebar .btn {
    display: block;
    width: 100%;
    padding: 8px;

    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;

    text-decoration: none;
    color: white;
    font-size: 14px;

    margin-bottom: 8px;

    transition: 0.2s;
}

.sidebar .btn:hover {
    background: rgba(255,255,255,0.1);
}

.btn.primary {
    background: rgba(255,255,255,0.2);
}

.btn.secondary {
    border-color: rgba(255,255,255,0.4);
}

.divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 10px 0;
}

/* ===== MAIN ===== */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 48px;
    padding-top: 48px;
    padding-bottom: 60px;
    padding-right: 28px;
    transition: padding-left 0.3s ease;
}

.sidebar-wrapper:hover ~ .container {
    padding-left: 200px;
}

/* ===== CENTER CONTENT ===== */
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.subtitle {
    opacity: 0.6;
}

/* ===== LOGO ===== */
.logo-wrapper {
    position: relative;
    width: 360px;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.ring.white {
    background: radial-gradient(circle, transparent 60%, white 70%, transparent 80%);
}

.ring.purple {
    background: radial-gradient(circle, transparent 55%, rgba(140,0,255,0.8) 68%, transparent 85%);
    filter: blur(6px);
}

.logo {
    width: 220px;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 0;
    font-family: Arial, sans-serif;
    margin-left: 20px;
    transition: margin-left 0.3s ease;
}

.sidebar-wrapper.open ~ .footer,
.sidebar-wrapper:hover ~ .footer {
    margin-left: 200px;
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(214,177,95,0.45);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e3e5ff;
}

.newsletter-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem; /* Add spacing above the button */
}

.newsletter-btn {
    background: #7c3aed;
    color: white;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    background: #6226d8;
}

.newsletter-btn.right {
    margin-left: auto;
}

.footer-bottom {
    padding: 12px 24px;
    text-align: center;
    font-size: 0.9rem;
    color: #f2d188;
}

@media (max-width: 700px) {
    .footer {
        margin-left: 0;
    }

    .footer-top {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-links {
        justify-content: center;
        gap: 14px;
        margin-bottom: 10px;
    }

    .newsletter-container {
        margin-top: 10px;
    }

    .newsletter-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== SIGNUP SPECIFIC STYLES ===== */
/* ===== SIGNUP LAYOUT WRAPPER ===== */
.signup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: min(520px, calc(100vw - 72px));
}

.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.ring.white {
    background: radial-gradient(circle, transparent 60%, white 70%, transparent 80%);
}

.ring.purple {
    background: radial-gradient(circle, transparent 55%, rgba(140,0,255,0.82) 68%, transparent 85%);
    filter: blur(6px);
}

/* Smaller logo version */
.logo-wrapper.small {
    width: clamp(240px, 26vw, 300px);
    height: clamp(240px, 26vw, 300px);
}

.logo.small {
    width: clamp(160px, 18vw, 210px);
}

/* ===== SIGNUP CARD ===== */
.signup-card {
    margin-top: 0;
    margin-bottom: 40px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);

    padding: 30px;
    border-radius: 12px;

    width: min(480px, 100%);

    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(214,177,95,0.28);
    box-shadow: 0 10px 26px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(214,177,95,0.08);
}

/* Title */
.signup-title {
    margin-bottom: 10px;
}

/* Form */
.signup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Inputs */
.signup-form input, .signup-form select {
    width: 100%;
    padding: 10px;

    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);

    background: rgba(255,255,255,0.05);
    color: white;
}

.signup-form select,
.signup-form select option {
    color: #000;
    background: #fff;
}

/* Strength bar */
.strength-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
}

#strengthFill {
    height: 100%;
    background: linear-gradient(90deg, red, yellow, green);
    width: 0%;
    transition: width 0.3s;
}

/* Error text */
.error-text {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: -8px;
}

/* Button */
.signup-btn {
    margin-top: 10px;

    padding: 10px;
    border-radius: 8px;
    border: none;

    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;

    cursor: pointer;
    transition: 0.2s;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124,58,237,0.4);
}

/* Extra text */
.signup-extra {
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.7;
    text-align: center;
}

/* BG Glow */
.bg-glow.center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(140,0,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

@media (max-width: 980px) {
    .container {
        align-items: flex-start;
        padding-top: 36px;
        padding-right: 20px;
    }

    .signup-wrapper {
        width: min(480px, calc(100vw - 48px));
    }

    .signup-card {
        margin-bottom: 24px;
    }
}

@media (max-width: 700px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 24px;
    }

    .signup-wrapper {
        width: min(100%, 420px);
    }

    .logo-wrapper.small {
        width: 280px;
        height: 280px;
    }

    .logo.small {
        width: 178px;
    }

    .signup-card {
        width: 100%;
        padding: 24px 18px;
    }

    .bg-glow.center {
        width: 520px;
        height: 520px;
    }
}