*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body{
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: Arial, Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/Walter-White-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.3;
}
body.jesse-page::before {
    background-image: url('images/jesse-pinkman-2.jpg');
}
body.saul-page::before {
    background-image: url('images/saul-goodman-2.jpg');
}
body.hank-page::before {
    background-image: url('images/hank-2.jpg');
}
body.gus-page::before {
    background-image: url('images/gus-fring-2.jpg');
}
nav{
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
nav div{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav h2{
    color: #47A025;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
nav h2:hover{
    color: #5bc42e;
}
nav ul{
    list-style: none;
    display: flex;
    gap: 2rem;
}
nav a {
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}
nav a:hover{
    color: #47A025;
    background-color: rgba(71, 160, 37, 0.1);
}
.hero-background{
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-position: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    margin-bottom: 1rem;
    border-radius: 10px;
}
.Character-name{
    color: #47A025;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9),
    0 0 20px rgba(71, 160, 37, 0.5);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
}
.Character-alias{
    color: #00ff41;
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 255, 65, 0.6);
    text-align: center;
    letter-spacing: 2px;
}
.quote-card{
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(71, 160, 37, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}
.quote-card:hover{
    box-shadow: 0 8px 20px rgba(71, 160, 37, 0.6);
    transform: translateY(-10px);
    border-color: #47A025;
}
.quote-icon{
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(71,160,37,0.5));
    margin-bottom: 1rem;
}
.quote-text{
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.About-character{
    margin: 3rem auto;
    max-width: 1000px;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 3px solid #47A025;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(71, 160, 37, 0.3),
                inset 0 0 30px rgba(71, 160, 37, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}
.About-character::before {
    content: 'C₁₇H₂₁NO₄';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.2rem;
    color: rgba(71, 160, 37, 0.4);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}
.About-character h3 {
    color: #47A025;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 2px solid rgba(71, 160, 37, 0.5);
    padding-bottom: 0.8rem;
    text-shadow: 0 0 15px rgba(71, 160, 37, 0.5);
}
.About-character p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #e0e0e0;
}
.About-lessons{
    margin: 3rem auto;
    max-width: 1000px;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 3px solid #00ff41;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 255, 65, 0.3),
                inset 0 0 30px rgba(0, 255, 65, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}
.About-lessons h3 {
    color: #00ff41;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
    border-bottom: 2px solid rgba(0, 255, 65, 0.5);
    padding-bottom: 1rem;
}
.About-lessons h4 {
    display: inline-block;
    background: linear-gradient(135deg, #47A025 0%, #5bc42e 100%);
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(71, 160, 37, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.About-lessons h5 {
    color: #00ff41;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.About-lessons p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #d0d0d0;
    padding-left: 1rem;
    border-left: 3px solid rgba(71, 160, 37, 0.3);
}
.Legal-disclaimer{
    margin: 3rem auto;
    max-width: 1000px;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 2px solid rgba(255, 200, 0, 0.6);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 200, 0, 0.2),
                inset 0 0 30px rgba(255, 200, 0, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}
.Legal-disclaimer::before {
    content: '⚠ CAUTION ⚠';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    padding: 0.5rem 1.5rem;
    color: #ffc800;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 3px;
    border: 2px solid #ffc800;
    border-radius: 5px;
}
.Legal-disclaimer h3 {
    color: #ffc800;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 200, 0, 0.4);
}
.Legal-disclaimer p {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}
footer{
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}
footer p{
    margin-bottom: 0.5rem;
}
footer a{
    color: #47A025;
    margin: 0 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}
footer a:hover{
    color: #fff;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN - CHARACTER PAGES
   ============================================ */

/* Extra Small Devices (Phones, 320px to 480px) */
@media screen and (max-width: 480px) {
    /* Navigation */
    nav {
        padding: 0.8rem 1rem;
    }

    nav h2 {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    nav ul {
        gap: 0.3rem;
    }

    nav a {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    /* Character Header */
    section > div {
        padding: 2rem 1rem;
    }

    .Character-name {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .Character-alias {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    /* About Character Section */
    .About-character {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }

    .About-character::before {
        font-size: 0.9rem;
        top: 10px;
        right: 10px;
    }

    .About-character h3 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .About-character p {
        font-size: 0.95rem;
    }

    /* About Lessons Section */
    .About-lessons {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }

    .About-lessons h3 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .About-lessons h4 {
        font-size: 1.3rem;
        padding: 0.6rem 1rem;
        min-width: 60px;
    }

    .About-lessons h5 {
        font-size: 1.1rem;
    }

    .About-lessons p {
        font-size: 0.95rem;
        padding-left: 0.8rem;
    }

    /* Legal Disclaimer */
    .Legal-disclaimer {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }

    .Legal-disclaimer::before {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        top: -12px;
    }

    .Legal-disclaimer h3 {
        font-size: 1.3rem;
    }

    .Legal-disclaimer p {
        font-size: 0.85rem;
        text-align: left;
    }

    /* Footer */
    footer {
        padding: 1.5rem 1rem;
    }

    footer p {
        font-size: 0.85rem;
    }

    footer a {
        font-size: 0.85rem;
        margin: 0 0.5rem;
        display: inline-block;
        margin-top: 0.5rem;
    }
}

/* Small Devices (Small Tablets, 481px to 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 1rem 1.5rem;
    }

    nav h2 {
        font-size: 1.5rem;
    }

    nav a {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    /* Character Header */
    .Character-name {
        font-size: 2.5rem;
    }

    .Character-alias {
        font-size: 1.8rem;
    }

    /* About Character Section */
    .About-character {
        margin: 2.5rem 1.5rem;
        padding: 2.5rem 2rem;
    }

    .About-character h3 {
        font-size: 1.8rem;
    }

    .About-character p {
        font-size: 1rem;
    }

    /* About Lessons Section */
    .About-lessons {
        margin: 2.5rem 1.5rem;
        padding: 2.5rem 2rem;
    }

    .About-lessons h3 {
        font-size: 1.8rem;
    }

    .About-lessons h4 {
        font-size: 1.5rem;
    }

    .About-lessons h5 {
        font-size: 1.2rem;
    }

    .About-lessons p {
        font-size: 1rem;
    }

    /* Legal Disclaimer */
    .Legal-disclaimer {
        margin: 2.5rem 1.5rem;
        padding: 2rem;
    }

    .Legal-disclaimer h3 {
        font-size: 1.5rem;
    }
}

/* Medium Devices (Tablets, 769px to 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .About-character,
    .About-lessons,
    .Legal-disclaimer {
        max-width: 900px;
    }

    .Character-name {
        font-size: 3rem;
    }

    .Character-alias {
        font-size: 2rem;
    }

    .About-character h3 {
        font-size: 2rem;
    }

    .About-lessons h3 {
        font-size: 2rem;
    }
}

/* Large Devices (Laptops and above, 1025px+) */
@media screen and (min-width: 1025px) {
    .About-character,
    .About-lessons,
    .Legal-disclaimer {
        max-width: 1100px;
    }
}

/* Landscape Orientation for Small Devices */
@media screen and (max-width: 768px) and (orientation: landscape) {
    section > div {
        padding: 1.5rem 1rem;
    }

    .Character-name {
        font-size: 2rem;
    }

    .Character-alias {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .About-character,
    .About-lessons,
    .Legal-disclaimer {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    nav,
    footer {
        display: none;
    }

    body::before {
        opacity: 0.1;
    }

    .About-character,
    .About-lessons {
        page-break-inside: avoid;
    }
}
