body {

    background-image: url("/static/backgrounds/home-background.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;

    color: white;

    font-family: Arial, sans-serif;

    margin: 0;

    padding: 0;

    min-height: 100vh;

}

body::before {

    content: "";

    position: fixed;

    inset: 0;

background: rgba(0,0,0,0.55);

    z-index: -1;

}

.home-container {

    max-width: 1200px;

    margin: 0 auto;

    text-align: center;

    padding: 40px;

    position: relative;

    z-index: 1;

}

.home-title {

    font-size: 60px;

    font-weight: bold;

    color: #63adff;

    margin-bottom: 10px;

}

.home-description {

    font-size: 20px;

    color: #cccccc;

    margin-bottom: 40px;

}

.home-buttons {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-top: 30px;

}

#homePhone {

    width: 220px;

    text-align: center;

}

.home-btn {

    padding: 12px 24px;

    font-size: 18px;

    border-radius: 10px;

    border: none;

    cursor: pointer;

    font-weight: bold;

}

.primary-btn {

    background: #4da6ff;

    color: white;

}

.secondary-btn {

    background: #2b2b2b;

    color: white;

}

.home-btn:hover {

    transform: translateY(-2px);

}


.tibia-home-image {

    width: 72px;

    height: 72px;

    object-fit: contain;

    display: block;

    margin: 0 auto 10px auto;

}
.tibia-today-image {

    width: 84px;

    height: 84px;

    object-fit: contain;

    display: block;

    margin: 0 auto 10px auto;

}
.upcoming-events {

    margin-top: 60px;

    text-align: center;

}

.upcoming-events h2 {

    color: #63adff;

    font-size: 32px;

}

.home-logo {

    width: 500px;

    max-width: 80%;

    display: block;

    margin: 0 auto 25px auto;

    filter: drop-shadow(0 0 20px rgba(99,173,255,0.35));

}

.footer {

    margin-top: 80px;

    text-align: center;

    color: rgba(255,255,255,0.5);

    font-size: 14px;

    padding-bottom: 20px;

}

/* =========================
   HUB DE FERRAMENTAS
========================= */

.home-layout {

    display: grid;

    grid-template-columns: 220px 1fr 220px;

    gap: 40px;

    align-items: start;

    padding: 0 25px;
}

html,
body {

    overflow-x: hidden;

}

.home-main {

    width: 100%;

    min-width: 0;
}

.shortcut-sidebar {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;

    margin-top: 30px;

}

.shortcut-card {

    position: relative;

    box-sizing: border-box;

    overflow: hidden;

    width: 160px;

    height: 160px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 10px;

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 14px;

    backdrop-filter: blur(10px);

    cursor: pointer;

    transition: all .2s ease;
}

.shortcut-card:hover {

    transform: translateY(-4px);

    border-color: rgba(77,166,255,.6);

    box-shadow:
        0 0 25px rgba(77,166,255,.25);

    filter: brightness(1.08);
}

.shortcut-icon {

    font-size: 48px;

    color: #63adff;
}

#addShortcutLeft .shortcut-icon,
#addShortcutRight .shortcut-icon {

    font-size: 60px;

}

.shortcut-name {

    font-size: 14px;

    font-weight: bold;

    text-align: center;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    line-height: 1.1;

    overflow: hidden;

}

@media (max-width: 1200px) {

    .home-layout {

        grid-template-columns: 1fr;
    }

    .shortcut-sidebar {

        flex-direction: row;

        flex-wrap: wrap;

        justify-content: center;
    }
}

.site-card {

    width: 190px;

    height: 190px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    gap: 0px;

    padding: 10px;

    border-radius: 18px;

    background: rgba(15, 20, 30, 0.22);

    backdrop-filter: blur(8px);

}

.site-card:hover {

    transform: translateY(-6px);

    background: rgba(15, 20, 30, 0.35);

    box-shadow: 0 0 25px rgba(61,172,247,.35);

}

.site-logo {

    width: 90px;

    height: 90px;

    object-fit: contain;

}

.site-card img[src*="tibia.png"] {

    width: 150px;

    height: 150px;

}

.site-card .shortcut-name {

    color: white;

    font-size: 17px;

    font-weight: 600;

    text-align: center;

    text-shadow: 0 0 8px rgba(0,0,0,.6);

}
.site-card img[src*="tibiawiki"] + .shortcut-name {

    margin-top: 25px;

}

#leftShortcuts,
#rightShortcuts {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;

    margin-top: 15px;

}

.shortcut-logo {

    width: 48px;

    height: 48px;

    object-fit: contain;

    flex-shrink: 0;

}#leftShortcuts .shortcut-card,
#rightShortcuts .shortcut-card {

    box-sizing: border-box;

    width: 140px;
    min-width: 140px;
    max-width: 140px;

    height: 140px;
    min-height: 140px;
    max-height: 140px;

    padding: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

}


#addShortcutLeft,
#addShortcutRight {

    border: 2px dashed rgba(255,255,255,.25);

    background: rgba(255,255,255,.02);

}

#addShortcutLeft:hover,
#addShortcutRight:hover {

    border-color: #63adff;

    background: rgba(99,173,255,.08);

}

#addShortcutLeft,
#addShortcutRight {

    width: 140px;
    height: 140px;

}

#addShortcutLeft .shortcut-name,
#addShortcutRight .shortcut-name {

    min-height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

}

.shortcut-modal {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.65);

    z-index: 9999;

    justify-content: center;

    align-items: center;

}

.shortcut-modal-content {

    width: 550px;

    max-width: 90vw;

    padding: 35px;

    border-radius: 20px;

    background: rgba(15,20,30,.96);

    border: 1px solid rgba(255,255,255,.10);

    backdrop-filter: blur(12px);

    display: flex;

    flex-direction: column;

    gap: 18px;

}
.shortcut-modal-content h2 {

    font-size: 28px;

    margin: 0 0 10px 0;

    text-align: center;

    color: white;

}

.shortcut-modal-content input {

    height: 48px;

    padding: 0 15px;

    font-size: 16px;

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,.08);

    background: rgba(255,255,255,.06);

    color: white;

}

.modal-buttons {

    display: flex;

    gap: 10px;

}

.modal-buttons button {

    height: 48px;

    font-size: 15px;

    font-weight: bold;

    border-radius: 10px;

}

.shortcut-menu {

    position: absolute;

    top: 8px;

    right: 8px;

    width: 32px;

    height: 32px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: white;

    cursor: pointer;

    font-size: 22px;

    font-weight: bold;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 999;

}

.shortcut-menu:hover {

    background: rgba(255,255,255,.18);

}

.custom-shortcut {

    width: 140px !important;

    height: 140px !important;

    min-width: 140px !important;

    max-width: 140px !important;

    min-height: 140px !important;

    max-height: 140px !important;

    box-sizing: border-box;

}

.shortcut-menu {

    opacity: 0;

}

.custom-shortcut:hover .shortcut-menu {

    opacity: 1;

}

.shortcut-context-menu {

    display: none;

    position: fixed;

    min-width: 180px;

    background: rgba(15,20,30,.98);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 12px;

    overflow: hidden;

    z-index: 99999;

    box-shadow:
        0 0 30px rgba(0,0,0,.35);

}

.shortcut-context-menu button {

    width: 100%;

    border: none;

    background: transparent;

    color: white;

    padding: 14px;

    text-align: left;

    cursor: pointer;

    font-size: 14px;

}

.shortcut-context-menu button:hover {

    background: rgba(99,173,255,.15);

}

.home-description{

    max-width:700px;

    margin:0 auto 25px auto;

    text-align:center;
}

#homeTitle{

    color:white;

    font-size:32px;

    font-weight:700;

    margin-bottom:15px;

    text-shadow:
        0 0 20px rgba(
            0,
            0,
            0,
            .5
        );
}

#homeSubtitle{

    color:#d7deee;

    font-size:16px;

    line-height:1.7;
}

.primary-btn{

    background:#2563eb;

    color:white;

    border:none;



    border-radius:10px;

    font-size:16px;

    padding:16px 32px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;
}

.primary-btn:hover{

    background:#3b82f6;

    transform:translateY(-2px);
}

.home-trust{

    font-size:15px;

    margin-top:30px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    flex-wrap:wrap;
}

.trust-item{

    background:rgba(
        255,
        255,
        255,
        .08
    );

    border:1px solid rgba(
        255,
        255,
        255,
        .15
    );

    border-radius:25px;

    padding:10px 18px;

    color:white;

    font-size:14px;

    font-weight:600;

    backdrop-filter:blur(8px);
}
.footer{

    margin-top:120px;

    padding:30px 20px;

    text-align:center;

    color:#b8c1d9;
}

.footer-brand{

    color:white;

    font-size:14px;

    font-weight:700;

    margin-bottom:10px;
}

.footer-links{

    display:flex;

    gap:10px;

    justify-content:center;

    margin-bottom:12px;

    font-size:12px;
}

.footer-links a{

    color:#cbd5e1;

    text-decoration:none;
}

.footer-links a:hover{

    color:white;
}

.footer-legal{

    font-size:15px;

    opacity:.7;

    margin-top:4px;
}