:root {
    --bg-primary: #0f0f13;
    --bg-card: rgba(22, 22, 31, 0.8);
    --bg-input: rgba(30, 30, 42, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --accent-primary: #3d5afe;
    --accent-secondary: #00e5ff;
    --accent-gradient: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    --error: #ff5252;
    --success: #4caf50;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    z-index: 1;
}

.card {
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(61, 90, 254, 0.1) 0%, rgba(0, 229, 255, 0) 70%);
    z-index: -1;
    animation: pulse 10s infinite;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.logo-glow {
    position: absolute;
    width: 150px;
    height: 20px;
    background: radial-gradient(circle, rgba(61, 90, 254, 0.6) 0%, rgba(0, 229, 255, 0) 70%);
    filter: blur(8px);
    bottom: -10px;
    z-index: -1;
}

h2 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: var(--text-primary);
}

.step {
    display: none;
}

.step.active {
    display: block;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(61, 90, 254, 0.3);
}

input[type="text"]::placeholder {
    color: rgba(160, 160, 184, 0.5);
}

.error {
    display: block;
    color: var(--error);
    font-size: 12px;
    margin-top: 5px;
    height: 15px;
}

.btn {
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
    box-shadow: 0 4px 12px rgba(61, 90, 254, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(61, 90, 254, 0.4);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(61, 90, 254, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(61, 90, 254, 0.1);
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.btn-icon:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.generated-link-container {
    display: flex;
    margin-bottom: 16px;
}

.generated-link-container input {
    flex: 1;
    padding-right: 50px;
    font-family: monospace;
}

.generated-link-container .btn-icon {
    margin-left: -40px;
    z-index: 2;
}

.info-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

footer {
    margin-top: 30px;
    padding: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

@media (max-width: 576px) {
    .container {
        padding: 15px;
    }
    
    .card {
        padding: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}