*{
    box-sizing: border-box;

}
body{
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color:#060b3b;
    margin:0;
    color:black;
    animation: fadeIn 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    min-height: 98vh;
    position: relative;

}
@keyframes fadeIn{
    0% {opacity : 0;}
    50% {opacity: 0.5;}
    100% {opacity: 1;}
}

.gold-top-line{
height:4px;
background: linear-gradient(90deg,#caa93f,#f5dc7b,#caa93f);
}
.pattern{
    position:fixed;
    inset: 0;
    background-image: url("images/logo.png");
    background-repeat: repeat;
    background-size: 80px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}


.info-box{
    display: grid;
    grid-template-columns: 160px minmax(140px,1fr);
    row-gap: 10px;
    column-gap: 45px;
    width: 100%;
    max-width: 420px;


}

.label{
    font-weight: bold;
    text-align: left;
    margin-left:5%;
    white-space: nowrap;

    

}
.value{
    font-weight: bold;
    color:gray; 
    text-align: left; 
    margin-right: 20%;
    font-size:14px;

}

.status-dot{
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}
.status-dot.active{
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
    animation: pulse-green 1.5s infinite;

}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(34,197,94,0);
    }
    100% {
        box-shadow:0 0 0 0 rgba(34,197,94,0);
    }
    
}


.invalid{
    color:red
}

.h1{
    margin: center;
    white-space: nowrap;
    text-align: center;
    margin-right: 15px;

}
.margin{
   text-align: center;
    margin: center;
    margin: 10px;
    font-size:clamp(28px,4vw,28px);
    white-space: nowrap;

}
.intro{
    background-color: whitesmoke;

    color:darkgrey;
    width: 100%;
    padding:40px;
    margin:auto;
    box-shadow: 0px 0px 5px gray;
}
.container {
    background-color:white;

    
    text-align: left;
    margin:10px auto;
    max-width: 100%;
    width: 100%;
    min-height: 470px;
    margin-top: 3vh;          
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 0px 19px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

@media (min-width:768px){
    .container{
        margin-top: 10%;
    }
}

.down_btn{
    
    text-align: right;
    margin-top: auto;

}

.qrcode{
    max-width: 100%;
    height: auto;
}

.invalid-container{
text-align: center;
}
.status-icon{
    width: 40px;
    height: 40px;
    margin: 15px auto;
    border-radius: 50%;
    background: #fff2f2;
    color:#c62828;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0b4b4;
}
.invalid-title{
    color:#c62828;
    margin-bottom: 15px;

}

.invalid-text{
    color:#444;
    margin-bottom: 22px;

}

.invalid-subtext{
    color:#777;
    font-size: 14px;
    margin-bottom: 30px;
}

input {
    
    width:100%;
    box-sizing: border-box;
    text-align: center;
    padding:10px;
    margin-top: 15px;
    border-radius: 5px;
}

button {
    padding: 10px 30px;
    margin-top: 10%;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 35%;
}

.warning{
    color: red;
    font-weight: bold;
}

.button_home{
    margin-top: 5%;
    display: inline-block;
    padding : 10px 20px;
    background-color: gray;
    color: black;
    border-radius: 5px;
}




.navbar{
    position: relative;
    display: flex;
    
    justify-content: space-between;
    align-items:center;
    padding: 15px 25px;
    background-color: #ffffff;
    box-shadow: 0px 2px 10px rgba(0,0,0, 0.08);
    z-index: 1000;
}
.nav-menu{
    display: flex;
    gap:30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu a{
    text-decoration: none;
    color:#333;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover{
    color: #caa74d;

}

.hamburger{
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;

}

.hamburger span {
    position: absolute;
    width: 28px;
    height: 3px;
    background: #111;
    left: 6px;
    transition: all 0.5s ease;
}

.hamburger span:nth-child(1){
    top:10px;
}
.hamburger span:nth-child(2){
    top: 18px;
}
.hamburger span:nth-child(3){
    top: 26px;
}

.hamburger.active span:nth-child(1){
    transform: rotate(45deg);
    top: 18px;
}
.hamburger.active span:nth-child(2){
    opacity: 0;
}
.hamburger.active span:nth-child(3){
    transform: rotate(-45deg);
    top: 18px;
}

.logo{
    width:auto;
    height: 100%;
    max-height: 75px;
    display:block;
   
}
.verify-button{
background-color:#bea042;

padding: 10px 18px;
border-radius: 6px;
}

.footer{
    margin-top: 70px;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ddd;
    color:wheat;
    font-size: 14px;
    position: relative;
    z-index: 1;
}
.footer-links{
    color: wheat;
    margin-top: 15px;
}
.footer-links a{
    margin:0 12px;
    text-decoration: none;
    color: #666;
}
.main{
    flex:1;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin:0 auto;
    padding: 40px 20px;
}
.policy,
.terms{
    color: wheat;
    max-width: 700px;
    margin:50px auto;
    padding: 20px;
    line-height: 1.7;
}
.policy h2,
.terms h2{
    color:wheat;
    margin-bottom: 20px;
}
.hero{
    max-width: 700px;
    margin:80px auto;
    padding: 40px 20px;
    text-align: center;
}
.hero h1{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: wheat;
}
.subtext{
    font-size: 16px;
    line-height: 1.6;
    color:#8c8c8c;
    margin-bottom: 30px;
    text-align: center;
}
.btn{
    display: inline-block;
    padding: 12px 25px;
    background-color: #cfcfc5;
    color:#060b3b;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
}
.btn:hover{
    background-color: #333;

}
.gold-line{
    max-width: 340px;
    width: 100%;
    height: 2px;
    margin: 15px auto 25px auto;
    background:linear-gradient(90deg,transparent,#d4af37,transparent);
}

.contact-section{
    max-width: 700px;
    width: 100%;
    margin: 100px auto;
    padding:10px 30px;
    background: white;
    color:#222;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}
.contact-section h1{
    text-align: center;
    margin-bottom: 10px;
}
.contact-section p{
    text-align: center;
    margin-bottom: 35px;
    color: #555;
}

.contact-info{
    display:grid;
    row-gap: 10px;
}
.contact-row {
display: grid;
grid-template-columns: 120px 1fr;
column-gap: 10px;

}

@media (max-width:768px) {
    .hamburger{
        display: block;
    }
    .nav-menu{
        position: absolute;
        top:100%;
        right: 0;
        max-width: 768px;
        width: 100%;
        background: white;
        flex-direction: column;
        gap:0;
        box-shadow: 0 5px 20px rgba(0,0,0, 0.15); 
        max-height: 0;
        overflow: hidden;
        transition: max-height 1.2s ease;
    }
    .nav-menu li{
        border-bottom: 1px solid #eee;
    }
    .nav-menu li:last-child{
        border-bottom: none;
    }
    .nav-menu a{
        display: block;
        padding: 15px 20px;
        text-align: center;
    }
    .nav-menu.active{
        max-height: 400px;
    
    }
}
