@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #fff;
    /* Default fallback gradient */
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background-size: cover;
    background-attachment: fixed;
}

.biolinker-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.profile-bio {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

.links-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.link-card:active {
    transform: translateY(0);
}

.link-icon {
    position: absolute;
    left: 1.5rem;
    font-size: 1.25rem;
}

/* Admin Styles */
.admin-body {
    background: #f3f4f6;
    color: #1f2937;
    display: block;
    padding: 2rem 1rem;
}

.admin-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}

.admin-header h1 {
    font-size: 1.8rem;
    color: #111827;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-danger {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-danger:hover {
    background: #dc2626;
}

.admin-links-list {
    margin-top: 2rem;
}

.admin-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* ========================================= */
/* 📱 Mobile Responsiveness (Auto-Generated) */
/* ========================================= */
@media (max-width: 768px) {
    /* Global Containers */
    .container, .main-container, .board-container, .admin-container, .admin-wrap { padding: 1rem !important; }
    
    /* Hero & Headers */
    .hero { padding: 3rem 1rem !important; margin-bottom: -20px !important; border-radius: 0 0 20px 20px !important; }
    .hero h1, .hero-title, .event-title, .form-card h1, .contact-card h1 { font-size: 2rem !important; }
    
    /* Layouts & Grids */
    .admin-dashboard, .admin-layout, div[style*='grid-template-columns'] { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column !important; gap: 1.5rem !important; }
    .product-grid { grid-template-columns: 1fr !important; }
    
    /* Cards & Boxes */
    .booking-card, .ticket-card, .form-card, .contact-card, .admin-login, .shortener-box, .suggest-box, .req-item, .admin-panel, .card { width: 100% !important; max-width: 100% !important; padding: 1.5rem !important; flex-direction: column !important; align-items: stretch !important; box-sizing: border-box !important; }
    
    /* Sidebar */
    .sidebar { width: 100% !important; height: auto !important; padding: 1.5rem !important; }
    
    /* Tables */
    .data-table, .roster-table, table { display: block !important; width: 100% !important; overflow-x: auto !important; white-space: nowrap !important; -webkit-overflow-scrolling: touch; }
    
    /* Navigations */
    .navbar, .header, .admin-header, .admin-nav { flex-direction: column !important; text-align: center !important; gap: 1rem !important; padding: 1rem !important; }
    
    /* Form Elements & Buttons */
    .btn, button, input, select, textarea { width: 100% !important; font-size: 1rem !important; box-sizing: border-box !important; }
    .input-group, .suggest-box { flex-direction: column !important; gap: 1rem !important; }
    
    /* Specific Fixes */
    .vote-box { width: 100% !important; padding: 0.5rem !important; flex-direction: row !important; justify-content: center !important; gap: 0.5rem !important; }
    .vote-count { margin-top: 0 !important; }
}
