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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #000;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 420px;
    width: 100%;
    background-color: #fff;
    height: calc(100vh - 20px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

header {
    padding: 20px 16px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

main {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom thin scrollbar */
main::-webkit-scrollbar {
    width: 2px;
}

main::-webkit-scrollbar-track {
    background: transparent;
}

main::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 2px;
}

main::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* Firefox */
main {
    scrollbar-width: none;
    -ms-overflow-style: none;  /* IE and Edge */
}

/* Game Card Styles */
.game-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.card-tag {
    background: linear-gradient(90deg, #e63946 0%, #d62828 100%);
    color: #fff;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}

.card-tag.competitive {
    background: linear-gradient(90deg, #e63946 0%, #d62828 100%);
}

.tag-right {
    font-weight: 700;
}


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
}

.game-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    flex: 1;
    margin: 0;
}

.game-price {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
    line-height: 1;
}

.game-price.empty-price {
    font-size: 24px;
    max-width: 100px;
}

.game-details {
    margin-bottom: 12px;
}

.game-datetime {
    font-size: 14px;
    color: #000;
    margin-bottom: 4px;
}

.game-location {
    font-size: 14px;
    color: #000;
}

.game-details-alt {
    background-color: #f5f5f5;
    padding: 12px;
    display: flex;
    align-items: center;
}

.detail-row-group {
    flex: 1;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    color: #000;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row .icon {
    font-size: 14px;
    width: 18px;
    display: inline-block;
    flex-shrink: 0;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0;
    margin-left: 12px;
}

/* Button Styles */
.btn-contact,
.btn-details {
    border: none;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
    min-width: 90px;
    white-space: nowrap;
}

.btn-details {
    background-color: #fff;
    color: #000;
    border: 1.5px solid #000;
}

.btn-contact {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-contact:hover {
    background-color: #333;
}

.btn-details:hover {
    background-color: #f5f5f5;
}

.btn-contact:active,
.btn-details:active {
    transform: scale(0.98);
}

/* Info Text */
.info-text {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin: 24px 0;
    line-height: 1.6;
}

.info-text p {
    margin: 0;
}

/* Pricing Info */
.pricing-info {
    text-align: center;
    font-size: 11px;
    color: #000;
    margin-top: 32px;
    padding: 16px;
    line-height: 1.4;
}

.pricing-info p {
    margin: 2px 0;
}

.pricing-note {
    font-size: 10px;
    color: #666;
    margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        box-shadow: none;
    }
    
    .game-title {
        font-size: 16px;
    }
    
    .game-price {
        font-size: 28px;
    }
}

@media (min-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 12px;
        overflow: hidden;
    }
}

