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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: transform 0.3s ease;
}

.content:hover {
    transform: translateY(-5px);
}

h1 {
    font-size: 36px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2d3748;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

p {
    margin-bottom: 30px;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
}

.button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.button:active {
    transform: translateY(0);
}

.dashboard {
    max-width: none;
}

.section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 2px solid #e2e8f0;
}

.section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#discord-info {
    font-weight: 600;
    color: #2d3748;
    font-size: 18px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e9d5ff 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.connection-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    margin-bottom: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.connection-row:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.connection-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.connection-name {
    font-weight: 700;
    font-size: 18px;
    color: #2d3748;
}

.status {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
    padding: 4px 12px;
    background: #fff;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    border: 1px solid #e2e8f0;
}

.status.connected {
    color: #22c55e;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-color: #86efac;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.status.connected::before {
    content: '✓ ';
    font-weight: bold;
}

.delete-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    margin-right: 10px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.delete-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.logout-btn {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.4);
}

.logout-btn:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.5);
}
