/*
Theme: Naomi Scott Cinema Collection
Description: Tema inspirado na carreira cinematográfica de Naomi Scott (Aladdin, Power Rangers, Terra de Oportunidades)
Version: 2.0
Author: [Seu Nome]
Base Design: Adaptado do tema original de Carol L. (Sin21 Designs)
*/

/* --------------------------
   Palette Colors
---------------------------
#E9001C - Jasmine Red (Aladdin)
#1E3A8A - Ranger Blue (Power Rangers)
#FFD700 - Gold (The Martian)
#292929 - Dark cinematic black
#FFFFFF - Pure white
#F8F1E5 - Pearl (Jasmine's costume)
*/

/* Font Imports */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700|Noto+Sans:400,700,400i,700i|Cinzel:700|Playfair+Display:700i');

/* Main Structure
-------------------------------------------------------------- */
body {
    margin: 0;
    background: #F8F1E5; /* Pearl background */
    font: 400 15px/24px 'Noto Sans', serif;
    color: #292929;
    line-height: 190%;
    text-align: justify;
    word-wrap: break-word;
    background-image: linear-gradient(to bottom, #FFFFFF, #F8F1E5);
}

a {
    color: #1E3A8A; /* Ranger Blue */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:hover,
a:focus {
    color: #E9001C; /* Jasmine Red */
    text-decoration: none;
    text-shadow: 0 0 5px rgba(233, 0, 28, 0.3);
}

/* Global Pattern Styling
-------------------------------------------------------------- */
body, 
html,
.spec,
.spec-alt,
.first-area,
.second-area,
.cpg-nav,
.site-footer {
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
}

.clear {
    clear: both; 
    display: block;
}

.text-center {
    text-align: center!important;
}

.text-left {
    text-align: left!important;
}

.text-right {
    text-align: right!important;
}

.pull-left {
    float: left!important;
}

.pull-right {
    float: right!important;
}

.align-center {
    display: block;
    margin: 5px auto 5px auto!important;
}

.alignleft {
    margin: 5px 20px 20px 0!important;
    float: left;
}

.alignright {
    margin: 5px 0 20px 20px!important;
    float: right;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #292929;
}

h1 {
    font-size: 2.2em;
    background: linear-gradient(45deg, #E9001C, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

h2 {
    border-bottom: 2px solid #FFD700;
    padding-bottom: 5px;
    display: inline-block;
}

/* CPG Menu - Hollywood Style
-------------------------------------------------------------- */
.cpg-nav {
    margin: 0 auto 30px; 
    padding: 15px 15px; 
    display: block;
    background: #292929;
    line-height: 200%; 
    text-align: center; 
    overflow: hidden;
    position: relative;
    z-index: 51;
    border-bottom: 3px solid #FFD700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cpg-nav a {
    padding: 8px 15px; 
    font: 700 12px 'Montserrat', sans-serif; 
    color: #F8F1E5; 
    letter-spacing: 2px; 
    text-decoration: none; 
    text-transform: uppercase; 
    vertical-align: middle;
    transition: all 0.3s ease;
    position: relative;
}

.cpg-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.cpg-nav a:hover,
.cpg-nav a:focus {
    color: #FFD700;
    text-decoration: none;
}

.cpg-nav a:hover:after {
    width: 70%;
}

/* Structure
-------------------------------------------------------------- */
.spec,
.spec-alt {
    margin: 0 auto; 
    position: relative; 
    max-width: 1200px;
}

.cpg-nav,
.first-area,
.navigation,
.site-footer {
    margin: 0 auto; 
    max-width: 1200px;
}

/* Masthead - Cinema Style
-------------------------------------------------------------- */
.mast-head {
    margin: 0 auto 0;
    display: block;
    width: auto;
    height: 500px;
    background-image: url('images/header.png');
    background-repeat: no-repeat; 
    background-position: center top;
    background-size: cover;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 -100px 100px -50px #292929;
}

.mast-head:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30,58,138,0.3) 0%, rgba(233,0,28,0.2) 100%);
}

/* First Content Area
-------------------------------------------------------------- */
.first-area {
    margin: 0 auto!important;
    padding: 50px 0 30px;
    display: block;
    overflow: hidden;
    background: #fff;
    position: relative;
    text-align: center;
    transition: background 0.4s ease-in-out,color 0.4s ease-in-out;
}

.first-area h1 {
    margin: 0 auto 15px;
    padding: 10px 25px;
    display: inline-block; 
    background: linear-gradient(to right, #E9001C, #FFD700);
    font: 600 24px 'Montserrat';
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 3px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.first-area .border {
    margin: 0 auto;
    display: block;
    background: #FFD700;
    height: 2px;
    max-width: 60%;
    position: relative;
}

.first-area span {
    margin: 0 auto;
    padding: 0;
    position: relative; 
    top: -15px;
    display: inline-block;
    padding: 0 15px;
    background: #F8F1E5;
    font: 400 12px 'Playfair Display';
    color: #292929;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-style: italic;
}

/* Footer - Credits Style
-------------------------------------------------------------- */
.site-footer {
    margin: 15px auto 35px;
    padding: 0;
    width: 100%;
    background: #292929;
    text-align: center;
    border-top: 3px solid #FFD700;
    position: relative;
    color: #F8F1E5;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.site-footer .pad {
    margin: 0 auto;
    padding: 20px 0 35px;
}

.site-footer span {
    margin: 0 auto;
    display: inline-block;
    padding: 8px 25px;
    position: relative;
    top: -22px;
    background: #E9001C;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 15px 0 0 #E9001C, -15px 0 0 #E9001C;
    border-radius: 3px;
}

.site-footer a,
.site-footer a:visited {
    color: #FFD700;
    font-weight: 700;
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: #FFFFFF;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

/* Buttons - Call to Action
-------------------------------------------------------------- */
.button,
.buttonlist ul li a,
.more-link {
    margin-right: 2px;
    padding: 8px 15px;
    background: linear-gradient(to right, #1E3A8A, #E9001C);
    color: #fff;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    line-height: 20px;
    text-transform: uppercase;
    border: 0;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    letter-spacing: 1px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

.button:hover,
.buttonlist ul li a:hover,
.button:focus,
.buttonlist ul li a:focus,
.more-link:hover {
    background: linear-gradient(to right, #E9001C, #FFD700);
    color: #fff;
    border: 0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233,0,28,0.3);
}

.more-link {
    position: relative;
    top: 12px;
    display: table; 
    margin: 0 auto;
    padding: 8px 15px;
    letter-spacing: 2px;
}

/* Images - Film Frames
-------------------------------------------------------------- */
.image {
    margin: 10px; 
    padding: 5px;
    background: #fff;
    border: 1px solid #C6C6C6;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255,215,0,0.3);
    pointer-events: none;
    transition: all 0.4s ease;
}

.image:hover {
    opacity: 0.95;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(233,0,28,0.2);
    border-color: #FFD700;
}

.image:hover:before {
    border: 1px solid rgba(255,215,0,0.7);
}

/* Thumbnails - Film Strip
-------------------------------------------------------------- */
.thumbnails {
    padding: 15px 0;
}

.thumbnails img,
.thumbnails br {display: none;}
.thumbnails a img {display: block;}

.thumb_filename {
    display: block;
    font-size: 80%;
    line-height: 1.5;
    color: #5B5B5B;
}

.thumb_title, 
.thumb_caption {
    display: block; 
    margin: 8px 1px 0; 
    padding: 0; 
    font-weight: 700; 
    width: auto; 
    border: 0; 
    line-height: 140%;
}

.thumb_title {
    color: #1E3A8A;
    font-family: 'Montserrat', sans-serif;
}

.thumb_resolution,
.thumb_title_views {
    margin: 8px 0 8px 0; 
    display: inline-block; 
    position: relative; 
    padding: 6px 10px; 
    font: 400 11px 'Noto sans', sans-serif;
    color: #fff; 
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.thumb_resolution {
    background: #1E3A8A;
}

.thumb_title_views {
    background: #E9001C;
}

.thumb_caption {
    color: #7A7A7A; 
    font-size: 13px; 
    font-weight: 400;
    font-family: 'Noto Sans', serif;
}

/* Tables - Credits Style
-------------------------------------------------------------- */
.maintable {
    margin: 0 auto 0 auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #292929;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.maintable:first-child {
    padding: 55px 25px 25px;
}

.tableb {
    padding: 8px 12px;
}

.tableb_alternate {
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}

.tablef {
    padding: 12px;
    background: #F8F1E5;
    border-top: 2px solid #FFD700;
}

/* Stats - Box Office Style
-------------------------------------------------------------- */
.tableh1 {
    padding: 0; 
    font: 600 24px 'Cinzel', serif;
    color: #1E3A8A;
    line-height: 130%; 
    letter-spacing: -1px;
    border-bottom: 0;
}

.tableh1 a {
    color: #1E3A8A;
    transition: all 0.3s ease;
}

.tableh1 a:hover, 
.tableh1 a:focus,
.tableh1 .statlink a:hover,
.tableh1 .statlink a:focus {
    color: #E9001C;
    text-decoration: none;
}

.stats {
    padding: 8px 12px; 
    background: linear-gradient(to right, #292929, #1E3A8A); 
    font-weight: 700; 
    font-size: 11px; 
    color: #FFD700; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    border-radius: 3px;
}

.stats strong {
    font-weight: 700; 
    color: #FFFFFF;
}

.statlink {
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0;
    color: #595959;
}

.statlink a,
.statlink a:hover,
.statlink a:focus {
    letter-spacing: -1px;
    color: #212121;
}

.statlink h2 {
    font-size: 18px; 
    font-weight: 400;
    margin: 0;
    letter-spacing: 1px;
    color: #1E3A8A;
    font-family: 'Playfair Display', serif;
}

/* Categories - Film Genres
-------------------------------------------------------------- */
.catrow_noalb,
.catrow {
    padding: 12px 8px; 
    background: #fff; 
    border-bottom: 1px solid rgba(30,58,138,0.2);
    transition: all 0.3s ease;
}

.catrow_noalb:hover,
.catrow:hover {
    background: #F8F1E5;
}

.catlink {
    display: block;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.catlink a {
    color: #292929;
    transition: all 0.3s ease;
}

.catlink a:before {
    margin-right: 10px;
    content: '\f008';
    font-family: 'FontAwesome';
    font-weight: 400;
    font-size: 14px;
    color: #E9001C;
}

.catlink a:hover,
.catlink a:focus {
    color: #1E3A8A;
    padding-left: 5px;
}

/* Albums - Film Collection
-------------------------------------------------------------- */
.tableh2 {
    padding: 12px 15px;
    background: linear-gradient(to right, #F8F1E5, #FFFFFF);
    color: #292929;
    font-weight: 700;
    line-height: 22px;
    font-family: 'Montserrat', sans-serif;
    border-left: 3px solid #E9001C;
}

.alblink {
    color: #1E3A8A;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.alblink a,
.alblink a:hover,
.alblink a:focus {
    color: #1E3A8A;
    transition: all 0.3s ease;
}

.alblink a:hover {
    color: #E9001C;
}

/* Navigation - Scene Selection
-------------------------------------------------------------- */
.navigation {
    margin: 0 auto 0;
    padding: 8px 0;
    position: relative;
    display: block;
    height: 50px;
    background: #FFFFFF;
    text-align: left;
    overflow: hidden;
    z-index: 999!important; 
    border-top: 2px solid #FFD700;
    border-bottom: 1px solid rgba(30,58,138,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navigation .social-nav {
    display: inline-block; 
    position: relative;
    top: 0px;
}

.navigation .nav {
    margin: 10px -5px 0 0;
    position: relative;
    z-index: 999;
    display: inline-block;
}

/* Responsive Design - Mobile Cinema
-------------------------------------------------------------- */
@media only screen and (max-width: 966px), only screen and (max-device-width: 966px) {
    /* [Previous responsive styles preserved] */
    .mast-head {
        height: 300px;
        box-shadow: inset 0 -50px 50px -30px #292929;
    }
    
    .first-area h1 {
        font-size: 18px;
        padding: 8px 15px;
    }
    
    .cpg-nav a {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .button, .more-link {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media only screen and (max-width: 481px), only screen and (max-width: 481px) {
    /* [Previous mobile styles preserved] */
    h1 {
        font-size: 1.8em;
    }
    
    .mast-head {
        height: 200px;
    }
    
    .site-footer span {
        padding: 6px 15px;
        font-size: 12px;
    }
}

/* Special Effects - Film Magic
-------------------------------------------------------------- */
@keyframes filmReel {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.film-icon {
    display: inline-block;
    animation: filmReel 4s linear infinite;
    margin-right: 10px;
}

/* Loading Animation */
@keyframes loadingPulse {
    0% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.6; transform: scale(0.95); }
}

.loading-element {
    animation: loadingPulse 1.5s ease-in-out infinite;
    background: linear-gradient(to right, #E9001C, #FFD700);
}

/* Hover Effects */
.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 15px rgba(233,0,28,0.5);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F8F1E5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#E9001C, #FFD700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#1E3A8A, #E9001C);
}