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

body{
    width:100%;
    min-height:100vh;
    font-family:Arial, Helvetica, sans-serif;
    background:#050608;
    color:white;
    overflow-x:hidden;
}

.page-bg{
    position:fixed;
    inset:0;
   background: url("/assets/banner-resenhaon.jpg") center/cover no-repeat;
    z-index:0;
}

.overlay{
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at top, rgba(90,45,140,0.35), transparent 35%),
        linear-gradient(180deg, rgba(0,0,0,0.72), #050608 85%);
    backdrop-filter:blur(2px);
    z-index:1;
}

.home{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1500px;
    margin:0 auto;
    padding:28px 32px;
}

.topbar{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:20px 40px;
    position:relative;
    z-index:20;
}

.logo{
    width:320px;
    max-width:70vw;
    filter:
    drop-shadow(0 0 12px rgba(255,215,120,0.35))
    drop-shadow(0 0 30px rgba(80,120,255,0.28));
    transition:0.3s;
}

.logo:hover{
    transform:scale(1.03);
}

.login-btn{
    padding:12px 26px;
    border:1px solid rgba(218,166,58,0.7);
    border-radius:10px;
    background:rgba(0,0,0,0.45);
    color:#fff;
    font-size:15px;
    font-weight:bold;
    cursor:pointer;
}

.hero{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:50px;
    align-items:center;
    margin-bottom:55px;
}

.hero-content{
    text-align:center;
}

.hero h1{
    font-family:Georgia, serif;
    font-size:58px;
    line-height:1.05;
    text-transform:uppercase;
    letter-spacing:2px;
    color:#f5f1e8;
    text-shadow:0 4px 18px rgba(0,0,0,0.9);
}

.hero h1 span{
    color:#d6a037;
}

.hero p{
    color:#d7d7d7;
    font-size:18px;
    margin:18px 0 28px;
}

.join-box{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.join-box input{
    width:320px;
    padding:16px;
    border-radius:10px;
    border:1px solid rgba(214,160,55,0.5);
    background:rgba(0,0,0,0.6);
    color:white;
    outline:none;
    font-size:15px;
}

.join-box button{
    padding:16px 26px;
    border-radius:10px;
    border:1px solid rgba(214,160,55,0.7);
    background:linear-gradient(135deg,#351249,#702b91);
    color:#fff;
    font-weight:bold;
    cursor:pointer;
}

.divider{
    margin:18px auto;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    color:#ddd;
}

.divider span{
    width:120px;
    height:1px;
    background:linear-gradient(90deg,transparent,#d6a037,transparent);
}

.create-btn{
    padding:16px 54px;
    border:none;
    border-radius:10px;
    background:linear-gradient(135deg,#f1c15b,#b87818);
    color:#140d04;
    font-size:18px;
    font-weight:900;
    text-transform:uppercase;
    cursor:pointer;
    box-shadow:0 0 25px rgba(216,160,55,0.24);
}

.feature-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.feature-card{
    min-height:220px;
    padding:24px 18px;
    text-align:center;
    background:rgba(0,0,0,0.48);
    border:1px solid rgba(214,160,55,0.35);
    clip-path:polygon(50% 0, 100% 15%, 100% 84%, 50% 100%, 0 84%, 0 15%);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.feature-icon{
    font-size:42px;
    margin-bottom:12px;
}

.feature-card h3{
    font-family:Georgia, serif;
    text-transform:uppercase;
    margin-bottom:8px;
}

.feature-card p{
    font-size:14px;
    line-height:1.45;
    color:#ddd;
}

.feature-card.purple h3{ color:#b989ff; }
.feature-card.green h3{ color:#b6ff78; }
.feature-card.blue h3{ color:#73c5ff; }

.section-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:26px;
    border-top:1px solid rgba(214,160,55,0.18);
    padding-top:22px;
}

.section-title h2{
    font-family:Georgia, serif;
    font-size:28px;
    color:#f5f1e8;
    text-transform:uppercase;
}

.refresh-btn{
    border:none;
    background:transparent;
    color:#f3d28a;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
}

.resenha-area{
    width:100%;
    max-width:560px;
    margin:0 auto 32px;
}

.rooms-list{
    width:100%;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
}

.room-card{
    overflow:hidden;
    border-radius:16px;
    background:rgba(5,7,12,0.92);
    border:1px solid rgba(214,160,55,0.45);
    box-shadow:0 20px 40px rgba(0,0,0,0.45);
    transition:0.25s ease;
}

.room-card:hover{
    transform:translateY(-4px);
    border-color:rgba(241,193,91,0.85);
    box-shadow:0 24px 48px rgba(0,0,0,0.58), 0 0 25px rgba(214,160,55,0.15);
}

.room-card h3{
    padding:12px;
    text-align:center;
    font-family:Georgia, serif;
    font-size:22px;
    color:#f2c45b;
    background:linear-gradient(90deg,rgba(0,0,0,0.3),rgba(214,160,55,0.18),rgba(0,0,0,0.3));
}

.format-badge{
    width:100%;
    padding:10px 12px;
    text-align:center;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#130c03;
    background:linear-gradient(135deg,#f4d37b,#b87818);
    border-bottom:1px solid rgba(255,255,255,0.12);
}

.resenha-card{
    border:1px solid rgba(255,109,55,0.75);
    box-shadow:
        0 20px 45px rgba(0,0,0,0.55),
        0 0 35px rgba(255,103,45,0.18);
}

.resenha-card .format-badge{
    color:#fff;
    background:linear-gradient(135deg,#84270f,#e06820,#f1c15b);
    text-shadow:0 2px 8px rgba(0,0,0,0.65);
}

.resenha-card h3{
    color:#ffd27a;
    background:linear-gradient(90deg,rgba(70,18,5,0.5),rgba(214,96,25,0.28),rgba(70,18,5,0.5));
}

.resenha-text{
    padding:14px 18px 4px;
    text-align:center;
    color:#f7d7a3;
    font-size:14px;
    line-height:1.45;
}

.table-image{
    position:relative;
    width:100%;
    height:210px;
    overflow:hidden;
}

.table-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(0.78) contrast(1.08);
}

.table-image strong{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:Georgia, serif;
    font-size:62px;
    color:#f7e1a1;
    text-shadow:0 3px 0 #3d2508, 0 0 25px rgba(0,0,0,0.95);
}

.room-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    background:rgba(0,0,0,0.58);
    border-top:1px solid rgba(214,160,55,0.25);
    border-bottom:1px solid rgba(214,160,55,0.25);
}

.resenha-card .room-info{
    grid-template-columns:repeat(3,1fr);
}

.room-info div{
    padding:14px 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:5px;
    text-align:center;
}

.room-info div{
    border-right:1px solid rgba(214,160,55,0.25);
}

.room-info div:last-child{
    border-right:none;
}

.room-info span{
    font-size:22px;
}

.room-info strong{
    font-size:22px;
    color:#fff;
}

.room-info small{
    width:100%;
    font-size:10px;
    text-transform:uppercase;
    color:#cfcfcf;
}

.enter-table-btn{
    width:calc(100% - 28px);
    margin:14px;
    padding:14px;
    border:none;
    border-radius:9px;
    background:linear-gradient(135deg,#351249,#702b91);
    border:1px solid rgba(214,160,55,0.35);
    color:white;
    font-weight:bold;
    text-transform:uppercase;
    cursor:pointer;
    transition:0.25s;
}

.enter-table-btn:hover{
    transform:scale(1.02);
    box-shadow:0 0 18px rgba(185,137,255,0.25);
}

.resenha-card .enter-table-btn{
    background:linear-gradient(135deg,#8f2f12,#e06820);
    border-color:rgba(241,193,91,0.65);
}

.info-bar{
    margin:30px auto 0;
    max-width:1100px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:24px;
    border:1px solid rgba(214,160,55,0.28);
    border-radius:18px;
    background:rgba(0,0,0,0.45);
}

.info-bar div{
    text-align:center;
}

.info-bar strong{
    color:#e5b54e;
    text-transform:uppercase;
    font-size:15px;
}

.info-bar p{
    color:#ddd;
    margin-top:8px;
    font-size:14px;
}

.footer{
    margin-top:35px;
    padding:22px;
    text-align:center;
    color:#bfbfbf;
    font-size:14px;
    border-top:1px solid rgba(214,160,55,0.18);
}

.footer strong{
    color:#d6a037;
    text-shadow:0 0 10px rgba(214,160,55,0.45);
}

.format-modal{
    position:fixed;
    inset:0;
    z-index:99;
    background:rgba(0,0,0,0.75);
    backdrop-filter:blur(4px);
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.format-modal.active{
    display:flex;
}

.format-box{
    width:100%;
    max-width:420px;
    padding:26px;
    border-radius:18px;
    background:linear-gradient(180deg,rgba(18,20,32,0.98),rgba(5,7,12,0.98));
    border:1px solid rgba(214,160,55,0.55);
    box-shadow:0 25px 60px rgba(0,0,0,0.65);
    text-align:center;
}

.format-box h2{
    font-family:Georgia, serif;
    color:#f1c15b;
    text-transform:uppercase;
    margin-bottom:10px;
}

.format-box p{
    color:#ddd;
    font-size:14px;
    margin-bottom:18px;
}

.format-box select{
    width:100%;
    padding:14px;
    border-radius:10px;
    border:1px solid rgba(214,160,55,0.6);
    background:#090b12;
    color:white;
    font-size:16px;
    outline:none;
}

.format-actions{
    margin-top:20px;
    display:flex;
    gap:12px;
}

.format-actions button{
    flex:1;
    padding:13px;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;
    text-transform:uppercase;
}

#cancelFormat{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.18);
    color:white;
}

#confirmFormat{
    background:linear-gradient(135deg,#f1c15b,#b87818);
    border:none;
    color:#130c03;
}

@media(max-width:950px){
    .hero{
        grid-template-columns:1fr;
    }

    .feature-cards{
        grid-template-columns:1fr;
    }

    .feature-card{
        clip-path:none;
        border-radius:18px;
        min-height:auto;
    }

    .info-bar{
        grid-template-columns:1fr;
    }
}

@media(max-width:560px){
    .home{
        padding:20px 14px;
    }

    .topbar{
        flex-direction:column;
        gap:16px;
    }

    .hero h1{
        font-size:38px;
    }

    .join-box input,
    .join-box button,
    .create-btn{
        width:100%;
    }

    .section-title{
        flex-direction:column;
        align-items:flex-start;
    }

    .table-image{
        height:190px;
    }

    .resenha-card .room-info{
        grid-template-columns:1fr;
    }

    .room-info{
        grid-template-columns:1fr;
    }

    .room-info div{
        border-right:none;
        border-bottom:1px solid rgba(214,160,55,0.25);
    }

    .room-info div:last-child{
        border-bottom:none;
    }

    .format-actions{
        flex-direction:column;
    }
}
.table-full{
    border:1px solid rgba(255,70,70,0.8) !important;

    box-shadow:
    0 0 25px rgba(255,70,70,0.18),
    0 20px 40px rgba(0,0,0,0.45);
}

.table-full .enter-table-btn{
    background:linear-gradient(135deg,#7a1010,#c22e2e);
}

.footer-links {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d6b46a;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal-page {
  max-width: 900px;
  margin: 60px auto;
  padding: 32px;
  color: #fff;
  line-height: 1.7;
}

.legal-page h1 {
  color: #d6b46a;
  margin-bottom: 24px;
}

.legal-page h2 {
  margin-top: 28px;
  color: #f0d58a;
}

.legal-page a {
  display: inline-block;
  margin-top: 30px;
  color: #d6b46a;
}
.topbar {
  width: 100%;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.top-links{
    display:flex;
    align-items:center;
    gap:28px;
    margin-left:auto;
    margin-right:30px;
}

.top-links a {
  color: #f0d58a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.top-links a:hover {
  text-decoration: underline;
}

.login-btn {
  border: 1px solid #d6b46a;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}
.footer {
    margin-top: 60px;
    padding: 30px 20px;
    background: rgba(0,0,0,0.65);
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: #cfcfcf;
    font-size: 14px;
}

.footer p {
    max-width: 900px;
    margin: 0 auto 18px;
    line-height: 1.6;
    color: #9f9f9f;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.footer-links a {
    color: #d6b46a;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #f0d58a;
}

.footer small {
    color: #777;
}