.video-box {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1920px;      
  margin: 0 auto;         
}

.video-box iframe {
  width: 100%;            
  max-width: 100%;         
  aspect-ratio: 16 / 9;   
  height: auto;            
}

:root {
    --background: #06b3ef;
    --primary: #7c4dff;
    --secondary: #00d4ff;
    --card: #009671;
    --text: #ffffff;
    --muted-text: #aaaacc;
    --button-text: #ffffff;
    --danger: #ff4d6d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    text-align: center;
}

#website {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#website h1 {
    font-size: 48px;
}

#secretEntrance {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

#secretEntrance:hover {
    transform: scale(1);
}

#secretHint {
    color: var(--muted-text);
}

#game {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.hidden {
    display: none !important;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

header h1 {
    margin: 0;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: var(--button-text);
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
}

button:hover {
    transform: scale(1.1);
}

button:active {
    transform: scale(0.95);
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.score-section {
    background: var(--card);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.score-label {
    color: var(--muted-text);
    margin-bottom: 5px;
}

#score {
    font-size: 64px;
    font-weight: bold;
    color: var(--secondary);
}

.click-section {
    margin-bottom: 40px;
}

#clickArea {
    display: inline-block;
    position: relative;
}

#clickObject {
    width: 250px;
    height: 250px;
    object-fit: contain;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
}

#clickObject:hover {
    transform: scale(1.1);
}

#clickObject:active {
    transform: scale(0.90);
}

.click-animation {
    animation: clickAnimation 0.25s;
}

@keyframes clickAnimation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.shop {
    margin-bottom: 40px;
}

.upgrade-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.upgrade {
    background: var(--card);
    width: 300px;
    padding: 20px;
    border-radius: 20px;
}

.upgrade button {
    width: 100%;
}

.achievements {
    margin-bottom: 30px;
}

#achievementList {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.achievement {
    padding: 15px;
    border-radius: 10px;
    background: var(--card);
}

.locked {
    opacity: 0.35;
}

.unlocked {
    opacity: 1;
    border: 2px solid var(--secondary);
}

.reset {
    background: var(--danger);
    margin-top: 20px;
}

@media (max-width: 600px) {

    #website h1 {
        font-size: 35px;
    }

    #clickObject {
        width: 200px;
        height: 200px;
    }

    #score {
        font-size: 48px;
    }

}