/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 2px;
}

body, html {
    font-family: 'Oswald', sans-serif;
    scroll-behavior: smooth;
    background-image: url('background.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: rgb(250, 250, 250);
}
.product-icon-container {
    width: 64px;
    height: 64px;
    overflow: hidden;
    margin: 0 auto 10px;
    border-radius: 8px;
}

.product-icon {
    max-width: 100%;
    max-height: 150px;  /* Maximum height to prevent large images */
    width: auto;
    height: auto;
    object-fit: none;   /* Default value, image is not resized */
    display: block;
    margin: 0 auto 10px;
}

.background-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 369px;
    height: 369px;
    background-image: url('frg_small_ic.png'); /* Replace with your logo path */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    pointer-events: none;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Navigation Bar */
/* Include your existing navbar styles */

/* Section Styles */
.section-nobg {
    padding: 100px 50px;
    opacity: 1;
    transform: translateY(50px);
    color: rgb(236, 236, 236);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-nobg.reveal {
    opacity: 1;
    background-color: rgba(51, 51, 51, 0.25);
    color: rgb(200, 200, 200);
    transform: translateY(0);
}

/* Section Headers */
.section-header h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.section-header a {
    color: rgb(95, 196, 255);
}

.section-header {
    text-align: center;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Product List */
.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
}

/* Product Panel Styles */
.product-panel {
    background-color: rgba(51, 51, 51, 0.2);
    backdrop-filter: blur(25px);
    color: rgb(230, 230, 230);
    margin: 15px;
    padding: 20px;
    width: 30%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    opacity: 0; /* Start hidden */
    transform: translateY(50px); /* Start slightly shifted down */
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.1);
}

.product-panel.reveal {
    opacity: 1;
    transform: translateY(0);
}

.product-panel:hover {
    transform: translateY(0) scale(1.05);
    transition: transform 0.3s ease;
    border: 1px dotted rgba(20,180,80,1)
}

.product-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.product-content h2 {
    min-height: 60px; /* Adjust as needed */
    margin-bottom: 10px;
    word-wrap: break-word;
    font-weight: 900;
}

.product-info {
    margin-top: auto;
}

.product-info p {
    margin-bottom: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info p i {
    margin-right: 8px;
    color: rgb(241, 241, 241);
}

/* Button Styles */
.btn-default {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: rgb(61, 185, 88);
    color: #fff;
    border-radius: 5px;
    font-weight: 900;
    width:100%;
    text-decoration: none;
    transition: all 0.1s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-default:hover {
    background-color: rgb(61, 185, 88);
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-panel {
        width: 80%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reveal Animation for Sections */
.store-section {
    opacity: 0;
    transform: translateY(50px);
}

.store-section.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 2px;
}

body, html {
    font-family: 'Oswald', sans-serif;
    scroll-behavior: smooth;
    background-image: url('background.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: rgb(250, 250, 250);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation Bar */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    background-color: rgba(51, 51, 51, 0.9);
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
}

.logo a {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}

.logo-image2 {
    width: 150px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}
/* Additional styles for the navigation */
nav ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.nav-links a {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ddd;
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* Section Styles */
.section {
    padding: 100px 50px;
    opacity: 0;
    transform: translateY(50px);
    color: rgb(236, 236, 236);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-nobg {
    padding: 100px 50px;
    opacity: 1;
    transform: translateY(50px);
    color: rgb(236, 236, 236);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-nobg.reveal {
    opacity: 1;
    background-color: rgba(51, 51, 51, 0.0);
    color: rgb(200, 200, 200);
    transform: translateY(0);
}

.section.reveal {
    opacity: 1;
    background-color: rgba(51, 51, 51, 0.25);
    backdrop-filter: blur(30px);
    color: rgb(200, 200, 200);
    transform: translateY(0);
}
.active-link {
    color: rgb(20, 220, 160);
    border-bottom: 2px solid rgb(20, 220, 160); /* Add border-bottom to indicate active section */
}
/* Section Headers */
.section-header h2 {
    font-size: 48px;
    color:rgb(250,250,250);
    text-align: center;
    margin-bottom: 20px;
}

.section-header a {
    color: rgb(95, 196, 255);
}

.section-header {
    font-size: 32px;
    color:rgb(250,250,250);
    text-align: center;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Server List */
.server-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
}

/* Server Panel Styles */
.server-panel {
    background-color: rgba(51, 51, 51, 0.2);
    backdrop-filter: blur(25px);
    color: rgb(230, 230, 230);
    margin: 15px;
    padding: 20px;
    width: 30%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: flex;
    flex-direction: column;
}

.server-panel.reveal {
    opacity: 1;
    transform: translateY(0);
}

.server-panel:hover {
    transform: translateY(0) scale(1.05);
    transition: transform 0.3s ease;
}

/* Keyframes for Slide In Up Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9); /* Start slightly shifted down and smaller */
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1); /* End at position and normal size */
    }
}

.server-panel h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.server-panel p {
    margin-bottom: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-panel p i {
    margin-right: 8px;
    color: rgb(115, 255, 134);
}

/* Updated Hover Effect */

/* Responsive Design */
.nav-links.active {
    display: flex; /* Show when toggled */
}
@media (max-width: 768px) {
    .navbar-container {
        padding: 15px 20px;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 60px;
        background-color: rgba(51, 51, 51, 0.9);
        flex-direction: column;
        width: 200px;
        display: none;
    }

    .nav-links li {
        margin: 20px 0;
        text-align: right;
        margin-right: 20px;
    }
    .nav-links.show {
        display: flex; /* Show when toggled */
    }
    .nav-links.active {
        display: flex; /* Show when toggled */
    }
    .menu-icon {
        display: block;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 80%;
    }

    .server-panel {
        width: 80%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reveal Animation for Sections */
.servers-section {
    opacity: 1;
    transform: translateY(50px);
    animation: fadeIn;
}

.servers-section.reveal {
    opacity: 1;
    transform: translateY(0);
}
.server-panel .button
{
    /* align bottom */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(20,180,80, 0.8);
    border:rgba(0, 0, 0, 0.5) 1px;
    border-radius: 0 0 8px 8px;
}

.server-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.server-content h2 {
    /* Ensure the title area has consistent height */
    min-height: 30px; /* Adjust as needed */
    font-size: medium;
    margin-bottom: 10px;
    word-wrap: break-word; /* Allow titles to wrap if needed */
}

.server-info {
    margin-top: auto; /* Pushes the server-info to the bottom */
}

.server-info p {
    margin-bottom: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    margin-left: auto; /* Pushes user-info to the right */
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-right: 10px;
}

/* Login Button */
.login-button a img {
    height: 32px; /* Adjust as needed */
    width: auto;
    transition: transform 0.3s ease;
}

.login-button a img:hover {
    transform: scale(1.05);
}

.logout-form .logout-button {
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    background-color: #333;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.logout-form .logout-button:hover {
    background-color: #555;
}

/* Adjustments for the Navbar */
.navbar-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: 50px;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ddd;
}

/* Status Box Styles */
.status {
    background-color: rgba(51, 51, 51, 0.8);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.status h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: rgb(20, 220, 100);
}

.status p {
    font-size: 18px;
    margin-bottom: 15px;
}

.status p strong {
    color: rgb(20, 220, 100);
}

.status p:last-child {
    margin-top: 30px;
    font-size: 20px;
    color: rgb(20, 220, 100);
}

/* Success Icon */
.section-header i {
    color: rgb(20, 220, 100);
    margin-right: 10px;
}


/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
    }
    .nav-links {
        width: 100%;
        order: 2;
        margin-left: 0;
        margin-top: 10px;
        flex-direction: column;
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin-left: 0;
        margin-bottom: 10px;
        text-align: center;
    }
    .user-info {
        order: 3;
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
        width: 100%;
    }
    .menu-icon {
        order: 1;
        margin-left: auto;
    }
    .status {
        padding: 20px;
    }

    .status h4 {
        font-size: 22px;
    }

    .status p {
        font-size: 16px;
    }
}


/* Promotion Banner Styles */
.promotion-banner {
    background-color: rgba(20, 180, 89, 0.9);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.promotion-banner p {
    margin: 0;
}

.promotion-banner strong {
    color: #fff;
}

.promotion-banner p::before {
    content: '';
}
/* Gift Button Styles */
.btn-gift {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background-color: rgba(147, 112, 219, 0.9);
    color: #fff;
    border-radius: 5px;
    font-weight: 700;
    width: 100%;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Oswald', sans-serif;
}

.btn-gift:hover {
    background-color: rgba(167, 132, 239, 1);
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.btn-gift i {
    margin-right: 6px;
}

/* Gift Modal Styles */
.gift-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.gift-modal-content {
    background: linear-gradient(145deg, rgba(40, 40, 50, 0.98), rgba(30, 30, 40, 0.98));
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(147, 112, 219, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gift-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.gift-modal-close:hover {
    color: #fff;
}

.gift-modal-content h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
    font-size: 24px;
}

.gift-modal-content h2 i {
    color: rgb(147, 112, 219);
    margin-right: 10px;
}

.gift-product-name {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: rgb(250, 200, 50);
    margin-bottom: 5px;
}

.gift-product-price {
    text-align: center;
    font-size: 18px;
    color: rgb(100, 220, 100);
    margin-bottom: 25px;
}

.gift-input-group {
    margin-bottom: 20px;
}

.gift-input-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.gift-input-group input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(147, 112, 219, 0.4);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 16px;
    font-family: 'Oswald', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gift-input-group input[type="text"]:focus {
    outline: none;
    border-color: rgb(147, 112, 219);
    box-shadow: 0 0 15px rgba(147, 112, 219, 0.3);
}

.gift-input-group input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.gift-input-group small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.btn-lookup {
    width: 100%;
    padding: 14px 20px;
    background-color: rgb(147, 112, 219);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Oswald', sans-serif;
}

.btn-lookup:hover:not(:disabled) {
    background-color: rgb(167, 132, 239);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(147, 112, 219, 0.4);
}

.btn-lookup:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-lookup i {
    margin-right: 8px;
}

.gift-error {
    margin-top: 15px;
    padding: 12px;
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    border-radius: 8px;
    color: rgb(255, 100, 100);
    text-align: center;
    font-size: 14px;
    display: none;
}

.gift-error:not(:empty) {
    display: block;
}

/* Recipient Card Styles */
.gift-recipient-card {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, rgba(50, 50, 60, 0.8), rgba(40, 40, 50, 0.8));
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(147, 112, 219, 0.3);
}

.recipient-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgb(147, 112, 219);
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.recipient-info {
    flex: 1;
}

.recipient-info h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 5px;
}

.recipient-steamid {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 10px;
    font-family: monospace;
}

.recipient-profile-link {
    color: rgb(100, 180, 255);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.recipient-profile-link:hover {
    color: rgb(150, 200, 255);
    text-decoration: underline;
}

.recipient-profile-link i {
    margin-right: 5px;
}

/* Gift Confirmation Checkbox */
.gift-confirm-section {
    margin-bottom: 25px;
}

.gift-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s ease;
}

.gift-checkbox-label:hover {
    border-color: rgba(147, 112, 219, 0.5);
}

.gift-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: rgb(147, 112, 219);
    flex-shrink: 0;
}

.gift-checkbox-label strong {
    color: rgb(250, 200, 50);
}

/* Gift Modal Buttons */
.gift-buttons {
    display: flex;
    gap: 15px;
}

.btn-back {
    padding: 14px 20px;
    background-color: rgba(100, 100, 110, 0.8);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Oswald', sans-serif;
}

.btn-back:hover {
    background-color: rgba(120, 120, 130, 0.9);
}

.btn-back i {
    margin-right: 6px;
}

.gift-form {
    flex: 1;
}

.btn-gift-confirm {
    width: 100%;
    padding: 14px 20px;
    background-color: rgb(61, 185, 88);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Oswald', sans-serif;
}

.btn-gift-confirm:hover:not(:disabled) {
    background-color: rgb(80, 200, 100);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(61, 185, 88, 0.4);
}

.btn-gift-confirm:disabled {
    background-color: rgba(100, 100, 110, 0.6);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Gift Modal */
@media (max-width: 768px) {
    .gift-modal-content {
        padding: 20px;
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    .gift-recipient-card {
        flex-direction: column;
        text-align: center;
    }
    
    .recipient-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .gift-buttons {
        flex-direction: column;
    }
    
    .btn-back {
        order: 2;
    }
    
    .gift-form {
        order: 1;
    }
} 