@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap');

* {
    padding: 0;
    margin: 0; 
    box-sizing: border-box;
    color: #D84040;
    font-family: 'JetBrains Mono', monospace;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #1D1616;
    color: #fff;
}

/* Header */
.header {
    background: #111;
    border-bottom: 1px solid #333;
    /* padding: 1rem 0; */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 50px;
    width: 70px;
    border-radius: 50%;
    border: 2px solid #D84040;
}

.content ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    color: #D84040 !important;
}

.content li {
    cursor: pointer;
    padding: 2rem 2rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #D84040 !important;
}

.content li:hover {
    color: #D84040;
    /* border-color: #8C1007; */
    transform: translateY(-1px);
}

/* Main */
main {
    flex: 1;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Mobile hamburger button */
.hamburger {
    display: none;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #333;
    background: #111;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 2px;
    background: #D84040;
    margin: 9px 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: #0f0f0f;
    border-left: 1px solid #333;
    box-shadow: -10px 0 30px rgba(0,0,0,0.4);
    transition: right 0.35s ease;
    z-index: 1050;
    padding: 5rem 1.25rem 1.25rem 1.25rem;
}

.mobile-sidebar.open {
    right: 0;
}

.mobile-sidebar nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-sidebar nav ul li a {
    color: #D84040;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: block;
    border: 1px solid transparent;
}

.mobile-sidebar nav ul li a:hover {
    border-color: #D84040;
}

/* Overlay */
.screen-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1040;
}

.screen-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive rules */
@media (max-width: 768px) {
    .content ul { display: none; }
    .hamburger { display: block; }
}

/* Quote Card */
.quote-card {
    position: relative;
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem 2rem 3.5rem 2rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(216, 64, 64, 0.12);
    transition: transform 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-5px);
}

.quote-card blockquote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #fff;
    text-align: center;
}

.quote-card cite {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #D84040;
    font-style: normal;
    text-align: center;
    font-size: 0.9rem;
}

.quote-refresh {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    margin-top: 8rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 1px solid #D84040;
    background: transparent;
    color: #D84040;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quote-refresh:hover {
    background: #D84040;
    color: #000;
    transform: scale(1.01);
}
.quote-author {
    margin-bottom: 3rem;
    padding-bottom: 6rem;
    border: 1px solid #D84040;
}
.quote-refresh:active {
    transform: scale(0.95);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #111;
    border-top: 1px solid #333;
    margin-top: auto;
    color: #fff;
}