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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #000000, #111827, #000000);
    position: relative;
    overflow: hidden;
}

/* Background Elements */
.background-overlay {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.bg-blob-1 {
    top: -160px;
    right: -160px;
    width: 320px;
    height: 320px;
    background: linear-gradient(to bottom right, rgba(255, 159, 67, 0.1), rgba(251, 191, 36, 0.1));
}

.bg-blob-2 {
    bottom: -160px;
    left: -160px;
    width: 320px;
    height: 320px;
    background: linear-gradient(to bottom right, rgba(255, 140, 0, 0.1), rgba(254, 215, 170, 0.1));
    animation-delay: 1s;
}

.bg-blob-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 384px;
    height: 384px;
    background: linear-gradient(to bottom right, rgba(255, 99, 71, 0.05), rgba(255, 165, 0, 0.05));
    animation-delay: 0.5s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Mouse Follower */
.mouse-follower {
    position: fixed;
    width: 384px;
    height: 384px;
    background: linear-gradient(to right, rgba(255, 159, 67, 0.05), rgba(255, 200, 80, 0.05));
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    transition: all 1s ease-out;
}

/* Navigation */
.navigation {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.back-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, rgb(255, 163, 72), rgb(255, 217, 102));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Project Header */
.project-header {
    position: relative;
    z-index: 10;
    padding: 3rem 1.5rem;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.project-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(
    to right,
    #fff3c4,   /* soft warm white */
    #ffd37a,   /* light golden yellow */
    #ff9f40    /* CS2-style orange */
	);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .project-title {
        font-size: 4.5rem;
    }
}

.project-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-badge {
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    color: rgb(209, 213, 219);
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: rgb(156, 163, 175);
}

.status-live {
    color: rgb(74, 222, 128);
}

.launch-year {
    color: #fff;
}

/* Game Maps Section */
.cases-section {
    position: relative;
    z-index: 10;
    padding: 1rem 1.5rem;
}

.cases-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    /*background: linear-gradient(to right, rgb(52, 211, 153), rgb(6, 182, 212));*/
    background: linear-gradient(to right, rgb(248, 113, 113), rgb(251, 146, 60));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-card {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 0.5rem;
    transition: all 0.5s;
    cursor: pointer;
}

.case-card:hover {
    border-color: rgba(75, 85, 99, 0.7);
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.5);
}

.case-content {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.case-icon-circle {
    width: 7rem;
    height: 7rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 2px;
    transition: all 0.3s;
}

.case-card:hover .map-icon-circle {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.gradient-emerald {
    background: linear-gradient(to right, rgb(52, 211, 153), rgb(20, 184, 166));
}

.gradient-cyan {
    background: linear-gradient(to right, rgb(34, 211, 238), rgb(59, 130, 246));
}

.gradient-red {
    background: linear-gradient(to right, rgb(248, 113, 113), rgb(251, 146, 60));
}

.gradient-yellow {
    background: linear-gradient(to right, rgb(250, 204, 21), rgb(251, 191, 36));
}

.gradient-csgo-case {
    background: linear-gradient(to right, rgb(250, 204, 21), rgb(251, 191, 36));
}

.gradient-purple {
    background: linear-gradient(to right, rgb(168, 85, 247), rgb(244, 114, 182));
}

.gradient-green {
    background: linear-gradient(to right, rgb(74, 222, 128), rgb(163, 230, 53));
}

.gradient-dn-case {
    background: linear-gradient(to right, #a17eff, #ff92f0, #7ee8f5);
}

.gradient-cs2-case {
    background: linear-gradient(to right, #f5a623, #f7b239);
}

.icon-inner {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.icon-inner img,
.icon-inner svg {
    transition: transform 0.3s ease; /* this is what makes unhover smooth */
}

.case-card:hover .icon-inner img,
.case-card:hover .icon-inner svg {
    transform: scale(1.5);
    transition: transform 0.3s, background 0.3s;
}

.case-card:hover .icon-inner {
    background: #1f2937;
}

.icon-inner svg {
    color: #fff;
}

.case-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.case-description {
    color: rgb(156, 163, 175);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.case-card:hover .map-description {
    color: rgb(209, 213, 219);
}

/*.case-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}*/

.case-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start; /* align top instead of center */
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.case-players {
    color: rgb(156, 163, 175);
}

.case-info-text {
    color: rgb(156, 163, 175);
    display: flex;
    flex-direction: column; /* stack text and value */
    align-items: center;    /* center the value under the label */
}

.info-value {
    color: #fff;
    margin-top: 0.25rem; /* small space below the label */
}

.difficulty {
    font-weight: 600;
}

.difficulty-beginner,
.difficulty-easy {
    color: rgb(74, 222, 128);
}

.difficulty-medium {
    color: rgb(250, 204, 21);
}

.difficulty-hard {
    color: rgb(251, 146, 60);
}

.difficulty-expert {
    color: rgb(248, 113, 113);
}

.difficulty-custom {
    color: rgb(168, 85, 247);
}

.enter-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    width: 100%;
    background: transparent;
    border: none;
    color: rgb(209, 213, 219);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
    justify-content: center;
    text-decoration: none;
}

.enter-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.case-card:hover .enter-button {
    transform: translateY(-2px);
}

/* Details Section */
.details-section {
    position: relative;
    z-index: 10;
    padding: 1.5rem 1.5rem;
}

.details-container {
    max-width: 56rem;
    margin: 0 auto;
}

.details-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 0.5rem;
    padding: 2rem;
}

.details-text {
    color: rgb(209, 213, 219);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-emerald {
    color: rgb(52, 211, 153);
}

.stat-red {
    color: rgb(239, 68, 68);
}

.stat-cyan {
    color: rgb(34, 211, 238);
}

.stat-purple {
    color: rgb(168, 85, 247);
}

.stat-label {
    color: rgb(156, 163, 175);
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(31, 41, 55, 0.5);
}

.footer-text {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    color: rgb(107, 114, 128);
}
