/* Early 2000s Personal Website Vibes - Dissonant Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(45deg, #151515, #2a2a2a);
    color: #EDEAE4;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header - Full width, left aligned with black background and orange text */
header {
    background-color: #151515;
    padding: 20px;
    margin-bottom: 20px;
    border-bottom: 3px solid #FF6E01;
    width: 100%;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.header-content img {
    border: 2px solid #FF6E01;
    border-radius: 5px;
}

.title-section h1 {
    color: #FF6E01;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.title-section h2 {
    color: #FF6E01;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

/* Navigation with that fun button style */
nav {
    text-align: center;
    margin-bottom: 30px;
}

.nav-button {
    display: inline-block;
    padding: 12px 25px;
    margin: 5px 10px;
    background: linear-gradient(45deg, #767572, #EDEAE4);
    color: #151515;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid #FF6E01;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.nav-button:hover {
    background: linear-gradient(45deg, #FF6E01, #FFA12C);
    color: #151515;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 110, 1, 0.4);
}

/* Welcome box like Doritochan */
.welcome-box {
    background: linear-gradient(135deg, #151515, #2a2a2a);
    border: 3px solid #FF6E01;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 110, 1, 0.2);
}

.welcome-box h3 {
    color: #FF6E01;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 0px #EDEAE4;
}

.welcome-box ul {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
}

.welcome-box li {
    margin: 8px 0;
    color: #EDEAE4;
}

.welcome-box p {
    margin: 10px 0;
    color: #EDEAE4;
}

/* Powered by section */
.powered-by {
    background: #767572;
    border: 2px solid #EDEAE4;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.powered-by a {
    color: #FF6E01;
    text-decoration: none;
    font-weight: bold;
}

.powered-by a:hover {
    text-decoration: underline;
    color: #FFA12C;
}

/* Inventory styling */
#inventory {
    margin-bottom: 30px;
}

#inventory h3 {
    color: #FF6E01;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 0px #151515;
}

#inventory table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #151515;
    border: 2px solid #767572;
    border-radius: 10px;
    overflow: hidden;
}

#inventory td {
    padding: 20px;
    text-align: center;
    border: 1px solid #767572;
    background: #151515;
    vertical-align: top;
}

#inventory img {
    max-width: 200px;
    height: auto;
    border: 3px solid #FF6E01;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#inventory img:hover {
    transform: scale(1.05);
}

#inventory b {
    color: #EDEAE4;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}

#inventory i {
    color: #767572;
    font-size: 1rem;
    display: block;
    margin-bottom: 12px;
}

#inventory font {
    color: #FF6E01;
    font-size: 1.4rem;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

input[type="button"] {
    background: linear-gradient(45deg, #FF6E01, #FFA12C);
    color: #151515;
    border: 2px solid #EDEAE4;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

input[type="button"]:hover {
    background: linear-gradient(45deg, #FFA12C, #FF6E01);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 110, 1, 0.4);
}

/* Footer with personal touch */
footer {
    background: #767572;
    border: 2px solid #EDEAE4;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin-top: 30px;
}

footer a {
    color: #FF6E01;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
    color: #FFA12C;
}

footer p {
    margin: 8px 0;
    color: #EDEAE4;
}

footer em {
    color: #FF6E01;
    font-style: italic;
}

/* Modal styling */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background: linear-gradient(135deg, #151515, #2a2a2a);
    margin: 5% auto;
    padding: 25px;
    border: 3px solid #FF6E01;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 110, 1, 0.5);
}

.close {
    color: #EDEAE4;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #FF6E01;
}

.modal-content h3 {
    color: #FF6E01;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-shadow: 1px 1px 0px #151515;
}

.modal-content input[type="email"],
.modal-content input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #767572;
    background: #151515;
    color: #EDEAE4;
    border-radius: 10px;
    font-size: 16px;
}

.modal-content input[type="button"] {
    width: 100%;
    margin: 8px 0;
    padding: 12px;
}

/* Mobile responsive - actually works this time! */
@media screen and (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 15px;
        width: 100%;
    }
    
    .header-content {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        padding: 0 15px;
    }
    
    .header-content img {
        width: 50px;
        height: 50px;
    }
    
    .title-section h1 {
        font-size: 1.8rem;
    }
    
    .title-section h2 {
        font-size: 1rem;
    }
    
    .nav-button {
        display: block;
        margin: 8px auto;
        width: 200px;
    }
    
    .welcome-box {
        padding: 20px;
    }
    
    .welcome-box h3 {
        font-size: 1.5rem;
    }
    
    #inventory td {
        padding: 15px 10px;
        width: 50%;
        display: inline-block;
        vertical-align: top;
    }
    
    #inventory tr {
        display: block;
        margin-bottom: 15px;
    }
    
    #inventory img {
        max-width: 150px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 12px;
        width: 100%;
    }
    
    .header-content {
        gap: 12px;
        padding: 0 12px;
    }
    
    .header-content img {
        width: 40px;
        height: 40px;
    }
    
    .title-section h1 {
        font-size: 1.5rem;
    }
    
    .title-section h2 {
        font-size: 0.9rem;
    }
    
    .nav-button {
        width: 100%;
        margin: 5px 0;
    }
    
    #inventory td {
        width: 100%;
        padding: 10px;
    }
    
    #inventory img {
        max-width: 120px;
    }
    
    .modal-content {
        width: 98%;
        margin: 5% auto;
    }
}