* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(ellipse at 50% 50%, rgba(30,41,59,0.5) 0%, rgba(15,23,42,1) 70%);
}

.container {
    max-width: 520px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

.icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    opacity: 0.6;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f1f5f9;
    letter-spacing: -0.02em;
}

.subtitle {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.notice {
    background: rgba(30,41,59,0.8);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.notice i {
    color: #f59e0b;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.notice p {
    margin-bottom: 0.75rem;
}

.notice p:last-child {
    margin-bottom: 0;
}

.invite-section {
    display: none;
    margin-top: 2rem;
}

.invite-section.active {
    display: block;
}

.invite-header {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #10b981;
    font-weight: 500;
    font-size: 0.95rem;
}

.invite-header i {
    font-size: 1.2rem;
}

.input-group {
    display: flex;
    align-items: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 0 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.input-group:focus-within {
    border-color: #f59e0b;
}

.input-group i {
    color: #64748b;
    margin-right: 10px;
    font-size: 1.1rem;
}

.input-group input {
    width: 100%;
    padding: 0.9rem 0;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
}

.input-group input::placeholder {
    color: #475569;
}

.btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #f59e0b;
    color: #0f172a;
}

.btn-primary:hover {
    background: #e5a50a;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.error-text {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    text-align: left;
}

.error-text.show {
    display: block;
}

.footer-text {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #475569;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    max-width: 350px;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

.toast.error {
    border-color: #ef4444;
}

.toast.error i {
    color: #ef4444;
}

.toast.success {
    border-color: #10b981;
}

.toast.success i {
    color: #10b981;
}

.toast-close {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    margin-left: auto;
}