/* _content/tien-len-game/Components/Pages/Game.razor.rz.scp.css */
.player-card[b-wjtf5ltu48] {
    cursor: pointer;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    margin-right: -35px; /* Stack cards */
    position: relative; /* Required for z-index to work */
}

.player-card:hover[b-wjtf5ltu48] {
    transform: translateY(-10px);
    position: relative;
}

.player-card.selected[b-wjtf5ltu48] {
    transform: translateY(-15px);
}

.player-card.played[b-wjtf5ltu48] {
    visibility: hidden;
}

.board-card[b-wjtf5ltu48] {
    margin-right: -35px; /* Stack cards */
    position: relative;
}

.game-layout[b-wjtf5ltu48] {
    display: grid;
    height: calc(100vh - 90px);
    grid-template-columns: 180px 1fr 180px;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "top-game-area top-game-area top-game-area"
        ". game-board ."
        "player-bottom player-bottom player-bottom";
    gap: 1rem;
    align-items: center;
    position: relative; /* For animation container positioning */
}

.animating-hand-container[b-wjtf5ltu48] {
    position: absolute;
    z-index: 100;
    display: flex;
    justify-content: center;
}

@keyframes fly-from-bottom-b-wjtf5ltu48 {
    from {
        top: 90%;
        left: 50%;
        transform: translate(-50%, 0) scale(1.1);
        opacity: 1;
    }
    to {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.animate-from-bottom[b-wjtf5ltu48] {
    animation: fly-from-bottom-b-wjtf5ltu48 0.6s ease-out forwards;
}

@keyframes fly-from-top-b-wjtf5ltu48 {
    from {
        top: 10%;
        left: 50%;
        transform: translate(-50%, -100%) scale(0.6);
        opacity: 1;
    }
    to {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.animate-from-top[b-wjtf5ltu48] {
    animation: fly-from-top-b-wjtf5ltu48 0.6s ease-out forwards;
}

@keyframes fly-from-left-b-wjtf5ltu48 {
    from {
        top: 50%;
        left: 10%;
        transform: translate(-100%, -50%) scale(0.6);
        opacity: 1;
    }
    to {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.animate-from-left[b-wjtf5ltu48] {
    animation: fly-from-left-b-wjtf5ltu48 0.6s ease-out forwards;
}

@keyframes fly-from-right-b-wjtf5ltu48 {
    from {
        top: 50%;
        left: 90%;
        transform: translate(0, -50%) scale(0.6);
        opacity: 1;
    }
    to {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.animate-from-right[b-wjtf5ltu48] {
    animation: fly-from-right-b-wjtf5ltu48 0.6s ease-out forwards;
}

.players-panel[b-wjtf5ltu48] {
    position: absolute;
    top: 300px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 50;
}

.players-panel.left[b-wjtf5ltu48] {
    left: 0;
}

.players-panel.right[b-wjtf5ltu48] {
    right: 0;
}

.top-game-area[b-wjtf5ltu48] {
    grid-area: top-game-area;
    align-self: start;
    z-index: 100;
    width: 100%;
}

.credit-info[b-wjtf5ltu48] {
    font-size: x-small;
    color: #ffc107;
    text-align: center;
    margin-bottom: 0;
}

.game-board-area[b-wjtf5ltu48] { 
    grid-area: game-board; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
     height: 100%; 
}

.player-bottom-area[b-wjtf5ltu48] { grid-area: player-bottom; width: 100%; }

.player-summary[b-wjtf5ltu48] {
    padding: 0.5rem;
    border: 1px solid #495057;
    border-radius: 0.5rem;
    text-align: center;
    background-color: rgba(0,0,0,0.2);
    width: 150px;
}

.player-summary.active-turn[b-wjtf5ltu48] {
    border-color: #ffc107;
    box-shadow: 0 0 12px #ffc107;
}

.game-board[b-wjtf5ltu48] {
    background-color: #004d00; /* Darker Green */
    border: 10px solid #542d05; /* Wood-like border */
    border-radius: 50%;
    color: white;
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 1rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    position: relative; /* For positioning game over overlay */
}

@keyframes slide-down-b-wjtf5ltu48 {
    from {
        top: 0;
        transform: translateY(-100%);
    }
    to {
        top: 25%;
        transform: translateY(0);
    }
}

@keyframes slide-up-b-wjtf5ltu48 {
    from {
        top: 25%;
        transform: translateY(0);
    }
    to {
        top:0;
        transform: translateY(-100%);
    }
}

.game-over-overlay[b-wjtf5ltu48] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 200;
}

.game-over-content[b-wjtf5ltu48] {
    position: absolute;
    left: 15%;
    width: 70%;
    padding: 2rem;
    background-color: rgba(33, 37, 41, 0.9);
    border: 2px solid #ffc107;
    border-radius: 1rem;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.6);
}

.game-over-content.game-over-show[b-wjtf5ltu48] {
    animation: slide-down-b-wjtf5ltu48 1s ease-out forwards;
}

.game-over-content.game-over-hide[b-wjtf5ltu48] {
    animation: slide-up-b-wjtf5ltu48 1s ease-in forwards;
}

.play-area-container[b-wjtf5ltu48] {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.invite-dialog-overlay[b-wjtf5ltu48] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.invite-dialog-content[b-wjtf5ltu48] {
    background: #212529; /* dark background */
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #ffc107; /* warning color border */
    text-align: center;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.5);
}

.instance-win-container[b-wjtf5ltu48] {
    position: absolute;
    top: 200px;
    left: 0;
    z-index: 200;
}

@media (max-width: 768px) {
    
    .game-layout[b-wjtf5ltu48] {
        display: flex;
        flex-direction: column;
        height: auto;
        position: relative; /* Allow absolute positioning for children */
    }

    .chat-area[b-wjtf5ltu48] {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 110;
        align-self: auto; /* Override flex behavior */
    }

    .share-info-area[b-wjtf5ltu48] {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 100;
        align-self: auto; /* Override flex behavior */
    }

    .player-top-area[b-wjtf5ltu48] { order: 1; }
    .player-left-area[b-wjtf5ltu48] { order: 2; }
    .player-right-area[b-wjtf5ltu48] { order: 3; }
    .game-board-area[b-wjtf5ltu48] { 
        order: 4; 
        min-height: 300px; 
        width: 100%; 
        margin-top: 0;
    }
    .player-bottom-area[b-wjtf5ltu48] { order: 5;  }
    
    .player-left-area[b-wjtf5ltu48], .player-right-area[b-wjtf5ltu48], .player-top-area[b-wjtf5ltu48] {
        align-self: center;
    }
}
/* _content/tien-len-game/Components/Pages/Home.razor.rz.scp.css */
.home-container[b-irei63p974] {
    background: radial-gradient(circle, rgba(33,37,41,1) 0%, rgba(21,23,25,1) 100%);
    min-height: 100vh;
    color: #f8f9fa; /* Light text color */
}

.hero-section[b-irei63p974] {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 2rem;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('https://www.publicdomainpictures.net/pictures/320000/velka/background-15784269524D6.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 5px solid #ffc107; /* A gold/yellow accent */
}

.hero-content .display-3[b-irei63p974] {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* A slightly more stylized font */
}

.hero-content .lead[b-irei63p974] {
    font-size: 1.5rem;
    font-weight: 300;
}

.hero-content .btn[b-irei63p974] {
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px; /* Pill-shaped buttons */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hero-content .btn:hover[b-irei63p974] {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.features-section[b-irei63p974] {
    padding: 4rem 0;
}

.features-section h2[b-irei63p974] {
    font-weight: bold;
    color: #ffc107;
}

.feature-card[b-irei63p974] {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s, transform 0.3s;
    height: 100%;
}

.feature-card:hover[b-irei63p974] {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-card h3[b-irei63p974] {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card i[b-irei63p974] {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

footer[b-irei63p974] {
    background-color: #151719;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a[b-irei63p974] {
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover[b-irei63p974] {
    color: #ffc107 !important;
}

/* Modal styling to match dark theme */
[b-irei63p974] .modal-content {
    background-color: #2b3035;
    border: 1px solid #ffc107;
}

[b-irei63p974] .modal-header {
    border-bottom: 1px solid #495057;
}

[b-irei63p974] .modal-footer {
    border-top: 1px solid #495057;
}
/* _content/tien-len-game/Models/CardView.razor.rz.scp.css */
.card-display[b-s905ujledu] {
    border: 1px solid #999;
    border-radius: 8px;
    width: 65px;
    height: 95px;
    padding: 8px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 4px 8px 4px;
    user-select: none;
    position: relative;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.card-identifier[b-s905ujledu] {
    position: absolute;
    top: 5px;
    left: 8px;
    text-align: center;
    line-height: 1;
}

.card-identifier .rank[b-s905ujledu],
.card-identifier .suit[b-s905ujledu] {
    display: block;
}
/* _content/tien-len-game/Models/ChatBox.razor.rz.scp.css */
.chat-box-container[b-z6cn8gjbmb] {
    padding: 0.5rem;
    border: 1px solid #495057;
    border-radius: 0.5rem;
    background-color: rgba(0,0,0,0.2);
    width: 100%;
    min-width: 100px;
    color: #f8f9fa;
    margin-right: 10px;
}

.chat-history[b-z6cn8gjbmb] {
    height: 100px;
    overflow-y: auto;
    font-size: 0.8rem;
    padding-right: 5px; /* for scrollbar */
}

.chat-message[b-z6cn8gjbmb] {
    word-wrap: break-word;
    margin-bottom: 4px;
}

.chat-timestamp[b-z6cn8gjbmb] {
    color: #adb5bd;
    font-size: 0.7rem;
    margin-right: 0.5rem;
}

.input-group .form-control[b-z6cn8gjbmb] {
    background-color: #212529;
    color: #f8f9fa;
    border-color: #495057;
}

.input-group .form-control[b-z6cn8gjbmb]::placeholder {
    color: #6c757d;
}

.input-group .form-control:focus[b-z6cn8gjbmb] {
    background-color: #212529;
    color: #f8f9fa;
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, .25);
}

.input-group .form-control:disabled[b-z6cn8gjbmb] {
    background-color: #343a40;
    opacity: 0.7;
}

/* Simple scrollbar styling */
.chat-history[b-z6cn8gjbmb]::-webkit-scrollbar {
    width: 5px;
}

.chat-history[b-z6cn8gjbmb]::-webkit-scrollbar-track {
    background: #212529;
}

.chat-history[b-z6cn8gjbmb]::-webkit-scrollbar-thumb {
    background: #495057;
    border-radius: 5px;
}
