/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 320px;
    min-height: 100vh;
    width: 100vw;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    position: relative;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-btn {
    background: rgba(32, 212, 212, 0.1);
    border: 1px solid rgba(32, 212, 212, 0.3);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #20d4d4;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.mobile-nav-btn:hover {
    background: rgba(32, 212, 212, 0.2);
    transform: scale(1.05);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #20d4d4, #4a90e2, #9b59b6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.mobile-logo .logo-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #20d4d4, #4a90e2, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
}

/* Sidebar Styles */
.sidebar {
    background: rgba(26, 26, 46, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.left-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(32, 212, 212, 0.05) 0%, 
        rgba(74, 144, 226, 0.03) 25%, 
        rgba(155, 89, 182, 0.05) 50%, 
        rgba(32, 212, 212, 0.03) 75%, 
        rgba(74, 144, 226, 0.05) 100%);
    pointer-events: none;
    z-index: 0;
}

.left-sidebar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(32, 212, 212, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

/* Floating particles */
.left-sidebar .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(32, 212, 212, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.left-sidebar .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.left-sidebar .particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.left-sidebar .particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

.right-sidebar {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

/* Logo */
.logo {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(32, 212, 212, 0.1) 0%, transparent 70%);
    border-radius: 20px;
    animation: logoGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes logoGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.05); }
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #20d4d4, #4a90e2, #9b59b6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 15px;
    box-shadow: 0 8px 32px rgba(32, 212, 212, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #20d4d4, #4a90e2, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Navigation Links */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.nav-links::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, 
        rgba(32, 212, 212, 0.05) 0%, 
        rgba(74, 144, 226, 0.03) 50%, 
        rgba(155, 89, 182, 0.05) 100%);
    border-radius: 16px;
    pointer-events: none;
    z-index: -1;
}

.nav-link {
    padding: 18px 22px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #a0a0a0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(32, 212, 212, 0.1) 0%, 
        rgba(74, 144, 226, 0.05) 50%, 
        rgba(155, 89, 182, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(32, 212, 212, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 100%;
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(32, 212, 212, 0.15);
    color: #20d4d4;
    transform: translateX(8px) translateY(-2px);
    border-color: rgba(32, 212, 212, 0.3);
    box-shadow: 0 8px 25px rgba(32, 212, 212, 0.2);
}

.nav-link:hover i,
.nav-link.active i {
    transform: scale(1.1) rotate(5deg);
    color: #20d4d4;
}

.nav-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link i::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, rgba(32, 212, 212, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover i::before,
.nav-link.active i::before {
    opacity: 1;
}

/* Main Content */
.main-content {
    background: transparent;
    min-height: 100vh;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-y: auto;
}

.content-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* Welcome Banner */
.welcome-banner {
    height: 400px;
    background: linear-gradient(135deg, #20d4d4 0%, #4a90e2 50%, #9b59b6 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/><circle cx="200" cy="150" r="80" fill="rgba(255,255,255,0.1)"/><circle cx="1000" cy="100" r="120" fill="rgba(255,255,255,0.05)"/><path d="M 100 300 Q 300 100 500 300 T 900 300" stroke="rgba(255,255,255,0.2)" stroke-width="3" fill="none"/></svg>');
    background-size: cover;
}

.banner-overlay {
    color: white;
    text-align: center;
    z-index: 2;
    position: relative;
}

.banner-overlay h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-overlay p {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.banner-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item i {
    color: #20d4d4;
    font-size: 16px;
}

.feature-item span {
    color: white;
    font-weight: 500;
    font-size: 14px;
}



/* Posts Container */
.posts-container {
    padding: 0 30px 30px;
}

.post-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #20d4d4, #4a90e2, #9b59b6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover::before {
    opacity: 1;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(32, 212, 212, 0.3);
}

/* Post Header */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #20d4d4, #4a90e2, #9b59b6);
    border: 3px solid rgba(32, 212, 212, 0.3);
    box-shadow: 0 4px 15px rgba(32, 212, 212, 0.2);
    transition: transform 0.2s ease;
}

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

.default-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.user-name {
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.verified-badge {
    color: #20d4d4;
    font-size: 16px;
    filter: drop-shadow(0 0 4px rgba(32, 212, 212, 0.5));
}

.user-handle {
    color: #b0b0b0;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.2px;
}

.post-time {
    color: #808080;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Post Category */
.post-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #20d4d4;
    font-size: 14px;
    margin-bottom: 15px;
    background: rgba(32, 212, 212, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    width: fit-content;
    font-weight: 500;
}

/* Post Content */
.post-content {
    margin-bottom: 20px;
}

.post-content p {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 16px;
}

.show-more-btn {
    background: none;
    border: none;
    color: #20d4d4;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    font-weight: 500;
    text-decoration: underline;
}

.show-more-btn:hover {
    color: #4a90e2;
}

/* Post Images */
.post-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.post-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.post-image:hover {
    transform: scale(1.02);
}

/* Post Year */
.post-year {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #808080;
    font-size: 14px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    width: fit-content;
}

/* Post Actions */
.post-actions {
    display: flex;
    gap: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    flex-wrap: wrap;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0a0a0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.action-item:hover {
    color: #20d4d4;
    background: rgba(32, 212, 212, 0.1);
    transform: translateY(-2px);
}

.action-item.liked {
    color: #ff4757;
}

.action-item.liked i.fas.fa-heart {
    animation: heartBeat 0.3s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Right Sidebar Components */
.auth-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    justify-content: center;
}

.user-wallet-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 16px;
    background: rgba(32, 212, 212, 0.1);
    border: 1px solid rgba(32, 212, 212, 0.2);
    border-radius: 12px;
    min-width: 200px;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.username {
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
}

.wallet-type {
    font-size: 12px;
    color: #20d4d4;
    font-weight: 500;
}

.wallet-address {
    font-size: 11px;
    color: #a0a0a0;
    font-family: 'Courier New', monospace;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #20d4d4, #4a90e2, #9b59b6);
    color: white;
    box-shadow: 0 4px 15px rgba(32, 212, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 212, 212, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Make anchor tags look like buttons */
.btn {
    text-decoration: none;
    color: inherit;
}

/* Contract Section */
.contract-section {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
}

.contract-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.contract-info {
    text-align: center;
}

.contract-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #20d4d4;
}

.contract-address:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(32, 212, 212, 0.2);
}

.contract-address i {
    color: #20d4d4;
    font-size: 16px;
}

.copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.contract-address:hover .copy-tooltip {
    opacity: 1;
}

.contract-network {
    margin-top: 10px;
    font-size: 12px;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search */
.search-container {
    margin-top: 25px;
}

/* Stats Section */
.stats-section {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
}

.stats-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #20d4d4;
    background: linear-gradient(135deg, #20d4d4, #4a90e2, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: #a0a0a0;
    font-weight: 500;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 16px;
    color: #808080;
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: #808080;
}

.search-input:focus {
    outline: none;
    border-color: #20d4d4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(32, 212, 212, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(32, 212, 212, 0.1), rgba(74, 144, 226, 0.1), rgba(155, 89, 182, 0.1));
    border: 1px solid rgba(32, 212, 212, 0.2);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(32, 212, 212, 0.05), transparent);
    animation: ctaShimmer 4s infinite;
}

@keyframes ctaShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.cta-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #20d4d4, #4a90e2, #9b59b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 25px rgba(32, 212, 212, 0.3);
    position: relative;
    z-index: 2;
}

.cta-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

/* Footer */
.footer-links {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links p {
    color: #808080;
    font-size: 12px;
    margin-bottom: 15px;
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.footer-nav a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #20d4d4;
    background: rgba(32, 212, 212, 0.1);
}

/* Wallet Adapter Modal Styles */
.wallet-adapter-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.wallet-adapter-modal-fade-in {
    animation: walletModalFadeIn 0.2s ease-out;
}

@keyframes walletModalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.wallet-adapter-modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.wallet-adapter-modal-wrapper {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.wallet-adapter-modal-button-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-adapter-modal-button-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.wallet-adapter-modal-button-close svg {
    fill: #a0a0a0;
    transition: fill 0.3s ease;
}

.wallet-adapter-modal-button-close:hover svg {
    fill: #ffffff;
}

.wallet-adapter-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 25px 0;
    text-align: center;
    line-height: 1.4;
}

.wallet-adapter-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wallet-adapter-modal-list li {
    margin-bottom: 12px;
}

.wallet-adapter-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}

.wallet-adapter-button:hover {
    background: rgba(32, 212, 212, 0.1);
    border-color: rgba(32, 212, 212, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 212, 212, 0.2);
}

.wallet-adapter-button-start-icon {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.wallet-adapter-button-start-icon img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.wallet-detected {
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 400;
}

.wallet-adapter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

/* Legacy Modal Styles (keeping for compatibility) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #808080;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 35px;
}

.modal-body h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 700;
}

.modal-body p {
    color: #a0a0a0;
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 1.6;
}

/* Wallet Options */
.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.wallet-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    backdrop-filter: blur(10px);
}

.wallet-btn:hover {
    border-color: #20d4d4;
    background: rgba(32, 212, 212, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 212, 212, 0.2);
}

.wallet-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.family-icon {
    background: linear-gradient(135deg, #ff6b9d, #ff8e53);
}

.browser-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.wc-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.terms-text {
    font-size: 14px;
    color: #808080;
    text-align: center;
    line-height: 1.5;
}

.link-red {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.link-red:hover {
    text-decoration: underline;
}

/* Auth Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.auth-header p {
    color: #a0a0a0;
    font-size: 16px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #20d4d4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(32, 212, 212, 0.1);
}

.auth-btn {
    margin-top: 10px;
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    color: #a0a0a0;
    font-size: 14px;
}

.auth-footer a {
    color: #20d4d4;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: rgba(32, 212, 212, 0.1);
    border: 1px solid rgba(32, 212, 212, 0.3);
    color: #20d4d4;
}

.alert-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.alert-info {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    color: #4a90e2;
}

/* Profile Styles */
.profile-container {
    padding: 30px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #20d4d4, #4a90e2, #9b59b6);
    border: 4px solid rgba(32, 212, 212, 0.3);
    box-shadow: 0 8px 25px rgba(32, 212, 212, 0.3);
}

.avatar-large.default-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.profile-avatar {
    position: relative;
    display: inline-block;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #20d4d4;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.avatar-upload-btn:hover {
    background: #4a90e2;
    transform: scale(1.1);
}

.profile-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.profile-info p {
    color: #a0a0a0;
    font-size: 16px;
}

.profile-section {
    margin-bottom: 40px;
    background: rgba(26, 26, 46, 0.6);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
}

.profile-section p {
    color: #a0a0a0;
    line-height: 1.6;
}

/* Post creation form */
.post-creation-form {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(26, 26, 46, 0.8);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.post-textarea:focus {
    outline: none;
    border-color: #20d4d4;
    box-shadow: 0 0 0 2px rgba(32, 212, 212, 0.2);
}

.post-textarea::placeholder {
    color: #a0a0a0;
}

.post-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.post-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Media upload styles */
.media-buttons {
    display: flex;
    gap: 10px;
}

.media-btn {
    background: rgba(32, 212, 212, 0.1);
    border: 1px solid rgba(32, 212, 212, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    color: #20d4d4;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.media-btn:hover {
    background: rgba(32, 212, 212, 0.2);
    border-color: #20d4d4;
    transform: translateY(-1px);
}

.media-upload-area {
    margin: 15px 0;
    padding: 15px;
    background: rgba(26, 26, 46, 0.4);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.media-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.6);
}

.media-item img,
.media-item video,
.media-item audio {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
}

.media-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating post button */
.floating-post-btn {
    position: fixed;
    bottom: 30px;
    right: 30px; /* Position it in the right sidebar area */
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #20d4d4, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(32, 212, 212, 0.4);
    transition: all 0.3s ease;
    z-index: 1002; /* Higher than sidebar z-index (1001) */
    border: none;
    color: white;
    font-size: 24px;
}

.floating-post-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(32, 212, 212, 0.6);
}

.floating-post-btn:active {
    transform: scale(0.95);
}

/* Post modal styles */
.post-modal {
    max-width: 600px;
    width: 90%;
}

.post-modal .modal-body {
    padding: 0;
}

.post-modal .post-creation-form {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

/* Mobile responsiveness for post creation */
@media (max-width: 768px) {
    .floating-post-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 20px;
        z-index: 1002; /* Higher than sidebar z-index (1001) */
    }
    
    .post-modal {
        width: 95%;
        margin: 20px auto;
    }
    
    .media-buttons {
        gap: 8px;
    }
    
    .media-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .post-textarea {
        min-height: 100px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .post-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .post-actions .btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .floating-post-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 18px;
        z-index: 1002; /* Higher than sidebar z-index (1001) */
    }
    
    .post-modal {
        width: 98%;
        margin: 10px auto;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .post-textarea {
        min-height: 80px;
        padding: 12px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .app-container {
        grid-template-columns: 250px 1fr 280px;
        width: 100vw;
    }
    
    .floating-post-btn {
        right: 30px; /* Keep in right sidebar area */
    }
}

@media (max-width: 1024px) {
    .app-container {
        grid-template-columns: 220px 1fr 250px;
        width: 100vw;
    }
    
    .floating-post-btn {
        right: 30px; /* Keep in right sidebar area */
    }
    
    .welcome-banner {
        height: 300px;
    }
    
    .banner-overlay h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .app-container {
        grid-template-columns: 1fr;
        width: 100vw;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .left-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 1001;
        transition: left 0.3s ease;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding: 80px 20px 30px;
        display: flex;
        flex-direction: column;
    }
    
    .left-sidebar.mobile-open {
        left: 0;
    }
    
    .right-sidebar {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        z-index: 1001;
        transition: right 0.3s ease;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding: 80px 25px 30px;
        display: flex;
        flex-direction: column;
    }
    
    .right-sidebar.mobile-open {
        right: 0;
    }
    
    .mobile-overlay.mobile-open {
        display: block;
    }
    
    .main-content {
        width: 100%;
        padding: 80px 20px 20px;
        margin: 0;
    }
    
    .welcome-banner {
        height: 250px;
        margin: 0 0 20px 0;
        border-radius: 20px;
    }
    
    .banner-overlay h1 {
        font-size: 2.2rem;
    }
    
    .banner-overlay p {
        font-size: 1.1rem;
    }
    
    .banner-features {
        gap: 15px;
    }
    
    .feature-item {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .feature-item i {
        font-size: 14px;
    }
    
    .feature-item span {
        font-size: 12px;
    }
    
    .posts-container {
        padding: 0 0 20px 0;
    }
    
    .post-card {
        padding: 20px;
    }
    
    .post-actions {
        flex-direction: row;
        gap: 15px;
        justify-content: flex-start;
    }
    
    .action-item {
        flex-shrink: 0;
        min-width: auto;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        padding: 25px;
    }
    
    .profile-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .welcome-banner {
        height: 200px;
        margin: 0 15px 15px;
    }
    
    .banner-overlay h1 {
        font-size: 1.8rem;
    }
    
    .banner-overlay p {
        font-size: 1rem;
    }
    
    .banner-features {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .feature-item i {
        font-size: 12px;
    }
    
    .feature-item span {
        font-size: 11px;
    }
    

    
    .posts-container {
        padding: 0 15px 15px;
    }
    
    .post-card {
        padding: 15px;
    }
    
    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .user-avatar {
        width: 48px;
        height: 48px;
    }
    
    .post-images {
        grid-template-columns: 1fr;
    }
    
    .post-image {
        height: 180px;
    }
    
    .post-actions {
        gap: 12px;
        justify-content: space-between;
    }
    
    .action-item {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .left-sidebar {
        padding: 12px 15px;
    }
    
    .nav-link {
        padding: 10px 6px;
        font-size: 11px;
        min-width: 50px;
    }
    
    .nav-link i {
        font-size: 16px;
    }
    
    .main-content {
        margin-left: 0;
        margin-bottom: 90px;
    }
} 