body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #6694ea 0%, #4b83a2 100%);
    color: white;
}

.app-container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
}

.score-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.score-counter,
.card-counter {
    font-size: 54px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    min-width: 100px;
    text-align: center;
}

.label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.custom-value-input {
    font-size: 24px;
    font-weight: 500;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    width: 100px;
    text-align: center;
}

.custom-value-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.custom-value-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.3);
}

.add-custom-value {
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background-color: #4caf50;
    color: white;
    transition: background-color 0.3s ease;
}

.add-custom-value:hover {
    background-color: #45a049;
}

.tabs {
    display: flex;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.tab {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 24px;
    margin-right: 5px;
    cursor: pointer;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.tab.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid #4caf50;
}

.tab:hover:not(.active) {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.cards img {
    width: 90px;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.cards img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cards img:active {
    transform: translateY(0);
}

.action-btn {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    color: white;
    transition: background-color 0.3s ease;
    margin-top: 5px;
    align-self: center;
}

.reset {
    background-color: #f44336;
}

.reset:hover {
    background-color: #d32f2f;
}

.save {
    background-color: rgb(0, 145, 255);
    margin-left: 10px;
}

.save:hover {
    background-color: rgb(0, 120, 220);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

#games {
    padding: 20px 0;
}

#games h2 {
    font-size: 24px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

#games-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.game {
    font-size: 28px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game div {
    background-color: rgba(209, 203, 203, 0.35);
    padding: 5px 10px;
}

/* Add to index.css */
.trump-selector {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 15px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.main-modes,
.suit-modes {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.suits {
    display: flex;
    gap: 10px;
}

.trump-btn,
.suit-btn {
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trump-btn:hover,
.suit-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.trump-btn.active,
.suit-btn.active {
    background-color: #4caf50;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}
