@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Oswald",sans-serif;
}

body{
    background: linear-gradient(to bottom , black, grey);
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    padding:20px;
}

.container{
    width:100%;
    max-width:750px;
    text-align:center;
}

.logo{
    width:110px;
    max-width:30vw;
    height:auto;
    margin-bottom:20px;
}

h1{
    font-size:clamp(2.2rem,8vw,3.5rem);
}

h2{
    font-size:clamp(1.4rem,5vw,2rem);
    margin:10px 0;
}

h3,h5{
    font-size:clamp(1rem,4vw,1.3rem);
    color:#d1d5db;
}

p{
    color:#949494;
    font-size:clamp(.95rem,3vw,1.05rem);
    line-height:1.7;
    margin:15px 0;
}

hr{
    border:none;
    height:2px;
    background:rgba(255,255,255,.12);
    margin:20px 0;
    width:100%;
}

/* Standard text buttons (wallclick game, KodeX Ide) */
.btn{
    background: linear-gradient(to right, #3a3a3a, #1a1a1a);
    width: 135px;
    height: 45px;
    border-radius: 13px;
    color: #d1d1d1;
    font-weight: bold;
    border: 1px solid #4d4d4d;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 25px rgba(0,0,0,.6);
    border-color:#6c6c6c;
}

.btn:active{
    background: linear-gradient(135deg, #4d4d4d, #2a2a2a);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,.8);
    border-color: #808080;
}

footer{
    margin-top:20px;
}

@media (max-width:480px){

    body{
        padding:15px;
    }

    .logo{
        width:85px;
    }

    .btn{
        font-size:.95rem;
    }
}

/* Icon-only buttons (YouTube, GitHub) */
.b{
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.b:hover{
    background: rgba(255,255,255,.08);
    transform: translateY(-3px);
}

.b:active{
    background: rgba(255,255,255,.15);
    transform: scale(1.1);
}

.fa-youtube,
.fa-github{
    color: #a6a6a6;
    font-size: 1.4rem;
    transition: color 0.2s ease;
}

.b:hover .fa-youtube{
    color: #ff0000;
}

.b:hover .fa-github{
    color: #ffffff;
}

.info-btn{
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #a6a6a6;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.info-btn:hover{
    color: #ffffff;
    transform: scale(1.1);
}

/* Overlay */
.overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.65);
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.overlay.active{
    display: flex;
}

/* Floating window */
.about-window{
    background: linear-gradient(to bottom, #2a2a2a, #111111);
    border: 1px solid #4d4d4d;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,.8);
    animation: popIn 0.25s ease;
}

@keyframes popIn{
    from{ opacity: 0; transform: scale(.9); }
    to{ opacity: 1; transform: scale(1); }
}

.close-btn{
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #a6a6a6;
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover{
    color: #ffffff;
}

@media (max-width:480px){
    .info-btn{
        top: 15px;
        right: 15px;
        font-size: 1.4rem;
    }
}
