@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mrs+Sheppards:wght@400&display=swap');

/* Centralized Font System */
:root {
    /* Main fonts */
    --primary-font: 'Poppins', cursive;
    --logo-font: 'Mrs Sheppards', cursive;
    
    /* Fallback fonts */
    --fallback-fonts: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Font weights for Gluten */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
}

/* Universal font application */
* {
    font-family: var(--primary-font), var(--fallback-fonts);
}

/* Body font */
body {
    font-family: var(--primary-font), var(--fallback-fonts);
}

/* Logo font class */
.logo-text, .logo, .brand-text {
    font-family: var(--logo-font), cursive !important;
}

/* Responsive Design Foundation */
:root {
    /* Dark theme variables - only theme */
    --bg-primary: linear-gradient(120deg, #1a202c 0%, #2d3748 30%, #4a5568 60%, #718096 85%, #a0aec0 100%);
    --bg-secondary: linear-gradient(135deg,#2d3748 0%,#4a5568 100%);
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --card-bg: #2d3748;
    --card-shadow: 0 8px 32px rgba(0,0,0,0.3);
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Responsive spacing scale */
    --spacing-xs: clamp(0.25rem, 1vw, 0.5rem);
    --spacing-sm: clamp(0.5rem, 2vw, 1rem);
    --spacing-md: clamp(1rem, 3vw, 2rem);
    --spacing-lg: clamp(1.5rem, 4vw, 3rem);
    --spacing-xl: clamp(2rem, 5vw, 4rem);
    
    /* Responsive typography scale */
    --text-xs: clamp(0.75rem, 2vw, 0.875rem);
    --text-sm: clamp(0.875rem, 2.5vw, 1rem);
    --text-base: clamp(1rem, 3vw, 1.125rem);
    --text-lg: clamp(1.125rem, 3.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 4vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 5vw, 2rem);
    --text-3xl: clamp(1.875rem, 6vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 7vw, 3rem);
    
    /* Responsive container widths */
    --container-xs: 95vw;
    --container-sm: 90vw;
    --container-md: 85vw;
    --container-lg: 80vw;
    --container-xl: 75vw;
    --container-2xl: 70vw;
    
    /* Responsive sidebar */
    --sidebar-width: clamp(240px, 20vw, 320px);
    --sidebar-mobile: 0px;
}

/* Common body styles - Dark mode only */
body {
    font-family: var(--primary-font), var(--fallback-fonts);
    min-height: 100vh;
    color: #f7fafc;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-size: var(--text-base);
    background: linear-gradient(120deg, #1a202c 0%, #2d3748 30%, #4a5568 60%, #718096 85%, #a0aec0 100%);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
}

/* Vibers title - the main shared class */
.vibers-title {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}
.vibeai-form-invest {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.7rem;
    border-radius: 10px;
    border: 1.5px solid #764ba2;
    font-size: 1.15rem;
    margin-top: 0.5rem;
    background: #f3f4f6;
    transition: border 0.2s;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    letter-spacing: 2px;
    font-weight: normal;
    font-size: 1.3rem;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}
.primary-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    letter-spacing: 2px;
    font-weight: normal;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Message card styles */
/* .message-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    padding: 3rem 2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top:1.5rem;
    animation: fadeInUp 1.2s ease-out;
    width: 100%;
    max-width: 900px;
} */
.message-card {
    background: var(--card-bg);
    border-radius: clamp(16px, 4vw, 32px);
    padding: var(--spacing-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    margin-top: var(--spacing-md);
    animation: fadeInUp 1.2s ease-out;
    width: 100%;
    max-width: var(--container-2xl);
}
.toggle-icon {
    font-size: 1.5rem;
    color: #667eea;
    transition: all 0.3s ease;
    font-weight: bold;
    margin-left: 0.5rem;
    transform: translateY(-0.5rem);
}

/* Message title styles */
.message-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Friends divider */
.friends-divider {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, #667eea, #f093fb);
    margin: 0.5rem auto 1.2rem auto;
    border-radius: 2px;
}

/* Back button styles */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 12px 10px;
    text-align: center;
}

th {
    background: var(--card-bg);
    font-weight: 700;
    color: #667eea;
    border: 1px solid var(--border-color);
}

tr {
    background: rgba(102,126,234,0.1);
    color: var(--text-primary);
}

tr:nth-child(even) {
    background: rgba(118,75,162,0.1);
}

/* Font Utility Classes */
.font-primary {
    font-family: var(--primary-font), var(--fallback-fonts);
}

.font-secondary {
    font-family: var(--secondary-font), var(--fallback-fonts);
}

/* Utility classes */
.no-tx {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin: 2rem 0;
}

/* Responsive container */
.container {
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    width: 100%;
}

/* Responsive breakpoints */
@media (max-width: 480px) {
    .container {
        max-width: var(--container-xs);
        padding: 0 var(--spacing-sm);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .container {
        max-width: var(--container-sm);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: var(--container-md);
    }
}

@media (min-width: 1025px) {
    .container {
        max-width: var(--container-lg);
    }
}

/* Responsive Utility Classes */
.responsive-text {
    font-size: var(--text-base);
}

.responsive-title {
    font-size: var(--text-3xl);
    font-weight: 800;
}

.responsive-subtitle {
    font-size: var(--text-lg);
    font-weight: 600;
}

.responsive-padding {
    padding: var(--spacing-lg);
}

.responsive-margin {
    margin: var(--spacing-md);
}

/* Responsive Grid System */
.responsive-grid {
    display: grid;
    gap: var(--spacing-md);
    width: 100%;
}

.responsive-grid-1 {
    grid-template-columns: 1fr;
}

.responsive-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.responsive-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.responsive-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* Mobile-first responsive adjustments */
@media (max-width: 768px) {
    .responsive-grid-2,
    .responsive-grid-3,
    .responsive-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .responsive-padding {
        padding: var(--spacing-md);
    }
    
    .responsive-margin {
        margin: var(--spacing-sm);
    }
}

/* Sidebar responsive behavior */
.sidebar-responsive {
    width: var(--sidebar-width);
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .sidebar-responsive {
        width: var(--sidebar-mobile);
        transform: translateX(-100%);
    }
    
    .sidebar-responsive.open {
        transform: translateX(0);
        width: 80vw;
        max-width: 300px;
    }
}

/* Main content responsive margin */
.main-responsive {
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
}

@media (max-width: 768px) {
    .main-responsive {
        margin-left: 0;
    }
} 