/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #f4f4f4;
    background: url('../images/background.webp') no-repeat top center fixed;
    background-size: cover;
    text-align: center;
    align-items: center;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background:linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/background.webp') no-repeat top center fixed;
    background-size: cover;
    height: 100%;
    width: 100%;
    max-height: 150px;
    padding: 2px 5px;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .menu a:hover,
header .auth a:hover {
    color: #ffcc00; /* Highlight on hover */
}

header .logo img {
    height: 100%;
    width: 100%;
    min-height: 30px;
    max-height: 150px;
}

header .logo2 {
    align-items: center;
    height: 100%;
    width: 100%;
    min-height: 30px;
    max-height: 150px;
}

/* Main Content Styles */
main {
    top: 0;
    border-radius: 15px;
    margin-top: 50px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    width: 100%;
    max-width: 700px;
    padding: 2px 5px;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent header */
    z-index: 1;
}

main h1 {
    font-size: 3em;
    color: #ffcc00; /* Gold text */
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 2px 3px;
    margin: 2px;
    font-size: 1.7em;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button {
    display: inline-block;
    padding: 2px 3px;
    margin: 2px;
    font-size: 1.7em;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.buy-item-btn {
    font-size: 1.2rem;
    background-color: #444; /* Darker background */
    color: #fff; /* White text */
    border: 2px solid #666;
    border-radius: 25px;
    font-weight: bold;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}
.buy-item-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    background-color: #666;
}

.action-btn {
}
.action-btn img {
    height: 100%;
    width: 100%;
    max-height: 150px;
}
.action-btn:hover {
   /* background-color: black; /* Darker red */
    /*transform: translateY(-5px);*/
    transform: scale(1.1);
}
.action-btn-right {
    margin-right: 10px;
}
.action-btn-right img {
    height: 100%;
    width: 100%;
    max-height: 150px;
}
.action-btn-right:hover {
    /* background-color: black; /* Darker red */
    transform: scale(1.1);
}

#news-data {
    text-align: left;
    margin: 5px 0;
    font-size: 1.3em;
    color: #f4f4f4;
}

#news-data h2{
    text-align: center;
    margin: 5px 0;
    font-size: 1.5em;
    color: darkorange;
}

#news-data h3{
    text-align: center;
    margin: 5px 0;
    font-size: 1.3em;
    color: mediumpurple;
}

#rules-data {
    text-align: left;
    margin: 5px 0;
    font-size: 1.3em;
    color: #f4f4f4;
}

#rules-data h2{
    text-align: center;
    margin: 5px 0;
    font-size: 1.5em;
    color: darkorange;
}
#rules-data h3{
    text-align: center;
    margin: 5px 0;
    font-size: 1.4em;
    color: mediumpurple;
}
#rules-data h4{
    text-align: left;
    margin: 5px 0;
    font-size: 1.3em;
    color: coral;
}

#rules-data h5{
    text-align: center;
    margin: 5px 0;
    font-size: 1.5em;
    color: coral;
}

.panel-btn {
    font-size: 1.2rem;         /* Larger text */
    padding: 10px 20px;        /* Bigger button size */
    border-radius: 10px;       /* Rounded corners */
    border: none;              /* No default border */
    background-color: #4CAF50; /* Green background */
    color: white;              /* White text */
    margin: 5px;               /* Spacing between buttons */
    cursor: pointer;           /* Pointer cursor on hover */
    transition: background 0.3s;
}

.panel-btn:hover {
    background-color: #45a049; /* Slightly darker on hover */
}


#user-panel {
    text-align: center;
    margin: 5px 0;
    font-size: 1.3em;
    color: #f4f4f4;
}

#user-panel h2{
    text-align: center;
    margin: 5px 0;
    font-size: 1.2em;
    color: darkorange;
}
#user-panel h3{
    text-align: center;
    margin: 5px 0;
    font-size: 0.9em;
    color: white;
}
#user-panel h4{
    text-align: center;
    margin: 5px 0;
    font-size: 1.3em;
    color: coral;
}

#user-panel h1{
    text-align: center;
    margin: 5px 0;
    font-size: 1.5em;
    color: coral;
}

#reg-data {
    text-align: center;
    margin: 5px 0;
    font-size: 1.3em;
    color: #f4f4f4;
}

#reg-data h2{
    text-align: center;
    margin: 5px 0;
    font-size: 1.2em;
    color: coral;
}
#reg-data h3{
    text-align: center;
    margin: 5px 0;
    font-size: 1.2em;
    color: mediumpurple;
}
#reg-data h4{
    text-align: left;
    margin: 5px 0;
    font-size: 1.2em;
    color: coral;
}

#reg-data .btn {
    display: inline-block;
    padding: 2px 3px;
    margin: 2px;
    font-size: 1.7em;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.container1 {
    position: fixed;
    top: 0;
    width: 100vw;
    background-color: #FFFFFF;
    z-index: 1;
}

.container2 {
    position: relative;
    margin-top: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    main h1 {
        font-size: 2em;
    }
    .btn {
        font-size: 1.5em;
    }
}
