:root {
    --primary-blue: #007bff;
    --primary-pink: #e83e8c;
    --bg-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-white: #f8fafc;
    --text-dim: #94a3b8;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #1e293b, #0f172a);
    font-family: var(--font-main);
    color: var(--text-white);
    overflow-x: hidden;
}

.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-blue {
    background: var(--primary-blue);
    top: -200px;
    left: -200px;
}

.blob-pink {
    background: var(--primary-pink);
    bottom: -200px;
    right: -200px;
    animation-delay: -10s;
}

@keyframes float {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.1);
    }
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 2rem 1rem;
    }
    h1 {
        font-size: 2.2rem;
    }
}

header {
    text-align: center;
    margin-bottom: 4rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #60a5fa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tile {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tile:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tile svg {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.tile:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

.tile-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.tile-desc {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tile i {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.tile:hover i {
    opacity: 1;
    transform: translateX(5px);
}

/* Specific gradients for icons */
.icon-blue {
    fill: var(--primary-blue);
}

.icon-pink {
    fill: var(--primary-pink);
}

.icon-gradient {
    fill: url(#grad1);
}

footer {
    margin-top: 6rem;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    border-radius: 40px 40px 0 0;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.dev-label {
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dev-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.dev-creds {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.disclaimer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .dashboard-container {
        padding: 2rem 1rem;
    }

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

    /* Touch target optimization */
    button,
    .tab-btn,
    .btn-gis,
    select,
    input[type="range"] {
        min-height: 44px;
    }
}

/* Rating System Styles */
.rating-section {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    display: inline-block;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.star {
    font-size: 2rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.star.active {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.star:hover {
    transform: scale(1.2);
}

.rating-counter {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.count-badge {
    background: var(--primary-pink);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    margin-left: 0.5rem;
}