@import "https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";:root{--bg-dark-main:#0f172a;--bg-dark-deeper:#020617;--bg-light-main:#f8fafc;--bg-white:#fff;--carreira-wine:#c1121f;--light-blue:#1e40af;--highlight-cyan:#06b6d4;--master-grad:linear-gradient(90deg,var(--carreira-wine),var(--light-blue),var(--highlight-cyan));--text-on-dark:#f8fafc;--text-muted:#94a3b8;--f1-redbull:#3671c6;--f1-ferrari:#e8002d;--f1-mercedes:#27f4d2;--f1-mclaren:#ff8000;--f1-aston:#229971;--f1-alpine:#fd4bc7;--f1-williams:#64c4ff;--f1-haas:#b6babd;--f1-sauber:#52e252;--f1-vcarb:#6692ff}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-dark-main);color:var(--text-on-dark);font-family:Montserrat,sans-serif;overflow-x:hidden}.navbar{z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#020617f2;border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;width:100%;height:80px;padding:0 5%;display:flex;position:fixed;top:0}.nav-logo{letter-spacing:-1px;color:#fff;cursor:pointer;font-size:1.8rem;font-style:italic;font-weight:900}.nav-logo span{background:var(--master-grad);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.nav-links{gap:30px;display:flex}.nav-link-btn{cursor:pointer;color:#cbd5e1;text-transform:uppercase;letter-spacing:1px;background:0 0;border:none;font-family:Montserrat,sans-serif;font-size:.85rem;font-weight:700;transition:color .3s}.nav-link-btn:hover,.nav-link-btn.active{color:var(--highlight-cyan)}.btn-login{border:2px solid var(--highlight-cyan);color:var(--highlight-cyan);text-transform:uppercase;cursor:pointer;clip-path:polygon(10% 0,100% 0,100% 100%,0% 100%);background:0 0;border-radius:4px;padding:10px 30px;font-weight:800;transition:all .3s}.hero-section{min-height:90vh;color:var(--text-on-dark);background:radial-gradient(circle at top right,#06b6d41a,transparent 50%),linear-gradient(to right,var(--bg-dark-deeper)40%,#020617b3,#c1121f1a),url(/banner-masterleague.png);clip-path:polygon(0 0,100% 0,100% 85%,0 100%);z-index:10;background-position:50%;background-size:cover;align-items:center;margin-bottom:-80px;padding-top:80px;display:flex;position:relative}.hero-container{width:100%;max-width:1400px;margin:0 auto;padding:0 5%}.hero-text h1{text-transform:uppercase;text-shadow:0 5px 15px #00000080;margin-bottom:30px;font-size:5rem;font-style:italic;font-weight:900;line-height:.9}.hero-text h1 span{background:var(--master-grad);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.btn-primary{background:var(--master-grad);color:#fff;text-transform:uppercase;letter-spacing:1px;clip-path:polygon(10% 0,100% 0,90% 100%,0% 100%);cursor:pointer;border:none;border-radius:4px;padding:20px 50px;font-size:1.1rem;font-weight:800;transition:transform .2s;box-shadow:0 10px 30px #06b6d44d}.standings-section{background:var(--bg-dark-main);clip-path:polygon(0 0,100% 0,100% 100%,0 95%);padding:100px 5%}.tabs-container{border-bottom:1px solid #ffffff1a;gap:10px;max-width:1400px;margin:0 auto 40px;padding-bottom:20px;display:flex}.tab-btn{color:#94a3b8;text-transform:uppercase;letter-spacing:1px;cursor:pointer;background:#ffffff0d;border:none;border-radius:4px;padding:10px 25px;font-weight:700;transition:all .3s}.tab-btn:hover{color:#fff;background:#ffffff1a}.tab-btn.active-tab-carreira{background:var(--carreira-wine);color:#fff}.tab-btn.active-tab-light{background:var(--light-blue);color:#fff}.section-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;max-width:1400px;margin:0 auto 30px;display:flex}.section-title{text-transform:uppercase;color:#fff;margin:0;font-size:3rem;font-style:italic;font-weight:900}.controls-wrapper{flex-direction:column;align-items:flex-end;gap:15px;display:flex}.dropdown-group{gap:10px;display:flex}.season-select{color:#fff;cursor:pointer;text-align:left;background:#020617;border:1px solid #fff3;border-radius:6px;outline:none;min-width:160px;padding:10px 20px;font-family:Montserrat;font-size:.9rem;font-weight:600}.season-select option{color:#fff;background:#0f172a}.grid-toggle{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;gap:5px;padding:5px;display:flex}.grid-btn{color:var(--text-muted);text-transform:uppercase;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:12px 30px;font-weight:800;transition:all .3s}.grid-btn.active-carreira{background:var(--carreira-wine);color:#fff;box-shadow:0 0 15px #c1121f99}.grid-btn.active-light{background:var(--light-blue);color:#fff;box-shadow:0 0 15px #1e40af99}.race-header-card{background:linear-gradient(90deg,#ffffff0d 0%,#ffffff1a 100%);border:1px solid #ffffff1a;border-radius:16px;justify-content:space-between;align-items:center;max-width:1400px;min-height:120px;margin:0 auto 30px;padding:0;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 30px #0000004d}.rh-left{flex:2;align-items:center;gap:30px;min-width:400px;padding-left:40px;display:flex}.rh-flag-container{flex-shrink:0;justify-content:center;align-items:center;width:120px;height:80px;display:flex}.rh-flag{object-fit:contain;filter:drop-shadow(4px 4px 10px #00000080);width:100%;height:100%}.rh-info{flex-direction:column;gap:2px;display:flex}.rh-gp{color:#fff;text-transform:uppercase;letter-spacing:-1px;font-size:2.5rem;font-style:italic;font-weight:900;line-height:1}.rh-details-line{color:#cbd5e1;text-transform:uppercase;letter-spacing:1px;align-items:center;gap:10px;margin-top:4px;font-size:1rem;font-weight:600;display:flex}.rh-divider{color:var(--highlight-cyan);opacity:.6}.rh-date{color:var(--highlight-cyan);font-weight:700}.rh-right{flex-direction:column;flex:1;justify-content:flex-end;align-items:flex-end;min-width:200px;height:100%;padding-top:15px;padding-bottom:15px;padding-right:40px;display:flex}.rh-circuit{object-fit:contain;filter:drop-shadow(0 0 8px #ffffff80)invert();opacity:.9;width:auto;height:55px;margin-bottom:5px}.rh-record{color:#94a3b8;white-space:nowrap;background:#0006;border:1px solid #ffffff1a;border-radius:20px;align-items:center;gap:6px;padding:6px 14px;font-size:.8rem;display:flex}.rh-record-time{color:gold;font-weight:800}.rh-record-driver{font-weight:600}.rh-record-season{opacity:.6;font-size:.7rem}.results-layout{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:30px;max-width:1400px;margin:0 auto 20px;display:flex}.podium-container{align-items:flex-end;gap:20px;margin-bottom:0;display:flex}.podium-step{flex-direction:column;align-items:center;width:220px;display:flex;position:relative}.podium-p1{z-index:2;order:2}.podium-p2{order:1}.podium-p3{order:3}.podium-rank{text-shadow:0 5px 15px #0000004d;margin-bottom:5px;font-size:3rem;font-style:italic;font-weight:900;line-height:1}.rank-1{color:gold}.rank-2{color:silver}.rank-3{color:#cd7f32}.podium-photo-container{z-index:3;filter:drop-shadow(0 10px 10px #0000004d);margin-bottom:-20px;position:relative}.podium-photo{object-fit:cover;border:4px solid var(--team-color,white);background:#0000004d;border-radius:50%;width:120px;height:120px}.podium-p1 .podium-photo{width:140px;height:140px}.podium-base{background:linear-gradient(#ffffff1a 0%,#0003 100%);border:1px solid #ffffff1a;border-bottom:none;border-radius:16px 16px 0 0;flex-direction:column;align-items:center;width:100%;padding:35px 5px 15px;display:flex;position:relative;overflow:hidden}.podium-p1 .podium-base{border-top:6px solid gold;height:240px}.podium-p2 .podium-base{border-top:6px solid silver;height:210px}.podium-p3 .podium-base{border-top:6px solid #cd7f32;height:190px}.podium-driver-name{color:#fff;text-align:center;align-items:center;min-height:2.4em;margin-bottom:8px;font-size:1.1rem;font-weight:800;line-height:1.2;display:flex}.podium-stats{flex-direction:column;align-items:center;gap:4px;width:100%;display:flex}.podium-stat-item{color:#cbd5e1;align-items:center;gap:5px;font-size:.8rem;font-weight:600;display:flex}.podium-stat-item.points{color:gold;font-size:1.1rem;font-weight:800}.fl-icon{fill:#cbd5e1;width:14px;height:14px}.podium-team-info{background:#0006;border:1px solid #ffffff1a;border-top:none;border-radius:0 0 12px 12px;align-items:center;gap:8px;width:100%;padding:10px;display:flex}.podium-team-logo-small{object-fit:contain;width:20px;height:20px}.podium-team-name{text-transform:uppercase;color:var(--text-muted);letter-spacing:1px;white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;font-weight:700;overflow:hidden}.next-race-card{text-align:center;background:linear-gradient(135deg,#1e293b 0%,#0f172a 100%);border:1px solid #ffffff1a;border-radius:24px;flex-direction:column;align-items:center;max-width:1000px;margin:0 auto 60px;padding:40px;display:flex;position:relative;overflow:hidden;box-shadow:0 20px 50px #0006}.nr-label{color:var(--highlight-cyan);letter-spacing:2px;text-transform:uppercase;margin-bottom:10px;font-size:.9rem;font-weight:800}.nr-title{color:#fff;text-transform:uppercase;margin-bottom:10px;font-size:3.5rem;font-style:italic;font-weight:900;line-height:1}.nr-date{color:#cbd5e1;margin-bottom:30px;font-size:1.5rem}.countdown-box{gap:20px;margin-bottom:30px;display:flex}.cd-item{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;flex-direction:column;align-items:center;min-width:80px;padding:15px;display:flex}.cd-val{color:#fff;font-size:2.5rem;font-weight:800;line-height:1}.cd-label{color:#94a3b8;text-transform:uppercase;margin-top:5px;font-size:.7rem}.calendar-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:25px;max-width:1400px;margin:0 auto;display:grid}.cal-card{background:#1e293b;border:1px solid #ffffff0d;border-radius:16px;flex-direction:column;gap:15px;padding:25px;transition:transform .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 20px #0003}.cal-card:hover{background:#253248;transform:translateY(-5px)}.cal-card.next{border:2px solid var(--highlight-cyan);background:linear-gradient(135deg,#1e293b 0%,#06b6d41a 100%);box-shadow:0 0 30px #06b6d426}.cal-card.done{opacity:.7}.cal-header{justify-content:space-between;align-items:center;display:flex}.cal-round{color:#94a3b8;text-transform:uppercase;letter-spacing:1px;font-size:.8rem;font-weight:700}.cal-status{text-transform:uppercase;border-radius:12px;padding:4px 12px;font-size:.7rem;font-weight:800}.status-done{color:#34d399;background:#10b98133;border:1px solid #10b9814d}.status-next{background:var(--highlight-cyan);color:#083344;box-shadow:0 0 10px #06b6d466}.status-soon{color:#cbd5e1;background:#ffffff1a}.cal-main{align-items:center;gap:15px;display:flex}.cal-flag{object-fit:cover;border-radius:4px;width:50px;height:35px;box-shadow:0 2px 5px #0000004d}.cal-titles{flex-direction:column;display:flex}.cal-gp{color:#fff;text-transform:uppercase;margin-bottom:4px;font-size:1.4rem;font-style:italic;font-weight:900;line-height:1}.cal-date{color:var(--highlight-cyan);font-size:.9rem;font-weight:600}.cal-footer{border-top:1px solid #ffffff1a;justify-content:space-between;align-items:center;margin-top:auto;padding-top:15px;display:flex}.cal-winner{align-items:center;gap:10px;display:flex}.cal-winner-label{color:#64748b;text-transform:uppercase;font-size:.7rem}.cal-winner-name{color:#fff;font-size:.9rem;font-weight:700}.cal-winner-photo{object-fit:cover;border:2px solid var(--team-color,#555);border-radius:50%;width:35px;height:35px}.table-container{background:0 0;max-width:1400px;min-height:300px;margin:0 auto}.table-header{color:#94a3b8;text-transform:uppercase;letter-spacing:1px;background:#ffffff0d;border-radius:8px 8px 0 0;gap:10px;padding:15px 30px;font-size:.8rem;font-weight:700;display:grid}.header-default{grid-template-columns:.5fr 3fr 2fr 1fr}.header-results{grid-template-columns:.4fr 3fr 1.2fr}.table-row{cursor:pointer;background:#0b1120;border:1px solid #ffffff1a;border-radius:12px;align-items:center;gap:10px;margin-bottom:12px;padding:15px 30px;transition:transform .2s;display:grid;position:relative;overflow:hidden}.table-row:hover{filter:brightness(1.1);transform:translate(5px)}.table-row.colored-bg{background:linear-gradient(90deg,color-mix(in srgb,var(--team-color)15%,transparent)0%,transparent 85%);border-left:6px solid var(--team-color,#555)}.table-row.default-bg{border-left:6px solid var(--team-color,#555);background:linear-gradient(90deg,#ffffff08 0%,#fff0 100%)}.table-row:before{content:"";background:linear-gradient(90deg,var(--team-color,#555)0%,transparent 40%);opacity:.15;z-index:0;width:100%;height:100%;position:absolute;top:0;left:0}.table-row:after{content:"";background:var(--team-color,#555);width:6px;height:100%;box-shadow:0 0 15px var(--team-color,#555);z-index:1;position:absolute;top:0;left:0}.pos-number,.driver-cell,.hide-mobile,.driver-points-big,.results-right-col{z-index:2;position:relative}.row-default{grid-template-columns:.5fr 3fr 2fr 1fr}.row-results{grid-template-columns:.4fr 3fr 1.2fr}.pos-number{color:#f1f5f9;text-align:center;font-size:1.8rem;font-style:italic;font-weight:900}.driver-cell{align-items:center;gap:20px;display:flex}.driver-photo-small{object-fit:cover;background:#0000004d;border:1px solid #fff3;border-radius:12px;width:55px;height:55px}.driver-info-group{flex-direction:column;display:flex}.driver-name{color:#fff;letter-spacing:-.5px;font-size:1.3rem;font-weight:800}.team-name-group{align-items:center;gap:12px;margin-top:0;display:flex}.team-logo-tiny{object-fit:contain;filter:drop-shadow(0 2px 4px #00000080);width:40px;height:40px}.team-name-small{text-transform:uppercase;color:var(--text-muted);letter-spacing:1px;font-size:1rem;font-weight:700}.team-logo-img{object-fit:contain;filter:drop-shadow(0 0 5px #ffffff1a);width:60px;height:60px}.results-right-col{text-align:right;justify-content:flex-end;align-items:center;gap:15px;display:flex}.points-pill{color:#fff;border:1px solid var(--team-color,#fff3);background:#ffffff1a;border-radius:20px;padding:6px 15px;font-size:1.2rem;font-weight:800;display:inline-block}.fastest-lap{color:#94a3b8;align-items:center;gap:6px;font-size:.9rem;font-weight:600;display:flex}.drivers-list{color:#94a3b8;margin-top:4px;font-size:.9rem;font-weight:500;display:block}.driver-points-big{text-align:right;color:#fff;text-shadow:0 0 10px #ffffff4d;font-size:2.2rem;font-weight:900;line-height:1}.team-logo-fallback{color:#94a3b8;background:#ffffff1a;border-radius:8px;justify-content:center;align-items:center;width:50px;height:50px;font-size:.6rem;font-weight:700;display:flex}.driver-photo{object-fit:cover;color:#0000;text-indent:-10000px;background:#0000004d;border:1px solid #fff3;border-radius:10px;width:60px;height:60px}.modal-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:9999;opacity:0;background:#000000d9;justify-content:center;align-items:center;width:100%;height:100%;animation:.3s forwards fadeIn;display:flex;position:fixed;top:0;left:0}.modal-content{background:#1e293b;border:1px solid #ffffff1a;border-radius:24px;width:90%;max-width:800px;animation:.3s forwards scaleUp;position:relative;overflow:hidden;transform:scale(.9);box-shadow:0 25px 50px #00000080}.modal-close{color:#fff;cursor:pointer;z-index:10;background:#00000080;border:none;border-radius:50%;width:40px;height:40px;font-size:1.5rem;position:absolute;top:20px;right:20px}.driver-card-layout{min-height:450px;display:flex}.card-left{background:linear-gradient(135deg,var(--team-color)0%,#0f172a 100%);flex-direction:column;flex:1;justify-content:flex-end;align-items:center;padding-bottom:0;display:flex;position:relative;overflow:hidden}.card-driver-photo{object-fit:cover;filter:drop-shadow(0 0 20px #00000080);width:120%;max-width:400px;height:auto;margin-bottom:-10px}.card-right{background:#0f172a;flex-direction:column;flex:1.2;justify-content:center;padding:40px;display:flex}.card-team-logo{object-fit:contain;width:60px;height:60px;margin-bottom:10px}.card-name{text-transform:uppercase;color:#fff;margin-bottom:5px;font-size:2.5rem;font-style:italic;font-weight:900;line-height:1}.card-team-name{color:var(--team-color);text-transform:uppercase;letter-spacing:1px;margin-bottom:30px;font-size:1.1rem;font-weight:700}.stats-grid{grid-template-columns:1fr 1fr;gap:20px;width:100%;display:grid}.stat-box{border-left:4px solid var(--team-color);background:#ffffff0d;border-radius:12px;padding:15px}.stat-label{color:#94a3b8;text-transform:uppercase;margin-bottom:5px;font-size:.8rem;font-weight:600;display:block}.stat-value{color:#fff;font-size:1.8rem;font-weight:800}@keyframes fadeIn{to{opacity:1}}@keyframes scaleUp{to{transform:scale(1)}}@media (max-width:768px){.driver-card-layout{flex-direction:column}.card-left{height:300px}.card-driver-photo{width:200px}.card-right{padding:30px}.calendar-grid{grid-template-columns:1fr}}footer{background:var(--bg-dark-deeper);color:var(--text-on-dark);text-align:center;z-index:1;margin-top:-50px;padding:100px 5% 50px;position:relative}@media (max-width:1024px){.hero-text h1{font-size:3.5rem}.table-row,.table-header{gap:10px;grid-template-columns:.5fr 3fr 1fr!important}.hide-mobile{display:none}.results-layout{flex-direction:column;align-items:center}.podium-container{flex-direction:column;align-items:center;gap:40px}.podium-step{width:100%;max-width:300px}.podium-p1,.podium-p2,.podium-p3{order:unset}.podium-base{padding:20px;height:auto!important}.podium-photo-container{margin-bottom:-30px}.race-header-card{text-align:center;flex-direction:column;gap:20px;padding:20px}.rh-left,.rh-right{justify-content:center;width:100%;padding:0}.rh-left{flex-direction:column;min-width:auto}.rh-right{align-items:center;min-width:auto}}
