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

body {
    background: radial-gradient(circle at top, #30134f, #10091f 70%);
    font-family: Arial, sans-serif;
    color: white;
    min-height: 100vh;
}

body.theme-linkedin {
    background: radial-gradient(circle at top, #0a66c2, #061427 72%);
}

body.theme-gold {
    background: radial-gradient(circle at top, #5d430f, #130f08 72%);
}

body.theme-purple {
    background: radial-gradient(circle at top, #4b1d8f, #10091f 72%);
}

body.theme-minimal {
    background: #111827;
}

.game-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
    text-align: center;
    overflow-x: auto;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo-area {
    font-size: 24px;
    font-weight: bold;
    color: #ff2fa0;
}

.linkedin-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 18px;
    border-radius: 30px;
    color: #8fd8ff;
}

.intro h1 {
    font-size: 44px;
    margin-bottom: 10px;
}

.intro p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.game-board {
    position: relative;
    width: 900px;
    height: 680px;
    margin: 0 auto 40px;
}

.game-tile {
    position: absolute;
    width: 150px;
    height: 170px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.game-tile:hover {
    transform: translateY(-12px) scale(1.05);
    filter: drop-shadow(0 0 25px #ff2fa0);
}

.tile-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ff007f, #7b2cff);
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    padding: 8px;
    position: relative;
}

.theme-linkedin .tile-inner {
    background: linear-gradient(145deg, #0a66c2, #66b8ff);
}

.theme-gold .tile-inner {
    background: linear-gradient(145deg, #dca54a, #7b4e0f);
}

.theme-purple .tile-inner {
    background: linear-gradient(145deg, #9b5cff, #ff2fa0);
}

.theme-minimal .tile-inner {
    background: linear-gradient(145deg, #374151, #111827);
}

.tile-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 3%, 90% 26%, 90% 72%, 50% 95%, 10% 72%, 10% 26%);
}

.tile-number {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #3d235e;
    font-weight: bold;
    padding: 5px 14px;
    border-radius: 20px;
}

.game-message {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.game-message h2 {
    color: #ff2fa0;
    margin-bottom: 5px;
}

.game-message h3 {
    color: #8fd8ff;
    margin-bottom: 15px;
}

.game-message p {
    line-height: 1.6;
    opacity: 0.9;
}

.linkedin-link {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;
    background: #0a66c2;
    color: white;
    text-decoration: none;
    border-radius: 30px;
}

footer {
    margin-top: 30px;
    opacity: 0.7;
}

.watermark {
    margin-top: 8px;
    font-size: 14px;
}

.game-tile.active {
    transform: translateY(-15px) scale(1.08);
    filter: drop-shadow(0 0 30px #8fd8ff);
    z-index: 10;
}

.play-button {
    margin-bottom: 30px;
    padding: 14px 28px;
    border: none;
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    color: white;
    font-size: 16px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
}

.record-mode .game-header,
.record-mode .linkedin-link {
    display: none;
}

.record-mode .game-wrapper {
    padding-top: 20px;
}

@media (max-width: 800px) {
    .game-header {
        flex-direction: column;
        gap: 14px;
    }

    .intro h1 {
        font-size: 34px;
    }
}