:root{
    --primary: #d97706;
    --primary-hover: #b45309;
    --dark-bg: rgba(10, 10, 12, 0.85);
    --card-bg: rgba(20, 20, 25, 0.75);
    --border-color: rgba(217, 119, 6, 0.3);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide mobile menu toggle by default on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
}

body{
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}

body::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 5, 7, 0.95) 0%, rgba(15, 15, 20, 0.8) 100%);
    z-index: -1;
}

/*Header*/

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 12, 0.9);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo{
	font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 1px;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav{
	position:relative;
	right:50px;
    display: flex;
    gap: 1.5rem;
}

nav a{
    color: var(--text-main);
    text-decoration: none;
	font-size: 1.5rem;
	text-align:center;
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover{
     color: var(--primary);
}

/*discord*/
.dbtn{
	background-color: #5865F2;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dbtn:hover{
    background-image: linear-gradient(to top, #343C8F, #5865F2);
    transform: translateY(-2px);
}

/*Steam*/

.sbtn{
	background-image: linear-gradient(to top, #016A99, #04101C);
    color: white;
	margin-right:2em;
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sbtn:hover{
	background-image: linear-gradient(to top, #04101C, #016A99);
    
    transform: translateY(-2px);
}

/*Header End*/

/*Server Info*/

/*section title and connection info*/
.hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1{
	font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    letter-spacing: 3px;
}

.hero p{
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.server-box{
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 600px;
    width: 100%;
    justify-content: space-between;
}

.server-info h3{
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    text-align: left;
}

.server-info p{
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    text-align: left;
}

.btn {
    display: block;
    text-align: center;
    background-color: #D97706;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 2px;
    margin-top: 15px;
    font-weight: bold;
}

/*Server Info End*/

/*events*/

.section-title{
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #ffffff;
    letter-spacing: 2px;
}

.features{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 5% 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
	
}

.card{
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: border-color 0.3s, transform 0.3s;
}

.card:hover{
    border-color: var(--border-color);
    transform: translateY(-5px);
}

.card i{
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card h3{
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.card p{
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}


/*events end*/
/* Plans */

.bg-plans{
    width: 100%;
    height: 100%;
    padding: 2em 0 2em 0;
    object-fit: cover;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: saturate(1.5);
}

.pg-bg{
	position:relative;
	top:-150px;
	width:100%;
	height: 100%;
	background-repeat: no-repeat;
}

.header-bg{
	width:100%;
	height: 900px;
	background-repeat: no-repeat;
}

.social nav ul{
    position: relative;
	float:right;
   
}
.plan-card img {
    max-width: 100%;
    height: auto;
}

.plan-card{
    display: flex;
    flex-direction: column;
    gap: 1.75em;
    z-index: 1;
    padding: 1em 2em;
    border-radius: 1em;
}

.tier-1{
    background: linear-gradient(45deg, #000000, #D4925E);
    border: 1px solid #D4925E;
}

.btn-primary1{
    color: white;
    background: linear-gradient(30deg, #D4925E, #000000);
    border: 1px solid #D4925E;
    width: 50px;
    height: 40px;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    transition: .25s ease-in;
}

.btn-primary1:hover{
    background: linear-gradient(30deg, #000000, #D4925E );
    border-color: #D4925E;
}

.tier-2{
    background: linear-gradient(45deg, #000000, #B8C0CB);
    border: 1px solid #B8C0CB;
}

.btn-primary2{
    color: white;
    background: linear-gradient(30deg, #B8C0CB, #000000);
    border: 1px solid #464646;
    width: 150px;
    height: 40px;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    transition: .25s ease-in;
}

.btn-primary2:hover{
    background: linear-gradient(30deg, #000000, #B8C0CB);
    border-color: #B8C0CB;
}

.tier-3{
    background: linear-gradient(45deg, #000000, #E1B55E);
    border: 1px solid #E1B55E;
}

.btn-primary3{
    color: white;
    background: linear-gradient(30deg, #E1B55E, #000000);
    border: 1px solid #E1B55E;
    width: 150px;
    height: 40px;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    transition: .25s ease-in;
}

.btn-primary3:hover{
    background: linear-gradient(30deg, #000000, #E1B55E);
    border-color: #E1B55E;
}

.tier-4{
    background: linear-gradient(45deg, #000000, #E5E4E2);
    border: 1px solid #E5E4E2;
}

.btn-primary4{E1B55E
    color: white;
    background: linear-gradient(30deg, #E5E4E2, #000000);
    border: 1px solid #E5E4E2;
    width: 150px;
    height: 40px;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    transition: .25s ease-in;
}

.btn-primary4:hover{
    background: linear-gradient(30deg, #000000, #E5E4E2);
    border-color: #E5E4E2;
}


.text-clip-orange{
    background: linear-gradient(180deg, #f64d42, #b53e23, #ff3d24);
    color: transparent;
    background-clip: text;
}

/* Contact Section Styling */
.contact-section{
    padding: 4rem 5% 6rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form{
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-group{
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label{
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group textarea{
    width: 100%;
    padding: 0.9rem;
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus{
    outline: none;
    border-color: var(--primary);
}

.contact-form .btn{
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem;
}





.btn-2D-shadow:hover{
    box-shadow: 10px 9px 0 rgb(46 46 46);
}

.btn-icon{
    width: fit-content;
    height: fit-content;
    padding: .5em;
    background: linear-gradient(45deg, #b94921, #942700);
    display: flex;
    border-radius: 10px;
    transition: all linear;
}

.btn-icon:hover{
    transform: scale(1.1);
}



footer{
	position:absolute;
	width:100%;
	bottom:0;
    text-align: center;
    padding: 2rem;
    background: rgba(5, 5, 7, 0.95);
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

.sitelock-badge {
    display: inline-flex;
    align-items: left;
    background-color: #1a1a1a; /* Dark sleek background, adjust to match your primary theme */
    color: #D97706;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid #333333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sitelock-badge:hover {
    border-color: #D97706;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.15);
}

.sitelock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2ecc71; /* Trust green */
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    margin-right: 10px;
}

.sitelock-icon svg {
    width: 16px;
    height: 16px;
}

.sitelock-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.secure-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2ecc71;
}

.secure-domain {
    font-size: 12px;
    font-weight: 500;
    color: #cccccc;
}

.secure-date {
    font-size: 12px;
    font-weight: 500;
    color: #cccccc;
}

.toast {
    visibility: hidden;
    min-width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 10px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {

from{
	bottom: 0; 
	opacity: 0;
}
    
to{
	bottom: 30px; 
	opacity: 1;
}
}

@keyframes fadeout {

from{
	bottom: 30px; 
	opacity: 1;
}
     
to{
	bottom: 0; 
	opacity: 0;
}
}
/* --- MOBILE RESPONSIVE FIXES --- */

@media (max-width: 1680px) {
/* Stack the header elements vertically on tablets and mobile */
header {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem;
    text-align: center;
}

.logo {
    font-size: 1.8rem;
}

/* Reduce navigation link size and spacing for mobile */
nav {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    right: 0;
}

nav a {
    font-size: 0.95rem; /* Reduced from 1.1rem */
}

/* Stack and shrink steam and discord login buttons */
.steam-discord {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 30%;
    align-items: center;
}

.sbtn {
    margin-right: 0;
    width: 80%; /* Constrained width so they aren't overly massive */
    padding: 0.5rem 1rem; /* Smaller padding */
    font-size: 0.85rem; /* Smaller text size */
    justify-content: center;
}

.dbtn {
    width: 80%; /* Constrained width */
    padding: 0.5rem 1rem; /* Smaller padding */
    font-size: 0.85rem; /* Smaller text size */
    justify-content: center;
}

/* Hero section adjustments */
.hero {
	padding: 1rem 1rem 2rem 1rem;
}

.hero h1 {
    font-size: 2.2rem;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1rem;
}

/* Server info box scaling */
.server-box {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.2rem;
}

.server-info h3, 
.server-info p {
    text-align: center;
}

/* Fix plan/kit cards to take full width on mobile */
.plan-card {
	position:relative;
	top:-100px;
	width: 100% !important;
    max-width: 350px;
    margin: 0 auto;
}

/* Fix absolute positioning on footer so it doesn't overlap text */
footer {
    position: relative;
    margin-top: 3rem;
}

.pg-bg {
    top: 0;
}
}
@media (max-width: 968px) {
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1rem 1%; /* Adjust padding slightly to span full width cleanly */
    width: 100%; /* Ensures header takes up full width */
    box-sizing: border-box;
    flex-wrap: nowrap;
}

    /* Burger menu on the far left */
.menu-toggle {
    display: block;
    order: 1;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.4rem;
    cursor: pointer;
    margin: 0;
}

    /* Logo centered in the middle */
    .logo {
        font-size: 1.2rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        order: 2;
        margin: 0;
    }

    /* Float the icon buttons fully to the right */
    .steam-discord {
        display: flex;
        flex-direction: row;
        gap: 0.4rem;
        order: 3;
        margin-left: auto; /* Forces element to the far right of the flex container */
        margin-right: 0;
        align-items: center;
    }

    /* Hide text labels, show only icons */
    .steam-discord .btn-text {
        display: none;
}

    /* Style the inline icon buttons */
    .sbtn, .dbtn {
		position:relative;
        margin-right: 0;
		left:2rem;
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 25%;
        display: inline-flex;
        justify-content: center;
        align-items: right;
        font-size: 0.95rem;
    }

    /* Dropdown Menu alignment */
    .Menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 12, 0.98);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        backdrop-filter: blur(10px);
        z-index: 200;
    }

    .Menu.active {
        display: block;
    }

    nav {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        right: 0;
    }

    nav a {
        font-size: 1.1rem;
    }

    /* Hero section and remaining mobile adjustments */
    .hero {
        padding: 3rem 1rem 2rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 1rem;
    }

    .server-box {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.2rem;
    }

    .server-info h3, 
    .server-info p {
        text-align: center;
    }

    .plan-card {
        width: 100% !important;
        max-width: 350px;
        margin: 0 auto;
    }

    footer {
        position: relative;
        margin-top: 3rem;
    }

    .pg-bg {
        top: 0;
    }
}