:root {
    --bg-color: #050505;
    --accent-blue: #3b82f6;
    --text-main: #ffffff;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Compact Card Theme Colors */
    --hostinger-color: #673de6;
    --shopify-color: #96bf48;
    --framer-color: #0055ff;
    --orchids-color: #e040fb;
    --github-color: #ffffff;
    --figma-color: #f24e1e;
    --vercel-color: #000000;
    --notion-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100vw;
}

/* Canvas Layer */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

canvas {
    display: block;
}

/* Vignette Layer */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 20%, rgba(5,5,5,0.6) 80%, #050505 100%);
    z-index: 1;
    pointer-events: none;
}

/* Content Layer */
.main-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* User Header Section */
.user-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
    max-width: 600px;
    animation: fadeInDown 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.profile-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(59, 130, 246, 0.5);
    padding: 3px;
    background: #0a0a0a;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    transition: var(--transition-smooth);
}

.greeting {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 15px;
    color: #888;
    font-weight: 400;
    margin-bottom: 25px;
}

/* Search Bar */
.search-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 14px 20px 14px 45px;
    border-radius: 30px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-smooth);
}

.search-input::placeholder {
    color: #666;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.search-input:focus + .search-icon {
    color: var(--accent-blue);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grid Layout */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 12px;
    max-width: 1240px; 
    width: 100%;
    justify-content: center;
    padding: 0 10px;
}

/* Compact Card Styles */
.platform-card {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    backdrop-filter: blur(8px);
    height: 150px;
    position: relative;
}

.platform-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    z-index: 5;
}

/* Specific Hover Glows */
.platform-card:hover {
    box-shadow: 0 10px 30px -5px var(--glow-color, rgba(255,255,255,0.1));
    border-color: var(--glow-color, rgba(255,255,255,0.2));
}

.card-icon-area {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%);
}

.card-icon-area img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.card-icon-area i {
    font-size: 42px;
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.platform-card:hover .card-icon-area img,
.platform-card:hover .card-icon-area i {
    transform: scale(1.15);
}

.card-footer {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(0, 0, 0, 0.2);
}

.card-name {
    font-size: 13px;
    font-weight: 500;
    color: #aaa;
    transition: color 0.2s;
}

.platform-card:hover .card-name {
    color: #fff;
}

/* Specific Brand Styles */
.card-hostinger { --glow-color: rgba(103, 61, 230, 0.5); }
.card-shopify { --glow-color: rgba(150, 191, 72, 0.5); }
.card-framer { --glow-color: rgba(0, 85, 255, 0.5); }
.card-orchids { --glow-color: rgba(224, 64, 251, 0.5); }
.card-github { --glow-color: rgba(255, 255, 255, 0.3); }
.card-figma { --glow-color: rgba(242, 78, 30, 0.5); }
.card-vercel { --glow-color: rgba(255, 255, 255, 0.4); }
.card-notion { --glow-color: rgba(230, 230, 230, 0.4); }

/* Responsive Breakpoints */
@media (min-width: 1250px) {
    .cards-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 1249px) and (min-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 599px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .platform-card {
        height: 130px;
    }
    
    .user-header {
        margin-bottom: 35px;
    }
    
    .greeting {
        font-size: 24px;
    }
    
    .profile-wrapper {
        width: 70px;
        height: 70px;
    }
}