
html{
    scroll-behavior: smooth;
}
:root {
    --bg-color: whitesmoke;
    --text-color: #222;
    --accent: #00ff6347;
    --font-main: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

[data-theme = 'dark'] {
    --bg-color: #000;
    --text-color: #fff;
    --accent: #ff00ea;

}

#toggle {
    display: flex;
    align-items: center;
    order: -1;
}

body {
    background-color: var(--bg-color);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    color: var(--text-color);
    align-items: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-main);
    transition: background-color 0.3s ease;
    justify-content: space-between;
}


/* Header */
header {
    /* FIX: Changed from hardcoded #000 to var(--text-color) to support dark mode */
    color: var(--text-color);
    max-width: 100%;
    width: 100%;
    gap: 5px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    background: linear-gradient(135deg,#1f3a44,#2e5f6b);
    border-radius: 10px;
    border: 1.4px solid gold;
   /* box-sizing: border-box;*/
}
#nav-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 2rem;
}

#shortcut{
    display: flex;
    flex-direction: row;
    gap: 45px;
    justify-content: center;
    margin-top: 12px;
}
#shortcut button {
    background: #1e293b;
    margin: 10px;
    color: #f5f5f5;
    font-family:  'Courier New', Courier, monospace,Georgia, Arial, Helvetica, sans-serif;
    font-weight: 500;
    border-radius: 8px;
    width: auto;
    border-style: none;
    
}
nav{
    font-family: 'Courier New', Courier, monospace,Arial, Helvetica, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}
#about-link, #back-to-home{
    color: #f5f5f5;
}
#shortcut button:hover,#about-link:hover, #back-to-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


.icon {
    justify-content: space-between;
}
.nav-link {
    text-decoration: none;
    color: var[--text-color];
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);

}


.logo h1 {
    color: #f5f5f5;
    margin: 0;
    font-weight: 600;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.5rem;
}

.link-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 10px;
}

nav ul li {
    margin: 2px 0;
}
nav li{
    color: #f5f5f5;
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tagline {
    margin: 0;
    font-size: 1rem;
    font-family: monospace,Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    opacity: 0.8;
    color: var(--text-color);
}
/*Header ends here*/



/*persuasion page*/

#persuasion-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
}
.text-box {
    max-width: 600px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
    background: #1f3a44;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.4px solid gold;
    border-radius: 22px;
}

@keyframes pulse-grow {
    0% {transform: scale(1); }
    50% {transform: scale(1.02);}
    100% {transform: scale(1);}
}
.text-box-pulse {
    animation: pulse-grow 0.4s ease-out;
}

#main-text {
    font-size: 1.8rem;
    color: #fff;
    text-decoration: #fff;
    font-weight: 500;
    font-family: monospace,'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif,'Trebuchet MS', sans-serif;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    line-height: 1.4;
}

.ctrl-panel {
    min-height: 60px;
}

#click-me,#yes-btn,#no-btn{
    padding: 8px 12px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 10px;
    font-weight: bold;
}

#click-me {
    background-color: #1e293b;
    color: white;
}
#yes-btn {
    background-color: #2ecc71;
    color: whitesmoke;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#no-btn {
    background-color: #e74c3c;
    color: whitesmoke;
}
#click-me:hover, #yes-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#choices {
    display: flex;
    gap: 20px;
    justify-content: center;
}
#click-me, #choices {
    margin-top: 30px;

}
/*End of persuasion






/* ======= Rps and Footer section ======== */

#rps-game {
    margin-top: 25px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    border: 1.4px solid gold;
    padding: 30px;
    background-color: #1f3a44;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 85%;
    max-width: 100%;
    border-radius: 17px;
}


#arsenal {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
}

#rock, #paper, #scissors {
    font-size: 15px;
    padding: 12px 22px;
    margin: 15px;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    font-family: 'Courier New', Courier, monospace,Arial, Helvetica, sans-serif;
    color: #f5f5f5;
    background-color: #1e293b;

}
#rock:hover, #paper:hover,#scissors:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background-color: #a52;
    transform: scale(1.05);
}
#score-board {
    font-size: 1.4rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

#round-result {
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.results {
    font-size: 31px;
    margin-top: 30px;
    margin-bottom: 22px;
}

#intro {
    margin-top: 20px;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace,Arial, Helvetica, sans-serif;
    font-size: 40px;
}




footer {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    width: 100%;
    gap: 30px;
    padding: 40px 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 50px;
    box-sizing: border-box;
}

.footer-content {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
   /* max-width: 500px;
    width: 100%;*/
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.footer-content p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 10px 0;
}


#right {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #000;
    opacity: 0.7;
}

.footer-title {
    color: #1e293b;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.8rem;
    text-align: center;
    width: 100%;
}

[data-theme='dark'] .footer-content {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}
/* ======= Footer and Rps Ends here ======== */





.hidden {
    display: none !important;
}