* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Baloo 2', sans-serif;
}

body {
    background: #E8F5E9;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Baloo 2', sans-serif;
}

.wrapper {
    display: flex;
}

.sidebar {
    width: 280px;
    min-height: 96vh;
    margin: 2vh 0 2vh 20px;
    background: linear-gradient(180deg, #5C3A21 0%, #2F1A0B 100%);
    color: white;
    padding: 25px 15px;
    border-radius: 20px;
    box-shadow: 0px 8px 0px #1C1007, 0px 12px 20px rgba(0, 0, 0, 0.4);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.menu {
    list-style: none;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    transition: 0.3s;
    font-size: 20px;
}

.menu a:hover,
.menu .active a {
    background: linear-gradient(180deg, #FFB300 0%, #FF8F00 100%);
    border: 2px solid #814600;
    color: #FFFFFF;
    text-shadow: 1px 1px 0px #502B00;
    box-shadow: 0px 4px 0px #502B00;
}

.content {
    flex: 1;
    padding: 30px;
}

.topbar {
    background: white;
    border: 4px solid #C8E6C9;
    border-radius: 20px;
    padding: 16px 24px;
    margin-bottom: 20px;
    box-shadow: 0px 6px 0px #C8E6C9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar h2 {
    font-weight: 700;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

@media(max-width: 992px) {
    .sidebar {
        display: none;
    }
    .content {
        padding: 15px;
    }
}

.btn-connect-wallet {
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    border-radius: 16px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f6851b, #e2761b);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(246, 133, 27, 0.25);
}

.btn-connect-wallet img {
    width: 28px;
    height: 28px;
}

.btn-connect-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(246, 133, 27, 0.35);
}

.btn-connect-wallet:active {
    transform: translateY(0);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.game-logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(180deg, #654321 0%, #432818 100%);
    padding: 8px 32px;
    border: 4px solid #F5A623;
    border-radius: 50px;
    box-shadow: 0px 6px 0px #B57007, 0px 10px 15px rgba(0, 0, 0, 0.3);
}

.brand-text-block {
    display: flex;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.text-home {
    color: #FFFFFF;
    text-shadow:
        0px 2px 0px #8B4513,
        0px 4px 0px #8B4513,
        0px 6px 0px #5C3A21,
        0px 6px 6px rgba(0, 0, 0, 0.4);
}

.text-game {
    color: #FFD54F;
    margin-left: 2px;
    text-shadow:
        0px 2px 0px #D84315,
        0px 4px 0px #D84315,
        0px 6px 0px #5C3A21,
        0px 6px 6px rgba(0, 0, 0, 0.4);
}

.no-underline {
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: #5C3A21;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 24px;
}

.sidebar-close {
    display: none;
    position: absolute;
    right: 15px;
    top: 15px;
    background: #FF9800;
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.wallet-connected {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(135deg, #f6851b, #e2761b);
    padding: 10px 16px;
    border-radius: 20px;
}

@media(max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .sidebar {
        display: block;
        position: fixed;
        left: -320px;
        top: 0;
        height: 100vh;
        margin: 0;
        z-index: 999;
        transition: 0.3s ease;
        border-radius: 0 20px 20px 0;
    }
    .sidebar.active {
        left: 0;
    }
    .sidebar-close {
        display: block;
    }
    .sidebar-overlay.active {
        display: block;
    }
    .content {
        width: 100%;
        padding: 15px;
    }
    .text-header {
        display: none;
    }
    #connectWallet {
        font-size: 12px;
    }
}