/* Graduation Ceremony Invitation Card - AI Researcher Style */

/* CSS Variables - Light Mode Only (Enhanced for Readability) */
:root {
    /* Enhanced Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a1a1a;
    --text-secondary: #495057;
    --text-accent: #0056b3;
    --text-success: #155724;
    --text-warning: #856404;
    --text-error: #721c24;
    --text-info: #0c5460;
    --border-color: #ced4da;
    --shadow-color: rgba(0, 86, 179, 0.15);
    --hover-bg: rgba(0, 86, 179, 0.08);
    --terminal-bg: #ffffff;
    --terminal-border: #dee2e6;
    --button-bg: transparent;
    --button-border: #0056b3;
    --button-text: #0056b3;
    --button-hover-bg: #0056b3;
    --button-hover-text: #ffffff;
    --matrix-opacity: 0.01;
}

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

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Screenshot Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.screenshot-btn {
    background: var(--text-accent);
    border: 2px solid var(--text-accent);
    color: var(--bg-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.screenshot-btn:hover {
    background: var(--text-primary);
    color: var(--text-accent);
    transform: scale(1.1);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.screenshot-btn.active {
    background: var(--text-success);
    border-color: var(--text-success);
    color: var(--bg-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Terminal Container */
.terminal-container {
    width: 100%;
    max-width: 900px;
    background: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 0 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Terminal Header */
.terminal-header {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.btn.close { background: #ff5f56; }
.btn.minimize { background: #ffbd2e; }
.btn.maximize { background: #27ca3f; }

.terminal-title {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
}

/* Terminal Body */
.terminal-body {
    padding: 24px;
    background: var(--terminal-bg);
    min-height: 600px;
    transition: all 0.3s ease;
}

/* ASCII Art */
.ascii-art {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-accent);
    font-size: 10px;
    line-height: 1.2;
    overflow-x: auto;
    position: relative;
}

.ascii-art pre {
    font-family: 'JetBrains Mono', monospace;
    white-space: pre;
    margin: 0;
}

/* Graduation Badge */
.graduation-badge {
    text-align: center;
    margin-bottom: 30px;
}

.badge-content {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--hover-bg);
    border: 2px solid var(--text-accent);
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-accent);
    box-shadow: 0 4px 15px var(--shadow-color);
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 24px;
}

.badge-text {
    letter-spacing: 1px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Profile Section */
.profile-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-color);
    opacity: 0;
    transform: translateY(20px);
}

.profile-picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--text-accent);
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: all 0.3s ease;
}

/* .profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px var(--shadow-color);
} */

/* Command Line */
.command-line {
    margin: 0px 0;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.prompt {
    color: var(--text-accent);
    margin-right: 8px;
    font-weight: 500;
}

.command {
    color: var(--text-primary);
    font-weight: 400;
}

/* Typing Animation */
.typing-animation {
    border-right: 2px solid var(--text-accent);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--text-accent); }
    51%, 100% { border-color: transparent; }
}

/* Output Lines */
.output {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
}

.line {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.4;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.timestamp {
    color: var(--text-secondary);
    margin-right: 12px;
    font-size: 10px;
    min-width: 60px;
    flex-shrink: 0;
}

.log-level {
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 12px;
    font-size: 11px;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.log-level.info {
    background: rgba(12, 84, 96, 0.15);
    color: var(--text-info);
    border: 1px solid rgba(12, 84, 96, 0.3);
}

.log-level.success {
    background: rgba(21, 87, 36, 0.15);
    color: var(--text-success);
    border: 1px solid rgba(21, 87, 36, 0.3);
}

.log-level.warning {
    background: rgba(133, 100, 4, 0.15);
    color: var(--text-warning);
    border: 1px solid rgba(133, 100, 4, 0.3);
}

.log-level.error {
    background: rgba(114, 28, 36, 0.15);
    color: var(--text-error);
    border: 1px solid rgba(114, 28, 36, 0.3);
}

.message {
    color: var(--text-primary);
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Event Details */
.event-details {
    margin: 30px 0;
    padding: 25px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--hover-bg);
    box-shadow: 0 8px 25px var(--shadow-color);
    opacity: 0;
    transform: translateY(20px);
}

.event-title {
    color: var(--text-accent);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 15px var(--shadow-color);
    position: relative;
}

.event-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--text-accent);
    border-radius: 2px;
}

/* Graduation Info Layout */
.graduation-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.main-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.info-icon {
    font-size: 32px;
    min-width: 40px;
    text-align: center;
}

.info-content {
    flex: 1;
}

.info-label {
    color: var(--text-accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
}

.info-date, .info-location {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
}

/* Degree Info */
.degree-info {
    display: flex;
    justify-content: center;
}

.degree-badge {
    background: linear-gradient(135deg, #0056b3, #155724);
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 25px var(--shadow-color);
    animation: glow 2s ease-in-out infinite alternate;
    border: 2px solid rgba(0, 86, 179, 0.3);
}

.degree-icon {
    font-size: 36px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.degree-text {
    color: white;
    text-align: center;
}

.degree-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.degree-major {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

@keyframes glow {
    from { box-shadow: 0 8px 25px var(--shadow-color); }
    to { box-shadow: 0 8px 35px var(--shadow-color), 0 0 20px var(--text-accent); }
}

/* Speakers Section */
.speakers {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--hover-bg);
    opacity: 0;
    transform: translateY(20px);
}

.speakers h2 {
    color: var(--text-accent);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.speaker-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.speaker {
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 8px 0;
}

.speaker-name {
    color: var(--text-accent);
    font-weight: 500;
    min-width: 80px;
}

.speaker-title {
    color: var(--text-secondary);
    font-weight: 400;
}

/* RSVP Section */
.rsvp-section {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--hover-bg);
    opacity: 0;
    transform: translateY(20px);
}

.rsvp-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.btn-accept, .btn-decline {
    background: var(--button-bg);
    border: 2px solid var(--button-border);
    color: var(--button-text);
    padding: 12px 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.btn-accept:hover {
    background: var(--button-hover-bg);
    color: var(--button-hover-text);
    box-shadow: 0 0 20px var(--shadow-color);
    transform: translateY(-2px);
}

.btn-decline {
    --button-border: var(--text-error);
    --button-text: var(--text-error);
    --button-hover-bg: var(--text-error);
    --button-hover-text: var(--bg-primary);
    transition: all 0.3s ease;
}

.btn-decline:hover {
    background: var(--button-hover-bg);
    color: var(--button-hover-text);
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
    transform: translateY(-2px);
}

/* RSVP Form */
.rsvp-form {
    margin-top: 20px;
    animation: slideIn 0.3s ease-out;
}

.form-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.form-icon {
    font-size: 20px;
}

.form-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input, .form-textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--text-accent);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-submit, .btn-cancel {
    background: var(--button-bg);
    border: 2px solid var(--button-border);
    color: var(--button-text);
    padding: 12px 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    position: relative;
}

.btn-submit {
    --button-border: #10b981;
    --button-text: #10b981;
    --button-hover-bg: #10b981;
    --button-hover-text: var(--bg-primary);
}

.btn-submit:hover {
    background: var(--button-hover-bg);
    color: var(--button-hover-text);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.btn-cancel {
    --button-border: var(--text-error);
    --button-text: var(--text-error);
    --button-hover-bg: var(--text-error);
    --button-hover-text: var(--bg-primary);
}

.btn-cancel:hover {
    background: var(--button-hover-bg);
    color: var(--button-hover-text);
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
    transform: translateY(-2px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clickable Location Card */
.location-card {
    cursor: pointer;
    position: relative;
    border: 2px solid var(--border-color);
}

.location-card:hover {
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
    transform: translateY(-3px);
}

.location-hint {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 8px;
    opacity: 0.7;
    font-style: italic;
    transition: all 0.3s ease;
}

.location-card:hover .location-hint {
    color: #10b981;
    opacity: 1;
}

.btn-decline.running {
    position: absolute;
    animation: sketchHumanRun 3s ease-in-out forwards;
    pointer-events: none;
    z-index: 1000;
    background: transparent !important;
    border: none !important;
    color: transparent !important;
    width: 60px;
    height: 80px;
    overflow: visible;
}

.btn-decline.running::before {
    content: "🏃‍♂️";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 40px;
    animation: humanRunCycle 0.5s infinite;
}

.btn-decline.running::after {
    content: "💨";
    position: absolute;
    top: 20px;
    left: -20px;
    font-size: 20px;
    animation: dustCloud 0.3s infinite;
}

@keyframes sketchHumanRun {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    10% {
        transform: translate(30px, -10px) scale(0.9);
        opacity: 1;
    }
    20% {
        transform: translate(60px, -5px) scale(0.8);
        opacity: 1;
    }
    30% {
        transform: translate(90px, -15px) scale(0.7);
        opacity: 1;
    }
    40% {
        transform: translate(120px, -10px) scale(0.6);
        opacity: 1;
    }
    50% {
        transform: translate(150px, -20px) scale(0.5);
        opacity: 1;
    }
    60% {
        transform: translate(180px, -15px) scale(0.4);
        opacity: 0.8;
    }
    70% {
        transform: translate(210px, -25px) scale(0.3);
        opacity: 0.6;
    }
    80% {
        transform: translate(240px, -20px) scale(0.2);
        opacity: 0.4;
    }
    90% {
        transform: translate(270px, -30px) scale(0.1);
        opacity: 0.2;
    }
    100% {
        transform: translate(300px, -25px) scale(0.05);
        opacity: 0;
    }
}

@keyframes humanRunCycle {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(2deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(-2deg);
    }
}

@keyframes dustCloud {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.btn-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-code {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 4px;
}

/* Footer */
.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
}

.link {
    color: var(--text-accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-accent);
    transition: all 0.3s ease;
}

.link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
    text-shadow: 0 0 5px var(--shadow-color);
}

/* Matrix Rain Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: var(--matrix-opacity);
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .theme-toggle {
        top: 10px;
        right: 10px;
    }
    
    .theme-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .terminal-body {
        padding: 16px;
    }
    
    .ascii-art {
        font-size: 6px;
    }
    
    .event-title {
        font-size: 24px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .label {
        min-width: auto;
        margin-right: 0;
    }
    
    .speaker {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .speaker-name {
        min-width: auto;
    }
    
    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-accept, .btn-decline {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .ascii-art {
        font-size: 4px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .line {
        flex-wrap: wrap;
        white-space: normal;
    }
    
    .timestamp {
        min-width: 50px;
        margin-right: 8px;
    }
    
    .log-level {
        min-width: 50px;
        margin-right: 8px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

/* Ripple Effect */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* RSVP Result Styling */
.rsvp-result {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--hover-bg);
}

.rsvp-result.success {
    border-color: var(--text-success);
    background: rgba(74, 222, 128, 0.1);
}

.rsvp-result.error {
    border-color: var(--text-error);
    background: rgba(248, 113, 113, 0.1);
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Focus States for Accessibility */
button:focus,
.theme-btn:focus {
    outline: 2px solid var(--text-accent);
    outline-offset: 2px;
}

/* Screenshot Mode */
.screenshot-mode .theme-toggle {
    display: none;
}

.screenshot-mode .matrix-bg {
    display: none;
}

.screenshot-mode .terminal-container {
    box-shadow: 0 0 50px var(--shadow-color);
    border: 3px solid var(--text-accent);
}

.screenshot-mode-indicator {
    position: fixed;
    top: 20px;
    left: 20px;
    background: var(--text-success);
    color: var(--bg-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1001;
    display: none;
    animation: slideIn 0.3s ease-out;
}

.screenshot-mode-indicator.active {
    display: block;
}

.indicator-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.indicator-icon {
    font-size: 14px;
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .theme-toggle {
        top: 10px;
        right: 10px;
    }
    
    .screenshot-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .terminal-body {
        padding: 16px;
    }
    
    .ascii-art {
        font-size: 6px;
    }
    
    .event-title {
        font-size: 24px;
    }
    
    .main-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .info-icon {
        font-size: 24px;
        min-width: 30px;
    }
    
    .info-value {
        font-size: 16px;
    }
    
    .degree-badge {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .degree-icon {
        font-size: 28px;
    }
    
    .degree-title {
        font-size: 16px;
    }
    
    .degree-major {
        font-size: 12px;
    }
    
    .speaker {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .speaker-name {
        min-width: auto;
    }
    
    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-accept, .btn-decline {
        width: 100%;
        max-width: 200px;
    }
    
    .badge-content {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .badge-icon {
        font-size: 20px;
    }
    
    .profile-section {
        padding: 15px;
    }
    
    .profile-img {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .ascii-art {
        font-size: 4px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .line {
        flex-wrap: wrap;
        white-space: normal;
    }
    
    .timestamp {
        min-width: 50px;
        margin-right: 8px;
    }
    
    .log-level {
        min-width: 50px;
        margin-right: 8px;
    }
    
    .info-card {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .info-icon {
        font-size: 20px;
    }
    
    .degree-badge {
        padding: 12px 16px;
    }
    
    .profile-img {
        max-height: 200px;
    }
}

/* Print Styles */
@media print {
    .theme-toggle {
        display: none;
    }
    
    .matrix-bg {
        display: none;
    }
    
    .screenshot-mode-indicator {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .terminal-container {
        box-shadow: none;
        border: 2px solid #0056b3;
    }
}