/* Modern design for dannysimmons.com */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&display=swap");

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

body {
    font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #f3e8ff;
    background:
        radial-gradient(circle at top, rgba(168, 85, 247, 0.25), transparent 30%),
        linear-gradient(180deg, #09090b 0%, #120d18 22%, #1a1224 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header */
#header {
    position: relative;
    padding: 32px 0;
    background: linear-gradient(180deg, rgba(17, 12, 22, 0.6), rgba(17, 12, 22, 0.3));
    border-bottom: 1px solid rgba(216, 180, 254, 0.1);
    backdrop-filter: blur(10px);
}

#header .inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

#header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

#header .logo:hover {
    color: #a855f7;
}

#header .symbol {
    width: 32px;
    height: 32px;
    display: inline-block;
    background: linear-gradient(135deg, #a855f7, #7e22ce);
    border-radius: 8px;
}

/* Main Content */
#main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Section Headers */
#main header {
    margin-bottom: 48px;
}

#main header .logo .title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f3e8ff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Tiles Grid */
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.tiles article {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(30, 20, 40, 0.6);
    border: 1px solid rgba(216, 180, 254, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.tiles article:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(30, 20, 40, 0.9);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.25);
}

.tiles article .image {
    position: relative;
    height: 265px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(217, 70, 239, 0.1));
}

.tiles article .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tiles article:hover .image img {
    transform: scale(1.08);
}

.tiles article a {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px 14px 10px;
    color: #f3e8ff;
    overflow: hidden;
}

.tiles article a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0) 0%, rgba(98, 40, 171, 0.82) 100%);
    z-index: 0;
    pointer-events: none;
}

.tiles article a > * {
    position: relative;
    z-index: 1;
}

.tiles article > .image {
    position: relative;
    z-index: 0;
    pointer-events: none;
}

.tiles article h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.tiles article .content {
    display: flex;
    align-items: flex-end;
    margin-top: 0;
}

.tiles article .content p {
    font-size: 0.8rem;
    color: rgba(243, 232, 255, 0.8);
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive design */
@media (max-width: 1024px) {
    .tiles {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    #main {
        padding: 40px 16px;
    }
}

@media (max-width: 640px) {
    .tiles {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tiles article {
        min-height: 280px;
    }

    .tiles article .image {
        height: 160px;
    }

    #header {
        padding: 20px 0;
    }

    #header .logo {
        font-size: 1.2rem;
    }

    #main header .logo .title {
        font-size: 1rem;
    }

    .tiles article a {
        padding: 20px;
    }

    .tiles article h2 {
        font-size: 1.1rem;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(168, 85, 247, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.5);
}
