:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --primary: #38bdf8;
    --secondary: #94a3b8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(51, 65, 85, 0.5);
    --font-main: 'Manrope', sans-serif;
    --accent: #f59e0b;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.logo {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--primary), #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.3));
}

.subtitle {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

#globalSearch {
    width: 100%;
    padding: 18px 25px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    background: rgba(30, 41, 59, 0.8);
    color: white;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    outline: none;
}

#globalSearch:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
    background: rgba(30, 41, 59, 1);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #1e293b;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 100;
    max-height: 500px;
    overflow-y: auto;
    display: none;
    text-align: left;
}

.search-item {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    border-bottom: 1px solid var(--card-border);
    transition: background 0.2s;
}

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

.search-item:hover {
    background: rgba(56, 189, 248, 0.1);
}

.search-item img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.search-item-info {
    flex: 1;
}

.search-item-name {
    font-weight: 600;
    display: block;
}

.search-item-tenant {
    font-size: 0.85rem;
    color: var(--secondary);
}

.search-item-price {
    font-weight: 700;
    color: var(--accent);
}

.section-title {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    font-weight: 700;
}

.tenant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    padding-bottom: 60px;
}

.tenant-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;    flex-direction: column;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
}

.tenant-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.2);
}

.tenant-logo {
    width: 100px;
    height: 100px;
    background: #334155;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    overflow: hidden;
}

.tenant-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.tenant-brand {
    font-size: 0.85rem;
    color: var(--secondary);
    margin-top: -10px;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--secondary);
}

/* Welcome Banner Styles */
.welcome-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 600px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(192, 132, 252, 0.2));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: slideInBanner 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInBanner {
    to { transform: translateX(-50%) translateY(0); }
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px var(--primary));
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-5px) rotate(10deg); }
}

.banner-text h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-text p {
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 600;
}

.banner-close {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.banner-close:hover {
    background: rgba(239, 68, 68, 0.5);
    transform: rotate(90deg);
}

.footer {
    margin-top: auto;
    padding: 40px 0;
    text-align: center;
    color: var(--secondary);
    border-top: 1px solid var(--card-border);
}

@media (max-width: 480px) {
    .tenant-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .tenant-card {
        padding: 16px;
    }
    
    .tenant-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
