* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }
body { background-color: #050403; color: #e0e0e0; min-height: 100vh; position: relative; }

/* Matrix Background Canvas */
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.18;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0c0b0a; }
::-webkit-scrollbar-thumb { background: #7a0000; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #b21818; }

/* Warning Banner */
.warning-banner {
    background: linear-gradient(90deg, #7a0000, #b21818);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    border-bottom: 1px solid #ff4d4d;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 101;
}
.warning-banner span { font-weight: 700; text-decoration: underline; }
.dismiss-btn { background: transparent; border: none; color: #fff; font-size: 18px; cursor: pointer; position: absolute; right: 15px; box-shadow: none; }
.dismiss-btn:hover { color: #000; box-shadow: none; }

header { background: rgba(18, 14, 12, .9); padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #3d3229; backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; flex-wrap: wrap; gap: 15px;}
.logo { font-size: 24px; font-weight: 800; background: linear-gradient(180deg, #fff, #a3a3a3, #666); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Search & Suggestions */
.search-wrapper { position: relative; width: 100%; max-width: 450px; }
.search-container { display: flex; gap: 10px; width: 100%; }
input { flex: 1; padding: 10px 18px; border-radius: 30px; border: 1px solid #473a30; background: rgba(12, 10, 9, 0.9); color: #fff; font-size: 15px; outline: none; transition: 0.3s; }
input:focus { border-color: #ff4d4d; box-shadow: 0 0 15px rgba(229, 9, 20, 0.3); }

/* Fiery Flame Buttons */
button { 
    padding: 10px 22px; 
    background: linear-gradient(90deg, #7a0000, #b21818); 
    color: #fff; 
    border: none; 
    border-radius: 30px; 
    cursor: pointer; 
    font-weight: bold; 
    transition: all 0.3s ease; 
    box-shadow: 0 0 10px rgba(122, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}
button:hover { 
    background: linear-gradient(90deg, #cc0000, #ff4d4d); 
    box-shadow: 0 0 20px #ff3300, 0 0 35px #ff6600, 0 0 50px #ff9900; 
    transform: translateY(-2px) scale(1.03); 
}
button:active {
    transform: scale(0.96);
    box-shadow: 0 0 25px #ff2200, inset 0 0 10px #ffffff;
}

/* Suggestions Dropdown */
.suggestions-dropdown {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: rgba(18, 14, 12, 0.95);
    border: 1px solid #473a30;
    border-radius: 12px;
    overflow: hidden;
    z-index: 150;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}
.suggestion-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-bottom: 1px solid #2a211b;
    transition: background 0.2s;
}
.suggestion-item:hover {
    background: rgba(178, 24, 24, 0.3);
}
.suggestion-item img {
    width: 35px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}
.suggestion-info div:first-child { font-weight: 600; font-size: 14px; color: #fff; }
.suggestion-info div:last-child { font-size: 11px; color: #ff4d4d; }

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 20px 20px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.hero-section h1 {
    font-size: 38px;
    font-weight: 900;
    background: linear-gradient(180deg, #fff, #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(255, 77, 77, 0.3);
}
.hero-section p {
    font-size: 16px;
    color: #b0a59f;
    line-height: 1.5;
}

.container { padding: 20px 20px 40px 20px; max-width: 1200px; margin: 0 auto; }
.content-section { margin-bottom: 40px; }
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    border-left: 4px solid #ff4d4d;
    padding-left: 12px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }

.movie-card { background: rgba(26, 21, 18, .8); border: 1px solid #3d3229; border-radius: 10px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; display: flex; flex-direction: column; }
.movie-card:hover { transform: translateY(-6px) scale(1.02); border-color: #ff4d4d; box-shadow: 0 10px 25px rgba(229, 9, 20, 0.4); }
.movie-card img { width: 100%; height: 310px; object-fit: cover; border-bottom: 2px solid #b21818; }
.movie-info { padding: 12px; text-align: center; font-weight: 600; font-size: 14px; color: #f0f0f0; }

/* Player Modal Overlay */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content { width: 92%; height: 88%; background: #000; position: relative; border-radius: 12px; border: 1px solid #3d3229; box-shadow: 0 0 40px rgba(229, 9, 20, 0.2); display: flex; flex-direction: column; overflow: hidden; }

/* Control & Selector bar */
.selector-bar { background: #120e0c; padding: 10px 15px; display: flex; flex-wrap: wrap; gap: 15px; align-items: center; border-bottom: 1px solid #3d3229; z-index: 2001; }
.select-group { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #ccc; }
.selector-bar select { background: #221a15; color: #fff; border: 1px solid #473a30; padding: 5px 10px; border-radius: 5px; outline: none; cursor: pointer; font-size: 13px; }
.selector-bar select:focus { border-color: #ff4d4d; }

.close-btn { position: absolute; top: 8px; right: 15px; color: #fff; font-size: 35px; cursor: pointer; text-shadow: 0 2px 4px rgba(0,0,0,1); transition: 0.2s; z-index: 2002; }
.close-btn:hover { color: #ff4d4d; transform: scale(1.1); }
iframe { width: 100%; flex: 1; border: none; background: #000; }

@media(max-width: 750px) { 
    header { justify-content: center; } 
    .modal-content { width: 100%; height: 100%; border-radius: 0; } 
    .selector-bar { flex-direction: column; gap: 8px; align-items: stretch; padding: 8px; } 
    .select-group { justify-content: space-between; }
    .selector-bar select { flex: 1; }
    iframe { border-radius: 0; } 
}
