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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, #2B0467 0%, #1a0033 100%);
    color: white;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    position: relative;
    overflow-x: hidden;
}

.home-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 14px;
    color: #000;
    background-color: #FFE66D;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 
        0 0 0 4px #000,
        0 0 0 6px #FFE66D,
        0 6px 0 4px #000,
        0 6px 0 6px #C4A747;
    transition: all 0.1s ease;
    z-index: 100;
}

.home-btn:hover {
    background-color: #FFF4A3;
    box-shadow: 
        0 0 0 4px #000,
        0 0 0 6px #FFF4A3,
        0 6px 0 4px #000,
        0 6px 0 6px #D4B757;
}

.home-btn:active {
    transform: translateY(4px);
    box-shadow: 
        0 0 0 4px #000,
        0 0 0 6px #FFE66D,
        0 2px 0 4px #000,
        0 2px 0 6px #C4A747;
}

.Ticcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3em;
    width: 100%;
    padding: 2em;
}

.Ticcontainer h1 {
    color: #FFE66D;
    font-size: 2rem;
    text-shadow: 
        -4px -4px 0 #000,
         4px -4px 0 #000,
        -4px  4px 0 #000,
         4px  4px 0 #000;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    background: rgba(0, 0, 0, 0.3);
    padding: 2em;
    border: 6px solid #FFE66D;
    border-radius: 20px;
    box-shadow: 
        0 0 0 4px #000,
        0 0 30px rgba(255, 230, 109, 0.5);
}

.cards div {
    height: 120px;
    width: 120px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 4px solid #000;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.2),
        0 4px 0 #000,
        0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    font-weight: bold;
    transition: all 0.2s ease;
    position: relative;
}

.cards div:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.2),
        0 8px 0 #000,
        0 8px 15px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
}

.cards div:active {
    transform: translateY(2px);
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.2),
        0 2px 0 #000,
        0 2px 5px rgba(0, 0, 0, 0.3);
}

.Ticcontainer button {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 18px;
    color: #000;
    background-color: #FFE66D;
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    box-shadow: 
        0 0 0 4px #000,
        0 0 0 6px #FFE66D,
        0 8px 0 4px #000,
        0 8px 0 6px #C4A747;
    transition: all 0.1s ease;
}

.Ticcontainer button:hover {
    background-color: #FFF4A3;
    box-shadow: 
        0 0 0 4px #000,
        0 0 0 6px #FFF4A3,
        0 8px 0 4px #000,
        0 8px 0 6px #D4B757;
}

.Ticcontainer button:active {
    transform: translateY(4px);
    box-shadow: 
        0 0 0 4px #000,
        0 0 0 6px #FFE66D,
        0 4px 0 4px #000,
        0 4px 0 6px #C4A747;
}

@media (max-width: 768px) {
    .home-btn {
        font-size: 10px;
        padding: 10px 20px;
    }

    .Ticcontainer h1 {
        font-size: 1.5rem;
    }

    .cards {
        gap: 1em;
        padding: 1.5em;
    }

    .cards div {
        height: 90px;
        width: 90px;
        font-size: 3rem;
    }

    .Ticcontainer button {
        font-size: 14px;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .Ticcontainer h1 {
        font-size: 1.2rem;
    }

    .cards {
        gap: 0.8em;
        padding: 1em;
    }

    .cards div {
        height: 70px;
        width: 70px;
        font-size: 2.5rem;
    }

    .Ticcontainer button {
        font-size: 12px;
        padding: 10px 25px;
    }
}