/* ===========================================================
   Global
=========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: Arial, Helvetica, sans-serif;

    background: linear-gradient(135deg, #16213E, #0F3460);

    color: white;

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

}

/* ===========================================================
   Main Container
=========================================================== */

.container {

    width: 95%;
    max-width: 600px;

    text-align: center;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(8px);

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 15px 40px rgba(0,0,0,.4);

}

/* ===========================================================
   Heading
=========================================================== */

h1 {

    font-size: 34px;

    margin-bottom: 10px;

}

.subtitle {

    color: #dcdcdc;

    margin-bottom: 30px;

}

/* ===========================================================
   Card
=========================================================== */

.card {

    background: rgba(255,255,255,.08);

    border-radius: 15px;

    padding: 20px;

    margin-bottom: 30px;

}

.card h2 {

    margin-bottom: 15px;

}

.card p {

    margin: 12px 0;

    font-size: 20px;

}

/* ===========================================================
   Buttons
=========================================================== */

.buttons {

    margin-top: 15px;

}

button {

    width: 100%;

    padding: 16px;

    margin-top: 15px;

    border: none;

    border-radius: 10px;

    cursor: pointer;

    font-size: 18px;

    font-weight: bold;

    transition: .25s;

}

button:hover {

    transform: translateY(-2px);

}

button:active {

    transform: scale(.98);

}

/* ===========================================================
   Individual Buttons
=========================================================== */

#playBtn {

    background: #00c853;

    color: white;

}

#rewardBtn {

    background: #ff9800;

    color: white;

}

#interstitialBtn {

    background: #2962ff;

    color: white;

}

#nextPageBtn {

    background: #9c27b0;

    color: white;

}

/* ===========================================================
   Debug Panel
=========================================================== */

#debugPanel {

    position: fixed;

    right: 20px;

    bottom: 20px;

    width: 340px;

    max-height: 400px;

    overflow-y: auto;

    background: #111;

    border-radius: 10px;

    padding: 15px;

    box-shadow: 0 10px 25px rgba(0,0,0,.5);

}

#debugPanel h3 {

    margin-bottom: 10px;

    color: #00ff9d;

}

#logs {

    font-size: 13px;

    line-height: 1.5;

    word-break: break-word;

}

/* ===========================================================
   Log Colors
=========================================================== */

.log-info {

    color: #ffffff;

}

.log-success {

    color: #00ff7f;

}

.log-warning {

    color: orange;

}

.log-error {

    color: #ff4b4b;

}

/* ===========================================================
   Loading Overlay
=========================================================== */

#loadingOverlay {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.8);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 99999;

}

.hidden {

    display: none !important;

}

.loader {

    background: white;

    color: #222;

    padding: 25px 40px;

    border-radius: 10px;

    font-size: 20px;

    font-weight: bold;

}

/* ===========================================================
   Responsive
=========================================================== */

@media (max-width:768px){

    .container{

        width:95%;

        padding:25px;

    }

    h1{

        font-size:28px;

    }

    button{

        font-size:16px;

    }

    #debugPanel{

        width:95%;

        left:10px;

        right:10px;

        bottom:10px;

    }

}