
:root{
    --page-bg:
    radial-gradient(circle at 70% 90%, rgba(243, 150, 0, 0.789), transparent 15%),
    linear-gradient(160deg, #54a1d4, #c89f66);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;

   background: var(--page-bg);
}

body::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, #000, #265520c2);

    clip-path: polygon(
        0% 100%,
        0% 70%,
        8% 68%,
        16% 65%,
        24% 63%,
        32% 60%,
        40% 62%,
        48% 58%,
        56% 61%,
        64% 57%,
        72% 60%,
        80% 58%,
        88% 62%,
        96% 59%,
        100% 65%,
        100% 100%
    );
    z-index: -2;
}

body::before {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;

    background: linear-gradient(to top, #000, #1a4514);

    clip-path: polygon(
        0% 100%,
        0% 80%,
        10% 78%,
        20% 82%,
        30% 75%,
        40% 83%,
        50% 77%,
        60% 84%,
        70% 76%,
        80% 82%,
        90% 79%,
        100% 83%,
        100% 100%
    );

    z-index: -1;
}




.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.unselectable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h2 {
    font-size: 3em;
    margin-bottom: 30px;
    padding: 10px;
    color: transparent;
background-color: #ffffff
}

h2::before {
    content: attr(data-text);
    position: absolute;
    inset: 40px;
    padding: 10px;
    background: var(--page-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


li {
    font-size: 1.15em;
}

    a {
    color: black;
}

    a:hover {
    color: #007bff;
    text-decoration: none;
}
.unselectable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tile-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.tile {
    text-decoration: none;
    color: inherit;
    background: #f4f4f4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0,0,0,0.4);
    position: relative;
    display: block;
    transition: transform 0.3s ease;
    z-index: 1;
}

.tile:hover {
    box-shadow: 0 16px 25px rgba(0,0,0,0.6);
    transform: scale(1.20);
    z-index: 10;
}

.tile img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.tile-text {
  padding: 1rem;
}

.tile-text h3 {
  margin: 0;
  font-size: 1.1rem;
}

.tile-text p {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: #aaa;
}

.tile-expanded {
    opacity: 0;
    max-height: 0;
    transition: opacity 0.3s ease, max-height 0.5s ease;
}

.tile:hover .tile-expanded {
    font-size: 0.8em;
    color: black;
    opacity: 1;
    max-height: 300px;
    transition: opacity 0.8s ease, max-height 0.9s ease;
}

@media screen and (max-width: 824px) {
    .tile:hover {
        transform: scale(1.0);
    }
}