/* poster_display.css */
* {margin: 0; padding: 0; box-sizing: border-box;}
body {font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #000; color: white; overflow: hidden; height: 100vh;}
.top-banner {background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 15px rgba(0,0,0,0.3);}
.site-title {font-size: 1.8rem; font-weight: 700; color: white; flex: 1;}
.qr-code-banner {flex: 1; display: flex; justify-content: center; align-items: center;}
.qr-code-banner img {width: 100px; height: 100px; background: white; padding: 8px; border-radius: 8px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.2);}
.banner-right {flex: 1; display: flex; justify-content: flex-end; gap: 0.75rem;}
.btn-banner {background: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.4); color: white; padding: 0.5rem 1.25rem; border-radius: 6px; cursor: pointer; font-size: 0.95rem; font-weight: 500; transition: all 0.3s; text-decoration: none; white-space: nowrap;}
.btn-banner:hover {background: rgba(255,255,255,0.35);}
.search-panel {background: rgba(102, 126, 234, 0.95); padding: 1rem 2rem; display: none; box-shadow: 0 2px 8px rgba(0,0,0,0.2);}
.search-panel.show {display: block;}
.search-box {display: flex; gap: 1rem; align-items: center;}
.search-box input {flex: 1; padding: 0.6rem 1rem; border: none; border-radius: 6px; font-size: 0.95rem;}
.filter-tags {display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap;}
.tag-btn {background: rgba(255,255,255,0.9); color: #667eea; border: none; padding: 0.4rem 0.9rem; border-radius: 20px; cursor: pointer; font-size: 0.85rem; transition: all 0.3s;}
.tag-btn:hover, .tag-btn.active {background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.2);}
.main-display {height: calc(100vh - 150px); margin: 1rem; border-radius: 12px; overflow: hidden; background: rgba(0,0,0,0.3); position: relative;}
.tiles-view {padding: 2rem; height: 100%; overflow-y: auto; display: none;}
.tiles-view.active {display: block;}
.projects-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 100%; margin: 0 auto; padding: 1rem;}
.project-card {background: white; border-radius: 12px; padding: 0; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,0.2); overflow: hidden;}
.project-card:hover {transform: translateY(-8px) scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.4);}
.project-header {padding: 1.5rem 2rem; margin: 0; border-radius: 0;}
.project-header.color-1 {background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);}
.project-header.color-2 {background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);}
.project-header.color-3 {background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);}
.project-header.color-4 {background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);}
.project-header.color-5 {background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);}
.project-header.color-6 {background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);}
.project-body {padding: 2rem;}
.project-title {font-size: 1.8rem; font-weight: 700; margin: 0; color: white; line-height: 1.2;}
.project-students {font-size: 1.2rem; color: #666; margin-bottom: 1rem; font-weight: 500;}
.project-description {font-size: 1.1rem; color: #444; margin-bottom: 1.5rem; line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;}
.project-tags {display: flex; gap: 0.75rem; flex-wrap: wrap;}
.project-tag {background: rgba(255,255,255,0.25); color: white; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.95rem; font-weight: 500; border: 1px solid rgba(255,255,255,0.3);}
.tiles-pagination {text-align: center; margin-top: 2rem; display: flex; justify-content: center; gap: 0.75rem;}
.pagination-dot {width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: all 0.3s;}
.pagination-dot.active {background: rgba(102, 126, 234, 0.9); transform: scale(1.3);}
.fullscreen-view {height: 100%; display: none; align-items: center; justify-content: center; position: relative;}
.fullscreen-view.active {display: flex;}
.fullscreen-content {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}
.fullscreen-content img {width: 100%; height: 100%; object-fit: contain;}
.fullscreen-content iframe {width: 100%; height: 100%; border: none;}
#youtubePlayerContainer {width: 100%; height: 100%;}
.loading {display: flex; align-items: center; justify-content: center; height: 100%; font-size: 1.5rem; color: #667eea;}
.contact-view {display: none; height: 100%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); align-items: center; justify-content: center; padding: 3rem;}
.contact-view.active {display: flex;}
.contact-content {text-align: center; color: white; max-width: 900px;}
.contact-title {font-size: 5rem; font-weight: bold; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3);}
.contact-subtitle {font-size: 1.8rem; margin-bottom: 3rem; font-weight: 300; opacity: 0.95;}
.contact-list {display: flex; flex-direction: column; gap: 2rem;}
.contact-item {background: rgba(255,255,255,0.15); padding: 1.5rem 2rem; border-radius: 12px; backdrop-filter: blur(10px);}
.contact-role {font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; color: #fff3cd;}
.contact-name {font-size: 1.5rem; font-weight: 300;}
