:root {
    --primary-color: #f7cac9;
    --secondary-color: #a2d2ff;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --button-hover: #ffe3e9;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 30px var(--shadow-medium);
    max-width: 450px;
    width: 90%;
    margin: 20px auto;
    position: relative;
    z-index: 1;
}

.header h1 {
    color: var(--text-dark);
    font-size: 2.8em;
    margin-top: -10px;
    margin-bottom: 0px;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.social-link {
    background-color: var(--white);
    color: var(--text-light);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px var(--shadow-light);
    border: 1px solid #eee;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 7px 17px var(--shadow-medium);
    color: var(--primary-color);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto 10px;
    max-width: 440px;
    width: 100%;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 4px solid var(--text-light);
    border-radius: 10px;
}

.divider:not(:empty)::before {
    margin-right: 15px;
}

.divider:not(:empty)::after {
    margin-left: 15px;
}

.divider span {
    font-weight: 600;
    font-size: 1.2em;
    color: var(--text-dark);
    white-space: nowrap;
}


.divider-gear {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0px auto -20px;
    max-width: 440px;
    width: 100%;
}

.divider-gear::before,
.divider-gear::after {
    content: "";
    flex: 1;
    border-bottom: 4px solid var(--text-light);
    border-radius: 10px;
}

.divider-gear:not(:empty)::before {
    margin-right: 15px;
}

.divider-gear:not(:empty)::after {
    margin-left: 15px;
}

.divider-gear span {
    font-weight: 600;
    font-size: 1.2em;
    color: var(--text-dark);
    white-space: nowrap;
}

.links-container {
    width: 100%;
}

.game-settings {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 20px;
}

.game-btn {
    background-color: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #888;
    cursor: pointer;
    font-size: 1.1em;
    width: calc(50% - 7.5px);
    box-sizing: border-box;
    display: block;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.game-btn:hover {
    transform: translateY(-3px);
    box-shadow: none;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    box-shadow: 0 10px 20px var(--shadow-light);
}

@media (max-width: 500px) {
    .container {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 2.2em;
    }

    .social-link {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .game-btn {
        background-color: var(--white);
        color: #2d2d2d;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 15px;
        font-weight: 700;
        transition: all 0.3s ease;
        border: 1px solid #888;
        cursor: pointer;
        font-size: 1.1em;
        width: calc(50% - 7.5px);
        box-sizing: border-box;
        display: block;
    }

    .game-btn:hover {
        transform: translateY(-4px);
        box-shadow: none;
        color: #1c1c1c;
        border: 1px solid var(--text-dark);
    }

    .game-settings {
        flex-direction: column;
        gap: 15px;
    }
}

.device-info {
    background-color: var(--white);
    border-radius: 20px;
    padding: 10px 30px;
    border: 1px solid #888;
    margin-top: 30px;
    text-align: left;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
    margin-bottom: 30px;
    color: #888;
}

.device-info h2 {
    font-weight: 600;
    font-size: 1.8em;
    margin-top: -10px;
    margin-bottom: 10px;
    text-align: center;
}

.device-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.device-info li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.device-info a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
    cursor: pointer;
}

.device-info a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.tooltip {
    position: relative;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 8px;
    position: absolute;
    z-index: 10;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.85em;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltiptext.copied {
    background-color: #ffb3c6;
    color: #fff;
}
