* { box-sizing: border-box; }
body { margin:0; padding:0; font-family:'Open Sans',sans-serif; background:radial-gradient(circle,#1c0000 0%,#0f0f0f 100%); color:#eee; height:100vh; overflow:hidden; }
.night { position:absolute; inset:0; z-index:0; pointer-events:none; transform:rotateZ(45deg); }
.shooting-star { position:absolute; height:2px; background:linear-gradient(-45deg,rgba(255,0,0,1),rgba(255,0,0,0)); border-radius:999px; filter:drop-shadow(0 0 6px rgba(255,0,0,0.8)); animation:tail 3s ease-in-out infinite, shoot 3s ease-in-out infinite; }
@keyframes tail {0%{width:0;}30%{width:100px;}100%{width:0;}}
@keyframes shoot{0%{transform:translateX(0);}100%{transform:translateX(300px);}}
#buttons01{display:flex;gap:15px;padding:20px;position:relative;z-index:2;}
#buttons01 .tab{list-style:none;}
#buttons01 .tab a{display:block;padding:10px 16px;background:rgba(255,0,0,0.4);color:#fff;border-radius:4px;text-decoration:none;font-weight:600;transition:background .2s;}
#buttons01 .tab.active a,#buttons01 .tab a:hover{background:#e60000;}
.container{display:flex;height:calc(100% - 72px);margin:0 20px 20px;position:relative;z-index:2;}
.sidebar{width:250px;background:rgba(20,0,0,0.5);backdrop-filter:blur(1px);padding:20px;border-radius:10px;overflow-y:auto;}
.main{flex:1;margin-left:10px;background:rgba(20,0,0,0.5);backdrop-filter:blur(1px);padding:20px;border-radius:10px;overflow-y:auto;}
.section{margin-bottom:20px;background:rgba(30,0,0,0.5);padding:15px;border-radius:10px;}
.friends-list{max-height:250px;overflow-y:auto;background:rgba(40,0,0,0.5);padding:10px;border-radius:8px;scrollbar-width:thin;scrollbar-color:#ff0000 rgba(20,0,0,0.3);}
.friends-list::-webkit-scrollbar{width:6px;}
.friends-list::-webkit-scrollbar-track{background:rgba(20,0,0,0.3);border-radius:3px;}
.friends-list::-webkit-scrollbar-thumb{background:linear-gradient(#ff0000,#800000);border-radius:3px;}
.friends-list::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ff4d4d,#990000);}
.status-dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:5px;}
.status-online{background:green;}.status-away{background:yellow;}.status-offline{background:gray;}
[data-tab-content]{display:none;}[data-tab-content].active{display:block;}
.button-wrapper{position:relative;display:inline-block;margin:8px;}
.tooltip{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:rgba(0,0,0,0.8);color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;z-index:3;}
.button-wrapper:hover .tooltip{opacity:1;}
.animated-button1{position:relative;padding:16px 32px;background:linear-gradient(-30deg,#3d0b0b 50%,#2b0808 50%);color:#f7d4d4;text-transform:uppercase;letter-spacing:1px;font-size:14px;text-decoration:none;overflow:hidden;border-radius:4px;box-shadow:0 10px 30px rgba(0,0,0,0.4);transition:color .2s;}
.animated-button1::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:#ad8585;opacity:0;transition:opacity .2s;}
.animated-button1:hover::before{opacity:.2;}
.animated-button1 span{position:absolute;background:#d92626;}
.animated-button1 span:nth-child(1){top:0;left:0;width:100%;height:2px;animation:animateTop 2s linear infinite;}
.animated-button1 span:nth-child(2){top:0;right:0;width:2px;height:100%;animation:animateRight 2s linear -1s infinite;}
.animated-button1 span:nth-child(3){bottom:0;left:0;width:100%;height:2px;animation:animateBottom 2s linear infinite;}
.animated-button1 span:nth-child(4){top:0;left:0;width:2px;height:100%;animation:animateLeft 2s linear -1s infinite;}
@keyframes animateTop{0%{transform:translateX(100%);}100%{transform:translateX(-100%);} }
@keyframes animateRight{0%{transform:translateY(100%);}100%{transform:translateY(-100%);} }
@keyframes animateBottom{0%{transform:translateX(-100%);}100%{transform:translateX(100%);} }
@keyframes animateLeft{0%{transform:translateY(-100%);}100%{transform:translateY(100%);} }
.animated-button1 {
display: inline-block;
}
img.logo {
width: 150px;
}
#buttons01 {
justify-content: center;
}
.container {
margin: 0;
}
.sidebar {
width: 250px;
background: rgba(20,0,0,0.5);
backdrop-filter: blur(1px);
padding: 20px;
border-radius: 10px;
overflow-y: unset;
min-height: 100vh;
}
a{
text-decoration: none;
}
.navfooter ul {
padding: 0;
display: flex;
justify-content: center;
}
.navfooter ul img {
width: 25px;
margin: 5px 5px;
}
.navfooter ul li {
display: inline;
}.sidebar {
justify-content: space-between;
display: flex;
flex-direction: column;
}
img.logo {
margin-bottom: 27px;
}
.friends-list {
    max-height: 400px;
    overflow-y: auto;
    background: none;
    padding: 0px;
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: #ff0000 rgba(20,0,0,0.3);
    height: 400px;
}
.sidebar__list {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-flow: column;
gap: 0.125rem;
}
.sidebar__item {
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(40,0,0,0.5);
padding: 7px 10px;
border: 1px solid #3d0303;
position: relative;
}
.sidebar__link {
display: flex;
text-decoration: none;
block-size: 100%;
align-items: center;
gap: 0.5rem;
outline: 2px solid transparent;
border-radius: inherit;
flex: 1;
}

.icon {
aspect-ratio: 1;
block-size: 100%;
display: inline-grid;
position: relative;
}

.text {
font-weight: 500;
transition: color 266ms ease-out;
}
span.icon img {
    width: 25px;
    height: 25px;
    border-radius: 100px;
}
.sidebar__list {
gap: 15px;
margin: 5px;
}
.text {
color:white;
}

/* Friends list improvements - status dots on the right */
.sidebar__link {
    position: relative;
    padding-right: 20px; /* Make room for status dot */
}

.friend-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.friend-name {
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.friend-status {
    font-size: 11px;
    color: #ccc;
    margin-top: 2px;
}

.status-dot {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
}

.status-dot.status-online {
    background: #00ff00;
    box-shadow: 0 0 6px rgba(0, 255, 0, 0.6);
}

.status-dot.status-away {
    background: #ffff00;
    box-shadow: 0 0 6px rgba(255, 255, 0, 0.6);
}

.status-dot.status-offline {
    background: #808080;
    box-shadow: 0 0 6px rgba(128, 128, 128, 0.3);
}

/* Party member avatars */
.party-member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.3);
}

.party-member-item {
    transition: background-color 0.2s ease;
}

.party-member-item:hover {
    background: rgba(255, 0, 0, 0.1) !important;
}

.party-member-name {
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.party-member-status {
    font-size: 11px;
    color: #ccc;
}

/* Gamertag container with logout button */
.gamertag-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gamertag-text {
    flex: 1;
    font-size: 14px;
    color: white;
}

.logout-btn {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 4px;
    padding: 4px 6px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
}

.logout-btn:hover {
    background: rgba(255, 0, 0, 0.4);
    color: white;
    transform: scale(1.05);
}

.logout-btn svg {
    width: 14px;
    height: 14px;
}

/* No friends found styling */
.no-friends-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    width: 100%;
}

.no-friends-icon {
    margin-bottom: 15px;
    opacity: 0.6;
}

.no-friends-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.no-friends-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.no-friends-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.poup {
display: none;
}
img.threedot {
width: 12px;
}
.threedotimg {
position: relative;
}
.text {
color: white;
font-size: 13px;
margin-top: -3px;
}ul#friend {
margin: 0;
}
.poup {
position: absolute;
width: 143px;
height: 100px;
border-radius: 10px;
background: rgb(84 0 0);
z-index: 99999;
top: 20px;
left: -129px;
padding: 13px;
}
.poup img{
width:10px
}
a.pouplink {
color: white;
font-size: 13px;
display: flex;
align-items: center;
gap: 6px;
}.poup img {
width: 16px;
}.onlinestatus{
margin: 30px 0;
}
.main {
min-height: 100vh;
}
#buttons01 .tab a {
    display: inline-flex;
    background: rgba(255,0,0,0.4); /* Increased from 0.2 to 0.4 for less transparency */
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s;
    min-width: 210px;
    display: inline-flex;
    height: 58px;
    font-size: 20px;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.button-wrapper a.animated-button1 {
min-width: 200px;
display: inline-flex;
justify-content: center;
align-items: center;
text-align: center;
height: 60px;
font-size: 15px;
}
section#party-section {
text-align: center;
}
img.logo {
margin: 0 auto;
display: block;
width: 160px;
margin-bottom: 25px;
}

/* Updated party section layout - move buttons closer to list */
.topbuttongroup {
    max-width: 1022px;
    height: 300px;
    overflow-y: scroll;
    overflow-X: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ff0000 rgba(20,0,0,0.3);
    margin: 0 auto 20px; /* Reduced bottom margin from 90px to 20px */
}

.bgimg{
position: absolute;
width: 400px;
bottom:0;
right: 0;
z-index: -9999;
}
.columns {
padding: 8px 12px;
background: #ff000017;
margin-bottom: 8px;
font-size: 20px;
border-radius: 10px;
border: 1px solid #5f000075;
}
.rowcollast{
margin-bottom: 50px;
}

.columns {
    padding: 8px 12px;
    background: #ff00000d;
}p.ShadowGarden {
    text-align: center;
    font-size: 15px;
}
.columns .contents {
    display: flex;
    align-items: center;
    gap: 15px;
}
.lefticon img {
    width: 28px;
}
.columns {
    padding: 8px 12px;
    background: #ff00000d;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.columns .poup {
    height: 150px;
}
.partytitle{
    color:#fff;
    font-size: 20px;
    text-align: left;
}
.columns .lefticon img {
    margin-top: 5px;
}
.button-wrapper a.animated-button1 {
    min-width: 200px;
    height: 60px;
    font-size: 15px;
}
 .rcont {
    display: grid;
    text-align: start;
}
#buttons01 .tab a {
    background: rgba(255,0,0,0.4); /* Increased from 0.13 to 0.4 for less transparency */
}
#buttons01 .tab.active a, #buttons01 .tab a:hover {
    background: rgba(230,0,0,0.8); /* Increased from 0.73 to 0.8 for less transparency */
}
li.sidebar__item span {
    font-size: 14px;
}
a.button.n01.sidebar__link small {
    font-size: 11px;
    display: block;
}
img.riskyimg {
    margin: 0 auto;
    display: block;
    width: 80px;
}
.disclaimer {
    text-align: center;
    max-width: 1012px;
    margin: 20px auto 50px;
    font-size: 20px;
}
.allbutton {
    text-align: center;
}
.afterrisk {
    max-width: 296px;
    text-align: center;
    padding: 20px;
    background: #ff00000f;
    border-radius: 10px;
    font-size: 18px;
    border: 1px solid #410000;
    margin-top: 40px;
}
.glow-button {
    --button-background: #3c0000;
    --button-color: #fff;
    --button-shadow: rgba(60, 0, 0, 0.5);
    --button-shine-left: rgba(255, 0, 0, 0.5);
    --button-shine-right: rgba(128, 0, 0, 0.5);
    --button-glow-start: #ff0000;
    --button-glow-end: #800000;

    appearance: none;
    outline: none;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    border-radius: 11px;
    position: relative;
    line-height: 24px;
    cursor: pointer;
    color: var(--button-color);
    background: none;
    padding: 0;
    margin: 0;
    z-index: 1;
    box-shadow: 0 8px 20px var(--button-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .glow-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 24px rgba(60, 0, 0, 0.7);
    --button-glow-opacity: 1;
    --button-glow-duration: 0.25s;
  }
  .glow-button .gradient {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: scaleY(1.02) scaleX(1.005) rotate(-0.35deg);
  }
  .glow-button .gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: scale(1.05) translateY(-44px) rotate(0deg) translateZ(0);
    padding-bottom: 100%;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--button-shine-left), var(--button-shine-right));
    animation: rotate linear 2s infinite;
  }
  .glow-button span {
    z-index: 1;
    position: relative;
    display: block;
    padding: 10px 28px;
    box-sizing: border-box;
    width: fit-content;
    min-width: 124px;
    border-radius: inherit;
    background-color: var(--button-background);
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
  }
  .glow-button span::before {
    content: '';
    position: absolute;
    left: -16px;
    top: -16px;
    transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px)) translateZ(0);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--button-glow, transparent);
    opacity: var(--button-glow-opacity, 0);
    transition: opacity var(--button-glow-duration, 0.5s);
    filter: blur(20px);
  }
  @keyframes rotate {
    to {
      transform: scale(1.05) translateY(-44px) rotate(360deg) translateZ(0);
    }
  }
  .glow-button span {
    z-index: 1;
    position: relative;
    display: inline-flex;
    padding: 10px 28px;
    box-sizing: border-box;
    width: 210px;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    background-color: var(--button-background);
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.afterrisk .button.animated-button1 {
    height: 60px;
    width: 250px;
}
.afterrisk input {
    width: 250px;
    padding: 13px;
    border-radius: 5px;
    border: 1px solid #520d0d;
    background: #00000024;
    font-size: 15px;
    color: #fff;
}
.afterrisk .button-wrapper{
    margin: 0;
    margin-top: 10px;
}
.threecolgrd {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 30px;
}
body {
    background: linear-gradient(180deg, rgb(44 0 0) 0%, rgba(15, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 1) 100%);
}
.section {
    background: transparent;
}.main {
    background: transparent;
}
section#faq-section {
    text-align: center;
}
.threecolgrd {
    padding-bottom: 50px;
}
.scrollablebox {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #5f0000;
    font-size: 15px;
}
section#faq-section {
    text-align: center;
    max-height: 80vh;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #ff0000 rgba(20, 0, 0, 0.3);
    padding-right: 50px;
    padding-left: 50px;
}
li.tab.active a.glow-button span {
    background: #3b000073;
}

/* Enhanced Right-click context menu styles with smooth animations */
.friend-context-menu, .party-context-menu {
    position: fixed;
    background: rgba(20, 0, 0, 0.95);
    border: 1px solid #ff0000;
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    z-index: 10000;
    display: none;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    
    /* Smooth fade-in/fade-out animations */
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

/* Show state with smooth animation */
.friend-context-menu.show, .party-context-menu.show {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Hide state with smooth animation */
.friend-context-menu.hide, .party-context-menu.hide {
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    pointer-events: none;
}

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Simple fade hover effect instead of sliding bar */
.context-menu-item:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #fff !important;
    transform: translateX(3px);
}

.context-menu-item:active {
    color: #fff !important;
    transform: translateX(2px) scale(0.98);
}

.context-menu-item.test-item {
    color: #ffcc00 !important;
}

.context-menu-item.test-item:hover {
    background: rgba(255, 204, 0, 0.2);
    color: #ffcc00 !important;
}

.context-menu-item.test-item:active {
    color: #ffcc00 !important;
}

.context-menu-item.danger-item {
    color: #ff6666 !important;
}

.context-menu-item.danger-item:hover {
    background: rgba(255, 102, 102, 0.2);
    color: #ff6666 !important;
}

.context-menu-item.danger-item:active {
    color: #ff6666 !important;
}

/* Fixed party context menu styling - white text that doesn't change */
.context-menu-item.party-action {
    color: #fff !important;
}

.context-menu-item.party-action:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.context-menu-item.party-action:active {
    color: #fff !important;
}

.context-menu-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.context-menu-item:hover .context-menu-icon {
    transform: scale(1.1);
}

.context-menu-separator {
    height: 1px;
    background: rgba(255, 0, 0, 0.3);
    margin: 5px 0;
}

/* Friend item hover effect */
.friend-row {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.friend-row:hover {
    background: rgba(255, 0, 0, 0.1);
}

/* Party member hover effect */
.columns {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.columns:hover {
    background: rgba(255, 0, 0, 0.15) !important;
}

/* Party host crown icon */
.party-host-crown {
    color: #ffd700;
    margin-left: 8px;
    font-size: 16px;
}

.party-host-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
}

.party-host-text {
    color: #ffd700;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Compact no party message */
.no-party-message {
    padding: 12px 15px;
    background: rgba(255,0,0,0.1);
    border-radius: 8px;
    border: 1px solid #5f0000;
    margin-bottom: 8px;
    text-align: center;
}

.no-party-message .message-title {
    color: #ff6666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.no-party-message .message-subtitle {
    color: #999;
    font-size: 12px;
}

/* Optimized fade-in animations for friends list - only first 15 items */
.fade-in-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

/* Only apply staggered delays to first 15 items */
.fade-in-item:nth-child(-n+15) {
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

/* Items after 15th appear immediately */
.fade-in-item:nth-child(n+16) {
    animation-delay: 0s;
    animation-duration: 0.3s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Instant tab content switching - no fade animations */
[data-tab-content] {
    display: none !important;
}

[data-tab-content].active {
    display: block !important;
}

/* Enhanced hover effects for interactive elements */
.sidebar__item {
    transition: all 0.3s ease;
}

.sidebar__item:hover {
    transform: translateX(5px);
    background: rgba(255, 0, 0, 0.1) !important;
}

.columns {
    transition: all 0.3s ease;
}

.columns:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

/* Smooth loading spinner animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width:1200px){
    .glow-button span {
        width: 200px;
    }
    #buttons01 .tab a {
        min-width: 200px;
    }
    iframe {
        height: 250px;
    }
    .friends-list {
        max-height: 400px;
    }
}
@media (max-width:1024px){
    .glow-button span {
        width: 150px;
        font-size: 16px;
        height: 50px;
    }
    #buttons01 .tab a {
        width: 150px;
        font-size: 16px;
        height: 50px;
    }
    iframe {
        height: 300px;
    }
    .friends-list {
        max-height: 300px;
    }
    #buttons01 .tab a {
        min-width: 150px;
    }
    .button-wrapper a.animated-button1 {
        min-width: 180px;
        height: 55px;
        font-size: 15px;
    }
    .threecolgrd {
        grid-template-columns: auto;
    }
}
.mobilelogo{
    display: none;
}
a#menuopenbtn, a#menuclosebtn {
    display: none;
}
@media (max-width:767px){
    .menu3col {
        display: grid;
        justify-content: space-between;
        align-items: center;
        grid-template-columns: 30px auto 30px;
    }
    a#menuopenbtn, a#menuclosebtn {
        display: block;
    }
    .afterrisk input {
        width: 260px;
        padding: 14px;
        font-size: 16px;
        color: #fff;
    }
    .afterrisk {
        max-width: 300px;
        margin: 50px auto 0;
    }
    .sidebar {
        position: fixed;
        left: -280px;
        z-index: 9999999;
        transition: 0.5s ease all;
        background: #000;
        width: 280px; /* Increased width for mobile */
        height: 100vh;
        overflow-y: auto;
        padding: 15px;
    }
    
    /* Mobile friends list improvements */
    .friends-list {
        max-height: 60vh; /* Much taller on mobile - 60% of viewport height */
        height: auto;
        min-height: 300px; /* Minimum height to ensure it's always tall enough */
        overflow-y: auto;
        background: rgba(40,0,0,0.3);
        padding: 10px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .sidebar__list {
        gap: 10px;
        margin: 0;
    }
    
    .sidebar__item {
        padding: 12px 8px; /* Slightly larger touch targets */
        margin-bottom: 5px;
    }
    
    .text {
        font-size: 14px; /* Slightly larger text for mobile */
    }
    
    .onlinestatus {
        margin: 20px 0;
        text-align: center;
    }
    
    .wrapper {
        padding: 10px;
    }
    
    img.logo {
        width: 120px;
        margin-bottom: 15px;
    }
    
    .navfooter {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,0,0,0.2);
    }
    
    .navfooter ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navfooter ul img {
        width: 20px;
        margin: 2px;
    }
    
    .glow-button span {
        width: 100px;
        height: 48px;
        padding: 0;
        font-size: 15px;
        min-width: 100px;
    }
    
    #buttons01 .tab a {
        width: 100px;
        height: 48px;
    }
    #buttons01 .tab a {
        min-width: 100px;
    }
    iframe{
        height: 220px;
    }
    .button-wrapper a.animated-button1 {
        min-width: 150px;
        width: 100%;
        height: 50px;
        font-size: 13px;
        letter-spacing: 0;
    }
    .afterrisk .button.animated-button1 {
        height: 58px;
        width: 260px;
    }
    .scrollablebox {
        font-size: 15px;
    }
    .mobilelogo{
        display: block;
        margin: 0 auto;
        width: 200px;
    }
    .topbuttongroup {
        margin-top: 0;
        margin-bottom: 20px; /* Reduced from 40px to 20px */
        height: 250px; /* Reduced height on mobile */
    }
    .allbutton {
        display: grid;
        grid-template-columns: auto auto;
        gap: 20px;
    }
    .button-wrapper {
        width: 100%;
    }
    .button-wrapper {
        margin: 0;
    }
    .sidebar.active {
        left: 0;
    }
    a#menuopenbtn img, a#menuclosebtn img {
        width: 30px;
    }
    a#menuclosebtn {
        height: 0;
        text-align: right;
    }
    
    /* Mobile container adjustments */
    .container {
        height: 100vh;
        margin: 0;
    }
    
    .main {
        margin-left: 0;
        padding: 10px;
        border-radius: 0;
    }
    
    /* Mobile party section adjustments */
    .columns {
        padding: 10px;
        margin-bottom: 5px;
        font-size: 12px;
    }
    
    .columns .contents {
        gap: 10px;
    }
    
    .lefticon img, .party-member-avatar {
        width: 24px;
        height: 24px;
    }
    
    /* Mobile context menu adjustments */
    .friend-context-menu, .party-context-menu {
        min-width: 160px;
        font-size: 12px;
    }
    
    .context-menu-item {
        padding: 12px 10px; /* Larger touch targets */
    }
    
    /* Mobile gamertag container */
    .gamertag-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .gamertag-text {
        text-align: center;
        font-size: 12px;
    }
    
    .logout-btn {
        width: 100%;
        justify-content: center;
        padding: 8px;
        font-size: 12px;
    }
    
    /* Mobile status dots */
    .status-dot {
        width: 6px;
        height: 6px;
        right: 6px;
    }
    
    /* Mobile friend info */
    .friend-name {
        font-size: 12px;
    }
    
    .friend-status {
        font-size: 10px;
    }
    
    /* Mobile party member styling */
    .party-member-name {
        font-size: 12px;
    }
    
    .party-member-status {
        font-size: 10px;
    }
    
    /* Mobile no friends styling */
    .no-friends-container {
        padding: 20px 15px;
    }
    
    .no-friends-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .no-friends-title {
        font-size: 12px;
    }
    
    .no-friends-subtitle {
        font-size: 11px;
    }
    
    /* Mobile fade-in animations - faster for better mobile experience */
    .fade-in-item {
        animation-duration: 0.4s;
    }
    
    /* Reduce animation delays on mobile */
    .fade-in-item:nth-child(n) {
        animation-delay: 0.05s;
    }
}


#abas{
    margin:0;
    padding:0;
  }
  #abas li{

  }
  #abas li a{
    padding: 10px 20px;
    display: block;
    text-decoration:none;
  }

  .conteudo{
    display:block;
    display:none;
  }
  .conteudo.visivel{
    display:block;
  }
  h2.heading {
    font-size: 50px;
    color: #fff;
}
h3.subheading {
    color: #fac0c0;
    font-size: 23px;
    margin: 20px 0 40px;
    font-weight: 400;
}
h2.subheading {
    color: #fff;
    font-size: 30px;
    margin-bottom: 25px;
}
ul#abas {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
}
ul#abas li a {
    border: 1px solid #ee4444;
    border-radius: 8px;
    background: transparent;
    color: #fff;
}

ul#abas li.selecionada a{
background-color: #ee4444;

}
.displayflexa {
    display: grid;
    gap: 10px;
    overflow: hidden;
    grid-template-columns: auto;
    color: #f5caca;
    text-align: left;
    font-size: 14px;
}

.displayflexa label {
    margin-top: 15px;
}
section#home-section button.button.authorizebtn.animated-button1 img {
    width: 20px;
    margin-right: 6px;
}

section#home-section button.button.authorizebtn.animated-button1,section#home-section a.button.n03.authorizebtn.animated-button1{
    display: flex!important;
    height: 29px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}p.tarmandcondi a{
    color: #ee4444;
}
p.tarmandcondi {
    color: #f5caca;
    margin-top: 15px;
    line-height: 1.7;
    font-size: 13px;
}
.topbutton{
    display: flex;
    justify-content: center;
}
div#container001 {
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}
h2.heading {
    margin: 0;
}
ul#abas, li {
    padding: 0;
    list-style: none;
}
ul#buttons02 {
    padding: 0;
}
form input {
    background: none;
    border: 1px solid #490000;
    padding: 13px;
    border-radius: 6px;
    color: #fff;
}
form input::placeholder {
    color: #999;
}
.authorizebtn.animated-button1 ,.authorizebtn.animated-button1{
    width: 100%;
    border: none;
    height: 55px;
    margin-top: 26px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.authorizebtn.animated-button1 img{
    width: 20px;
}
.wrapper2 {
    padding: 20px 50px;
    border: 1px solid #470000;
    background: #30000066;
    border-radius: 10px;
    margin-bottom: 50px;
}
img.threedot {
    width: 12px;
    cursor: pointer;
}
.autologo{
    width: 200px;
    display: block;
    margin: 0 auto;
}
.mw150{
    max-width: 180px;
}
ul#abas li a {
    border: 1px solid #830c0c;
}
ul#abas li.selecionada a {
    background-color: #ff000042;
}
.animated-button1 {
    background: linear-gradient(-30deg, #3d0b0b75 50%, #65020275 50%)!important;
}
.glow-button .gradient::before {
    top: -32px;
    border-radius: 100%;
    background: linear-gradient(90deg, var(--button-shine-left), var(--button-shine-right));
}
@media (max-width:767px){
    .glow-button .gradient::before {
        top: 20px;
        background: linear-gradient(90deg, var(--button-shine-left), var(--button-shine-right));
    }
    .mt0mb0{
        margin-bottom: 0;
        margin-top: 0;
    }
    
    /* Mobile adjustments for index page */
    div#container001 {
        max-width: 350px;
        padding: 30px 15px;
    }
    
    .wrapper2 {
        padding: 15px 30px;
    }
    
    .autologo {
        width: 160px;
    }
}